Regarding Espruino Hub, is there a way to register for any espruino device messages? #6596
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2021-11-10 by @gfwilliams The code that handles this is at https://github.com/espruino/EspruinoHub/blob/master/lib/discovery.js#L135-L169 And as far as I can tell, if you sent any service data it should be relayed as So I guess you could use that? Obviously something similar could be implemented for manufacturer data but IMO using service data is just as easy. Posted at 2021-12-13 by HeneryH_(Henery_Hawk) Thanks, I'll get back this later and report out on my findings. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2021-11-05 by HeneryH_(Henery_Hawk)
Re:
Advertising
I have multiple devices and would like to register for messages from any of them. Sometimes I take one to my Mom's house where one is in use for her to have a panic button that sends me an SMS when she presses it. I have a lab setup at home here. I have another one etc etc.
Rather than having to change the ID for each environment it would be nice to register for any messages coming from manufacturer ID == x.
Is it correct that that isn't available using the current broadcasting/registration model?
Beta Was this translation helpful? Give feedback.
All reactions