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

Extend PB Remote functionalities

Hi, 

I am working on PB Remote example. I would like to be able to run remote scan on my 5 servers immediately after they are provisioned.

For example, I provision the first server and start remote scan on first server. Then i provision (by remote or not) the second server and it also starts provisioning.

Like this, i would like all my servers looking for and able to do remote provisioning at the same time. I also would like the client to keep provisioning "normally".

I tried to do all this with this code :

 

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright (c) 2010 - 2018, Nordic Semiconductor ASA
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form, except as embedded into a Nordic
* Semiconductor ASA integrated circuit in a product or a software update for
* such product, must reproduce the above copyright notice, this list of
* conditions and the following disclaimer in the documentation and/or other
* materials provided with the distribution.
*
* 3. Neither the name of Nordic Semiconductor ASA nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* 4. This software, with or without modification, must only be used with a
* Nordic Semiconductor ASA integrated circuit.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

(I did not modified server side)

But it seems that remote scan only starts on the first server provisioned.

Could you help me finding why and how to achieve my goal ?

Thanks.

  • HI Damien, 

    I am not sure if remote provisioning and regular provisioning are mutually exclusive or not OR if you can have multiple remote scanners active at the same time. I will contact the Mesh team and inquire if there are any limitations. 

    Best regards

    Bjørn

  • Hi, do you have any news ?

  • Could you contact the Mesh team ? 

  • Hi Damien, 

    I apologize for the late reply. 

    I've been in contact with the Mesh team and according to them there are no restrictions to the number of remote, i.e.  you can have as many remote provisioning servers as you want.However, they pointed out that the remote provisioning servers does not perform the actual provisioning, they just relay the PB-ADV packets back to the remote provisioning client (i.e. the provisioner in the mesh). 

    Could you post the log output from the provisioner node? Do you get the "Remote scanning started on node %u and model handle %04X\n at @%u" log output for all the 5 server nodes?

    Best regards
    Bjørn

  • Yes i know that remote provisioning servers just relays packet to the provisioner, but is it possible to have several remote provisioning servers running concurrently ? 

    I am able to do remote provisioning on all my servers but only one at a time. I do not know how to make them running concurrently. If i keep using one remote client, it only can communicates with one server, and if i create one remote client for each server, i do not know how to specify the remote address of the client since the configuration of the remote server is done locally.


    By the way, is there a way to run classic provisioning at the same time of remote provisioning ? I always get an error when a Remote UUID and a non-remote UUID are detected at the same time.

1 2