This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Which Example should i use for BLE mesh which support the OTA?

Hi Everone..

I want to know for my project Which Example should i use for BLE mesh which support the OTA

I have nRF52832 DK, and several other custom board  which is based on nrf52840.  I have working on BLE mesh sdk version 5.0

I want to make BLE mesh in that node, relay node, Border node for communicate with server.

Node_1(Adc_reading) (boolean_ value) (SPI) --------> relay_Node---->Border_Node------->(Through UART)-----> send data to Server(Cloud).

Please give me tutorial and what would be the flow for this using nRF52832 BLE mesh. It will use making smart socket project.

Thanks in Advance.

  • Hi, 

    Have you implemented any of our example in the nRF5 SDK for Mesh v5.0 ? 

    When you mentioned "OTA" do you mean OTA Device Firmware Update ? Any example in the SDK can be configured to support DFU. You can have a look here

  • thanks for response...

    yes in implemented the "LIGHT SWITCH EXAMPLE" in nrf mesh...

    and it is successfully implemented.

    but now i want to ask instead of client side.. i want to put the input through UART only.. and nodes to be supposed led on/off on the basis of UART command..

    In simple way i can say i want to use UART instead to client.

    i already go through your tutorial  which is ("SDK UART coexistence example").

    i succesfully implement all steps BUT got stuck in the last step which is----

        • --->>Write the hexadecimal ascii codes equivalent to one of the digits (1, 2, 3, or 4) in the UART RX characteristic to simulate a button press.
    ********please help me how to implement this step.**********
    one more thing all these things i m doing with examples code only.
  • Hi Shubham, 

    I'm afraid I don't fully understand what you want to do. 

    Could you please describe your application ? 
    Which device is connected to cloud and how do you want to communicate via UART. What do you mean by "use UART instead to client" ? 

    Do you mean the NUS service ? UART over the UART wire or UART over BLE ? 
    Have you managed to test the SDK UART coexistence example ? On the phone you need to type either 1 or 2 or 3 or 4 and send that to the nRF52 (the client node) it will turn the light of the server node on/off. 

  • Hi Hung Bui...

    sorry if i made u confuse...

    actually i m quite new to nrf...

    my question is --- In nrf mesh I Used the Example of light swith example. Here 1 nrf Kit i used as a client(switch) AND 2 nrf kits i used to as a Server(light). If i press the buttton on client(switch) the led will blink on servers(lights) which is perfect.

     What do you mean by "use UART instead to client" ?

    Answer---  Here i mean to say that instead of pressing the button on nrf kit which is client... can't we give the command through the KEYBOARD. by using UART.

    And i didn't try the NUS service yet.

  • Hi Shubham, 

    It's actually supported natively. If you have a look here, at the bottom: 

    You can use the RTT Viewer to control via PC. If you have installed Jlink, you can run "Jlink RTT Viewer" from Windows. And connect to the client, from there you can control the server from the PC.

    If you want to control via UART you would need to include UART into the project and implement something similar to rtt_input_handler() to emulate the button press. 

Related