User Tools

Site Tools


docs:tips_n_tricks:zte_mt667_by_o2.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
docs:tips_n_tricks:zte_mt667_by_o2.html [12.07.2018 01:39 CEST] – created peterdocs:tips_n_tricks:zte_mt667_by_o2.html [14.09.2018 16:19 CEST] (current) – [Other Codes] peter
Line 48: Line 48:
 And read all SMS: And read all SMS:
  
-AT+CMGL="ALL"+  AT+CMGL="ALL"
  
 I got new messages notified on the serial line seen by //gtkterm//, I needed to poll with //wammu// nevertheless. I got new messages notified on the serial line seen by //gtkterm//, I needed to poll with //wammu// nevertheless.
Line 59: Line 59:
 ==== USSD Codes ==== ==== USSD Codes ====
  
-Up to nowdid not manage to get my mobile contracts balance by USSD codes via AT commands ... (like you do with your phone by dialing *100#)+I struggled getting USSD codes to work. Searching in the web yielded some reportsthat upgrading the linux system did help. And ... well .. switching to an old laptop with a quite recent version of //Linux MINT// did help ... 
 + 
 +Command (this time on //minicom//to get my balance is: 
 + 
 +  AT+CUSD=1,"*100#",15 
 + 
 +The immediate response was an ''OK'', but a few moments later, I got something like  
 + 
 +  +CUSD: 0,"<a lot of characters>",72 
 +While neither //gammu//((which showed something in HEX in the logs)) nor //ModemManager// showed any results to USSD Code submission, [[https://github.com/JochenHoch2/gsm-ussd|gsm-ussd]] did the Trick. 
 + 
 +===== Other Codes ===== 
 +Other codes that worked with //gtkterm// or //minicom//: 
 + 
 +Get signal strength: 
 + 
 +  AT+ZRSSI 
 +   
 +Get operation mode: 
 + 
 +  AT+ZPAS? 
 + 
 +Check possible locks: 
 + 
 +  AT+ZSEC? 
 + 
 +Get manufacturer: 
 + 
 +  AT+CGMI 
 + 
 +Get available networks (only on recent //MINT//): 
 + 
 +  AT+COPS=? 
 + 
 +Revert //Modem Mode// (i.eback to //Ethernet Mode//): 
 + 
 +  > ATZ 
 +  OK 
 +  > AT&F 
 +  OK 
 +  > AT+ZCDRUN=9 
 +  Open autorun state result(0:FAIL 1:SUCCESS):
 +   
 +  OK 
 +  > AT+ZCDRUN=F  
 +  exit download mode result(0:FAIL 1:SUCCESS):1 
 +   
 +  OK
  
 ===== Credits ===== ===== Credits =====
docs/tips_n_tricks/zte_mt667_by_o2.html.1531352359.txt.gz · Last modified: 12.07.2018 01:39 CEST by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki