summaryrefslogtreecommitdiffstats
path: root/plugins/lib/bluetooth/hal-bt-cb.c
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-09-11 17:31:26 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:57:27 +0200
commit26e4b4b0d7ccc237fc0102103f9ad9ce8fe5c679 (patch)
tree1376ec0176300f7410630a09f3a6790478781d0e /plugins/lib/bluetooth/hal-bt-cb.c
parent26741cc7c9fa1302016d05f936befc7f1b79bfd0 (diff)
Improve Hal-Bt print messages
Improve Hal-Bt print messages by changing the print level of messages, by adding some messages, and by add information for some existing messages. Also improve response of requests. Change-Id: Icf6dc9f4da1a2ee912dda2850464926c68f2eda6 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'plugins/lib/bluetooth/hal-bt-cb.c')
-rw-r--r--plugins/lib/bluetooth/hal-bt-cb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/lib/bluetooth/hal-bt-cb.c b/plugins/lib/bluetooth/hal-bt-cb.c
index c75830d..82fc2ba 100644
--- a/plugins/lib/bluetooth/hal-bt-cb.c
+++ b/plugins/lib/bluetooth/hal-bt-cb.c
@@ -118,7 +118,7 @@ void HalBtGetA2DPBluetoothDevices(AFB_ReqT request)
while(currentBtDeviceData) {
wrap_json_pack(&currentBtDeviceObjectJ,
"{s:s s:s s:s s:b}",
- "Hci", currentBtDeviceData->hci,
+ "Interface", currentBtDeviceData->hci,
"Name", currentBtDeviceData->name,
"Address", currentBtDeviceData->address);
json_object_array_add(requestAnswer, currentBtDeviceObjectJ);
@@ -147,7 +147,7 @@ void HalBtGetSelectedA2DPBluetoothDevice(AFB_ReqT request)
wrap_json_pack(&selectedBtDeviceObject,
"{s:s s:s s:s s:b}",
- "Hci", localHalBtPluginData->selectedBtDevice->hci,
+ "Interface", localHalBtPluginData->selectedBtDevice->hci,
"Name", localHalBtPluginData->selectedBtDevice->name,
"Address", localHalBtPluginData->selectedBtDevice->address);