Any use BLE_GAP_ADV_DATA_STATUS INCOMPLETE_xxx ?

On SoftDevice S140(V7.2.0)

ble_gap_adv_report_type_t status has four types.

BLE_GAP_ADV_DATA_STATUS_COMPLETE
BLE_GAP_ADV_DATA_STATUS_INCOMPLETE_MORE_DATA
BLE_GAP_ADV_DATA_STATUS_INCOMPLETE_TRUNCATED
BLE_GAP_ADV_DATA_STATUS_INCOMPLETE_MISSED

BLE_GAP_ADV_DATA_STATUS_INCOMPLETE_xxx

What does those status mean?

Parents Reply
  • I asked the softdevice team to fill in a bit more information, here is their feedback:

    BLE_GAP_ADV_DATA_STATUS_INCOMPLETE_MORE_DATA will never be returned by the SoftDevice.

    BLE_GAP_ADV_DATA_STATUS_INCOMPLETE_MISSED: "Failed to receive the remaining data" (from API docs). The SoftDevice tried to receive more data in a chain of advertising data, but was not able receive all packets.

    BLE_GAP_ADV_DATA_STATUS_INCOMPLETE_TRUNCATED: "Incomplete data. Buffer size insufficient to receive more " (from API docs). The advertiser indicated that there was more data to come, but the provided buffer in sd_ble_gap_scan_start() was not large enough.

    Hope that helps,
    Kenneth

Children
Related