Closed steven-buytaert closed 6 months ago
Thanks for reporting. If you want, you can make a pull request. If not, We will fix it nevertheless, no worries :)
Hi Matthias,
I've send you a mail with the patch and some more info.
Cheers,
Steven
Fixed on develop branch.
It seems there are several examples, that need to parse an address that is passed on the command line, apply the wrong logic.
The code usually found is this:
But this logic is wrong since when the if clause is not taken, the arg is not advanced and the program loops forever.
The proper template should look like this if I am not mistaken:
This is at least the case for gatt_battery_query.c, le_streamer_client.c, le_credit_based_flow_control_mode_client.c, gatt_heart_rate_client.c, gatt_device_information_query.c and gatt_browser.c.
Do I need to make a pull request for this? It would be my first on Github.
Kind regards,
Steven