Espruino Central, multiple peripherals? #3311
Replies: 10 comments
-
|
Posted at 2018-10-17 by @gfwilliams Not at the same time, no. It is possible to do it in the Espruino firmware with some work (and the amount of vars for code may have to be removed a bit), but right now it's not something you can do with the current firmware. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-27 by benoit Hi guys, Any update on billsalt's question ? Is it still impossible yet ? Best regards. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-27 by Robin Fri 2020.03.27 @benoit Is this inquiry a continuation of this thread?
or, is the peripheral request related to nRF52 PPI? |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-27 by benoit Sorry if it wasn't clear. My question is: is it possible - with one puck.js and using Espruino - to connect several BLE peripherals and subscribe to their characteristics ? |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-27 by @gfwilliams It's not possible at the moment, no... |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-30 by benoit Ok, sad =/ Is it because of a webBluetooth limitation or because Espruino doesn't use Nordic sdk S132 or S140 ? --> https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_multilink.html Is this feature planned in a future Espruino version ? |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-30 by @gfwilliams The softdevice can do it, but in order to enable it the softdevice needs more RAM, so it's less RAM available for JS applications. If a lot of people want it then it could be added for sure, but it's nontrivial as many of the functionality currently assumes max:1 connection - right now I've just had other priorities, but the code is all open so someone else could add it if they wanted. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-30 by benoit Thanks for the explanations. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-30 by @gfwilliams Too complicated - since the softdevice needs more RAM, the whole of Espruino needs to move addresses. One of the reasons it's not being prioritised - it might be useful for maybe 5% of users, but it'll reduce available memory for 100% of users, all of the time. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-30 by benoit I understand, thanks for the details. I will look for other solutions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-10-17 by billsalt
Probably @gfwilliams: Can an Espruino central connect/control more than 1 peripheral?
Beta Was this translation helpful? Give feedback.
All reactions