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

proxy node : light switch example

hii,

      i am currently using light switch example proxy server and proxy clients.

here i am using 3 boards ,2 board(node B &C) are programmed with 4 generic onoff servers model each and other(Node A) is programmed with 4 client server model.

i have created a group of 2 goo server models (1 server of node B & 1 of Node C)using the mesh app and using a client model on node A to publish the state of a switch to group.

this works completely fine both with the switch on node A (on DK) and a on off button given on the mesh app(in the group sections).

but

 when i turn off the node A  having the client (so, no client to publish ...)still the mesh app is able to turn on off the grouped server models (how without publishing the state using the client the state of server model is changing..? ) is the mobile app acting as the publishing client here....?   

Parents
  • Hi,

    Yes, the smartphone app sends a message to the group address. Since the smartphone app also acts as provisioner, it knows everything about app keys, addresses, etc. and can do so.

    After configuring the servers (nodes B and C) to subscribe to a group address, any device sending on/off messages to that group address will control the lights of those nodes. (Provided it uses the correct app key.)

    This is a good example of how Bluetooth mesh is very flexible, and it shows that if you need to replace one node you only have to configure the replacement node. Existing nodes in the network do not need reconfiguration, as they behave exactly the same as before, still publishing or subscribing to the same group address, and still using the same application key.

    Regards,
    Terje

Reply
  • Hi,

    Yes, the smartphone app sends a message to the group address. Since the smartphone app also acts as provisioner, it knows everything about app keys, addresses, etc. and can do so.

    After configuring the servers (nodes B and C) to subscribe to a group address, any device sending on/off messages to that group address will control the lights of those nodes. (Provided it uses the correct app key.)

    This is a good example of how Bluetooth mesh is very flexible, and it shows that if you need to replace one node you only have to configure the replacement node. Existing nodes in the network do not need reconfiguration, as they behave exactly the same as before, still publishing or subscribing to the same group address, and still using the same application key.

    Regards,
    Terje

Children
Related