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

ble_advdata_short_name_find bug

Hello,

In ble_advdata_short_name_find,

&& (parsed_name_len < strlen(p_target_name))

should be

&& (parsed_name_len <= strlen(p_target_name))

Right now, if the short name happens to match what is passed, it will actually fail.

Thanks!

James

Related