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

Mesh PB Remote

I'm running the PB Remote Client on a PCA10040.

I have 2 servers running on PCA10040 boards.

Watching the log whilst debugging the client, I receive the following:

  1. Provision first available device with PB-ADV

  2. Set current client publish handle (corresponding to a known server)

2.1)

  1. Start remote scanning

  2. Cancel the remote scanning

  3. Start remote provisioning

5.1) Device number

It's obvious that the provisioning is failing.

When I run the debugger on the server and restart the client I get the following:

0>, main.c, 125, ----- BLE Mesh Provisionee + Remote Provisioning Server Demo ----- <t: 564>, main.c, 95, Initializing and adding models

Any help would be appreciated

Parents
  • After making RTT Viewer run, I have the following output from the viewer.

    < 1 0> <t: 11455199>, main.c, 178, Local provisioning link established

    0> <t: 11456756>, main.c, 214, Using static authentication

    0> <t: 11466046>, main.c, 225, Static authentication data provided

    0> <t: 11543918>, main.c, 196, Provisioning complete! Added 1337 as handle 0

    0> <t: 11546799>, main.c, 182, Local provisioning link closed < 20

    0> <t: 12719460>, main.c, 275, Please enter a valid publish handle:

    0> <t: 12719463>, main.c, 320, Handle set < 3

    0> <t: 15521920>, main.c, 253, Got event 0

    0> <t: 15526924>, main.c, 247, Got remote uuid: 452463921B2F216655C72EC5E6170412

    0> <t: 15526927>, main.c, 248, Device ID: 0

    0> <t: 15538989>, main.c, 247, Got remote uuid: 452463921B2F216655C72EC5E6170412

    0> <t: 15538992>, main.c, 248, Device ID: 0 < 50

    0> <t: 3564056>, main.c, 295, Please enter a valid device number:

    0> <t: 3567205>, main.c, 178, Local provisioning link established

    0> <t: 3571356>, main.c, 214, Using static authentication

    0> <t: 3601572>, main.c, 225, Static authentication data provided

    0> <t: 3759309>, main.c, 196, Provisioning complete! Added 1338 as handle 1

    0> <t: 3762759>, pb_remote_client.c, 627, Got transfer status 1 in state 2.

    0> <t: 3764149>, main.c, 182, Local provisioning link closed

    0> <t: 3764152>, main.c, 243, The remote link has closed

Reply
  • After making RTT Viewer run, I have the following output from the viewer.

    < 1 0> <t: 11455199>, main.c, 178, Local provisioning link established

    0> <t: 11456756>, main.c, 214, Using static authentication

    0> <t: 11466046>, main.c, 225, Static authentication data provided

    0> <t: 11543918>, main.c, 196, Provisioning complete! Added 1337 as handle 0

    0> <t: 11546799>, main.c, 182, Local provisioning link closed < 20

    0> <t: 12719460>, main.c, 275, Please enter a valid publish handle:

    0> <t: 12719463>, main.c, 320, Handle set < 3

    0> <t: 15521920>, main.c, 253, Got event 0

    0> <t: 15526924>, main.c, 247, Got remote uuid: 452463921B2F216655C72EC5E6170412

    0> <t: 15526927>, main.c, 248, Device ID: 0

    0> <t: 15538989>, main.c, 247, Got remote uuid: 452463921B2F216655C72EC5E6170412

    0> <t: 15538992>, main.c, 248, Device ID: 0 < 50

    0> <t: 3564056>, main.c, 295, Please enter a valid device number:

    0> <t: 3567205>, main.c, 178, Local provisioning link established

    0> <t: 3571356>, main.c, 214, Using static authentication

    0> <t: 3601572>, main.c, 225, Static authentication data provided

    0> <t: 3759309>, main.c, 196, Provisioning complete! Added 1338 as handle 1

    0> <t: 3762759>, pb_remote_client.c, 627, Got transfer status 1 in state 2.

    0> <t: 3764149>, main.c, 182, Local provisioning link closed

    0> <t: 3764152>, main.c, 243, The remote link has closed

Children
No Data
Related