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

Error code 0x00008043 received when calling dm_security_setup_req

Hello,

I'm working with a nrf51822, SoftDevice S120 v2.0 and SDK v9.0 platform.

Specifically using it a Central role to connect to a Blood Pressure peripheral.

When I connect to the peripheral and subscribe to the target characteristic for "INDICATION" (so it can send me the Blood Pressure readings)

The peripheral responds to my centrals sd_ble_gattc_write() command on its CCCD with a BLE_GATTC_EVT_WRITE_RSP.

Here it indicates that it requires BLE_GATT_STATUS_ATTERR_INSUF_AUTHENTICATION

I then do this:

uint32_t err_code = dm_security_setup_req(&p_client->handle);
APP_ERROR_CHECK(err_code);

When doing this I get an error code of 0x00008043.

I am pretty new to Nordic SD/SDK so I'm unable to work this error code out.

Can someone please advice?

Thanks very much, Mark

Related