![]() |
BSB Developer Docs
|
Logic of creation of incoming nwp events used by ble_incoming_nwp_event_processor.h when spawning new event on nwp callback calls. More...
Go to the source code of this file.
Data Structures | |
| struct | BleIncomingNwpEvent |
Functions | |
| BleIncomingNwpEvent * | ble_incoming_nwp_event_alloc (BleIncomingNwpEventType type, size_t data_size, void *data) |
| Allocates incoming event with mentioned parameters. | |
| void | ble_incoming_nwp_event_free (BleIncomingNwpEvent *instance) |
| Free event. | |
Logic of creation of incoming nwp events used by ble_incoming_nwp_event_processor.h when spawning new event on nwp callback calls.
| BleIncomingNwpEvent * ble_incoming_nwp_event_alloc | ( | BleIncomingNwpEventType | type, |
| size_t | data_size, | ||
| void * | data ) |
Allocates incoming event with mentioned parameters.
| [in] | type | one of possible types, described in ble_incoming_nwp_event_type_enum.h |
| [in] | data_size | size of incoming data received from nwp |
| [in] | data | payload received from nwp |
| void ble_incoming_nwp_event_free | ( | BleIncomingNwpEvent * | instance | ) |
Free event.
| [in] | instance | pointer to event instance to be freed |