PMSIS BSP
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
pi_ble_api_t Struct Reference

BLE specific API. More...

Data Fields

int32_t(* at_cmd )(struct pi_device *device, const char *cmd, char *resp, uint32_t size)
 
int32_t(* peer_connect )(struct pi_device *device, const char *addr)
 
int32_t(* peer_disconnect )(struct pi_device *device, const char *addr)
 

Description

Structure holding BLE specific API.

Field Documentation

int32_t(* pi_ble_api_t::at_cmd)(struct pi_device *device, const char *cmd, char *resp, uint32_t size)

Function to send AT command.

int32_t(* pi_ble_api_t::peer_connect)(struct pi_device *device, const char *addr)

Function to connect BLE device to a remote peer.

int32_t(* pi_ble_api_t::peer_disconnect)(struct pi_device *device, const char *addr)

Function to disconnect BLE device to a remote peer.