1

Mesh SDK Beaconing Instructions

SimonJudge gravatar image

asked 2017-08-01 13:04:48 +0100

After some effort, I have managed to build the beaconing example that's missing from the examples.emProject of the ble_mesh_v0.9.1-Alpha SDK. I have this running on the PCA10028 and it's advertising. How do I now use the mesh part? How do I provision this in the mesh network?

I have also had the serial example working with the interactive_pyaci script. However, the documentation just talks for provisioning two serial connected devices. How can this be used to provision the meshed beacon?

Thanks

Simon

edit retag flag offensive close delete report spam

Comments

HI Simon, I think that you're better off starting with the light_control examples as they already include the provisioning part.

Bjørn Spockeli ( 2017-08-03 16:25:57 +0100 )editconvert to answer

Thanks, but I want to provision devices with the beacon example firmware, not light firmware.

Simon Judge ( 2017-08-03 16:28:59 +0100 )editconvert to answer

1 answer

Sort by » oldest newest most voted
3
thomas.stenersen gravatar image

answered 2017-08-11 21:55:12 +0100

updated 2017-10-23 17:07:28 +0100

Hi Simon,

I quickly tried to combine the light control server with the beaconing example, I can't really test it out right now, but it compiles fine and should give you the basic idea :)

beaconing.diff

Update for v0.10.x:

light_switch/server/src/main.diff
light_switch/server/src/main.c

Best,
Thomas

edit flag offensive delete publish link more

Comments

I tested it, it works! Thank you.

aaronxu ( 2017-08-19 11:15:11 +0100 )editconvert to answer
1

Is it possible to find a file showcasing this, but whit the new Mesh SDK v0.10, somewhere?

SørenHN ( 2017-10-23 16:41:30 +0100 )editconvert to answer
1

Hi Søren,

The changes are more or less identical as last time, I've provided the diff of the Light Switch server example and the updated examples/light_switch/server/src/main.c in the original answer for you.

Best,
Thomas

Thomas Stenersen ( 2017-10-23 17:07:47 +0100 )editconvert to answer

Super, thank you Thomas. I have integrated your changes to my own project, but I get an NRF_ERROR_NO_MEM when nrf_mesh_node_config() is called, any idea why this happens?

Edit: I have posted this as a propper question.

SørenHN ( 2017-10-24 11:51:42 +0100 )editconvert to answer

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

Question Tools

1 follower

Stats

Asked: 2017-08-01 13:04:48 +0100

Seen: 346 times

Last updated: okt. 23