watching advertisements not working chrome #4198
Unanswered
espruino-discuss
asked this question in
Puck.js, Pixl.js, Jolt.js and MDBT42
Replies: 1 comment
-
Posted at 2023-05-31 by @fanoush Most probably you need to fix Chrome :-) I just tried it in latest Chrome on Windows 11 and don't see it either. No manufacturerData output in that example even if I double checked from phone that the data is really there. The page even says " It is currently partially implemented in Android M, Chrome OS, Mac, and Windows 10." No Linux there BTW Posted at 2023-06-05 by @gfwilliams Yes, I'm not sure quite where this sits on Linux. It'd be worth trying it on an Android phone and seeing if you have more success - you may also need to enable it via chrome://flags |
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
-
Posted at 2023-05-30 by user155285
Hello,
using this code from https://www.espruino.com/BLE+Advertising
var presses = 0;
NRF.setAdvertising({},{manufacturer: 0x0590, manufacturerData:[presses]});
setWatch(function() {
presses++;
NRF.setAdvertising({},{manufacturer: 0x0590, manufacturerData:[presses]});
}, BTN, {edge:"rising", repeat:1, debounce:20})
I am trying to see the presses on https://googlechrome.github.io/samples/web-bluetooth/watch-advertisements.html
but I can't see the manufacturer data coming in ? Any idea what could be changed to make it work ?
thank you!
Beta Was this translation helpful? Give feedback.
All reactions