SingingCat 0
application
|
Data Fields | |
char | argbuf [256] |
uint8_t | argctr |
int | com |
uint8_t | connid |
uint8_t | encoding |
uint8_t | flags |
int | index |
uint8_t | invalid |
uint8_t | local_flags |
uint8_t | parserstate |
long | recipient |
long | sender |
uint8_t | sourcedev |
long | target |
uint8_t argctr |
how many args do we have?
Definition at line 24 of file command.h.
Referenced by process_command(), routing_request_reply(), set_config_flag(), and setcloudtoken().
int com |
which command is this
Definition at line 22 of file command.h.
Referenced by command_init(), get_arg_int_array(), get_arg_size(), get_config_flags(), get_data_reply(), getcloudtoken(), getpubkey(), list_modules(), namedarg(), namedarg_uint16(), namedarg_uint32(), process_command(), received_radio_get_config(), received_radio_set_config(), request_route(), send_command_fw_info(), send_command_one_arg(), send_command_reply(), send_command_reply_with_args(), and send_data().
uint8_t connid |
e.g. tcp connection id, usually 0
Definition at line 18 of file command.h.
Referenced by get_config_flags(), get_data_reply(), getcloudtoken(), list_modules(), received_radio_get_config(), send_command_fw_info(), send_command_reply(), and send_command_reply_with_args().
uint8_t encoding |
'a'=ascii,'b'=binary
Definition at line 11 of file command.h.
Referenced by get_config_flags(), get_data_reply(), getcloudtoken(), list_modules(), send_command_fw_info(), send_command_reply(), and send_command_reply_with_args().
uint8_t flags |
flags of this command
Definition at line 23 of file command.h.
Referenced by forward_packet(), get_config_flags(), get_data_reply(), getcloudtoken(), list_modules(), process_command(), received_radio_get_config(), send_command_fw_info(), send_command_reply(), and send_command_reply_with_args().
int index |
local flags, not transmitted. commands index (as chosen by the sender)
Definition at line 13 of file command.h.
Referenced by get_arg_int_array(), get_arg_size(), get_config_flags(), get_data_reply(), getcloudtoken(), list_modules(), process_command(), send_command_fw_info(), send_command_reply(), and send_command_reply_with_args().
long recipient |
long sender |
who ORIGINATED the packet?
Definition at line 14 of file command.h.
Referenced by list_modules(), and routing_request_reply().
uint8_t sourcedev |
1=wifi, 2=radio, 3=localtty
Definition at line 17 of file command.h.
Referenced by get_data_reply(), list_modules(), routing_request_reply(), send_command_fw_info(), send_command_reply(), and send_command_reply_with_args().
long target |
who should PROCESS the packet.
Definition at line 16 of file command.h.
Referenced by get_config_flags(), get_data_reply(), getcloudtoken(), list_modules(), received_radio_get_config(), send_command_fw_info(), send_command_one_arg(), send_command_reply(), and send_command_reply_with_args().