User Tools

Site Tools


Differences

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

Link to this comparison view

Both sides previous revision Previous revision
sending_sms_via_gsm_modem [2018/11/27 11:51]
akuzmuk
sending_sms_via_gsm_modem [2018/11/27 11:53] (current)
akuzmuk
Line 32: Line 32:
   *Validation error message: Invalid phone number. Valid SMS addresses are SMSxxxxxxxxxx where xxxx is a phone number.   *Validation error message: Invalid phone number. Valid SMS addresses are SMSxxxxxxxxxx where xxxx is a phone number.
  
-Go to **Setup -> Registers -> Tools -> Custom Protocols** and add this protocol. After that you can create connection using this protocol. ​Please note that some modems ​will answer ​very long on AT commands. You might need specify extremely long timeouts for them in connection settings (3-6 seconds!).+Go to **Setup -> Registers -> Tools -> Custom Protocols** and add this protocol. After that you can create connection using this protocol. ​Some modems ​could answer on AT commands ​with huge delays. You might need specify extremely long timeouts for them in connection settings (3-6 seconds!) ​in you will see such behavior.
  
 Please note that modern modems usually have multiple UARTs (/​dev/​ttyUSB0,​ /​dev/​ttyUSB1,​ /​dev/​ttyUSB2,​ etc). Some of these UARTs can be used for data exchange only, another - for control modem during the established call. You have to find such control port manually (basically, try one by one) to find port that will react on AT-commands and use this post in this custom protocol. Please note that modern modems usually have multiple UARTs (/​dev/​ttyUSB0,​ /​dev/​ttyUSB1,​ /​dev/​ttyUSB2,​ etc). Some of these UARTs can be used for data exchange only, another - for control modem during the established call. You have to find such control port manually (basically, try one by one) to find port that will react on AT-commands and use this post in this custom protocol.

Page Tools