Replying to Avatar hzrd149

#asknostr I have a request for the hardware / Pi developers out there.

I want to run a small Go or Rust (khatru, haven, rs-nostr-relay, or chorus) based relay on a Raspberry PI, obviously its going to be using web sockets but I want to also connect to it over a USB serial interface like the https://github.com/lnbits/nostr-signing-device

My goal is to build a personal pocket relay that can connected to wifi (and discoverable) or connected via USB to a computer and managed from there.

Bonus points if we could also find a way to talk to it over Bluetooth, although I doubt ble has enough bandwidth

bluetooth has plenty of bandwidth, it can stream out data at nearly CD quality, pretty sure bluetooth 5 is over 100mbit

Reply to this note

Please Login to reply.

Discussion

here ya go: https://www.bluetooth.com/blog/exploring-bluetooth-5-how-fast-can-it-be/

so, bt4 you get 1/3 mbit, 1mbit for 4.2 and 2mbit for 5... so that works out to ... about 56kbit for bt4, 100kbit for bt4.2 and ~ 250kbit for bt5

this is duplex of course, if you have it running alternate simplex it would be twice that

The issue here is that web apps don't have access to the full bluetooth API so I would need to build a mobile or desktop app. I'm mostly looking to experiment so I'm probably going to stick with a web app

check out PAN... there is a specific network mode for bluetooth