About Robot Bluetooth Joystick
The app connects to your bluetooth device and opens a connection to send serial data to your robot/device. After connecting to bluetooth device a REQUEST_CONNECT is send. The remote device should answer with a RESPONSE_CONNECTED. After that the app can send several commands depending on user input. The remote device has to react to these commands. These commands are supported:
REQUEST_FORWARD 'F'
REQUEST_BACKWARD 'B'
REQUEST_LEFT 'L'
REQUEST_RIGHT 'R'
REQUEST_STOP 'S'
REQUEST_CONNECT 'C'
REQUEST_DISCONNECT 'D'
REQUEST_SENSOR_UPDATE 'Q'
The device uses the following response on connect and disconnect:
RESPONSE_CONNECTED "connected"
RESPONSE_DISCONNECTED "disconnected"
The remote device can also send two sensor values using the folloing commands:
Right sensor "rSens,value"
Left sensor "lSens,value"
Replace value with a the value of the sensor (value > 0 sensor is active, value = 0 sensor is inactive)
Take care to send a line break 'n' after each response!
More information on github: https://github.com/hanneseilers/RobotBlueoothJoystick
Download and install
Robot Bluetooth Joystick version 0.0.1 on your
Android device!
Downloaded 500+ times, content rating: Everyone
Android package:
de.hanneseilers.robotbluetoothjoystick, download Robot Bluetooth Joystick.apk