+if(sys.argv[1]=="carrier"):
+ if len(sys.argv)>2:
+ client.RF_setfreq(eval(sys.argv[2]));
+ client.RF_carrier();
+ #printconfig();
+ print "\nHolding a carrier wave.";
+ while(1):
+ time.sleep(1);
+
+if(sys.argv[1]=="explore"):
+ print "Exploring undefined commands."
+ print "Status: %s" %client.status();
+
+ cmd=0x04; #read status
+ for foo in range(0,0x5):
+ client.CCcmd([(0x0F<<3)|(0x00)|0x03,0x09<<3]);
+ print "Status %02x: %s" % (foo,client.status());
+ for foo in range(0,3):
+ print "PC: %04x" % client.CCgetPC();
+if(sys.argv[1]=="term"):
+ GoodFETConsole(client).run();