COMMON IO-BLE v1.0.0
Hardware abstraction layer for Bluetooth
 
Loading...
Searching...
No Matches
BT Classic Adapter Manager Callbacks

Callbacks for BT Classic Adapter Manager Interface. More...

Typedefs

typedef void(* BTClassicDevicePropertiesCallback_t) (BTStatus_t xStatus, uint32_t ulNumProperties, BTClassicProperty_t *pxProperties)
 Callback invoked in response to BTClassicInterface_t::pxGetClassicDeviceProperty and BTClassicInterface_t::pxSetClassicDeviceProperty.
 
typedef void(* BTClassicRemoteDevicePropertiesCallback_t) (BTStatus_t xStatus, BTBdaddr_t *pxBdAddr, uint32_t ulNumProperties, BTClassicProperty_t *pxProperties)
 Callback invoked in response to BTClassicInterface_t::pxGetRemoteClassicDeviceProperty and BTClassicInterface_t::pxSetRemoteClassicDeviceProperty.
 
typedef void(* BTDeviceFoundCallback_t) (uint32_t ulNumProperties, BTClassicProperty_t *pxProperties)
 Callback invoked in response to device discovery If EIR data is not present, then BD_NAME and RSSI shall be NULL and -1 respectively.
 
typedef void(* BTDiscoveryStateChangedCallback_t) (BTDiscoveryState_t xState)
 Callback invoked in response to BTClassicInterface_t::pxStartDiscovery and BTClassicInterface_t::pxStopDiscovery.
 
typedef void(* BTaclStateChangedCallback_t) (BTStatus_t xStatus, BTBdaddr_t *pxRemoteBdAddr, BTaclState_t xState)
 Callback invoked in response to ACL connection state change.
 

Detailed Description

Callbacks for BT Classic Adapter Manager Interface.

Typedef Documentation

◆ BTClassicDevicePropertiesCallback_t

typedef void(* BTClassicDevicePropertiesCallback_t) (BTStatus_t xStatus, uint32_t ulNumProperties, BTClassicProperty_t *pxProperties)

Callback invoked in response to BTClassicInterface_t::pxGetClassicDeviceProperty and BTClassicInterface_t::pxSetClassicDeviceProperty.

Parameters
[in]xStatusReturns eBTStatusSuccess if operation succeeded.
[in]ulNumPropertiesNumber of classic specific properties.
[in]pxPropertiesProperties array.

◆ BTClassicRemoteDevicePropertiesCallback_t

typedef void(* BTClassicRemoteDevicePropertiesCallback_t) (BTStatus_t xStatus, BTBdaddr_t *pxBdAddr, uint32_t ulNumProperties, BTClassicProperty_t *pxProperties)

Callback invoked in response to BTClassicInterface_t::pxGetRemoteClassicDeviceProperty and BTClassicInterface_t::pxSetRemoteClassicDeviceProperty.

Parameters
[in]xStatusReturns eBTStatusSuccess if operation succeeded.
[in]pxBdAddrAddress of the Remote device
[in]ulNumPropertiesNumber of classic specific properties.
[in]pxPropertiesProperties array.

◆ BTDeviceFoundCallback_t

typedef void(* BTDeviceFoundCallback_t) (uint32_t ulNumProperties, BTClassicProperty_t *pxProperties)

Callback invoked in response to device discovery If EIR data is not present, then BD_NAME and RSSI shall be NULL and -1 respectively.

Parameters
[in]ulNumPropertiesNumber of classic specific properties
[in]pxPropertiesProperties array

◆ BTDiscoveryStateChangedCallback_t

typedef void(* BTDiscoveryStateChangedCallback_t) (BTDiscoveryState_t xState)

Callback invoked in response to BTClassicInterface_t::pxStartDiscovery and BTClassicInterface_t::pxStopDiscovery.

Parameters
[in]xStateDiscovery state

◆ BTaclStateChangedCallback_t

typedef void(* BTaclStateChangedCallback_t) (BTStatus_t xStatus, BTBdaddr_t *pxRemoteBdAddr, BTaclState_t xState)

Callback invoked in response to ACL connection state change.

Parameters
[in]xStatusReturns eBTStatusSuccess if operation succeeded.
[in]pxRemoteBdAddrAddress of the Remote device
[in]xStateACL connection state