|
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. Note: API should not be invoked from within the event callback. |
| 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_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. |
| Constants | Defined constants of the linear containers library. Libraries may # constants in their headers with special meanings. This page describes the meanings and uses of any constants defined by the linear containers library. Related constants are shown in a single section on this page. |
| ▼Functions | Functions of the linear containers library. The linear containers library consists of the following functions |
| IotLink_IsLinked | Check if an IotLink_t is linked in a list or queue. |
| IotListDouble_Create | Create a new doubly-linked list. |
| IotListDouble_Count | Return the number of elements contained in an IotListDouble_t. |
| IotListDouble_IsEmpty | Check if a doubly-linked list is empty. |
| IotListDouble_PeekHead | Return an IotLink_t representing the first element in a doubly-linked list without removing it. |
| IotListDouble_PeekTail | Return an IotLink_t representing the last element in a doubly-linked list without removing it. |
| IotListDouble_InsertHead | Insert an element at the head of a doubly-linked list. |
| IotListDouble_InsertTail | Insert an element at the tail of a doubly-linked list. |
| IotListDouble_InsertBefore | Insert an element before another element in a doubly-linked list. |
| IotListDouble_InsertAfter | Insert an element after another element in a doubly-linked list. |
| IotListDouble_InsertSorted | Insert an element in a sorted doubly-linked list. |
| IotListDouble_Remove | Remove a single element from a doubly-linked list. |
| IotListDouble_RemoveHead | Remove the element at the head of a doubly-linked list. |
| IotListDouble_RemoveTail | Remove the element at the tail of a doubly-linked list. |
| IotListDouble_RemoveAll | Remove all elements in a doubly-linked list. |
| IotListDouble_FindFirstMatch | Search a doubly-linked list for the first matching element. |
| IotListDouble_RemoveFirstMatch | Search a doubly-linked list for the first matching element and remove it. |
| IotListDouble_RemoveAllMatches | Remove all matching elements from a doubly-linked list. |
| IotDeQueue_Create | Create a new queue. |
| IotDeQueue_Count | Return the number of elements contained in an IotDeQueue_t. |
| IotDeQueue_IsEmpty | Check if a queue is empty. |
| IotDeQueue_PeekHead | Return an IotLink_t representing the element at the front of the queue without removing it. |
| IotDeQueue_PeekTail | Return an IotLink_t representing the element at the back of the queue without removing it. |
| IotDeQueue_EnqueueHead | Add an element at the head of the queue. |
| IotDeQueue_DequeueHead | Remove an element at the head of the queue. |
| IotDeQueue_EnqueueTail | Add an element at the tail of the queue. |
| IotDeQueue_DequeueTail | Remove an element at the tail of the queue. |
| IotDeQueue_Remove | Remove a single element from a queue. |
| IotDeQueue_RemoveAll | Remove all elements in a queue. |
| IotDeQueue_RemoveAllMatches | Remove all matching elements from a queue. |
| Deprecated List |