XCORE SDK
XCORE Software Development Kit
|
interface message formating More...
Classes | |
struct | sl_wfx_header_s |
General Message header structure. More... | |
struct | sl_wfx_generic_message_s |
Generic message structure for all requests, confirmations and indications. More... | |
struct | sl_wfx_generic_confirmation_s |
Generic confirmation message with the body reduced to the status field. More... | |
Typedefs | |
typedef struct sl_wfx_header_s | sl_wfx_header_t |
General Message header structure. | |
typedef struct sl_wfx_generic_message_s | sl_wfx_generic_message_t |
Generic message structure for all requests, confirmations and indications. | |
typedef struct sl_wfx_generic_confirmation_s | sl_wfx_generic_confirmation_t |
Generic confirmation message with the body reduced to the status field. More... | |
interface message formating
The WLAN API handles 3 types of messages. REQUEST, CONFIRMATION and INDICATION
WLAN can send an INDICATION message to the host at any time.
Host can send REQUEST to the WLAN and the WLAN will always answer to it (either immediately or after a while) with a CONFIRMATION.
A message is composed of a header and a body (see sl_wfx_generic_msg_t). In the rest of the API description, only the body is detailed for each message.
typedef struct sl_wfx_generic_confirmation_s sl_wfx_generic_confirmation_t |
Generic confirmation message with the body reduced to the status field.
This structure is not related to a specific confirmation ID.
It is a global simplified structure that can be used to easily access the header and status fields.
All confirmation bodies start with a status word and in a lot of them it is followed by other data (not present in this structure).