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

BLE Connection Sequence

I have modified the Multisim example code slightly, and I am using it to make some demo code for myself. I installed the Nordic Bluetooth sniffer, and everything seems to be working OK (I can connected, disconnect, read and write data). I'm new to Bletooth LE, and I have a question about the connection sequence in Wireshark.

I noticed that several lines after the CONNECT_REQ, the Master sends a "GATT Characteristic Declaration, Handles: 0x0009..0xffff" , and the Slave responds with "Attribute List Length: 1". The Master then sends a second GATT Characteristic Declaration this time with handles starting at 0x000c. The Slave responds with "Attribute Not Found, Handle: 0x000c".

Later the Master sends "Write Request, Handle: 0x000e". The Slave responds "Error Response - Insufficient Authentication, Handle: 0x000e".

I have attached the Wireshark capture with all the empty packets filtered, as I didn't think those were important.

Can anyone tell me what these two errors mean?

Bluetooth errors.pcapng