2023-12-31 20:25:51 +02:00
2023-12-25 23:55:12 +02:00
2023-12-29 17:03:54 +02:00
2024-01-19 23:31:26 +02:00
2023-12-31 14:18:30 +02:00
2023-12-31 11:30:54 +02:00

Thermal decoder

https://telavivmakers.org/tamiwiki/projects/thermalcam

Starting the stream

Enable jumbo frames

sudo ip link set eth0 mtu 9000

Send start packet

You need to send a special packet.

Sending it via sudo because of raw sockets:

sudo ./venv/bin/python ./replay.py

To send it you need the capability to open sockets in raw mode, but that does not work well with scripts (see [1]

[1] setcap for executables, not helpful for python scripts:

setcap cap_net_raw,cap_net_admin=eip ./replay.py

Rust lib usage

if you don't already have a virtualenv. Linux specific, adjust to your OS.

virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
(cd thermaldecoder; maturin develop -r)
python test_rust.py
Description
No description provided
Readme 16 MiB
Languages
Rust 51.9%
Python 43.2%
Shell 4.9%