• App is here: https://github.com/espruino/AndroidBLEAd¬≠vertiser

    Every 15 minutes it'll fetch the webpage given and set your phone's Bluetooth advertising to Espruino's 0x0590 manufacturer data with the value from the RegEx's first match group.

    By default it'll show you roughly how many people have been rickrolled to date.

    Not quite what @epw needs but hopefully it's a good start, and makes it super easy for everyone else to script common tasks (eg grab data from a website, get it on your wrist). Hopefully it's pretty energy efficient too.

    It's just a shame the Android API appears to stop an app from executing background tasks more often than every 15 minutes


Avatar for Gordon @Gordon started