Most recent activity
-
-
Sadly my (previously working) Bangle 2 seems to have succumbed to the same issue - I can no longer connect to it via Bluetooth. In particular, it is no longer discoverable on any other device (tried 3 smart phones, a laptop and a desktop, all of which see my other 2 Bangles without issues; made sure it is programmable in settings, also performed a factor reset);
does not show up as Dfutarg in DFU mode, either; nor does the pinch trick mentioned above seem to have any effect. Curiously, this is the newest of 3 Bangle 2s I own (the first 2 were Kickstarters). It did not get wet (beyond wearing it regularly).
Any advise? -
Hi,
I wrote a small proof-of-concept app a while ago that uses thetextinput
andble_uart
modules to implement a minimalist chat app. It is quite hackish as it literally executes JS on a nearby Bangle to print a message (this also highlights one of the security issues with a Bangle with BLE enabled in general). The range is quite limited, 2m doesn't sound too far off...function send_text(a) { NRF.requestDevice({filters:[{ namePrefix: 'Bangle.js' }], timeout:3000}).then(function(device) { return require("ble_uart").connect(device); }).then( function(uart) { uart.write("if(typeof(_oldg)!='undefined')g=_oldg;g.clear();E.showMessage('"+a+"');g.flip();Bangle.buzz(300);_oldg=g;g=Graphics.createArrayBuffer(8,8,1);\n").then(()=>{uart.disconnect(); load(); }, (error)=>{E.showAlert(error).then(()=>{load()});}); }, function(error) { E.showAlert(error).then(()=>{load()}); }); } require("textinput").input().then((a)=>send_text(a));
-
-
-
-
-
-
-
- 2 comments
- 271 views
JavaScript novice and tinkerer.