WiFiProvisioningOverBLE


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:

  1. WINC3400 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
  2. BlueZ: A package of complete Bluetooth Protocol Stack and Utilities, it is used to host custom WiFi provisioning Over BLE GATT service
  3. 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:-
BLE-WiFi_prov-Setup.jpg

Running Demo application:

  1. Once the board is booted, log into the console.
  2. Enter below command to start the WiFi Provisioning over BLE profile functionality.
    ./Start_BT.sh 3
  3. User will observe following console output
    wifi_prov_over_ble_console.jpg
  4. In smartphone mobile, download the “Microchip Bluetooth Data” application from play store (Tested with Android OS).
  5. Make sure the bluetooth is turned on in the smartphone settings, otherwise turn it ON.
  6. Goto “Microchip Bluetooth Data” application and start the “Ble provisioner”
  7. Select the listed device “bluez x.xx” (where x.xx represents the BlueZ version)
  8. Enter Wi-Fi SSID and passphrase based on Home AP credentials and click on “provision”.
    wifi_prov_over_ble_mob_app.jpg
  9. DUT will connect to configured AP.

Note: The demo has following limitations

  1. The mobile application does not list the AP's in the vicinity, user needs to manually provide the SSID and Passphrase details
  2. The AP scan functionality is not supported from the mobile application
r4 - 03 Mar 2021 - 23:43:14 - HemanthTenkod
 
Linux & Open Source for AT91 Microchip Microprocessors

Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.

Microchip® and others, are registered trademarks or trademarks of Microchip Technology Inc. and its subsidiaries. This site is powered by the TWiki collaboration platform

Arm® and others are registered trademarks or trademarks of Arm Limited (or its affiliates). Other terms and product names may be trademarks of others.

Ideas, requests, contributions ? Connect to LinksToCommunities page.

Syndicate this siteRSS ATOM