Closed shirou closed 9 years ago
implements device.Advertise on darwin. I have confirmed it works using go_eddystone with little editing.
I read bleno implementation as a reference. It is just send a kCBAdvDataAppleMfgData Request.
I use AdvPacket.b directory, not a.Bytes(). Because at least my environment, a.Bytes() doesn't work because it is fixed length array.
a.Bytes()
implements device.Advertise on darwin. I have confirmed it works using go_eddystone with little editing.
I read bleno implementation as a reference. It is just send a kCBAdvDataAppleMfgData Request.
I use AdvPacket.b directory, not
a.Bytes()
. Because at least my environment, a.Bytes() doesn't work because it is fixed length array.