6.5 Running Transparent UART Demo with Microchip Bluetooth Data App
This section provides the detailed procedure to run the Transparent UART demo with the
iOS® Smart Data App.
- Connect the device with the GAP-Central configuration flashed into the BM70/71 device. For more details, refer to Base Configuration. For the serial console configuration, refer to Serial Console Setup.
- Ensure that POWER LED (green) on the SAML21 Xplained Pro board is solid ON.
- Press the Reset button on the SAML21 Xplained Pro board and verify that LD4 (blue) on BM70/71-Xplained Pro is blinking at a regular interval.
- Ensure that the Transparent UART device is advertising. Check the Tera Term window for the advertising status message as illustrated in the following figure.
- Download the Microchip Bluetooth Data (MBD) mobile application from the Google Play store.
- Tap on the BLE UART tab inside the Microchip Bluetooth Data App as illustrated in the following figure.
- Select BM70 from the available options as illustrated in the following figure.
- Select the Scan option from the device list shown in the MBD App. Click TransparentUARTDemo to connect to BM70/71 as illustrated in the following figure.
- Once connected, the MBD App opens the transparent UART pipe and is ready to send/receive data.
- Similarly, after successful connection, the Transparent UART application prints the connection details in the console and opens the transparent UART pipe as illustrated in the following figure.
- Once the transparent UART pipe is opened, the data entered in the serial console application is transferred to the MBD Application over BLE transparent UART, and the MBD Application displays the received data from BM70/71 as illustrated in the following figure.
- Enter the message in the text box, then click Send to send data from the Smart Data App to BM70/71. The Transparent UART demo application prints the received data in the serial console as illustrated in the following figure.