This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Device information service issue

Why does the value of characteristic Firmware Revision, Model Number and Serial Number all have the same value?

Did update value for characteristic <CBCharacteristic: 0x282b1f9c0, UUID = Model Number String, properties = 0x2, value = {length = 19, bytes = 0xffffffffffffffffffffffff48a51234cfa3c8}, notifying = YES>, new value: 19 bytes, error: nil

Did update value for characteristic <CBCharacteristic: 0x282b1fa20, UUID = Serial Number String, properties = 0x2, value = {length = 11, bytes = 0xffffffff48a51234cfa3c8}, notifying = YES>, new value: 11 bytes, error: nil

Did update value for characteristic <CBCharacteristic: 0x282b1fa80, UUID = Firmware Revision String, properties = 0x2, value = {length = 15, bytes = 0xffffffffffffffff48a51234cfa3c8}, notifying = YES>, new value: 15 bytes, error: nil

What am I doing wrong?

And decoding the UTF-8 string does not give me the same string as I get in nRFConnect? In nRFConnect I do get the right ASCII string values.

 

Parents Reply Children
No Data
Related