Object Transfer Service module. More...
Functions | |
uint32_t | ble_ots_oacp_init (ble_ots_oacp_t *p_ots_oacp, ble_ots_oacp_init_t *p_ots_oacp_init) |
Function for initializing the Object Transfer OACP characteristic. More... | |
void | ble_ots_oacp_on_ble_evt (ble_ots_oacp_t *p_ots_oacp, ble_evt_t const *p_ble_evt) |
Function for handling the Application's BLE Stack events. More... | |
ble_ots_oacp_res_code_t | ble_ots_oacp_do_proc (ble_ots_oacp_t *p_ots_oacp, ble_ots_oacp_proc_t *p_oacp_proc) |
Execute an Object Action Control Point procedure. More... | |
Object Transfer Service module.
This module is responsible for handling the Object Transfer Service Object Action Control Point.
ble_ots_oacp_res_code_t ble_ots_oacp_do_proc | ( | ble_ots_oacp_t * | p_ots_oacp, |
ble_ots_oacp_proc_t * | p_oacp_proc | ||
) |
Execute an Object Action Control Point procedure.
[in] | p_ots_oacp | Object Transfer Service OACP structure. |
[in] | p_oacp_proc | Pointer to the procedure to be applied. |
uint32_t ble_ots_oacp_init | ( | ble_ots_oacp_t * | p_ots_oacp, |
ble_ots_oacp_init_t * | p_ots_oacp_init | ||
) |
Function for initializing the Object Transfer OACP characteristic.
[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. |
void ble_ots_oacp_on_ble_evt | ( | ble_ots_oacp_t * | p_ots_oacp, |
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 OACP module.
[in] | p_ots_oacp | Object Transfer Service OACP structure |
[in] | p_ble_evt | Event received from the BLE stack. |