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

BLE Mesh Model for user data transfer

Hi Nordic team,

We have planned to use nRF5340 based BLE mesh device which is interface with sensor 

We would like to transfer customized user data from one node to another node at different location via BLE mesh network. 

Shall we use Generic On/Off model for this user data transfer from one node to another node through BLE mesh?

If yes, what is the maximum possible size of user data to transfer?

Shall we use the "Mesh light (as Server) " and Mesh light switch (As client) sample for this use case?

Thanks

Selvam

Parents
  • Hi Selvam, 

    If you are planning to transmit customized data, I would suggest to create your own model instead of using the Generic on/off model. The generic model from Bluetooth SIG is defined in the spec and can't be modified as your need. 
    Note that when you define your own model, you need to follow the spec and tie your model to your company ID. Please check the bluetooth mesh spec on this. 
    An example that you can have a look is the \nrf\samples\bluetooth\mesh\chat in the NCS SDK v1.5.0. 

    In the example we defined a vendor specific model for sending chat message between nodes. In the implementation we use chat clients on all node, but if you want client-server communication, you can also define your server model based on how we define the client. 

Reply
  • Hi Selvam, 

    If you are planning to transmit customized data, I would suggest to create your own model instead of using the Generic on/off model. The generic model from Bluetooth SIG is defined in the spec and can't be modified as your need. 
    Note that when you define your own model, you need to follow the spec and tie your model to your company ID. Please check the bluetooth mesh spec on this. 
    An example that you can have a look is the \nrf\samples\bluetooth\mesh\chat in the NCS SDK v1.5.0. 

    In the example we defined a vendor specific model for sending chat message between nodes. In the implementation we use chat clients on all node, but if you want client-server communication, you can also define your server model based on how we define the client. 

Children
No Data
Related