Bluetooth Server APP Enabled
by Bryan Parada
SID:861027456 : Bpara001@ucr.edu
Journal 5: Bluetooth Finished
Design
The images below show the different features I originally made a user input. I changed it to work in the background, and directly takes user to the low noise amplifier voltage reader screen. Most of the work is in done in the background and multi threaded. I use the command "Voltage" to receive the voltage from the pi. If you desire a new input, you simply need to write a new name and pin layout from pi. The rest is handled by the listining portion of the app. Many difficulties were introduced since the phone we used is a samsung and android studio does not have any specifications for the phone. I created the hardware specifications for the phone and imported them to work on the touch phone we had. Another issue that happened was I was programming for a phone with oreo API but our phone had a newer api which I had to code differently, since it had new restrictions and permissions needed to pass. Lastly input is sent in bits of 4 and I send a (!) key to tell the program we reached the end of the input. These inputs received from the pi are sent via ASCII characters which are later translated, once I obtain the last data bits.
Features
1.Easily add new inputs with a simple name command.2.Automatically connect to familiar devices.
3.Bluetooth communication transfers 4 bits of data at a time to maintain connection.(Multiple Threads)
4.Detects if user forgot to turn on bluetooth, and ask to turn it on for them.(Permission)
Images








Progress of Work on Github
Amount of Code commited is included~ Shows Progress I did throughout the project




