def CommandLocalHABActivateCutdownEvent(self): """ A predefined command to return a complete command datagram and command packet that commands a LOCAL Faraday device to perform activate it's High Altitutde Balloon application predefined cutdown event state machine sequence. :Return: Returns the complete generated packet as a string of bytes. """ #Don't care what the payload is as long as it is at least 1 byte long packet = commandmodule.create_command_datagram(self.CMD_APP_HAB_CUTDOWNNOW, commandmodule.create_send_telemetry_device_debug_flash()) return packet
def CommandRemoteHABResetCutdownIdle(self, remote_callsign, remote_node_id): """ A predefined command to return a complete datagram and command packet that commands a REMOTE (RF) Faraday device to set it's cutdown event state machine to IDLE = 0. This command is useful for either stopping an in-progress cutdown event or to reset the cutdown state machine to IDLE = 0 if the cutdown event has already occured and it is in IDLE = 255 state. :param remote_callsign: The callsign of the remote target Faraday device :param remote_node_id: The ID number (0-255) of the remote target Faraday device. :Return: Returns the complete generated packet as a string of bytes. """ #Don't care what the payload is as long as it is at least 1 byte long packet = commandmodule.create_rf_command_datagram(remote_callsign, remote_node_id, self.CMD_APP_HAB_RESETCUTDOWNSTATEMACHINE, commandmodule.create_send_telemetry_device_debug_flash()) return packet
def CommandRemoteHABDisableAutoCutdownTimer(self, remote_callsign, remote_node_id): """ A predefined command to return a complete datagram and command packet that commands a REMOTE (RF) Faraday device to DISABLE it's High Altitutde Balloon application automatic cutdown timer. :param remote_callsign: The callsign of the remote target Faraday device :param remote_node_id: The ID number (0-255) of the remote target Faraday device. :Return: Returns the complete generated packet as a string of bytes. """ #Don't care what the payload is as long as it is at least 1 byte long packet = commandmodule.create_rf_command_datagram(remote_callsign, remote_node_id, self.CMD_APP_HAB_DISABLEAUTOCUTDOWNTIMER, commandmodule.create_send_telemetry_device_debug_flash()) return packet
def CommandRemoteHABActivateCutdownEvent(self, remote_callsign, remote_node_id): """ A predefined command to return a complete datagram and command packet that commands a REMOTE (RF) Faraday device to perform activate it's High Altitutde Balloon application predefined cutdown event state machine sequence. :param remote_callsign: The callsign of the remote target Faraday device :param remote_node_id: The ID number (0-255) of the remote target Faraday device. :Return: Returns the complete generated packet as a string of bytes. """ #Don't care what the payload is as long as it is at least 1 byte long packet = commandmodule.create_rf_command_datagram(remote_callsign, remote_node_id, self.CMD_APP_HAB_CUTDOWNNOW, commandmodule.create_send_telemetry_device_debug_flash()) return packet
def CommandLocalHABResetCutdownIdle(self): """ A predefined command to return a complete command datagram and command packet that commands a LOCAL Faraday device to set it's cutdown event state machine to IDLE = 0. This command is useful for either stopping an in-progress cutdown event or to reset the cutdown state machine to IDLE = 0 if the cutdown event has already occured and it is in IDLE = 255 state. :Return: Returns the complete generated packet as a string of bytes. """ #Don't care what the payload is as long as it is at least 1 byte long packet = commandmodule.create_command_datagram(self.CMD_APP_HAB_RESETCUTDOWNSTATEMACHINE, commandmodule.create_send_telemetry_device_debug_flash()) return packet
def CommandLocalHABDisableAutoCutdownTimer(self): """ A predefined command to return a complete command datagram and command packet that commands a LOCAL Faraday device to DISABLE it's High Altitutde Balloon application automatic cutdown timer. :Return: Returns the complete generated packet as a string of bytes. """ #Don't care what the payload is as long as it is at least 1 byte long packet = commandmodule.create_command_datagram(self.CMD_APP_HAB_DISABLEAUTOCUTDOWNTIMER, commandmodule.create_send_telemetry_device_debug_flash()) return packet
def CommandLocalSendTelemDeviceSystemSettings(self): """ A predefined command to return a complete datagram and command packet to command the LOCAL Faraday device to transmit it's "Device System Settings" over UART. Device system settings contain information such as current radio frequency and power levels. :Return: Returns the complete generated packet as a string of bytes. """ packet = commandmodule.create_command_datagram(self.CMD_DEVICESETTINGSTELEMETRYNOW, commandmodule.create_send_telemetry_device_debug_flash()) return packet
def CommandLocalSendTelemDeviceDebugFlash(self): """ A predefined command to return a complete datagram and command packet that causes LOCAL Faraday device to transmit it's "Flash Debug Information" over UART. Flash debug information is engineering data that contains information about the devices boot, reset, and error statuses. This information is saved in non-volatile flash and will roll over to 0 if 255 is reached. :Return: Returns the complete generated packet as a string of bytes. """ packet = commandmodule.create_command_datagram(self.CMD_DEBUGFLASHTELEMETRYNOW, commandmodule.create_send_telemetry_device_debug_flash()) return packet