Skip to main content

Characteristic Testing

Test all characteristics systematically.

Read Test

for char in service.characteristics:
if char.readable:
value = char.read().wait()
print(f"{char.uuid}: {value.value.hex()}")

Write Test

test_payloads = [b'\x00', b'\x01', b'\xff' * 20]
for payload in test_payloads:
char.write(payload).wait()

Next Step

Continue with Security Level Testing.