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

There's any software to make an App to give my mobile device the proxy_client role in light_switch example?

Hello to everyone.

I'm working with the Light_Switch example with four nRF52832 SDK (two clients, two servers) and my cellphone as provisioner, in Mesh 3.10, with "nRF Mesh" App for Android.
Now, I'm trying to add another cellphone as proxy_client, but I don't know how. Like the title: there's any software to make an App to give my mobile device the proxy_client role in light_switch example?
I know that exists MIT App Inventor, but I don't think that it'll work. Then I thought, maybe Nordic has a private software to make this App, hasn't it?
I'm using Windows 10, my Android version is 5.1.1, my nRF52 board is PCA 10040 and my mobile is compatible with BLE.


What I'm trying to do is to use my mobile to send instructions to the other two clients (nRF52), for example:
Each client has two group adresses (controlled by button 1 and button 3); these adresses can be seen by the phone. Then the phone send a message to any client to activate a button (let's say  the button 1). This message is a "button pressed" signal, so, the button is pressed (by software, not hardware) and the servers connected to that group address are going to receive the signal.

I hope you can help me.

  • Hi,

    I'm not completely sure what you mean, but we don't have any private software to make this app.

    Our nRF Mesh kinda does this already, it becomes a proxy client after it has provision devices to the network and reconnects. But you need to provision first, so you won't be able to connect as a proxy client without provisioning first with the app. 

    What you are trying to do seems similiar to the UART Coexistence example, it simulates a button press over UART then a message is sent from client to server.

  • Hello Mttrinh, thank you for answer.


    If the nRF Mesh App does this already, it's cool. But, It means that I have to provision the mobile device first before begin to use it as a proxy client, right? So, I need a second mobile device to provision the first one or the first mobile device can provision itself?
    With the simulation of pressing buttons, I'm trying to simulate more buttons to have more client models to control more group adresses. But, if I could configure another pins as buttons, I wont need simulate buttons anymore (with the respectly configuration of quantity of models, quantity of buttons in the code, etc)
    Can I do that?

  • Yes, you have to provision the phone first before you can connect as a proxy client. The phone provision itself when it provision other devices, then connects as a proxy client. If I understand you correctly, you want to configure physical pins as buttons? It is possible to do that.

  • Sorry for the delay.
    I didn't find how to use my cellphone as a client in the same nRF Mesh App, so I decided to use it only as provisioner.
    With the buttons, you're right, I wanted to configure physical pins as buttons, I already learned how to do that.
    Thank you very much!

Related