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
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
Hi Simonr,
A short name and actual name actually have different "types" in the encoded data and it's not guaranteed that both are present in an advertising packet.
If I specify the short name which is advertised on the peripheral and configure central to filter to that exact same short name, then I would expect the filter to be satisfied.
Hi Simonr,
A short name and actual name actually have different "types" in the encoded data and it's not guaranteed that both are present in an advertising packet.
If I specify the short name which is advertised on the peripheral and configure central to filter to that exact same short name, then I would expect the filter to be satisfied.