Ajout lecture IMSI (AT+CIMI) dans installation_part2.sh

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
PaulVua
2026-03-10 11:05:12 +01:00
parent 6b8d0c18c9
commit bc2aec7946

View File

@@ -55,9 +55,15 @@ info "Activate blue LED"
sleep 1
#get SIM card number
info "Get SIM card number"
/usr/bin/python3 /var/www/nebuleair_pro_4g/SARA/sara.py ttyAMA2 AT+CCID? 2 || warning "SARA SIM card read failed. Continuing..."
#get SIM card CCID
info "Get SIM card CCID"
/usr/bin/python3 /var/www/nebuleair_pro_4g/SARA/sara.py ttyAMA2 AT+CCID? 2 || warning "SARA CCID read failed. Continuing..."
sleep 1
#get SIM card IMSI
info "Get SIM card IMSI"
/usr/bin/python3 /var/www/nebuleair_pro_4g/SARA/sara.py ttyAMA2 AT+CIMI 2 || warning "SARA IMSI read failed. Continuing..."
#Connect to network
#info "Connect SARA R4 to network"