Types

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
resultThe result of executing the command
dataCommand response data (if applicable)
lengthLength of command response data