Command data types. More...
Data Structures | |
struct | gos_cmd_operation_config_t |
Command configuration. More... | |
Typedefs | |
typedef void(* | gos_cmd_operation_callback_t) (gos_result_t result, void *data, uint32_t length) |
Callback invoked after a command is executed. More... | |
Detailed Description
Command data types.
Typedef Documentation
◆ gos_cmd_operation_callback_t
typedef void(* gos_cmd_operation_callback_t) (gos_result_t result, void *data, uint32_t length) |
Callback invoked after a command is executed.
- Note
- The provided
data
buffer will not be valid AFTER the callback completes
- Parameters
-
result
The result of executing the command data
Command response data (if applicable) length
Length of command response data