MQTT Client over BLE, possible using nrfConnect SDK?

Hello

I would like to build an application that will publish data to an MQTT broker.
I found the MQTT Client - Publisher Example, that shows how to build a BLE MQTT clients, but it is for the nRF5 SDK v16.0.0.

I would like to ask if it is possible using the nRF52840 processor, to build a BLE MQTT client that publish data using an external BLE enabled router.

So the setup would be, connect the nRF52840 using Bluetooth to a router (with an internet connection) and publish data to an MQTT Broker.

Thank you

Parents
  • Hi Avgerinos89,

    Are you asking for this information conceptually? Or are you asking if a solution is already setup to support MQTT over BLE?

    Conceptually, MQTT "over BLE" is possible. You just need to implement the necessary adaptations of the MQTT to be transport over a BLE Service.

    The nRF5 SDK example that you found shows one approach to it. In that setup, MQTT actually runs on an IP stack, which runs over BLE 6LoWPAN (refer to the Introduction to BLE IoT page).

    This approach is unfortunately not further pursued by Nordic, and we no longer have any support for it in nRF5 SDK v17.x.y and the newer nRF Connect SDK. We do not recommend you develop based on this abandoned experimental attempt.

    Beyond the concept level, things depend on the details of your project. Without more information, it would be difficult to discuss further. Please feel free to let me know if you want to discuss anything related, but I would need some more information.

    Hieu

  • Hello Hieu,

    I was looking for a solution to publish data to an MQTT server using a Nordic processor. When I came across the  Introduction to BLE IoT page I thought that this might be possible using an IoT network using BLE links, as in the example.

    I thought that maybe a solution is already setup to support MQTT over BLE, or if there is any example using the newer nRF Connect SDK.

    I can see that there is no more support for such an implementation, Is there any other way to publish data to an MQTT server using the 2.4GHz radio that its in the Nordic processors? or would you have any other suggestions for such an implementation?

    Thank you in advance!

Reply
  • Hello Hieu,

    I was looking for a solution to publish data to an MQTT server using a Nordic processor. When I came across the  Introduction to BLE IoT page I thought that this might be possible using an IoT network using BLE links, as in the example.

    I thought that maybe a solution is already setup to support MQTT over BLE, or if there is any example using the newer nRF Connect SDK.

    I can see that there is no more support for such an implementation, Is there any other way to publish data to an MQTT server using the 2.4GHz radio that its in the Nordic processors? or would you have any other suggestions for such an implementation?

    Thank you in advance!

Children
Related