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

What is the procedure of scanrsp data reception by the central?

uint32_t ble_advdata_set (const ble_advdata_t *p_advdata, const ble_advdata_t *p_srdata)

If I set the second parameter p_srdata, does it mean passing encoded advertising data and scan response data to the stack together (2*31byte)? my first question is : Is the scanrsp data transimited with the advdata together? how does the central receive the scanrsp data and deal with the data?

my second question is : I found "uint32_t adv_report_parse(uint8_t type, data_t * p_advdata, data_t * p_typedata)" in a project of SDK(s120 central), what is the function of this function? how does it implement?

Thank you~

Related