Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


initramfs_send_sms

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
initramfs_send_sms [2017/05/29 18:58] – [Configure HSDPA module] admininitramfs_send_sms [2017/05/29 19:00] – [Create SMS script] admin
Line 7: Line 7:
 ====Configure HSDPA module==== ====Configure HSDPA module====
 Huawei MU609 Huawei MU609
-  * The module might be configured for packet switched (PS) only. To be able to send SMS via AT commands, the module needs to be configured for CP_PS, CS or CS_ONLY, CS = circuit switched. If you also want to set up a dataconnection, configure CS_PS. If you don't include CS, you will receive an error: ''+CMS ERROR: 500''. <code># screen /dev/ttyUSB0 115200+  * The module might be configured for packet switched (PS) only. To be able to send SMS via AT commands, the module needs to be configured for CP_PS, CS or CS_ONLY, CS = circuit switched. If you also want to set up a dataconnection, configure CS_PS. If you don't include CS, you will receive the error: ''+CMS ERROR: 500'' when sending an SMS. <code># screen /dev/ttyUSB0 115200
 at^syscfg=2,2,3FFFFFFF,1,2</code> at^syscfg=2,2,3FFFFFFF,1,2</code>
  
Line 102: Line 102:
 expect "> " expect "> "
  
-# Text to send... 1A ctr-z +# Text to send, end with \x1A ctrl-z 
-send "System 'apuarch' has reached initramfs."+send "System has reached initramfs."
 send "\x1a" send "\x1a"
 </code> </code>
initramfs_send_sms.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1