Skip to content

This application is built on Android platform, which is used for control small car by low energy bluetooth.

License

Notifications You must be signed in to change notification settings

wvfp/BluetoothCarController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BluetoothCarController

This application is built on Android platform, which is used for controlling small car by low energy bluetooth.

Using Qt Version

  • Qt 6.8

Abort code

  • It is coding with C++, No QML code.
  • And also using CMake to construct.
  • The part of low energy Bluetooth is from the example ( low energy scanner ) of Qt6.8

UI

  • MainInterface UI

Notice

  • Please use the application after having connected to Bluetooth Device.

  • The Application only is used for connecting specific device. _ Please ensure that all devices are properly connected before proceeding with the operation; otherwise, the application may crash.

  • Please ignore bugs of application.

about sending messages by Bluetooth

Standard

  • When send a message by application, it will add the ending flag ('\0') to the end of message.(As an end flag to receiving data)
void SendMsg(QString &data){
    ...
    data.append(char('\0'));
    ...
}
  • Data is sent in 1-byte [ sizeof(char) ] increments.

About

This application is built on Android platform, which is used for control small car by low energy bluetooth.

Resources

License

Stars

Watchers

Forks

Packages

No packages published