Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3854

Networking and servers • Re: Control Raspberry Pi Via Networkless Interface

$
0
0
I don't get the reasoning on the no WiFi, no Ethernet stance - that's only going to make things harder for yourself. If it's security there are other ways to handle that.

Bluetooth without the PAN profile almost certainly means you'll need to write a lot of extra stuff thay you'd get for free with it (or any other IP network stack).

If your phone supports it you could use its USB tethering mode - that's a network connection over USB so it's wired. You may also need to take steps to prevent the Pi using the phone for its internet connection.

Depending on the model of Pi there is also the possibility to have it emulate a USB ethernet adapter. Again that requires that your phone support it. Many don't.

Then there's serial/UART. That can be done over bluetooth but, again, the phone has to support it. If you run PPP or SLIP you get an IP network over serial but guess what? The phone needs to support it.

FWIW, and I know this isn't an exact match to your poorly described requirements, I run the following on my network for music/audio:
  • Raspberry Pi ZeroW
  • Pimoroni pHAT DAC
  • WiFi connection to my network (both for control and because my music is on my NAS)
  • Raspberry Pi OS 32bit lite
  • MPD
  • MPC (for local control)
  • The MPD network client that works best* on the device I'm using for control.
The minimum effort approach is to use some form of IP network rather than rolling your own protocol on top of serial/bluetooth/etc.

Or buy a Bluetooth speaker and stream to that from your phone. No Pi required.

*: My value of "best" may not be the same as yours.

Statistics: Posted by thagrol — Fri Aug 23, 2024 11:35 pm



Viewing all articles
Browse latest Browse all 3854

Trending Articles