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

Mesh Beaconing Example

hi Support Team

I am using 3 Development Kit flashed with Mesh Beaconing Example kept apart  distance of 30mtr , Say A, B , C

In Another Kit I flashed ble_app_beacon   Say Z

device Z was kept near C

I modified static void rx_cb(const nrf_mesh_adv_packet_rx_data_t * p_rx_data) to reAdvertise the incoming packet

device C  could receive packet from device Z 

But I was expecting the same packet will be delivered at A after multiple Hops through device B

But I was not able to get ble_app_beacon packet at A

Any Comments ? My objective is to sending sensor Data via mesh

Parents
  • HI,

    I am not sure if I quite understand what you are trying to do. Based on what you write it looks like you try to send traditional BLE advertisement packets between the nodes in the Mesh network, instead of actually using Bluetooth Mesh.

    Bluetooth Mesh is not a network that sends normal advertising packets. It is true that it uses advertising packets to communicate, but it sends special advertising data that contains mesh packets. It has built other protocols on top, and the actual data is formatted differently from that of normal BLE advertising packets.

    If you want to send sensor data then you should use a Bluetooth Mesh model for sending that sensor data. The initial collector of the beacon data should read the traditional BLE advertisement, just as you do, but after that you must use a Mesh model for formatting and sending the data through the Mesh network.

    For a description how to make new models, see Creating new models. For more on our SDK, see our Quick Start Guide for the nRF5 SDK for Mesh and the other documentation on Infocenter. For more on Bluetooth Mesh in general, see our Things you should know about Bluetooth Mesh blogpost, and the blogposts on the official Bluetooth blog starting with Introducing Bluetooth Mesh Networking.

    Regards,
    Terje

  • Hello, tesc.

    Thank you for reply.

    If you want to send sensor data then you should use a Bluetooth Mesh model for sending that sensor data.

    I'm so curious that 'mesh beaconing example' has relay function.

    In other example, there is a 'MESH_FEATURE_RELAY_ENABLED' parameter if it works as relay node.

    I think that there is no parameter like that.

    And when I see RTT viewer, it doesn't look like work as relay node.

    if it's not working as relay node, can I change it in order to work as relay node?

  • Hi,

    This is an old thread and is only loosely related to your questions. Please start a new thread for discussing relay feature, what examples has it enabled, and how to enable it for examples that do not, in recent versions of our Mesh SDK.

    Regards,
    Terje

Reply Children
No Data
Related