So actually I may have solved my problem entirely, but I'd be happy to hear from people as to why I solved it, because I think I Maxwell Smart'ed / Mr. Magoo'ed my way through it.
with the android integration uninstalled works PERFECTLY. I noticed that in the android integration there was a random looking Bluetooth.println("") hanging out above the send stuff to gadgetbridge code so I added that to mine, and that made it work. TAH DAH.
I get the info popup every time on the phone. I get the simulated notifications from GadgetBridge drawn on the screen. It's magnificently simple. I'm very happy.
Edit: okay it's not EVERY time I press the button that I see the toast message, but it's like 80%. Which is good enough.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
So actually I may have solved my problem entirely, but I'd be happy to hear from people as to why I solved it, because I think I Maxwell Smart'ed / Mr. Magoo'ed my way through it.
The code I am running now
with the android integration uninstalled works PERFECTLY. I noticed that in the android integration there was a random looking
Bluetooth.println("")
hanging out above thesend stuff to gadgetbridge
code so I added that to mine, and that made it work. TAH DAH.I get the info popup every time on the phone. I get the simulated notifications from GadgetBridge drawn on the screen. It's magnificently simple. I'm very happy.
Edit: okay it's not EVERY time I press the button that I see the toast message, but it's like 80%. Which is good enough.