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

Unable to change the flag of scan response

I need to change the flag of the scanrsp. I use the advertising_init() and i try to do like this:

scanrsp.flags = FLAG;

but the function ble_advdata_set(&advdata,&scanrsp) return NRF_ERROR_INVALID_FLAGS.

Can you help me to change this flag?

Thank you

Related