Two phones join the mesh network

Hello Nordic Engineer,

Actually, the phones are not part of the mesh network, right? Also, I treat all the nodes inside the red box as LEDs because I'm designing lighting fixtures.

I have two question:

【1】If the second phone that joins is also my phone, can it have control at the same time?

【2】If the first point is achievable, how can I prevent strangers' phones from gaining control? Is the application key designed specifically for this kind of protection?

Thanks

  • Hi Tony,

    I might be misunderstanding you here a bit. Though yeah, the phone connects to a GATT proxy node, and gets provisioned into the network.

    Two phones could connect to the same or different proxy nodes in the network. A stranger won't be able to connect, as you would need the right certificats in order to connect. Just like any other node. You typically either use:

    • Static OOB (Out-of-Band)
    • Output OOB (e.g., displaying a number)
    • Input OOB (e.g., entering a number)
    【1】If the second phone that joins is also my phone, can it have control at the same time?

    Yes.

    【2】If the first point is achievable, how can I prevent strangers' phones from gaining control? Is the application key designed specifically for this kind of protection?

    He won't have the right authentication.

    Regards,

    Elfving

  • Hello Elfving,

    Glad to see you again!

    A new mesh diagram: surprisingly, the LPN can send data to the P or RN unilaterally. Let's not discuss the LPN for now; I want to prioritize solving the issue between the proxy and the phone.

    I don't think you misunderstood me. In my previous question, I was only considering one phone. Now, my question is whether two phones can control the mesh network together, and your answer is 'yes.' That makes me feel reassured.

    In the picture, the top part shows the mesh functionality I have already implemented. If I want to add a new phone (like the content at the bottom of the picture), how should I do that? I am using No OOB, which means Static OOB, right?

    Thnak you

  • tony55723 said:

    Glad to see you again!

    Likewise! Slight smile

    tony55723 said:
    A new mesh diagram: surprisingly, the LPN can send data to the P or RN unilaterally.

    Yes, there can be normal mesh messages from the LPN

    tony55723 said:
    In the picture, the top part shows the mesh functionality I have already implemented. If I want to add a new phone (like the content at the bottom of the picture), how should I do that?

    Make this other node a GATT proxy as wel, and then connect to it using the new phone.

    tony55723 said:
    I am using No OOB, which means Static OOB, right?

    You can see here. With static OOB you add it while in production, though the authentication is still there.

    Regards,

    Elfving

  • Hello Elfving,

    Make this other node a GATT proxy as wel

    This is taken from the mesh_light example, so this example already ensures that the proxy node has GATT functionality, right?

    and then connect to it using the new phone.

    Does this new phone also establish a connection with the proxy through the iOS/Android nRF Mesh app?

    Thank you

  • tony55723 said:

    This is taken from the mesh_light example, so this example already ensures that the proxy node has GATT functionality, right?

    Yeah, that should be it Slight smile

    tony55723 said:

    Does this new phone also establish a connection with the proxy through the iOS/Android nRF Mesh app?

    Yeah.

Related