I amdeveloping a app for my own BLE device and trying to send TX Msg as
let bytes : [UInt8] = [ 0x02, 0x10, 0x03, 0x01, 0x01, 0x01, 0x18 ]
I should receive the message as the
RX:[02 10 15 00 F8 FF 00 10 D1 10 D0 87 62 F2 CA 14 3F BA CE AB ]
RX:[146, 185, 66, 202, 82]
I could see only
RX:[146, 185, 66, 202, 82]. not the total 25 bytes
When I am trying to read the data from BLE i could't. I not able to get the expected response and I am getting the error as "writing is not permitted".
What I have tried:
I tried to read the characterstic properties but i was able to read the following propeties 0 : <CBCharacteristic: 0x10122e550, UUID = 8B00ACE7-EB0B-49B0-BBE9-9AEE0A26E1A3, properties = 0x4, value = <00>, - 1 : <CBCharacteristic: 0x1012cda00, UUID = 0734594A-A8E7-4B1A-A6B1-CD5243059A57, properties = 0x10, value = <92b942ca 52>, - 2 : <CBCharacteristic: 0x1011d5100, UUID = BA04C4B2-892B-43BE-B69C-5D13F2195392, properties = 0x6, value = <72> - 3 : <CBCharacteristic: 0x10523e000, UUID = E06D5EFB-4F4A-45C0-9EB1-371AE5A14AD4, properties = 0x12, value = <5b> - 4 : <CBCharacteristic: 0x1011f3d60, UUID = 64616E6C-6177-6175-7468-656E74696361, properties = 0x4, value = (null)
how can I set the write property