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

How to use Mesh Serial Example?

I have a PCA10040 working with the mesh sdk.v1.0.0 serial example. I can do an Echo via the Python interactive_syaci and get a back a response. I have seen the documentation with the commands and events. However, other than the example showing how to connect /dev/ttyACM0 /dev/ttyACM1 how are the other commands used? More specifically:

Why does send(cmd.BeaconStart(0, "0000000000000000000000000000000")) give a 'Success' message back but there's no advertising in the (Android) nRF Connect app? What's a slot? (The code seems to hardcode to only one slot? Why?)

What commands need to be sent to discover mesh devices in range? I have tried send(cmd.ScanStart()) but it just sends back a 'Success' message.

Given mesh devices in range can be determined, what commands provision them? (the example just shows provisioning physically UART connected devices).

The code seems to provide for PB-Remote via serial (infocenter.nordicsemi.com/.../group__SERIAL__PB__REMOTE__CLIENT.html. How is this accessed using the serial example?

Thanks

Simon

Related