Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9868 Discussions

Edison Gattlib

MMoha16
New Contributor I
1,547 Views

Hello all ,

I have read about the Gattlib library which enables communication over bluetooth which can be installed on the edison and run python scripts which must import from the gattlib

Has anyone succeeded in working with this library because i am getting an error "fatal error: boost/python/list.hpp: No such file or directory" when i run to install it via the "pip install gattlib"command on the edison

1 Solution
Pedro_M_Intel
Employee
130 Views

Hello Massem,

gattlib can be installed with pip as you can see in https://bitbucket.org/OscarAcena/pygattlib OscarAcena / pygattlib — Bitbucket. In case you don't have pip installed, you can get it with http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html AlexT's repo.

Nevertheless gattlib will require that you install gatttool and boost. You can find a guide on how to install gatttool in https://software.intel.com/en-us/articles/using-the-generic-attribute-profile-gatt-in-bluetooth-low-... IoT - Using the Generic Attribute Profile (GATT) in Bluetooth* Low Energy with your Intel® Edison Board and a guide on how to install boost in http://www.boost.org/doc/libs/1_60_0/more/getting_started/unix-variants.html Boost Getting Started on Unix Variants - 1.60.0.

Peter.

View solution in original post

4 Replies
Pedro_M_Intel
Employee
131 Views

Hello Massem,

gattlib can be installed with pip as you can see in https://bitbucket.org/OscarAcena/pygattlib OscarAcena / pygattlib — Bitbucket. In case you don't have pip installed, you can get it with http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html AlexT's repo.

Nevertheless gattlib will require that you install gatttool and boost. You can find a guide on how to install gatttool in https://software.intel.com/en-us/articles/using-the-generic-attribute-profile-gatt-in-bluetooth-low-... IoT - Using the Generic Attribute Profile (GATT) in Bluetooth* Low Energy with your Intel® Edison Board and a guide on how to install boost in http://www.boost.org/doc/libs/1_60_0/more/getting_started/unix-variants.html Boost Getting Started on Unix Variants - 1.60.0.

Peter.

View solution in original post

MMoha16
New Contributor I
130 Views

Thank you for ur reply , So after downloading boost what should its path be on the edison ?

Pedro_M_Intel
Employee
130 Views

I can see that you recently opened . Do you still need help with boost?

Peter.

MMoha16
New Contributor I
130 Views

No thank you so much . Boost is now installed.

Reply