How to test mesh_location_server/client sample?

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

cross mob
HyCh_4218006
Level 3
Level 3
10 replies posted 5 replies posted 5 questions asked

Hi teams,

I am testing with CYBT-213043-MESH kit about various mesh models.

I found mesh_location_server/client samples in Github examples, and seems to be successful to build/load to my board.

But I don't know how to test it.

I have succeeded to provision with MeshClient, but this application does not have functions to get/set 'Generic Location Server' model.

And I also found ClientControlMesh.exe in libraries\bt_sdk-1.1\components\BT-SDK\common\apps\snip\mesh\ClientControl, but it seems not to work.

Here is my testing procedure. Please let me know how to test this correctly.

1. Build mesh_location_server application from ModusToolbox, and load it to my board.

2. Open ClientControlMesh.exe and select 'Models' tab.

3. Set port to WICED HCI UART port (COM10), and baudrate to 921600. (Actually I tested both with 115200 & 921600, but both not work.)

4. Select model combobox to Location, and now I can access Local & Global attributes for Location Server Model, but can't get or set values from/to my board.

How can I test this feature properly?

TIA

0 Likes
1 Solution

Hi Hyun-ho Choe,

Could you please try below steps:

Steps:

  1. Download mesh_provision_client  and mesh_location_server on two devices. (make sure you enable location_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 location_server device.
  3. Note down the address allocated to mesh_location_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 location from the drop down menu and then use location commands (GET/SET) to change it’s parameters.

NOTE: If use publication info check box is clicked, if the device publication address is set, the destination is set to publication address and appkey is set to same.

Thanks,

-Dheeraj

View solution in original post

8 Replies