GATT Server - Write or Write without Response characteristic sample

Hello,

is there a zephyr or nrf sample where I could check how a characteristic with write or write_withour_resp perimissions is handled by the gatt server ?

What I am trying is to find out how the gatt server can process the data written by a gatt client.

Thank you in advance

Parents Reply
  • I also noticed that the the attr->handle that gets printed is 0 (while when testing the write using the dongle I get "Attribute value written, handle: 0x1A, value (0x): 11").

    The flags print as 2.

    The code I am using to print these details is:

    printk("reached here, offset is %d , length is %d , handle is %x and flags is %d\n", offset, len, attr->handle, flags);

Children
Related