2.11.8 Proximity Reporter Application Demo

This application demonstrates the proximity monitoring between the WINC3400 and Android Mobile phone with Microchip Bluetooth Data application.

Note:

Currently, this demo is disabled in the project sam_d21_xpro_winc3400.X due to memory limitation.The user can enable this demo by enabling the macro APP_BLE_PROXIMITY in app.h file.

  1. This is an BLE application example. So the user need to download the Microchip Bluetooth Data application from App Store.

  2. Enter the command "appdemo start 15" to select and run the application.

    pxp_start
  3. Open the Microchip Bluetooth Data application. Select Bluetooth Smart Widget. In the Bluetooth Smart Widget, press "START SCAN". From the list of available devices select the device name ATMEL-PXP.

    PXP_device_list
  4. Enter the pass-key “123456” on Bluetooth Pairing Request window and click Pair.

    pxp_pairing
  5. After pairing completed, the supported services are displayed on the application.

    proximity_service_list
  6. Select the desired service (Link Loss or Immediate Alert) for alert level characteristics configuration. Choose a value from the following: HIGH ALERT/MILD ALERT/NO ALERT

    proximity_config_alert
  7. After configuration of the desired alert levels, click Immediate Alert service and then move the mobile phone away from the Proximity Reporter. Based on the distance of separation, Path Loss is plotted on the zone radar (using RSSI values received from the Proximity Reporter).

    proximity_pathloss
  8. Based on the zone, the Proximity Monitor sends the corresponding alert level. The console log on the Proximity Reporter displays the corresponding alerts and on-board status LED behavior.

    proximity_pathloss_terminal
  9. After configuration of the desired alert levels, click on the Link Loss service and then move the mobile phone away from the reporter. Keep moving until the “Link Loss”pop-up appears. The console log on the Proximity Reporter displays the corresponding alerts and when Link Loss occurs, it reports the disconnection and the on-board status LED behavior.

    proximity_linkloss_pop_up
    proximity_link_loss_terminal
  10. After Link Loss, the mobile application attempts to reconnect to the Proximity Reporter. The connection is re-established by moving the mobile phone closer to the reporter.

  11. Click the Tx Power Service icon in the services screen. The Proximity Monitor reads the Tx Power value from the Proximity Reporter and displays the TX POWER LEVEL.

    proximity_tx_power