Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Create a raspberry pi 3 bluetooth server sending data to an android device (or Linux) client.

License

NotificationsYou must be signed in to change notification settings

etiennedemontalivet/bluetooth-raspberry-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create a raspberry pi 3 bluetooth server sending data to an android device (or Linux) client.

Details :On the raspberry piserver, a worker thread increments an integer every 5s.This value is send over Bluetooth to the connected clients. This part is only c++ based and is a Qt console application(no window). Theclients try to find the uuid bluetooth service to connect. Then it only listens to the server incoming valueand update the QML based window displaying the value.

Requirements

  • Qt built on raspberry pi 3 with the bluetooth libs (used : Qt 5.11)
  • Qt for Android (used : armv7 compiler with ndk10)
  • optional : Qt for Desktop (used : Ubuntu 18.04)

Build

After cloning the repo, open the two projects in QtCreator (.pro) and build each one with the right kits.After deploying, launch the server first (on the pi), then the client.For the moment, the client has to be relaunched to restart discovery.

NB : Devices were paired for test. I did'nt test without pairing.

NB : You can change the uuid service for more security ! Make sure to use the same between server and clients

Current issues

Clients work well on Ubuntu 18.04 but not on Android SDK 24 (LG G6). Any help would be appreciated.

License

GNU General Public License v3.0

About

Create a raspberry pi 3 bluetooth server sending data to an android device (or Linux) client.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp