Distant beacon not getting displayed even with mesh network

Sainadh Kasturi's Avatar

Sainadh Kasturi

16 Jul, 2015 05:25 AM

Hi Team,

As suggested in the knowledge base, I have set up 2 Mesh Beacons with same Mesh Network UUID and updated mesh settings register as following

{enable_mesh_window":false,"enabled":true,"mesh_window_duration":0,"allow_non_auth_connections":true,"always_connectable":true,"mesh_window_on_hour

I have integrated Mesh iOS SDK and able to detect both the beacons initially. Then I placed a beacon and walked far away till I am not within the proximity. Then I placed another beacon in between and tried scanning for beacons. "didUpdateVisibleAndConnectableNodes" is only returning the closest beacon in the mesh and not the other one. I moved the other mesh beacon a bit closer with the assumption both the beacons will be visible but I am always seeing the closest one, unless I come within the proximity of first one, which I can anyway see without the mesh beacon.

Thanks!

  1. Support Staff 1 Posted by francois on 16 Jul, 2015 05:46 PM

    francois's Avatar

    Hi Sainadh,

    Please make sure that both beacons stay connectable (you can set always connectable with the manager app) and have mesh enabled (make sure you assign different mesh device id per beacon and the same mesh network uuid).
    The didUpdateVisibleAndConnectableNodes function shows only visible and connectable nodes.
    We'll post very soon more tutorials and tools to make the mesh network set-up and usage easier.
    Best regards,

    François

  2. 2 Posted by Sainadh Kasturi on 16 Jul, 2015 06:11 PM

    Sainadh Kasturi's Avatar

    Hi Francois,

    I have already enabled the mesh and set the always connectable to true. I am not seeing any difference with or without mesh beacon in the middle. The first beacon is not visible after a certain proximity.

    Thanks and Regards,
    Sainadh Kasturi

  3. Support Staff 3 Posted by francois on 16 Jul, 2015 06:32 PM

    francois's Avatar

    Hi Sainah,

    Sorry we might have not answered exactly to your question.
    The didUpdateVisibleAndConnectableNodes returns only the mesh beacons that are in proximity (not only the beacons that are in the network).
    To test the "beacon in the middle" case for mesh messaging you need to connect the beacon not in proximity to your mac/ pc / rPi (see https://github.com/Ubudu/uBeacon-uart-lib) and use the https://github.com/Ubudu/uBeacon-uart-lib/blob/master/node/examples... example for instance.
    Please let me know if this is clear for you now.
    Best regards,
    François

  4. 4 Posted by Sainadh Kasturi on 16 Jul, 2015 07:24 PM

    Sainadh Kasturi's Avatar

    I am not trying to send any message. All I am testing is whether I am able to see all my nodes when I setup a mesh network. Is it mandatory to connect the beacon to Mac/Pc even for viewing all the mesh nodes?

    Please find below the scenario I am looking at

    1. Beacon1 not within the proximity of user but within the proximity of Beacon2

    2. Beacon2 not within the proximity of user but within the proximity of Beacon 3

    3. Beacon3 within the proximity of user.

    All the beacons are Mesh enabled with same mesh network uuid and different device id. I am assuming I should be able to get all the beacons in didUpdateVisibleAndConnectableNodes, but I am seeing only Beacon3. In order to see all 3 beacons, do I need to connect the other 2 beacons to Mac/PC?

  5. 5 Posted by Sainadh Kasturi on 20 Jul, 2015 08:58 PM

    Sainadh Kasturi's Avatar

    Francois,

    Do you have any update on this?

    From: Sainadh Kasturi
    Sent: Thursday, July 16, 2015 12:24 PM
    To: 'francois'
    Subject: RE: Distant beacon not getting displayed even with mesh network [Problems #42]

    I am not trying to send any message. All I am testing is whether I am able to see all my nodes when I setup a mesh network. Is it mandatory to connect the beacon to Mac/Pc even for viewing all the mesh nodes?

    Please find below the scenario I am looking at

    1. Beacon1 not within the proximity of user but within the proximity of Beacon2

    2. Beacon2 not within the proximity of user but within the proximity of Beacon 3

    3. Beacon3 within the proximity of user.

    All the beacons are Mesh enabled with same mesh network uuid and different device id. I am assuming I should be able to get all the beacons in didUpdateVisibleAndConnectableNodes, but I am seeing only Beacon3. In order to see all 3 beacons, do I need to connect the other 2 beacons to Mac/PC?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac