How mesh node can know Generic/Set AppKey determined during provisioning?

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

I have checked messages from location server device, but there is no evidence that it received message.

1. According to my understanding, when "Location Client" sends GET message, "Location Server" should send proper STATUS message as response. Am I wrong?

2. I have used "mesh_location_server" template project as is. It initializes default empty mesh_location_t structure as 0, and in my expectation, it should response with this data.

3. The purpose of the above example code is very simple, to get global position data from location server. What method should I use otherwise?

0 Likes
2 Replies
HyCh_4218006
Level 3
Level 3
10 replies posted 5 replies posted 5 questions asked

After I tried Generic AppKey generated during provisioning, I managed to succeed to receive STATUS response from another nodes.

Now the problem is how I can know the Generic/Set AppKey in provisioned mesh node.

I have reviewed API functions list, but couldn't find related function.

0 Likes

After I provisioned with apps provided in Mesh Location Client and Server in Snip folder wiced_bt_mesh_create_event() call succeeded with dst=0, appkey=0. So, there is no need to know exact AppKey in device firmware.

Case closed.

0 Likes