Mesh:The light_switch example ,why Mesh provisionning server disappear after enter mesh network?

Before network provisioning, there is a Mesh provisionning server service; after this service disappears, it becomes the mesh proxy server. How does Mesh provisionning server disappear。

can I keep  Mesh provisionning server and mesh proxy serve?

Parents
  • Hi, 

    From our expert:

    The provisioning service is for the PB-GATT provisioning bearer. By spec, it is only used for unprovisioned devices. Once the device is provisioned it becomes a node in the network, and then it exposes the GATT proxy service which allows the use of the GATT bearer. By spec, it is only used for (provisioned) nodes. Since a device is either provisioned or unprovisioned, but never both at once, it makes sense for only one of the services to appear at any given point in time. Hope this makes sense.

    In order to provision the device into a new network, the device must be removed from the current network (called the "node removal procedure") typically initiated by sending a "node reset" message to the node's configuration server. After removal, the node will reset into the unprovisioned state, exposing the provisioning service again so that it is ready to be provisioned into a new network.

    Please also note that both GATT bearers (for provisioning and for normal mesh operation) can be supported or not supported by a node, and if supported can be enabled or disabled. This means you may for instance have a node that can be provisioned over PB-GATT but does not expose a GATT Proxy Service. Or must use PB-ADV for provisioning but after provisioning has GATT Proxy.

    Regards,
    Amanda H.

  • if the note supported it,what  API can be used to config it ?

Reply Children
  • Hi, 

    It is still a bit unclear to us what your requirement really is. Is keeping the PB-GATT service after provisioning a requirement? That sounds weird, it is not possible to provision a node twice. Do you want the device to be provisioned into several different mesh networks at the same time? What is your motivation for wanting to have both the provisioning bearer (as provisionee) and normal GATT bearer active at the same time? 

    Please be aware that you will get no updates and little support for the nRF5 SDK which is not recommended for new products. Please move to the NCS mesh stack. 

    -Amanda H.

Related