@AnderssonPeter I had to wait to get the acknowledgement that the write was complete before trying to read from the device. That’s the didWriteValueFor function. Before that is complete, I would get the same as you see.
Here is some sample output for one of my devices, hope it helps:
CONNECTING TO Flower care : <CBPeripheral: 0x1700f8400, identifier = C167E2AA-D58F-4AAF-A5E6-88285787F460, name = Flower care, state = disconnected> : C167E2AA-D58F-4AAF-A5E6-88285787F460 : ["kCBAdvDataIsConnectable": 1, "kCBAdvDataLocalName": Flower care, "kCBAdvDataServiceData": {
FE95 = <71029800 55fc0562 8d7cc40d 0910025e 00>;
}, "kCBAdvDataServiceUUIDs": <__NSArrayM 0x17004f420>(
FE95
)
] : -89 dBm
CONNECTED TO Optional("Lg Dracaena") : Optional("Flower care") : C167E2AA-D58F-4AAF-A5E6-88285787F460
Discovered service <CBService: 0x174269180, isPrimary = YES, UUID = FE95>
Discovered service <CBService: 0x174269400, isPrimary = YES, UUID = FEF5>
Discovered service <CBService: 0x17027c780, isPrimary = YES, UUID = 00001204-0000-1000-8000-00805F9B34FB>
Discovered service <CBService: 0x17026bc00, isPrimary = YES, UUID = 00001206-0000-1000-8000-00805F9B34FB>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700a75c0, UUID = 0001, properties = 0x1A, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab280, UUID = 0002, properties = 0x2, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab340, UUID = 0004, properties = 0x12, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab3a0, UUID = 0007, properties = 0x8, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab400, UUID = 0010, properties = 0x8, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab460, UUID = 0013, properties = 0xA, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab4c0, UUID = 0014, properties = 0x2, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab520, UUID = 1001, properties = 0x10, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab5e0, UUID = 8082CAA8-41A6-4021-91C6-56F9B954CC34, properties = 0xA, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab640, UUID = 724249F0-5EC3-4B5F-8804-42345AF08651, properties = 0xA, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab6a0, UUID = 6C53DB25-47A1-45FE-A022-7C92FB334FD4, properties = 0x2, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab700, UUID = 9D84B9A3-000C-49D8-9183-855B673FDA31, properties = 0xA, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab760, UUID = 457871E8-D516-4CA1-9116-57D0B17B9CB2, properties = 0xE, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab7c0, UUID = 5F78DF94-798C-46F5-990A-B3EB6A065C88, properties = 0x12, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab580, UUID = 00001A00-0000-1000-8000-00805F9B34FB, properties = 0xA, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab820, UUID = 00001A01-0000-1000-8000-00805F9B34FB, properties = 0x1A, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab880, UUID = 00001A02-0000-1000-8000-00805F9B34FB, properties = 0x2, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab8e0, UUID = 00001A11-0000-1000-8000-00805F9B34FB, properties = 0x2, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab940, UUID = 00001A10-0000-1000-8000-00805F9B34FB, properties = 0x1A, value = (null), notifying = NO>
GOT CHARACTERISTIC: <CBCharacteristic: 0x1700ab9a0, UUID = 00001A12-0000-1000-8000-00805F9B34FB, properties = 0x2, value = (null), notifying = NO>
WROTE TO DEVICE
CHARACTERISTIC UPDATED: <CBCharacteristic: 0x1700ab880, UUID = 00001A02-0000-1000-8000-00805F9B34FB, properties = 0x2, value = <641e322e 392e32>, notifying = NO>
CHARACTERISTIC UPDATED: <CBCharacteristic: 0x1700ab820, UUID = 00001A01-0000-1000-8000-00805F9B34FB, properties = 0x1A, value = <cb00000b 0000001f 5e00023c 00fb349b>, notifying = NO>
DISCONNECTED! Optional("Lg Dracaena") : Optional("Flower care") : C167E2AA-D58F-4AAF-A5E6-88285787F460