Object Transfer Service module. More...
Functions | |
uint32_t | ble_ots_object_representation_init (ble_ots_object_chars_t *p_ots_object_chars, ble_ots_object_chars_init_t *p_ots_object_chars_init) |
Function for initializing the Object Transfer Object representation characteristics. More... | |
uint32_t | ble_ots_object_refresh_current (ble_ots_object_chars_t *p_ots_object_chars) |
Refresh the characteristics of the current object. More... | |
void | ble_ots_object_on_ble_evt (ble_ots_object_chars_t *p_ots_object_chars, ble_evt_t const *p_ble_evt) |
Function for handling the Application's BLE Stack events. More... | |
Object Transfer Service module.
This module is responsible for the object properties characteristics.
void ble_ots_object_on_ble_evt | ( | ble_ots_object_chars_t * | p_ots_object_chars, |
ble_evt_t const * | p_ble_evt | ||
) |
Function for handling the Application's BLE Stack events.
Handles all events from the BLE stack of interest to the list filter module.
[in] | p_ots_object_chars | Pointer the the object characteristics. |
[in] | p_ble_evt | Event received from the BLE stack. |
uint32_t ble_ots_object_refresh_current | ( | ble_ots_object_chars_t * | p_ots_object_chars | ) |
Refresh the characteristics of the current object.
[in] | p_ots_object_chars | Pointer the the object characteristics. |
uint32_t ble_ots_object_representation_init | ( | ble_ots_object_chars_t * | p_ots_object_chars, |
ble_ots_object_chars_init_t * | p_ots_object_chars_init | ||
) |
Function for initializing the Object Transfer Object representation characteristics.
[out] | p_ots_object_chars | Object Transfer Service object characteristics representation structure. * This structure will have to be supplied by the application. It * will be initialized by this function, and will later be used to * identify this particular instance. |
[in] | p_ots_object_chars_init | Information needed to initialize the module. |