The function find_adv_name()
found multiple time in BLE central examples is using the global variable m_target_periph_name
instead of the parameter name_to_find
. There is also some instance of the function checking the size of the name but some other are missing the check.