This BT HAL provides the interfaces to control the Bluetooth power states ,local device control and device discovery functionalities. More...
#include <stdint.h>#include <stdbool.h>Go to the source code of this file.
Data Structures | |
| struct | BTBdaddr_t |
| BT/BLE address. More... | |
| struct | BTBdname_t |
| Device Name. More... | |
| struct | BTUuid_t |
| UUID. More... | |
Macros | |
| #define | bt128BIT_UUID_LEN 16 |
| Size in byte of 128bits UUID. | |
| #define | btADDRESS_LEN 6 |
| Size in byte of BT/BLE addresses. | |
| #define | btKEY_MAX_LEN 16 |
| Maximum length of Random key. | |
Enumerations | |
| enum | BTuuidType_t { eBTuuidType16 = 1 , eBTuuidType32 = 2 , eBTuuidType128 = 3 } |
| UUID types. More... | |
| enum | BTStatus_t { eBTStatusSuccess = 0 , eBTStatusFail = 1 , eBTStatusNotReady = 2 , eBTStatusNoMem = 3 , eBTStatusBusy = 4 , eBTStatusDone = 5 , eBTStatusUnsupported = 6 , eBTStatusParamInvalid = 7 , eBTStatusUnHandled = 8 , eBTStatusAuthFailure = 9 , eBTStatusRMTDevDown = 10 , eBTStatusAuthRejected = 11 , eBTStatusWakeLockError = 12 , eBTStatusLinkLoss = 13 } |
| Bluetooth Error Status . More... | |
| enum | BTProfile_t { eProfileHeadset = 0 , eBTProfileA2DP = 1 , eBTProfileAVRCPTarget = 2 , eBTProfileA2DPSink = 3 , eBTProfileAVRCPController = 4 , eBTProfileInputDevice = 5 , eBTProfileHeadsetClient = 6 , eBTProfileGATT = 7 , eBTProfileSock = 8 , eBTProfileMaxID = 9 } |
| Bluetooth Profile . More... | |
| enum | BTIOtypes_t { eBTIONone = 0 , eBTIODisplayOnly = 1 , eBTIODisplayYesNo = 2 , eBTIOKeyboardOnly = 3 , eBTIOKeyboardDisplay = 4 } |
| Input Output device type. More... | |