I am selling a product to a customer . An user like you cannot take the raspberry pi from my device and connect the pi to the monitor .It should be easily connected to your phone. I am developing an app where the app connects to pi zero 2W via bluetooth . In order to solve this , if you make the bluetooth open without password , it will get connected to your phonewhat should that be good for? You can also pair via CLI using SSH access. As this is PWD protected you would have a secure device still.
Else i was thinking to use pi zero 2W (Bluetooth MAC address) and use this address on my app . Can i do this in this way ? Is the Bluetooth MAC address static ie it wont change with time for a particular Zero 2W ? In this case , will it solve my issue with automatic bluetooth connection ? I will attach the code too so could tell me about it ?
Code of the app :
[StartButton.Click]
- If BluetoothLE1.IsConnected = false
- BluetoothLE1.ConnectToAddress (Pi's MAC address)
- Else
- Notifier1.ShowAlert "Already connected!"
- If BluetoothLE1.IsConnected = true
- WebViewer1.Visible = true
- Label1.Text = "Connected to Pi"
Statistics: Posted by AlenHazard — Tue Mar 18, 2025 5:41 pm