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

Mesh App Provisioner + Client

Hello everyone, 

I want to develop an android app, which is able to control multiple LED Lamps in a Mesh Network. 

There is an app for provisioning provided by Nordic. Is it possible, to also set this app up both as a client and a provisioner, so I can at first provision my devices and afterwards send messages to the servers from the app, to control the lighting? 

Best regards 

Julian Demicoli

IDE: Segger Embedded Studio for ARM V3.4

SDK: 15.0 + SDK for Mesh,

Softdevice: 6.0.0

Computer Platform: Windows 10 64 Bit

Hardware revisions: NRF52 Development Board

Parents
  • Hi,

    The nRF Mesh supports controlling GenericOnOff models. So you should be able to turn on/off a LED on the DK. 

    Have a look at this, it is for iOS but I think it should be the same with the Android app.

Reply
  • Hi,

    The nRF Mesh supports controlling GenericOnOff models. So you should be able to turn on/off a LED on the DK. 

    Have a look at this, it is for iOS but I think it should be the same with the Android app.

Children
  • Thank you for your answer, 

    I was able to provision two DKs using the Android App. One device has been configured as a Client and one as a Server. I can now control the LED of the Server DK by pressing a button on the Client DK. 

    My Question was if i could skip the Client and directly turn on the LED of the Server by using the Android app. Is it possible to configure an app to be both provisioner and client? 

  • Hi,

    You should be able to turn on the LED of the server with the app. Follow the guide in the link from the previous answer. You have to replace the SimpleOnOff model with the GenericOnOff model, then it will work.

  • Thank you very much, it is working now. 

    Do you know if this is also implemented for other models + Are there any APIs/Documentation of the App to implement your own model? 

    Best regards

  • Unfortunately, only GenericOnOff model is supported as of now. If you mean to implement your own model in the nRF Mesh, then no.

  • Hey Julian,

    Can I ask your help? I am stuck on this issue, the firmwares that comes with the provisioning app are for thingy, and I cant provision the light switch example from the SDK for Mesh for the nRF52 dev boards either... can I ask how did you manage to provision the dev boards with the app? which firmware you used? any chance to share the code? Slight smile

    Thanks!