Object Transfer Service module.
More...
Object Transfer Service module.
This module is responsible for handling the Object Transfer Service Object Action Control Point.
Execute an Object Action Control Point procedure.
- Parameters
-
[in] | p_ots_oacp | Object Transfer Service OACP structure. |
[in] | p_oacp_proc | Pointer to the procedure to be applied. |
- Returns
- BLE_OTS_WRITE_SUCCESS on success, otherwise an error.
Function for initializing the Object Transfer OACP characteristic.
- Parameters
-
[out] | p_ots_oacp | Object Transfer Service OACP 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_oacp_init | Information needed to initialize the module. |
- Returns
- NRF_SUCCESS on successful initialization, otherwise an error code.
Function for handling the Application's BLE Stack events.
Handles all events from the BLE stack of interest to the OACP module.
- Parameters
-
[in] | p_ots_oacp | Object Transfer Service OACP structure |
[in] | p_ble_evt | Event received from the BLE stack. |