Nordic Semiconductor nRF5 AirFuel SDK  version 2.2.0
ptu_conn_man.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include "ptu_registry.h"
#include "ptu.h"

Go to the source code of this file.

Functions

uint32_t ptu_cm_init (ptu_sm_handler_t sm_handler)
 Initialize connection manager. More...
 
void ptu_cm_remove_device (ptu_reg_item_t *reg_item_p)
 Disconnect and/or unregister any device. More...
 
bool ptu_cm_mode_trans_in_progress (void)
 Get mode transition status. More...
 
void ptu_cm_scan_enable (void)
 Enable scanning.
 
void ptu_cm_scan_disable (void)
 Disable scanning.
 
void ptu_cm_on_ble_evt (ble_evt_t *p_ble_evt)
 BLE event handler. More...
 
void ptu_cm_on_wpt_service_evt (ble_wpts_c_t *p_wpts_c, ble_wpts_c_evt_t *const p_wpts_c_evt)
 Handle service events. More...
 
void ptu_cm_disconnect_all (void)
 Disconnect all PRUs.
 
void ptu_cm_dynamic_read_all (void)
 Issue read request for the PRU dynamic characteristic to all registerred PRUs.