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...
|
|
Detailed Description
Object Transfer Service module.
This module is responsible for the object properties characteristics.
Function Documentation
| 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.
- Parameters
-
[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.
- Parameters
-
[in] p_ots_object_chars Pointer the the object characteristics.
- Returns
- NRF_SUCCESS if everything was refreshed.
| 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.
- Parameters
-
[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.
- Returns
- NRF_SUCCESS on successful initialization, otherwise an error code.