AIROC™ BTSDK v4.6 - Documentation | ||||
This file provides definitions and function prototypes for accessing the embedded controller and connection information. More...
Data Structures | |
struct | EMCONINFO_DEVINFO |
Enumerations | |
enum | EMCONINFO_STATE { NOT_STARTED, STARTUP, STARTED, START_ADVERTISE, ADVERTISING, CONNECTION } |
Functions | |
EMCONINFO_DEVINFO * | emconinfo_getPtr (void) |
int | emconinfo_getDiscReason (void) |
void | emconinfo_init (void) |
Initialize. More... | |
INT32 | emconinfo_getAppTimerId (void) |
Get Application Timer ID. More... | |
void | emconinfo_setAppTimerId (INT32) |
UINT32 | emconinfo_getAdvDuration (void) |
void | emconinfo_setAdvDuration (UINT32 duration) |
UINT8 | emconinfo_getIdleConnTimeout (void) |
void | emconinfo_setIdleConnTimeout (UINT8 t) |
UINT8 * | emconinfo_getAddr (void) |
Get Local Bluetooth Device Address. More... | |
int | emconinfo_getAddrType (void) |
Get Local Bluetooth Device Address Type. More... | |
EMCONINFO_STATE | emconinfo_getState (void) |
void | emconinfo_setState (EMCONINFO_STATE) |
INT32 | emconinfo_getConnHandle (void) |
Get Connection Handle. More... | |
void | emconinfo_setConnHandle (UINT16 connHandle) |
INT32 | emconninfo_getRole (void) |
Get Role. More... | |
void | emconninfo_setRole (INT32 role) |
void | emconninfo_setPeerClkAccuracy (INT32 clk) |
INT32 | emconninfo_getPeerClkAccuracy (void) |
UINT8 * | emconninfo_getPeerAddr (void) |
UINT8 * | emconninfo_getPeerPubAddr (void) |
void | emconninfo_setPeerAddrType (INT32 type) |
INT32 | emconninfo_getPeerAddrType (void) |
INT32 | emconninfo_getConnInterval (void) |
void | emconninfo_setConnInterval (INT32 interval) |
INT32 | emconninfo_getPeripheralLatency (void) |
void | emconninfo_setPeripheralLatency (INT32 latency) |
INT32 | emconninfo_getSupervisionTimeout (void) |
void | emconninfo_setSupervisionTimeout (INT32 timeout) |
INT32 | emconninfo_deviceBonded (void) |
void | emconninfo_setDeviceBondedFlag (void) |
void | emconninfo_clearDeviceBondedFlag (void) |
INT32 | emconninfo_linkEncrypted (void) |
void | emconninfo_clearLinkEncryptedFlag (void) |
void | emconninfo_setLinkEncryptedFlag (void) |
Variables | |
EMCONINFO_DEVINFO | emConInfo_devInfo |
This file provides definitions and function prototypes for accessing the embedded controller and connection information.