redvypr.data_packets.check_for_command

redvypr.data_packets.check_for_command(datapacket=None, uuid=None, thread_uuid=None, add_data=False)
Parameters:
  • datapacket

  • uuid – if set, compare uuid of the command with given uuid, return command only of uuid match

  • add_data – adds the command dictionary

Returns:

content of the field ‘redvypr_device_command’, typically a string

Return type:

command