Spiegiemon_piedition
1.0.0
Bluetooth通信またはコンソールを備えたPythonで書かれたRaspberrypi Loraコミュニケーションのためのチャットアプリ
LORAモジュールSX1262でRaspberry Piを使用します
パッケージとansiblescriptはすべてを自動的に実行する必要があります
file /etc/bluetooth/main.confで
DiscoverableTimeout = 0
PairableTimeout = 0file /etc/systemd/system/dbus-org.bluez.serviceで
上書きします
ExecStart =/usr/lib/bluetooth/bluetoothdと
ExecStart =/usr/lib/bluetooth/bluetoothd -C
ExecStartPost =/usr/bin/sdptool add SP次に、サービスを再起動します
sudo systemctl daemon-reload
sudo systemctl restart bluetooth.serviceRaspberry Pi Bluetoothを発見できるようにします
[Unit]
Description =SpiegieMon
[Service]
Type =simple
WorkingDirectory =/home/pi/git/Spiegiemon_piedition
ExecStart =/home/pi/git/Spiegiemon_piedition/main.py
Environment = " PYTHONUNBUFFERED=1 "
After =bluetooth
Requires =bluetooth
[Install]
WantedBy =multi-user.targetメッセージには次の形式があります。
このプロジェクトに貢献したい場合は、このリポジトリをフォークしてプルリクエストを送信してください。