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

Problem in connecting and operating multiple Provisioned nodes from multiple mobile applications

1. I am trying to connect one node (say node A) from two android phones say phone A and phone B. The node A is configured as an on-off server for lamp 1, but it could not getting connected from phone A and B. I am able to operate from one phone at a time.

Will it be possible?

2. Further I configured another node (say node B) as an on-off server for lamp 2 in the same mesh network, then connect phone A and B to the network, they get connected to 2 on-off servers respectively. Then I operate lamp1 and 2 from phone A, but as phone A is connected to node A, it gets the acknowledgement of  lamp 1 operations only, lamp 2 on-off operation works, but it's acknowledgement does not received. I debug the application, I found that, it onMeshMessgeReceived method of meshmanagerapi does not getting called.

why this issue is happening? Can you please give the solution?

3. Similarly, one more issue: Phone A and B connected in the network to nodes A and B respectively, both lamp 1 and lamp 2 operating ok from both the phones (except acknowledgement issue for cross nodes as mentioned in 2).

If I operate lamp 1, its acknowledgement is received on phone A, but on phone B, it is not received. I want to maintain status of lamps on both the phones, so that while operating from any phone, I want to receive the acknowledgement of operations on both the phones as they are connected to same mesh network.

Is it possible?

  • Hi.

    Maybe you could add some more information about what you are doing;
    First of all, are you working with BLE Mesh here, or is this some proprietary Mesh you are working with?

    I am able to operate from one phone at a time.

     You mention that you are unable to connect both phones at the same time. Are you using our nRF Mesh app to connect to the network?
    Could you please provide the steps you did to connect to the network.

    Are you using our nRF5 SDK for Mesh?

    So the main problem here is that you are not getting an acknowledgement from Node B when sending a message from Phone A?
    Are you sending reliable messages? Have you tried debugging Node B to make sure that it is in fact sending out an ack?

    Thanks,
    Joakim

  • Hello Joakim,

    Thanks for your reply.

    The answers of your quentions are as below:

    First of all, are you working with BLE Mesh here, or is this some proprietary Mesh you are working with?

    Yes, I am working with BLE Mesh.

     You mention that you are unable to connect both phones at the same time. Are you using our nRF Mesh app to connect to the network?

    Yes, I am using nRF Mesh app 2.3.0 version.

    Could you please provide the steps you did to connect to the network.

    The steps are as below:

    1. Phone A - reset the mesh network -> provision a node-> click on generic on-off model -> configure the publication -> check lamp on-off operation.- > it works ok. -> then go to settings -> export mesh network to a file.

    2. Share the exported network file to phone B.

    3. Phone B -> import the mesh network from file taken from phone A -> click on connect button -> then node A which is already connected to Phone A does not occur in scanning for connection.

    4. Phone A -> disconnect  network from phone A.

    5. Phone B -> check the nodes occur in scanning -> click on the node -> it gets connected

    6. Phone B -> add new provisioner from settings -> set as current provisioner -> go to network -> click on node and check lamp on-off operation -> it works ok.

    7. Phone A -> click on connect button on phone A -> node A which is already connected to Phone B does not occur in scanning for connection.    

    Are you using our nRF5 SDK for Mesh?

    Yes, I am using nRF5 SDK for Mesh.

    So the main problem here is that you are not getting an acknowledgement from Node B when sending a message from Phone A?
    Are you sending reliable messages? Have you tried debugging Node B to make sure that it is in fact sending out an ack?

    Yes, I am sending reliable messages. I also tried to debug node B, it's sending acknowledgement, but on phone Its not received.

    Please guide.

    Thank you,

    Anaya.

  • Hello Joakim,

    Is any update on this issue?

    Could you please give solution as soon as possible?

Related