This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem running FreeRTOS BLE demo app on Nordic nRF52840-DK with Android

Hi Nordic

I am trying to run the AWS BLE FreeRTOS demo found at:

https://docs.aws.amazon.com/freertos/latest/userguide/ble-demo.html#ble-demo-mqtt

I am using an android device for the mobile bridge.

The android freertos SDK requires the following information:

Open amazon-freertos-ble-android-sdk/app/src/main/java/com/amazon/aws/freertosandroid/MainActivity.java, and redefine the following variables:

  • BLE_DEVICE_MAC_ADDR: The MAC address of your device.

  • BLE_DEVICE_NAME: Your device name.

  • MTU: The desired MTU between your microcontroller and mobile device.

These items seem related to the BLE device on the nRF52840-DK board. But I don't know where I should get these values from. Can you please advise.

Thanks,

Hans