+ #Standard reflexive jam is done with duration=0.
+ #To selectively jam packets that are above a certain length, set duration
+ # to the number of milliseconds needed to jam frames of that length.
+ # Api-Do project has script available to tune/test this duration.
+ # code.google.com/p/zigbeesecurity (rmspeers)
+ if sys.argv[1]=="reflexjam":
+ client.RF_reflexjam(duration);
+ elif sys.argv[1]=="reflexjamack":
+ client.RF_reflexjam_autoack();