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

CRC bytes in advertising data

Hello,

I am implementing a central which is scanning for advertising packets using s130, SDK11, nRF51822 and based on example ble_app_hrs_rscs_relay.

I get the advertising packets in function

static void on_ble_central_evt(const ble_evt_t * const p_ble_evt)

in the event BLE_GAP_EVT_ADV_REPORT.

I can read from

const ble_gap_evt_t   * const p_gap_evt = &p_ble_evt->evt.gap_evt;

all the manufacturer data in

p_gap_evt->params.adv_report.data

However, I would like also to get the 3 bytes CRC that are included at the end of this data, but I cannot find the way to access to them.

How could I get these CRC bytes?

Thank you

Parents Reply Children
No Data
Related