• For those who asked for example code, I pulled it out of the gadgetbridge Java-Code:

    // to create an intent for other android-apps to react to:
    Bluetooth.println(JSON.stringify({t:"int­ent",action:"com.sonyericsson.alarm.ALAR­M_ALERT",extra:{key1:"asdfas"}}));

    // to make a http-call:
    Bluetooth.println(JSON.stringify({t:"htt­p", url:"https://192.168.1.14/bangletest",xpath:"­/html/body/p/div[3]/a"}));

About

Avatar for cephos @cephos started