struct gatt_handler *handler;
print_handle(frame, handle, false);
- print_hex_field(" Data", frame->data, frame->size);
if (len > frame->size) {
print_text(COLOR_ERROR, "invalid size");
return;
}
+ print_hex_field(" Data", frame->data, len);
+
attr = get_attribute(frame, handle, false);
if (!attr)
return;
}
print_write(frame, handle, frame->size - 12);
- print_hex_field(" Data", frame->data, frame->size - 12);
print_hex_field(" Signature", frame->data + frame->size - 12, 12);
}