def makeResetPacket(ID, param):
if param not in [<NUM_LIT>, <NUM_LIT>, <NUM_LIT>]:<EOL><INDENT>raise Exception('<STR_LIT>'.format(param))<EOL><DEDENT>pkt = makePacket(ID, xl320.XL320_RESET, None, [<NUM_LIT:1>])<EOL>return pkt<EOL>
Resets a servo to one of 3 reset states:

XL320_RESET_ALL                  = 0xFF
XL320_RESET_ALL_BUT_ID           = 0x01
XL320_RESET_ALL_BUT_ID_BAUD_RATE = 0x02