|
FreeRTOS:
BLE
BLE
|
| Return to main page ↑ |
| Tests | Tests written for the BLE library |
| Configuration | Configuration settings of the BLE library. Configuration settings are C pre-processor constants. They can be set with a # in the iot_config.h or by using a compiler option such as -D in gcc. If a configuration setting is not defined, the library will use a "sensible" default value (unless otherwise noted). Because they are compile-time constants, a library must be rebuilt if a configuration setting is changed |
| ▼Functions | Functions of the BLE library. The BLE library consists of the following functions |
| ▼Functions | Functions of the BLE library. The BLE library consists of the following functions |
| IotBle_Init | Starting point. Initialize the BLE stack and its services. It is up to the application to decide when BLE should be started. |
| IotBle_On | Turns on the BLE radio. |
| IotBle_Off | Turns off the BLE radio. |
| IotBle_StartAdv | Start advertisements to listen for incoming connections. Triggers IotBle_StartAdvCallback_t. |
| IotBle_StopAdv | Stop advertisements to listen for incoming connections. Triggers IotBle_StopAdvCallback_t. |
| IotBle_ConnParameterUpdateRequest | Request an update of the connection parameters. |
| IotBle_RegisterEventCb | Used to route event to whatever service requests it. |
| IotBle_UnRegisterEventCb | Remove a subscription to an event. |
| IotBle_RemoveBond | Remove a bonded device. Will trigger pBondedCb. |
| IotBle_CreateService | Create a new service. |
| IotBle_DeleteService | Delete a local service. |
| IotBle_SendIndication | Send value indication to a remote device. |
| IotBle_SendResponse | Send response to the remote device. |
| IotBle_GetConnectionInfoList | Send response to the remote device. |
| IotBle_GetConnectionInfo | Get connection info for a specific connection ID. |
| IotBle_ConfirmNumericComparisonKeys | Confirm key for numeric comparison. |
| ▼Functions | Functions of the GATT Service for Device Information library. The GATT Service for Device Information library consists of the following functions |
| IotBleDeviceInfo_Init | Creates and starts FreeRTOS device information service. |
| ▼Functions | Functions of the GATT Service for WiFi Provisioning library. The GATT Service for WiFi Provisioning library consists of the following functions |
| IotBleWifiProv_Init | Initialize wifi provisioning over BLE service. |
| IotBleWifiProv_Start | |
| IotBleWifiProv_Stop | |
| IotBleWifiProv_GetNumNetworks | Gets the total number of provisioned networks. |
| IotBleWifiProv_Connect | Connects to one of the saved networks in priority order. |
| IotBleWifiProv_EraseAllNetworks | Erase all wifi networks. |
| IotBleWifiProv_Delete | |
| Constants | Defined constants of the BLE library. Libraries may # constants in their headers with special meanings. This page describes the meanings and uses of any constants defined by the BLE library. Related constants are shown in a single section on this page. |
| IotBleDeviceInfo_Cleanup | Cleanup device information service. |