You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • So did you try any other characteristics, or just 039afff8-2c94-11e3-9e06-0002a5d5c51b?

    To write data, you'd need to do something like :

    var service; 
    // ...
    }).then(function(g) {
      gatt = g;
      return gatt.getPrimaryService(
    }).then(function(s) {
      service = s;
      return service.getCharacteristic(
    }).then(function (c) {
      console.log("Got Characteristic");
      characteristic = c;
      characteristic.on('characteristicvaluech­anged', function(event) {
      return characteristic.startNotifications();
    }).then(function() {
      return service.getCharacteristic("039affa0-2c94­-11e3-9e06-0002a5d5c51b"); //<--- might be a different one
    }).then(function() {
      return c.writeValue([0x04]);
    }).then(function() {

    But as they have developer docs, I wonder whether you could actually just get in touch with them and ask them if they have an explanation of their Bluetooth protocol?


Avatar for Gordon @Gordon started