You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 line
475B

  1. #!/bin/bash
  2. FOLDER="/home/prause/measurement-scripts/"
  3. NEW_DIR=$(DATE=$(date +%F-%T))
  4. export PIPENV_VENV_IN_PROJECT=1
  5. mkdir "/home/prause/mobile_measurements/${NEW_DIR}"
  6. cd "${FOLDER}/${NEW_DIR}"
  7. pipenv run pipenv run ./measurement_main.py -c 130.75.73.69 \
  8. --bandwidth \
  9. --set time=30 \
  10. --gps /dev/serial/by-id/usb-u-blox_AG_-_www.u-blox.com_u-blox_5_-_GPS_Receiver-if00 \
  11. --serial /dev/ttyUSB2 \
  12. -n 10 \
  13. --folder "$FOLDER$NEW_DIR" \
  14. --prefix automated \
  15. -i wwan0