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

Serial profile for mesh

Hi Guys,

I am using nordic nrf52840 DK.

Is serial profile and UART different ?

If so, what is serial profile in nordic and how can I integrate mesh and serial profile ?

I used UART example where I am able to send anything from UART app to the NRF52840,

I want to do the same thing with mesh also.

I want to send command like that to Mesh nodes also. Is it possible ?

How should I do it ?

I am using mesh V3.1.0

and sdk v15.2.0.

Thanks,

Vibhu. 

Parents
  • Hi,

    I think the UART Coexistence example is what you are looking for. This example let you simulate a button press over UART, and then sends a message to a mesh node. What do you mean by serial profile?

  • Vibhu said:
    Now if I send a command from UART app in phone  to client it will turn on the LED in the Server right ?

     Yes, that is correct.

    Vibhu said:
    Will I be able to have as many clients as I want ? say 6 or 7?

    Yes, you should be able to have that many clients in the mesh network.

    Vibhu said:

    If I have more than one client will that act as a mesh and if one client is not in range will multihop happen ?

    Or only it can communicate to server ?

    I'm not sure what you mean by this, can you elaborate?

  • Vibhu said:
    So I send a command from my phone using the UART app and the mesh which is receiving should transmit the command to another controller via UART.

    I'm a little bit confused by this. Do you want to send a command from phone to node using UART, then transmit the command to another node via mesh? If so, yes you can use the UART Coexistence example to achieve this.

    Vibhu said:
    If I have 6 nordic boards with UART coexistence example in it, all 6 clients. Will I be able to send commands in UART to them and will that be also in a mesh ?

    All 6 clients can be in the same mesh network and you will be able to send commands to them over UART, but the commands won't be sent over mesh. A mesh network communicates via a client-server architecture, which means you need server models as well. You can read more about it here.

  • Do you want to send a command from phone to node using UART, then transmit the command to another node via mesh

    Yes, I want to send command using UART and then transmit them via mesh.

    So if a mesh network communication needs a client-server then, the client only has UART, So I should send commands from UART to client and then send then to server using mesh ?

    If there are only 5 servers in a network wont it work as a mesh ?

  • Vibhu said:
    So if a mesh network communication needs a client-server then, the client only has UART, So I should send commands from UART to client and then send then to server using mesh ?

    Yes, that is correct.

    Vibhu said:
    If there are only 5 servers in a network wont it work as a mesh ?

    No, you will also need clients in the network to be able to communicate in the network.

  • Only is Coexist example the server only wont act as a mesh and work as a relay node ?

    Or in client server example also If I have server code in 4 boards and wanted to do a generic on and off then also only server cant be used as a relay node in mesh ?

  • Vibhu said:

    Only is Coexist example the server only wont act as a mesh and work as a relay node ?

    Or in client server example also If I have server code in 4 boards and wanted to do a generic on and off then also only server cant be used as a relay node in mesh ?

    Sorry i'm not sure what you mean by this, could you eloborate/rephrase your question?

Reply Children
Related