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

Is it possible to use Service Discovery Protocol (SDP) in Bluetooth Mesh applications?

Hi Nordic Developers,

Service Discovery Protocol (SDP) is a protocol for Bluetooth to detect the service nearby and to determine their characteristics by using UUID.

I was researching and testing with Bluetooth Mesh with Nordic demos example to understand the mesh better months ago. (Thanks to the nice mesh demos from Nordic) Currently my concern for mesh is raised after the Hong Kong protest, as people are using Bluetooth Mesh (Bridgefy) without relying on Internet to communicate with each other. As in the mesh demo from Nordic, I couldn't find any example with SDP. 

Please correct me if I am wrong. Could SDP be applicable for detecting other mesh device services nearby on the smart phone (in mesh communication), just like SDP always be used in normal BT/BLE connection?

Many thanks for your attention.

Best regards,

WHui

Parents
  • Hello WHui,

    Bluetooth Mesh doesn't use Services, like Bluetooth Low Energy does. In Mesh there is something called Models, which behaves quite similar. 

    However, there are some key differences in Bluetooth Mesh.

    All nodes that are connected in the same Mesh Network, using the mesh network key will communicate with one another. That means that whenever a Mesh packet is received, it will be relayed by any node, whether the packet is intended for that node or not. 

    During provisioning, the provisioner will see what models the node has, and it will choose what virtual channels that the different models will subscribe to and publis to. It will also add another layer of enctyption to that specific model, so if a device in the network isn't subscribing to that particular model, it will not be able to decrypt that packet. Not unless the provisioner has decided that this node subscribes to that channel, and gives it the key.

    Best regards,

    Edvin

Reply
  • Hello WHui,

    Bluetooth Mesh doesn't use Services, like Bluetooth Low Energy does. In Mesh there is something called Models, which behaves quite similar. 

    However, there are some key differences in Bluetooth Mesh.

    All nodes that are connected in the same Mesh Network, using the mesh network key will communicate with one another. That means that whenever a Mesh packet is received, it will be relayed by any node, whether the packet is intended for that node or not. 

    During provisioning, the provisioner will see what models the node has, and it will choose what virtual channels that the different models will subscribe to and publis to. It will also add another layer of enctyption to that specific model, so if a device in the network isn't subscribing to that particular model, it will not be able to decrypt that packet. Not unless the provisioner has decided that this node subscribes to that channel, and gives it the key.

    Best regards,

    Edvin

Children
Related