This demo application provides demo to user on how to provision Wi-Fi credentials of the Home AP via the Bluetooth low energy (BLE). This is a custom/user defined profile of BLE. Application sends the data over BLE for provisioning Wi-Fi device.
Components used in the demo:
- WILC3000 Bluetooth Low Energy controller: It provides the bluetooth enabled devices to connect to it. Exposes HCI interface to the Host bluetooth stack and thereby enables to develop any BLE applications
- BlueZ: A package of complete Bluetooth Protocol Stack and Utilities, it is used to host custom WiFi provisioning Over BLE GATT service
- WiFi Provisioning over BLE Service Application: The WiFi Provisioning over BLE service application which incorporates the GATT server and its characteristics read/write operations and save home AP credentials
Demo Setup:-
Running Demo application:
- Once the board is booted, log into the console.
- Enter below command to start the WiFi Provisioning over BLE profile functionality.
./Start_BT.sh 3
- User will observe following console output
- In smartphone mobile, download the “Microchip Bluetooth Data” application from play store (Tested with Android OS).
- Make sure the bluetooth is turned on in the smartphone settings, otherwise turn it ON.
- Goto “Microchip Bluetooth Data” application and start the “Ble provisioner”
- Select the listed device “bluez x.xx” (where x.xx represents the BlueZ version)
- Enter Wi-Fi SSID and passphrase based on Home AP credentials and click on “provision”.
- DUT will connect to configured AP.
Note: The demo has following limitations
- The mobile application does not list the AP's in the vicinity, user needs to manually provide the SSID and Passphrase details
- The AP scan functionality is not supported from the mobile application