Skip to content

To use Blatann in raspberry? #85

Answered by hientominh
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
You can try docker image https://hub.docker.com/repository/docker/vantixinc/raspberry-pi-pc-ble-driver (vantixinc/raspberry-pi-pc-ble-driver:0.14.2-python3.7.9), it already has pc-ble-driver 0.14.2 with python 3.7.
Requirement: docker and docker cli
Step:

  • Run docker image as a docker container
  • Exec command: python3.7 -m pip install cffi (blatann uses cffi backend)
  • Git clone blatann source: git clone https://github.com/ThomasGerstenberg/blatann.git
  • Then cd to directory and run: python3.7 setup.py build && python3.7 setup.py install
  • Now you can use blatann on raspberry pi

Refer to layer of this image if you want to install this package on python root path raspbian instead of in docker…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ThomasGerstenberg
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #8 on September 21, 2021 04:54.