Update ttyd.bash

update path to atcmd
This commit is contained in:
Cameron Thompson
2024-03-25 01:01:47 -04:00
committed by GitHub
parent 81b0a9e0ba
commit f8c84d2779

View File

@@ -1,9 +1,9 @@
#!/bin/bash
# Read the serial number
serial_number=$(atcmd 'AT+EGMR=0,5' | grep '+EGMR:' | cut -d '"' -f2)
serial_number=$(/usrdata/socat-at-bridge/atcmd 'AT+EGMR=0,5' | grep '+EGMR:' | cut -d '"' -f2)
# Read the firmware revision
firmware_revision=$(atcmd 'AT+CGMR' | grep -o 'RM[0-9A-Z]*' | head -1)
firmware_revision=$(/usrdata/socat-at-bridge/atcmd 'AT+CGMR' | grep -o 'RM[0-9A-Z]*' | head -1)
echo "=============================================================="
echo "=============================================================="