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. 

  • 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?

  • In the UART Coexistence example, I am using a phone as a provisioner and provisioned a Server and a Client.

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

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

    My requirement is that I want to send a command to any particular node in the mesh using the UART.

    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 ?

    And by serial profile I meant the node should be detected in the UART app provided by nordic.

  • 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?

  • I want to use UART and mesh together in one node. I want to use UART to send commands to the node which should be in mesh network. 

    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.

    The main use of UART is to send commands and the use of mesh is to increase the distance so that if a node is not in range I can communicate with it using other nodes.

    Can this be achieved using the UART coexistence ?

    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 ?

  • 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.

Related