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

Insufficient Authentication in Glucose example SDK 11

Hi! I'm trying to test out the glucose example in SDK 11 on a PCA10028 dev kit.

I follow the instructions here: infocenter.nordicsemi.com/.../ble_sdk_app_gls.html

Everything is working perfectly up until step 7. When I try to write to the RACP I get error response in master control panel "WRITE_NOT_PERMITTED". But battery level indications are working properly and bonding seems to work.

After this I looked back in the MCP log and noted that when I performed service discovery, some of the services/characteristics responded with "READ_NOT_PERMITTED".

My MCP log for service discovery after seemingly successful bonding:

[10:45:27.1] GetDeviceInfo()
[10:45:27.1] Starting a Read Information Request on the whole remote DB
[10:45:27.4] Discovering all attribute UUIDs
[10:45:27.4] Handle: 0x0001, UUID: 0x2800
[10:45:27.4] Received a Service group UUID
[10:45:27.4] Handle: 0x0002, UUID: 0x2803
[10:45:27.4] Received a Characteristic Group group UUID
[10:45:27.4] Handle: 0x0003, UUID: 0x2A00
[10:45:27.4] Received a Characteristic Group group attribute
[10:45:27.4] Handle: 0x0004, UUID: 0x2803
[10:45:27.4] Received a Characteristic Group group UUID
[10:45:27.4] Handle: 0x0005, UUID: 0x2A01
[10:45:27.4] Received a Characteristic Group group attribute
[10:45:27.4] Handle: 0x0006, UUID: 0x2803
[10:45:27.4] Received a Characteristic Group group UUID
[10:45:27.4] Handle: 0x0007, UUID: 0x2A04
[10:45:27.4] Received a Characteristic Group group attribute
[10:45:27.4] Handle: 0x0008, UUID: 0x2800
[10:45:27.4] Received a Service group UUID
[10:45:27.4] Handle: 0x0009, UUID: 0x2800
[10:45:27.4] Received a Service group UUID
[10:45:27.4] Handle: 0x000A, UUID: 0x2803
[10:45:27.4] Received a Characteristic Group group UUID
[10:45:27.4] Handle: 0x000B, UUID: 0x2A18
[10:45:27.4] Received a Characteristic Group group attribute
[10:45:27.4] Handle: 0x000C, UUID: 0x2902
[10:45:27.4] Received a Characteristic Group group attribute
[10:45:27.4] Handle: 0x000D, UUID: 0x2803
[10:45:27.4] Received a Characteristic Group group UUID
[10:45:27.4] Handle: 0x000E, UUID: 0x2A51
[10:45:27.4] Received a Characteristic Group group attribute
[10:45:27.4] Handle: 0x000F, UUID: 0x2803
[10:45:27.4] Received a Characteristic Group group UUID
[10:45:27.4] Handle: 0x0010, UUID: 0x2A52
[10:45:27.4] Received a Characteristic Group group attribute
[10:45:27.4] Handle: 0x0011, UUID: 0x2902
[10:45:27.4] Received a Characteristic Group group attribute
[10:45:27.4] Handle: 0x0012, UUID: 0x2800
[10:45:27.4] Received a Service group UUID
[10:45:27.4] Handle: 0x0013, UUID: 0x2803
[10:45:27.4] Received a Characteristic Group group UUID
[10:45:27.4] Handle: 0x0014, UUID: 0x2A19
[10:45:27.4] Received a Characteristic Group group attribute
[10:45:27.4] Handle: 0x0015, UUID: 0x2902
[10:45:27.4] Received a Characteristic Group group attribute
[10:45:27.4] Handle: 0x0016, UUID: 0x2800
[10:45:27.4] Received a Service group UUID
[10:45:27.4] Handle: 0x0017, UUID: 0x2803
[10:45:27.4] Received a Characteristic Group group UUID
[10:45:27.4] Handle: 0x0018, UUID: 0x2A29
[10:45:27.4] Received a Characteristic Group group attribute
[10:45:27.4] Handle: 0x0019, UUID: 0x2803
[10:45:27.4] Received a Characteristic Group group UUID
[10:45:27.4] Handle: 0x001A, UUID: 0x2A25
[10:45:27.4] Received a Characteristic Group group attribute
[10:45:27.4] Handle: 0x001B, UUID: 0x2803
[10:45:27.4] Received a Characteristic Group group UUID
[10:45:27.4] Handle: 0x001C, UUID: 0x2A23
[10:45:27.4] Received a Characteristic Group group attribute
[10:45:27.4] Discovering all attribute values
[10:45:27.5] Received Read Response, handle: 0x0001, value (0x): 00-18
[10:45:27.5] Received Read Response, handle: 0x0002, value (0x): 0A-03-00-00-2A
[10:45:27.5] Received Read Response, handle: 0x0003, value (0x): 4E-6F-72-64-69-63-5F-47-6C-75-63-6F-73-65
[10:45:27.6] Received Read Response, handle: 0x0004, value (0x): 02-05-00-01-2A
[10:45:27.6] Received Read Response, handle: 0x0005, value (0x): 00-04
[10:45:27.7] Received Read Response, handle: 0x0006, value (0x): 02-07-00-04-2A
[10:45:27.7] Received Read Response, handle: 0x0007, value (0x): 08-00-50-00-00-00-90-01
[10:45:27.7] Received Read Response, handle: 0x0008, value (0x): 01-18
[10:45:27.8] Received Read Response, handle: 0x0009, value (0x): 08-18
[10:45:27.8] Received Read Response, handle: 0x000A, value (0x): 10-0B-00-18-2A
[10:45:27.9] Received Error Response: READ_NOT_PERMITTED, handle: 0x000B
[10:45:27.9] Received Read Response, handle: 0x000C, value (0x): 01-00
[10:45:27.9] Received Read Response, handle: 0x000D, value (0x): 02-0E-00-51-2A
[10:45:28.0] Received Read Response, handle: 0x000E, value (0x): 41-01
[10:45:28.0] Received Read Response, handle: 0x000F, value (0x): 28-10-00-52-2A
[10:45:28.1] Received Error Response: READ_NOT_PERMITTED, handle: 0x0010
[10:45:28.1] Received Read Response, handle: 0x0011, value (0x): 02-00
[10:45:28.1] Received Read Response, handle: 0x0012, value (0x): 0F-18
[10:45:28.2] Received Read Response, handle: 0x0013, value (0x): 12-14-00-19-2A
[10:45:28.2] Received Read Response, handle: 0x0014, value (0x): 52
[10:45:28.3] Received Read Response, handle: 0x0015, value (0x): 01-00
[10:45:28.3] Received Read Response, handle: 0x0016, value (0x): 0A-18
[10:45:28.3] Received Read Response, handle: 0x0017, value (0x): 02-18-00-29-2A
[10:45:28.4] Received Read Response, handle: 0x0018, value (0x): 4E-6F-72-64-69-63-53-65-6D-69-63-6F-6E-64-75-63-74-6F-72
[10:45:28.4] Received Read Response, handle: 0x0019, value (0x): 02-1A-00-25-2A
[10:45:28.5] Received Read Response, handle: 0x001A, value (0x): 6E-52-46-35-31
[10:45:28.5] Received Read Response, handle: 0x001B, value (0x): 02-1C-00-23-2A
[10:45:28.5] Received Read Response, handle: 0x001C, value (0x): 55-AA-55-AA-55-EE-BB-EE
[10:45:28.5] Service Discovery complete

What am I doing wrong?

Parents Reply Children
No Data
Related