BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_BlePeriph_GetEvents | ( | brp_protocol | protocol, |
brp_BlePeriph_GetEvents_Events_Entry ** | Events, | ||
size_t * | Events_len, | ||
brp_mempool * | mempool | ||
) |
This command returns all events that have occurred since the last call of BlePeriph.GetEvents.
Events that have taken place twice (e.g. Write to the same characteristic) will occur only once in the returned array.
[in] | protocol | used to execute the command |
[out] | Events | |
[out] | Events_len | |
[in] | mempool | is used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool |