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

Connect to closest Central

Hi, 

Let's say I have 2 nrf52 Centrals in a room , now - I'm adding a peripheral and I'd like it to connect to the central with the better RSSI ( out of the 2 ) 

My idea involves role switching and seems pretty complicated. 

Thanks, 

Ran 

Parents Reply Children
  • Indeed - sounds like exactly the kind of thing Meshes were invented for!

    and then you're not limited to there being just 2 "stars", or 2 Centrals in range, or ...

  • About Mesh - Understood, I've been struggling with this for a while.

    This is why I'm thinking a star will be better for this case : 

    1. The requirement is that an installation of a new peripheral will be EASY. Mesh provisioning of a new device seems pretty complicated last time I've tried it.  Installation is done by Electricians. 

    2. This installation can be transferred to a battery operated environment, where I will have to add powered Friend-Nodes .

    3. I hope I'm wrong, but the whole BLE mesh looks like it is meant at this stage for lightning projects.

    4. Learning curve for Mesh ....Boss man wants this fast :) 

  • Oh...also - key consideration. 

    Mesh does not support Coded PHY  ( at least officially ) - which might be needed for more rural environment. 

  • Mesh provisioning of a new device seems pretty complicated last time I've tried it

    Are you thinking of the Nordic demo?

    That is, of course, just a manual demo - you wouldn't do it that way for a real project!

    Mesh does not support Coded PHY  ( at least officially )

    That's true,  but your alternative is entirely proprietary anyhow - so that shouldn't be an issue.

    Boss man wants this fast

    Don't they always.

    The trouble is, you are basically re-inventing (a lot of) what a mesh already does for you - so, while you might come up with something that "works" in a basic case in the lab, transferring that to a fully reliable deployment in the field and covering all corner cases is a whole different ballpark ...

  • Just to complete the picture - the metering data goes up to the cloud. In the installation I've described - the star central is equipped with LTE modem . ( gateway ) 

    So , If I'll be using Mesh , I will have to define a gateway that all nodes "publish" to him ?

    Also -  I will need to connect to each one of the nodes from a mobile phone and set\get configuration

    (probably over NUS ) , will that be a problem ?

    (I see that in latest mesh sdk, proxy node was remove from lightning client, available only on server ).

Related