Better HN
topnewbestaskshowjobs
Log inSign up

roman_zeyde

23 karma · joined Jan 6, 2017 (9y ago) · 15 submissions

http://romanzey.de

[ my public key: https://keybase.io/romanz; my proof: https://keybase.io/romanz/sigs/slD7kPlviwHCf6Fa1kSzhi_Ipk1SJZnVIKiJrsw7Rnc ]

Submissions

comment 8y ago · link · parent

Unfortunately, VoIP doesn't allow reliable OFDM communication... It's preferable to transmit and receive the audio as-is (without any compression).

comment 8y ago · link · parent

Thanks, great to hear :)

comment 8y ago · link · parent

QAM is using both carrier's amplitude and phase to encode information, so I/Q can be thought as [1]:

  I = amplitude*cos(phase)
  Q = amplitude*sin(phase)
[1] http://whiteboard.ping.se/SDR/IQ

comment 8y ago · link · parent

The original goal was transmitting ~10kB in a few seconds over an audio cable, so I didn't try to improve the transmission speed much further. I guess that adding error correction coding will allow increasing the highest possible bit-rate (currently I'm using only CRC-32 for error detection).

comment 8y ago · link · parent

Thanks a lot, I definitely agree :)

I didn't try Google Nearby, since I was developing the modem to run on a desktop machine (but later I've created a simple Android app [1], supporting the lowest bit-rate).

Unfortunately, I don't have a working web-based version of my modem...

[1] https://play.google.com/store/apps/details?id=bit.zeyde.audi...

comment 8y ago · link · parent

Nice idea :)

However, I'm not aware of any such protocol...

comment 8y ago · link · parent

No, I've used it only on my Linux machine.

I guess it should also work on MacOS, since it depends on `numpy` [1] and `portaudio19-dev` [2] Debian packages (which should be installable via Pip/Homebrew).

[1] http://www.numpy.org/

[2] https://people.csail.mit.edu/hubert/pyaudio/

comment 8y ago · link · parent

Thanks :)

comment 8y ago · link · parent

Both :)

The initial use-case was performing air-gapped communication for signing Bitcoin transactions [1] on an offline machine.

[1] https://github.com/spesmilo/electrum/pull/964

comment 8y ago · link · parent

Indeed, I am using OFDM [1], which uses several carriers, each modulated via QAM [2].

[1] https://en.wikipedia.org/wiki/Orthogonal_frequency-division_...

[2] https://en.wikipedia.org/wiki/Quadrature_amplitude_modulatio...

comment 8y ago · link · parent

Thanks!

Using an audio cable (for better SNR), I have managed to achieve and sustain 60kbps for long periods time - so 3MB file should take ~7 minutes to transmit.

comment 8y ago · link · parent

Currently, it does not - mainly because I've tried to use all available bandwidth (to increase the bit-rate).

Please take a look at https://github.com/quiet/quiet-js for an ultrasonic data transmission.

comment 8y ago · link · parent

~3 meters is indeed quite a challenging scenario. I've tested it with the lowest bit-rate supported (1 kbps), but it doesn't work reliably.

You can try my Android app [1] to reproduce the experiments for short transmissions.

[1] https://play.google.com/store/apps/details?id=bit.zeyde.audi...

comment 8y ago · link · parent

Author here, thanks for posting this :)

Would be happy to answer any question.

comment 9y ago · link · parent

I can suggest using TREZOR and Ledger Nano S hardware devices for common GnuPG operations, e.g. signatures and decryption.

Please take a look at https://github.com/romanz/trezor-agent/blob/master/README-GP... for more details.

Disclosure: I am the main developer of this project.