Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

BLEIO_gatt_read_char_by_uuid Line:155 g_tree_lookup() failed. #51

Closed
yaweiw opened this issue Nov 15, 2016 · 3 comments
Closed

BLEIO_gatt_read_char_by_uuid Line:155 g_tree_lookup() failed. #51

yaweiw opened this issue Nov 15, 2016 · 3 comments
Assignees
Labels

Comments

@yaweiw
Copy link

yaweiw commented Nov 15, 2016

Error: Time:Mon Nov 14 03:37:05 2016 File:/media/Storage/SourceCode/WindRiver/Projects/iot-cloud/build-intel-baytrail-64-0013/bitbake_build/tmp/work/corei7-64-wrs-linux/azure-iot-gateway-sdk/2016-09-01-r4/git/modules/ble/src/ble_gatt_io_linux_read.c Func:BLEIO_gatt_read_char_by_uuid Line:155 g_tree_lookup() failed.

We are facing this issue intermittently on Intel NUC running Wind river.

@darobs darobs self-assigned this Nov 21, 2016
@darobs darobs added the bug label Nov 21, 2016
@darobs
Copy link
Contributor

darobs commented Nov 21, 2016

@yaweiw Are you still experiencing this problem? I know we had a bug in the BLE module a few weeks ago, and these fixes have been merged into the latest master commit. My first suggestion is to get the latest form master (or develop) and see if this problem is resolved.

@yaweiw
Copy link
Author

yaweiw commented Nov 22, 2016

@darobs yes i am still facing the issue. but running bluetoothctl list-attributes before the sample works. so this should server as a workaround though.

@darobs
Copy link
Contributor

darobs commented Nov 23, 2016

That is the workaround. The current BLE module doesn't do attribute discovery on its own, and we instruct the user to connect via bluetoothctl in our setup document.

We are closing this issue, if you don't think the issue has been resolved, please reopen this or create a new issue.
Thanks,
Dave

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants