Infineon Logo AIROC BTSDK v4.6 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
Connection Information

Bluetooth Low Energy Connection Information Functions. More...

Functions

void emconinfo_init (void)
 Initialize. More...
 
INT32 emconinfo_getAppTimerId (void)
 Get Application Timer ID. More...
 
UINT8 * emconinfo_getAddr (void)
 Get Local Bluetooth Device Address. More...
 
int emconinfo_getAddrType (void)
 Get Local Bluetooth Device Address Type. More...
 
INT32 emconinfo_getConnHandle (void)
 Get Connection Handle. More...
 
INT32 emconninfo_getRole (void)
 Get Role. More...
 

Detailed Description

Bluetooth Low Energy Connection Information Functions.

Function Documentation

UINT8* emconinfo_getAddr ( void  )

Get Local Bluetooth Device Address.

This function returns the pointer to the local device address. Note that address is reversed with least significant byte located in offset 0.

int emconinfo_getAddrType ( void  )

Get Local Bluetooth Device Address Type.

This function returns the local device address type.

INT32 emconinfo_getAppTimerId ( void  )

Get Application Timer ID.

Returns appTimerId of the Deviceinfo structure.

Returns
Timer
INT32 emconinfo_getConnHandle ( void  )

Get Connection Handle.

This function returns the HCI handle of the current connection.

void emconinfo_init ( void  )

Initialize.

Performs necessary initialization for emconinfo. Application will typically not need to call this function. It is done as a part of general initialization after controller has been initialized.

INT32 emconninfo_getRole ( void  )

Get Role.

This function returns the central/peripheral role in the connection

Returns
  • 0 (ROLE_CENTRAL)
  • 1 (ROLE_PERIPHERAL)