What does Softdevice send when reply.params.write.gatt_status = BLE_GATT_STATUS_ATTERR_CPS_CCCD_CONFIG_ERROR?

My server gets a write request to a characteristic that has not been enabled.

I respond with

reply.params.write.gatt_status = BLE_GATT_STATUS_ATTERR_CPS_CCCD_CONFIG_ERROR
sd_ble_gatts_rw_authorize_reply(p_ble_evt->evt.gatts_evt.conn_handle, &reply);

However, the value of  BLE_GATT_STATUS_ATTERR_CPS_CCCD_CONFIG_ERROR is 0x1FD.

The PTS test suite is saying that the value received is 0x100 and it should be 0xFD.

Thanks

Related