Want to implement the Nordic UART Service (NUS) in Mesh.

Hello Nordic Engineer,

I have already implemented a Mesh network using iOS nRF Mesh, 5340 DK, and 52840 DK, with the mesh_light example.

The NUS I used before was able to send data, like how a phone uses the nRF Connect app to send data. Can this be done in Mesh as well? Are there any examples similar to NUS?

Thanks

Parents
  • Hi,

    It should be possible to create a vendor model for Bluetooth Mesh, with similar functionality as for NUS, yes.

    I am afraid there are no samples in nRF Connect SDK (or in the previous nRF5 SDK) which show exactly the behavior that you are looking for. The closest would be the Bluetooth Mesh: Chat sample in nRF Connect SDK, along with the Chat Client model which would be a decent starting point for creating your own vendor specific model handling UART like data transfer.

    Regards,
    Terje

  • Hello tesc,

    Thank you for your reply.

    Sorry for the late reply, I was working on another project earlier.

    Can you describe how the chat sample runs? If I directly flash this sample onto my 52840 DK and 5340 DK, will I be able to see the results?

    Just like my initial question, I have used the mesh_light sample before, but I also used the iOS nRF Mesh app to configure the mesh. Does the chat sample not require any mesh configuration via a mobile app?

    My product requires the mobile phone to send Hex data to the nRF chip, which then transmits it through the mesh to more nRF chips.

    Thank you

  • Hi,

    As with all Bluetooth Mesh devices, regardless of models, the device must be configured. This can be done either through use of a smartphone app (such as nRF Mesh for Android or nRF Mesh for iOS), or through an embedded device acting as provisioner.

    If you are looking for a way to distribute binary data, then I highly recommend having a look instead at the Binary Large Object (BLOB) Transfer models. They are used, for instance, for DFU transfer over Bluetooth Mesh.

    Regards,
    Terje

Reply Children
No Data
Related