FreeRTOS: BLE
BLE
Return to main page ↑
bt_hal_manager_adapter_classic.h File Reference
#include "bt_hal_manager.h"

Go to the source code of this file.

Data Structures

struct  BTServiceRecord_t
 Bluetooth SDP service record. More...
 
struct  BTEirManfInfo_t
 manufacturer information EIR data More...
 
struct  BTGadgetEirManfInfo_t
 gadget manufacturer information EIR data More...
 
struct  BTClassicProperty_t
 Classic Device Property. More...
 
struct  BTClassicCallbacks_t
 
struct  BTClassicInterface_t
 

Typedefs

typedef void(* BTClassicDevicePropertiesCallback_t) (BTStatus_t xStatus, uint32_t ulNumProperties, BTClassicProperty_t *pxProperties)
 Callback invoked in response to pxGetClassicDeviceProperty and pxSetClassicDeviceProperty. More...
 
typedef void(* BTClassicRemoteDevicePropertiesCallback_t) (BTStatus_t xStatus, BTBdaddr_t *pxBdAddr, uint32_t ulNumProperties, BTClassicProperty_t *pxProperties)
 Callback invoked in response to pxGetRemoteClassicDeviceProperty and pxSetRemoteClassicDeviceProperty. More...
 
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. More...
 
typedef void(* BTDiscoveryStateChangedCallback_t) (BTDiscoveryState_t xState)
 Callback invoked in response to pxStartDiscovery and pxStopDiscovery. More...
 
typedef void(* BTaclStateChangedCallback_t) (BTStatus_t xStatus, BTBdaddr_t *pxRemoteBdAddr, BTaclState_t xState)
 Callback invoked in response to ACL connection state change. More...
 

Enumerations

enum  BTScanMode_t { eBTScanModeNone = 0, eBTScanModeConnectable = 1, eBTScanModeConnectableDiscoverable = 2 }
 Bluetooth Adapter Visibility Modes. More...
 
enum  BTScanParam_t { eBTPageScanInterval220ms = 0, eBTPageScanInterval1280ms = 1 }
 Bluetooth scan parameters. More...
 
enum  BTDiscoveryState_t { eBTDiscoveryStopped = 0, eBTDiscoveryStarted = 1 }
 Bluetooth Adapter Discovery state. More...
 
enum  BTaclState_t { eBTaclStateConnected = 0, eBTaclStateDisconnected = 1 }
 Bluetooth ACL connection state. More...
 
enum  BTScanType_t { eBTScanTypeStandard = 0, eBTScanTypeInterlaced = 1 }
 Bluetooth Scan types. More...
 
enum  BTClassicPropertyType_t {
  eBTPropertyBdname = 0x1, eBTPropertyBdaddr = 0x2, eBTPropertyTypeOfDevice = 0x3, eBTPropertyUUIDS = 0x4,
  eBTPropertyClassOfDevice = 0x5, eBTPropertyServiceRecord = 0x6, eBTPropertyAdapterDiscoveryTimeout = 0x7, eBTPropertyAdapterScanMode = 0x8,
  eBTPropertyEIRManfInfo = 0xFE, eBTPropertyAdapterScanParam = 0x100, eBTPropertyConnectability = 0x101, eBTPropertyScanType = 0x102,
  eBTPropertyGadgetEIRManfInfo = 0x103
}
 Classic Device Property Types. More...
 

Functions

const BTClassicInterface_tBT_GetClassicAdapter ()