This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem writing to encrypted characteristic from Master Control Panel

I'm adding the bond manager to an existing nRF51822 s110 soft device project to enable encryption when reading/writing certain characteristics of a BLE service.

As far as I can tell, the pairing and bonding is occurring properly. When I connect using either the Nordic Master Control Panel on Android or using LightBlue on an iOS device, I can pair, bond and write to the characteristic without errors. However, using the Nordic Master Control Panel application version 3.6.0.8331 with the PCA10000 v2.2.0 under Windows 7, I receiving the error "Could not update handle 0x0011 with new value" as shown in the log below:

[12:49:07.3] C63D296C3F4C
[12:49:13.4] ConnectToDevice()
[12:49:13.8] ----------------------------
[12:49:13.8] Connected to device
[12:49:13.8] Role: 0
[12:49:13.8] PeerAddressType: 1
[12:49:13.8] PeerAddress (MSB): C63D296C3F4C
[12:49:13.8] Connection Interval: 20.0ms
[12:49:13.8] Connection Latency: 0
[12:49:13.8] Supervision Timeout: 3000ms
[12:49:13.8] Clock Accuracy: (1)
[12:49:13.8] ----------------------------
[12:49:13.8] Starting encryption
[12:49:13.8] Connected to C63D296C3F4C
[12:49:14.0] SERVER: Received packet <HciEvent: eventCode=0x0B> - <HciEvent: eventCode=0x0B>
[12:49:14.0] SERVER: Received Encryption Change Event
[12:49:14.0] Encryption change: Link encryption is ON
[12:49:31.6] UpdateAttributeValue(mode=1)
[12:50:01.7] Could not update handle 0x0011 with new value.

Is there any obvious difference between the Android and iOS platform from the Windows platform that would account for why things might now work under Windows?

Thanks,

Mike

Parents
  • I'm using the S110 Blood Glucose Application as a model for adding the BLE Bond Manager to my application. Testing the Blood Glucose Application I'm getting the very similar error of "Could not update handle 0x0014 with new value" when I attempt to do the following:

    Do a Read all records operation: Write 0101 (OpCode : REPORT_STORED_RECORDS, Operator : ALL_STORED_RECORDS) to Record Access Control Point Characteristic (UUID 0x2A52). Observe that you receive five notification of the glucose measurements(UUID 0x2A18) and one indication of the RACP indicating success (06000101);

    Just as I can with my application, can do this operation successfully with the Blood Glucose Application from Android Master Control Panel. I guess I'm suspecting there may be a version issue with running the Blood Glucose Application from SDK v5.2, S110 Softdevice v6.0, and PC10000 v2.2.0.

Reply
  • I'm using the S110 Blood Glucose Application as a model for adding the BLE Bond Manager to my application. Testing the Blood Glucose Application I'm getting the very similar error of "Could not update handle 0x0014 with new value" when I attempt to do the following:

    Do a Read all records operation: Write 0101 (OpCode : REPORT_STORED_RECORDS, Operator : ALL_STORED_RECORDS) to Record Access Control Point Characteristic (UUID 0x2A52). Observe that you receive five notification of the glucose measurements(UUID 0x2A18) and one indication of the RACP indicating success (06000101);

    Just as I can with my application, can do this operation successfully with the Blood Glucose Application from Android Master Control Panel. I guess I'm suspecting there may be a version issue with running the Blood Glucose Application from SDK v5.2, S110 Softdevice v6.0, and PC10000 v2.2.0.

Children
No Data
Related