Files
lora_meshtastic_project/code/firmware/bin/test-simulator.sh
T

12 lines
251 B
Bash

#!/usr/bin/env bash
set -e
echo "Starting simulator"
.pio/build/native/meshtasticd -s &
sleep 20 # 5 seconds was not enough
echo "Simulator started, launching python test..."
python3 -c 'from meshtastic.test import testSimulator; testSimulator()'