Zigbee Protocol Controller 1.6.0
|
Observer API for getting events from zigpc_gateway. More...
Enumerations | |
enum | zigpc_gateway_process_event { ZIGPC_GW_EVENT_MIN_VAL = 0 , ZIGPC_GW_EVENT_MAX_VAL } |
Functions | |
sl_status_t | zigpc_gateway_process_send_event (const enum zigpc_gateway_process_event event, const void *data, size_t data_size) |
Helper to send events to Contiki process in ZigPC Gateway by dynamically allocating the event data based on the data_size passed in. More... | |
Observer API for getting events from zigpc_gateway.
In order to send events to the ZigPC Gateway process, the following header outlines the process event types and helpers to send an event to the Contiki process.
sl_status_t zigpc_gateway_process_send_event | ( | const enum zigpc_gateway_process_event | event, |
const void * | data, | ||
size_t | data_size | ||
) |
Helper to send events to Contiki process in ZigPC Gateway by dynamically allocating the event data based on the data_size passed in.
event | event type. |
data | associated data. |
data_size | size of associated data. |