Hi, i am trying to control the puck.js from a web bluetooth website. I am not a programmer but i do understand some basics.
So far i have some basic code, grabbed from one of Gordons tutorials, what i am trying to achieve is to make the puck advertise a link and then of course disconnect it from the computer in order for it to advertise. if anyone knows a quick and easy solution please respond, would be really grateful.
Here is the code.
<button onClick="Puck.disconnect();>disconnect device</button>
© Espruino, powered by microcosm.
Report a problem