Hi,
I have a problem with understanding, how bits in ble_gatt_char_props_t are related with Specification of the Bluetooth System v5.1 Table 3.5: Characteristic Properties.
My application has characteristic with enabled only write_wo_resp (rest of ble_gatt_char_props_t and ble_gatt_char_ext_props_t is memset to 0).
According to Table 3.5: Characteristic Properties only procedure defined in Section 4.9.1 shall be supported. I understand that it should not support the procedure from Section 2.9.4. However, when I try to send more than 20 bytes (MTU 23) using IOS application, SoftDevice is trying to process message sequence GATTS Queued Writes: App handled, no attributes require authorization.
What can I do to make this procedure as unsupported? Or at least how should I reject this procedure? In nrf_ble_qwr I found:
#define NRF_BLE_QWR_REJ_REQUEST_ERR_CODE BLE_GATT_STATUS_ATTERR_APP_BEGIN + 0
However, in my opinion, BLE_GATT_STATUS_ATTERR_ATTRIBUTE_NOT_LONG fits better.