Topic

FAQ
Login Register
about BLE Mesh Bridge and Relay API Functions?
Apr 18, 2024 10:08

/

A

/A


Hello. i have a questions.

The BLE Mesh SDK has two functions.
One is light_sim_notify_mesh(),
The other one is light_sim_light2light(),


What I found out is
Is light_sim_notify_mesh() a function used as a bridge role and light_sim_light2light() a function used as a relay role?


If so, do I have to use both?


1 replies
TL_Soyo Apr 18, 2024 14:35
0
/A

Hi,

  The purpose of light_sim notify_mesh() is to send messages to the mobile phone, and this node can be in a GATT or non connected state with the mobile phone. As long as the mobile phone and any node in the mesh network have established a GATT connection, the directly connected node will notify the mobile phone when it receives the command sent by light_sim notify_mesh().
Light sim light2light() is a common method of sending a command to a mesh network, similar to sending an onoff command to other mesh nodes on a remote control.