Philip Peitsch
Philip Peitsch
@gse-mmobile there's a difference between a device having a service and the device **advertising** support for the service. While it's encouraging that you can connect and interact with the services,...
@airbly I suspect you've bumped into an interesting platform difference between Android and iOS there. What happens if you scan by just one of the services instead of all 3...
I believe the difference here is that Android requires **all** the listed service UUIDs to be in a single advertising packet, which is impossible because the advertising packet can only...
I should note, the only way a peripheral could advertise support of all those services is if it "rolls" the advertising packet every few seconds. E.g., 1 sec advertising "4149524c-03b7-0014-0004-000000000000"...
@airbly that's interesting. I'm actually a bit surprised it works on iOS. I wonder if this is the underlying cause noted in #816. It seems from your description like iOS...
Hi @stoneWeb On the surface, what you're doing looks ok there. Only thing is are you waiting for the notifications to finish subscribing before attempting to read the serial port...
What does your `receiveData` implementation look like? Is that an empty object there, or is it perhaps simply a non-printable type (e.g., many browsers show `{}` for an `ArrayBuffer`). E.g.,...
Do you have any documentation regarding how the Arduino serial interface should be used via Bluetooth? I don't have a board locally, so can't really play myself to figure this...
Oh, I think [this comment](https://github.com/don/cordova-plugin-ble-central/issues/913#issuecomment-1103588937) in a recently identified quirk probably hints why calling `ble.read` on iOS causes the notification to trigger.
Does https://devdocs.io/dom/textdecoder give you any different results here? E.g., ``` console.log(new TextDecoder().decode(new Uint8Array(buffer))) ```