gos_cmd_operation_config_t Struct Reference

Command configuration. More...

Data Fields

void * dst
 Source data of command, leave NULL if not applicable.
 
uint16_t len
 Destination buffer for command response, if NULL then 128 byte buffer automatically allocated, user MUST free this buffer.
 
gos_cmd_operation_callback_t callback
 Length of src OR dst (only src or dst should be supplied.
 
uint32_t wait_timeout_ms
 Optional callback to be invoke after command executes, leave NULL if not used.
 
bool logs_enabled
 Time in milliseconds to wait for command to complete.
 

Detailed Description

Command configuration.

Examples:
network/ethernet_bridge/main.c.