meshtastic_rpi2w_sx1278_RA_02/bin/test-simulator.sh

12 lines
244 B
Bash
Raw Normal View History

2024-10-30 08:54:24 +00:00
#!/usr/bin/env bash
set -e
echo "Starting simulator"
.pio/build/native/program &
sleep 20 # 5 seconds was not enough
echo "Simulator started, launching python test..."
python3 -c 'from meshtastic.test import testSimulator; testSimulator()'