TIDUE59A May 2018 – September 2020
Wi-Fi provisioning over BLE is another method of provisioning a Wi-Fi based system to a new Wi-Fi network. The main benefit of provisioning a system over BLE is that it can provide a more consistent and streamlined user experience when provisioning from a smartphone or tablet. On some mobile operating systems, AP provisioning requires a user to do the following:
When provisioning over BLE, the process can be completed without the user ever having to change the Wi-Fi network to which the mobile device is connected. Therefore, the entire provisioning process can be carried out within a single mobile application. The process for provisioning the system over BLE is as follows:
Even though the overall process implemented by the system may take more steps, the user experienced is simplified, because the user only needs to take an action for Steps 2, 3, and 4.
The TIDC-01005 software application implements provisioning over BLE using a modified version of the BLE provisioning example from the SimpleLink SDK Bluetooth Plugin. In the TIDC-01005 software, a BLE thread is dedicated to handling communication with the CC2640R2F, while the system is being provisioned. Because there is no hardware coexistence mechanism for Wi-Fi and BLE in the system, the software application turns off the Wi-Fi network processor while the BLE interface is active and stops the BLE activity while the Wi-Fi interface is active. To keep the Wi-Fi and BLE activity separate, all of the Wi-Fi activity (such as testing received credentials) is handled inside the network interface task instead of the BLE provisioning task.
Figure 2-7 shows the state machine implemented by the task that is dedicated to provisioning over BLE.