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

Parents
  • I think this question may be better directed to Amazon on GitHub, for instance I presume you have compiled and programmed the nRF52840-DK with the firmware required. Most of the parameters should be possible to find in the embedded project for the nRF52840-DK and/or if you have nRF Connect on your phone it should also be possible to display them.

Reply
  • I think this question may be better directed to Amazon on GitHub, for instance I presume you have compiled and programmed the nRF52840-DK with the firmware required. Most of the parameters should be possible to find in the embedded project for the nRF52840-DK and/or if you have nRF Connect on your phone it should also be possible to display them.

Children
No Data
Related