client: Print error code for connect methods
authorMiao-chen Chou <mcchou@chromium.org>
Thu, 30 Sep 2021 22:37:30 +0000 (15:37 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:37 +0000 (19:08 +0530)
commit38f6fb7d302884d57cacf796e479749b0cff3a61
treed807b350d3c44b4bc212da157bdae20f58daf30b
parent942dd25d5c98a83c0b53844bfcd333f001c68073
client: Print error code for connect methods

The following steps were performed.
- Issuing repeated commands to connect the same BLE device.
- Verifying the print in bluetoothctl console

Reviewed-by: Alain Michaud <alainm@chromium.org>
Reviewed-by: Howard Chung <howardchung@google.com>
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
client/main.c