Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout status in board mbl_mw_metawearboard_initialize() #11

Closed
ajhwb opened this issue Sep 13, 2016 · 1 comment
Closed

Timeout status in board mbl_mw_metawearboard_initialize() #11

ajhwb opened this issue Sep 13, 2016 · 1 comment

Comments

@ajhwb
Copy link

ajhwb commented Sep 13, 2016

Hi,

Host: Linux 3.10.17-yocto-standard-r2 #7 SMP PREEMPT Thu Feb 26 09:57:06 UTC 2015 i686 GNU/Linux
SDK: 0.5.0 (most recent commit)

Most of times I get MBL_MW_STATUS_ERROR_TIMEOUT (16) status when calling mbl_mw_metawearboard_initialize(). I didn't have this issue in 0.4.15

This API was changed from 0.4.15
void mbl_mw_metawearboard_initialize(MblMwMetaWearBoard *board, MblMwFnVoid initialized)

0.5.0

void mbl_mw_metawearboard_initialize(MblMwMetaWearBoard *board, MblMwFnBoardPtrInt initialized)

This is the application logs:

ardhan@clarence:~/Metawear-Cpp-Driver/cpro-driver$ ./cpro-driver_experimental device.conf 
Device C0:69:B0:46:03:B5 was connected
write_gatt_char: handle=0x001d uuid=326a9001-85cb-9195-d9dd-464cfbbae75a
write_gatt_char: value: 11 09 08 00 80 0c 00 00 d0 07 
read_gatt_char: handle=0x001a uuid=00002a26-0000-1000-8000-00805f9b34fb
Characteristic value/descriptor: 31 2e 32 2e 33 
read_gatt_char: handle=0x0014 uuid=00002a24-0000-1000-8000-00805f9b34fb
Characteristic value/descriptor: 32 
write_gatt_char: handle=0x001d uuid=326a9001-85cb-9195-d9dd-464cfbbae75a
write_gatt_char: value: 01 80 
[ERROR] 2016-09-13_03:59:01.554: Initialization failed (16)...!
@scaryghost
Copy link
Contributor

See issue #9

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

No branches or pull requests

2 participants