|
FreeRTOS:
BLE
BLE
|
| Return to main page ↑ |
#include <bt_hal_manager_adapter_classic.h>
Data Fields | |
| BTStatus_t(* | pxInit )(BTClassicCallbacks_t *pxCallbacks) |
| BTStatus_t(* | pxCleanup )() |
| BTStatus_t(* | pxGetClassicDeviceProperty )(BTClassicPropertyType_t xType) |
| BTStatus_t(* | pxSetClassicDeviceProperty )(const BTClassicProperty_t *pxProperty) |
| BTStatus_t(* | pxGetAllRemoteClassicDeviceProperties )(BTBdaddr_t *pxRemote_addr) |
| BTStatus_t(* | pxGetRemoteClassicDeviceProperty )(BTBdaddr_t *pxRemote_addr, BTClassicPropertyType_t xType) |
| BTStatus_t(* | pxSetRemoteClassicDeviceProperty )(BTBdaddr_t *pxRemote_addr, const BTClassicProperty_t *pxProperty) |
| BTStatus_t(* | pxGetRemoteServiceRecord )(BTBdaddr_t *pxRemote_addr, BTUuid_t *pxUuid) |
| BTStatus_t(* | pxGetRemoteService )(BTBdaddr_t *pxRemote_addr) |
| BTStatus_t(* | pxStartDiscovery )() |
| BTStatus_t(* | pxStopDiscovery )() |
| const void *(* | ppvGetProfileInterface )(BTProfile_t xProfile) |
Represents the standard SAL BT Classic device management interface.
| BTStatus_t( * BTClassicInterface_t::pxInit) (BTClassicCallbacks_t *pxCallbacks) |
Initializes SAL classic BT adapter.
| callbacks,BTCallbacks_t | callbacks. |
| BTStatus_t( * BTClassicInterface_t::pxCleanup) () |
Cleans to SAL classic Bluetooth adapter
| None |
| BTStatus_t( * BTClassicInterface_t::pxGetClassicDeviceProperty) (BTClassicPropertyType_t xType) |
Get Bluetooth Classic Adapter property of 'type'
| property | type |
| BTStatus_t( * BTClassicInterface_t::pxSetClassicDeviceProperty) (const BTClassicProperty_t *pxProperty) |
Sets Bluetooth classic Adapter property of 'type'.Based on the type, val shall be one of BTScanmode_t, BTScanType_t etc
| property | containing BTClassicProperty_t structure |
| BTStatus_t( * BTClassicInterface_t::pxGetAllRemoteClassicDeviceProperties) (BTBdaddr_t *pxRemote_addr) |
Retrieves all properties of a remote device
| BTbdaddr_t :BT Address of remote device |
| BTStatus_t( * BTClassicInterface_t::pxGetRemoteClassicDeviceProperty) (BTBdaddr_t *pxRemote_addr, BTClassicPropertyType_t xType) |
Get Bluetooth property of 'type' associated with a remote device
| BTbdaddr_t :BT Address of remote device | |
| type, Property type |
| BTStatus_t( * BTClassicInterface_t::pxSetRemoteClassicDeviceProperty) (BTBdaddr_t *pxRemote_addr, const BTClassicProperty_t *pxProperty) |
Sets Bluetooth property of 'type'.Based on the type, to a remote device
| BTbdaddr_t :BT Address of remote device | |
| property : Property to be set on remote device |
| BTStatus_t( * BTClassicInterface_t::pxGetRemoteServiceRecord) (BTBdaddr_t *pxRemote_addr, BTUuid_t *pxUuid) |
Get Remote Device's service record for the given UUID
| BTbdaddr_t :BT Address of remote device | |
| uuid : UUID of the service. |
| BTStatus_t( * BTClassicInterface_t::pxGetRemoteService) (BTBdaddr_t *pxRemote_addr) |
Starts service search on a given Bluetooth device
| BTbdaddr_t :BT Address of remote device |
| BTStatus_t( * BTClassicInterface_t::pxStartDiscovery) () |
Starts device discovery for nearby devices
| None |
| BTStatus_t( * BTClassicInterface_t::pxStopDiscovery) () |
Stops an ongoing device discovery
| None |
| const void*( * BTClassicInterface_t::ppvGetProfileInterface) (BTProfile_t xProfile) |
Retrieves the HAL profile interface.
| BTProfile_t | profile needed |