TLDR: Is Flag Raiser app supposed to work with the Puck v2?
I got Web BT working with my Puck.js v2 (i.e send LED on/off code when clicking on buttons in Chromium).
I would like to do the same from Bangle.js so I picked Flag Raiser app to modify it (it was doing nothing to the puck).
I looked at Web BT puck.js library and it seems to have different service GUIDS
var NORDIC_SERVICE = "6e400001-b5a3-f393-e0a9-e50e24dcca9e";
var NORDIC_TX = "6e400002-b5a3-f393-e0a9-e50e24dcca9e";
var NORDIC_RX = "6e400003-b5a3-f393-e0a9-e50e24dcca9e";
but when I change Flag Raiser code and use the new address then
Uncaught Error: Function "" not found!
at line 17 col 611
in function called from system
Uncaught Error: Unhandled promise rejection: No device found matching filters
What does that mean? Tips? Suggestions?
Hi - I'll add some proper docs to the flag raiser app that describe how to use it properly. It uses a custom UUID that requires some code on the Puck itself.
I'll stick a link to it here when it's done.
That's an odd error message though - I think the main one is No device found matching filters because it was probably searching for a device with a different name and didn't find it.
No device found matching filters
Ok, info here: https://github.com/espruino/BangleApps/blob/master/apps/flagrse/README.md
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem