mesh networking? #2939
Replies: 12 comments
-
Posted at 2017-07-25 by @gfwilliams Not 'standard' BLE meshing, no - although you can still create your own mesh network using BLE advertising if you wanted to. Until recently I'm pretty sure there wasn't any standard form of meshing, which makes it basically useless (sure, your Pucks can mesh, but if they won't talk to your phone or PC...). I think that may have changed now though. It's still potentially a big tricky as meshing will probably hurt battery life quite a lot. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-07-25 by d0773d I forgot about the battery life :-( |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-07-25 by AntiCat Bluetooth LE: mesh standard is now announced: see also: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-07-26 by @gfwilliams I'll have to look into it at some point - assuming it is supported by Nordic's softdevice it could definitely be added, but would possibly have to be a separate firmware. But until it's supported by routers or will work with existing Bluetooth LE devices like phones and PCs, there's going to be an extremely limited market for it, and it's definitely not a priority for me... Although obviously that doesn't stop anyone from playing around and implementing it themselves, or if it's needed for a business I'm open to consultancy work around it. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-08-16 by solick Hi Gordon, there are Firmware Updates including mesh functionality from Nordic. Maybe the firmware for the pucks could also be updated for BLE 5 mesh? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-08-16 by @gfwilliams Do you mean this? https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF5-SDK-for-Mesh It's still an Alpha release - and I'm wary of putting too much effort into targeting those. In the past, it's been very difficult to change code written for one Nordic release for another because what's in the example applications seems to change a lot and the changes aren't easy to follow when you've integrated it into your code - so I'd rather wait for something more stable. The required softdevice is the one Puck.js uses, so it would be possible to compile a firmware - however as far as I can tell it's not a small change at all... It basically involves throwing away all Espruino's existing Bluetooth LE code and starting from scratch. Also, as I said above - until some other device supports mesh, I think it's of limited use. You program Puck.js wirelessly - so if the only other device that can talk to your Puck.js is another Puck, it makes it quite difficult unless you're willing to physically solder a USB-TTL converter to your Puck, which I doubt most people will bother with. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-08-16 by solick Hi yes, we have the new BLE5 Pre Eval Kit from Nordic and will start first testing with Mesh in 1-2 weeks. If you like i can keep you updated. I think there is a hell of opportunities with BLE Mesh. And if the pucks would fit into a heterogen mesh topology the use cases for them will increase. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-08-17 by @gfwilliams There's no reason why the Pucks wouldn't work, but I do wonder what the impact on battery usage will be - I guess we'll see. The private key for the Puck's firmware updates is in the repo, so once you're set up building code for Nordic it'd be trivial to copy the key over and then build some of Nordic's examples to work on Puck.js |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-04-24 by @yerpj Hi! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-04-25 by @gfwilliams I'm still kind of interested, but a few things still put me off:
So I'd definitely be interested in having it available if someone wanted to do the work on it (and I'm happy to help out with any queries), but right now it's not such high priority for me to spend time doing the port for. OpenThread seems like it would actually be perfect, but unfortunately it's only for the nRF52840 so none of the existing Espruino devices would work with it. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-04-25 by @yerpj OK, thanks for your feedback. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-04-25 by @gfwilliams Yeah, it's a pain. It feels like it wouldn't have been the end of the world for them to do something just a tiny bit more complex and make Bluetooth Mesh really amazing, but it's really just a dumb implementation of meshing (using flooding). I think they had a very specific use case in mind (Bluetooth LE lighting) and just designed it for that. Noah at Baronbrew did something really cool for their Espruino-based repeater though: http://www.espruino.com/Tilt+Repeater Basically a device listens for advertisements and then 'syncs' with the beacon, so it's only listening for a short period of time. You can't make it too small as some randomisation is built into the BLE spec, but you can still save a lot of power that way. I had plans for a module that did it for you for multiple beacons, but haven't got around to finishing that yet. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-07-25 by d0773d
Does the puck support mesh networking over Bluetooth?
Beta Was this translation helpful? Give feedback.
All reactions