how to realise the bluetooth mesh scene and if there is any document to make a detailed introduction

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
mawu_4270096
Level 5
Level 5
50 replies posted 25 replies posted 10 replies posted

Hi:

    I want to realise the bluetooth mesh scenes,but  I can't  find  out  any detail document about this,I want to know if anyone has implemented the bluetooth mesh scene.

   I am expecting a reply !

thanks!

0 Likes
1 Solution

Hi mandy wu,

Please follow below steps:

  1. Download mesh_provision_client  and mesh_onoff_server (you can use any other server app which has scene server model defined) on two devices. (make sure you enable scene_client model for mesh_provision_client by selecting 'change application settings')
  2. Open ClientControl - Light Control tab and open COM port of the mesh_provision_client device. And then, provision mesh_onoff_server device.
  3. Note down the address allocated to mesh_onoff_server device (Eg: 0002).
  4. Goto ClientControl directory (.\components\BT-SDK\common\apps\snip\mesh\ClientControl\Release) and open Network.JSON. And check the appKeys generated.
  5. Select model tab on MeshClientControl and use appropriate destination address and app_key_index. (For GET messages you have to use Generic appKey index and for SET messages you have to use Setup appKey index.)
  6. Select Scene from the drop down menu and then use Scene commands (Store, recall, delete,...) to do operations.

NOTE:

  • Please use Helper application guide: MeshClient and ClientControlMesh App User Guide​ if you have any doubt in the usage of MeshClient or MeshClientControl.
  • In the ModusToolbox click on the Documentation tab, the WICED API Reference then WICED HCI Control Protocol Also, please search wiced_bt_mesh_app.h for getting mesh_app_proc_rx_cmd definition.
  • You can use independent mesh_scene_client app also instead of mesh_provision_client app. But still you definitely need provision_client app to provision all the devices into a network.

Thanks,

-Dheeraj

View solution in original post

3 Replies