Thingy91 - Dynamic BLE Device Connection and Data Streaming

Dear Nordic-Support and community,

I am developing a system where a Thingy91 device needs to:

  • Dynamically connect to a specific BLE device that sends data like Heart Rate, Movement-Data, Geo-Data etc. The generic device configuration will be managed through an online dashboard, and the BLE DEVICE MAC address should be dynamically updated on the Thingy91 via an API endpoint.
  • Transmit all sensor data (custom BLE pages) from BLE DEVICE to THINGY91.
  • The Thingy91 should also be able to send commands to our BLE device.
  • Ensure reliable data reception and forwarding to an server.

In that case, the Thingy91 should act as central and our BLE device as peripheral. Our BLE device has BLE standard 4.1.

I would greatly appreciate it if you could:

  • Confirm the feasibility of these requirements.
  • Provide any relevant code examples, tutorials, or documentation that could assist in implementing these features.

Please see the attached diagram for further clarification. Thank you for your time and assistance.

Parents
  • Hello,

    This seems feasible. If set up correctly, you can write an application for the nRF91 as if it had a bluetooth radio of it's own. Zephyr will automatically convert pass all Bluetooth API over to serial communication back and forth between the nRF91 and the nRF52/3. 

    My expertise in Cellular is not great, but I believe that the NCS\nrf\samples\cellular\lte_ble_gateway is set up like this. You can see in the src\ble.c how it set's up the BLE part of the application, and it is quite similar to any of the BLE samples found in NCS\nrf\samples\bluetooth.

    Best regards,

    Edvin

Reply
  • Hello,

    This seems feasible. If set up correctly, you can write an application for the nRF91 as if it had a bluetooth radio of it's own. Zephyr will automatically convert pass all Bluetooth API over to serial communication back and forth between the nRF91 and the nRF52/3. 

    My expertise in Cellular is not great, but I believe that the NCS\nrf\samples\cellular\lte_ble_gateway is set up like this. You can see in the src\ble.c how it set's up the BLE part of the application, and it is quite similar to any of the BLE samples found in NCS\nrf\samples\bluetooth.

    Best regards,

    Edvin

Children
No Data
Related