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

mesh : mesh light switch proxy exemple.

Hello,

I'm currently using the light  switch proxy example with 3 server proxy, 1 client proxy and 1 provisionner.

The example is currently working but I don't understand the communication between the client proxy and the server proxy. Are they using GATT because i didn't see any log about it ? Can the client proxy be low power like a BLE peripheral ?

Thanks

Axel Collet

  • Hi Collet, 

    The communication between the proxy server and proxy client is not GATT. They communicate like normal mesh nodes using ADV bearer. 

    The only difference here compare to normal mesh node is that they support GATT proxy. They do connectable advertising, so that a non mesh device, such as the mobile phone, can connect to it via GATT and then the phone can talk mesh via the proxy node. 

    In addition, those proxy examples also support PB-GATT which means they can be provisioned via GATT, in addition to the GATT proxy feature they support.

     

  • Hi, Huang Bui 

    I am working on Mesh 2.01, and want to connect cellphone via GATT service, I  understand your comments on GATT Proxy.

    According to <<Mesh 1.0>>,  MESH_GATT has only two services,    GATT_Provision and GATT_Proxy and only one  service works at one moment.  And also  If GATT_Provision is used,  GATT will be disabled after configuration. I tested my setup mesh net work , it is true.

    My problem is:  

         With LIGHT_SWITH_PROXY_CLIENT (/SERVER) example,  If i want to keep GATT for GATT_Proxy, I need use PB_ADV for provision,   but I tried each effort can not change Provision_Bearer to PB_ADV.   each time after provision and configuration , the GATT disappeared from cellphone connection.

          Did I do wrong ?  or what steps missed?

    Thanks

    Brent Dong

          

            

  • Hi,

    Next time please create your own question, you can have a link refer to this question if you want. 

    I'm not sure I understand what you need. In our implementation now (stock proxy example) We will do PB-GATT and PB-ADV when the device is not provisioned. After the device provisioned, we only do proxy GATT. I'm not sure why you need to do anything here.  

     

Related