You are reading a single comment by @Robin and its replies. Click here to read the full conversation.
  • Had to tweak it a bit to get it to work correctly(Needed to save the service, and make the next .then use the saved service instead of the argument), but requesting with getCharacteristic() and throwing it away /does/ get the UUID field to populate in getCharacteristics(). Fun stuff. Thanks for the help!

    var device_service;
    
    .then(server => server.getPrimaryService('DE3A0001-7100-57EF-9190-F1BE84232730'))
    .then(s => {
      device_service=s;
      return device_service.getCharacteristic('803C3B1F-D300-1120-0530-33A62B7838C9');
    })
    .then(_ => device_service.getCharacteristics('803C3B1F-D300-1120-0530-33A62B7838C9'))
    

    Now on to figuring out how to actually write commands to it, haha. :)

About

Avatar for Robin @Robin started