treehouses / control

bluetooth service 🔧 for treehouses image which interacts with treehouses/remote android app
9 stars 1 forks source link

password enable bluetooth server #10

Closed empeje closed 4 years ago

empeje commented 5 years ago

need password protected bluetooth server

i5o commented 5 years ago

how would you use this?

empeje commented 5 years ago

I think we need to have an authorization for the bluetooth connection so that anybody can't take our raspberry pi out easily

dogi commented 5 years ago

@empeje right now if we connect the right pins on rpi bluetooth goes to sleep ... until you remove this pins

LordJashin32 commented 4 years ago

https://github.com/treehouses/remote/blob/master/app/src/main/java/io/treehouses/remote/Network/BluetoothChatService.java Line 300 something. Bluetooth server.py in cli

LordJashin32 commented 4 years ago

I think the best way to do this is to ask for a password over bluetooth message. Currently our connections are using RFCOMM specification through android which is using what ever the android device has available which is usually AES-128 for bluetooth encryption.