steptail.com

Does expecting the unexpected make the unexpected the expected?

User Tools

Site Tools


guides:virtual_modem:section_5

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
guides:virtual_modem:section_5 [2021-04-14 19:26]
omolini [Faked Commands (does not perform any action, always returns OK)]
guides:virtual_modem:section_5 [2021-04-14 19:36]
omolini [Related Topics]
Line 29: Line 29:
   * Restart Raspberry and test the changes. After rebooting, VModem should automatically start up with system processes and start expecting connections on serial.   * Restart Raspberry and test the changes. After rebooting, VModem should automatically start up with system processes and start expecting connections on serial.
  
-===== Supported ​Modem Commands =====+---- 
 + 
 +===== Supported Commands =====
  
-Hayes commands ​supported:+Functional ​Hayes commands:
  
 +  * **AT** Tests Modem. Returns OK if successful
   * **ATDn** Dial number, where n is a phone number   * **ATDn** Dial number, where n is a phone number
     * **ATDTn** Dial number using touch tone     * **ATDTn** Dial number using touch tone
     * **ATDPn** Dial number using pulse dialing     * **ATDPn** Dial number using pulse dialing
 +    * Note! This command actually runs a shell script by the name of the phone number stored in the same path as vmodem. If you dial ATD1, Vmodem will run 1.sh in the same directory and pass control to it. Any response you receive will be coming from 1.sh. When the script ends, you will be returned back to VModem.
   * **ATE** - Command echo to host   * **ATE** - Command echo to host
     *  **ATE0** Commands are not echoed     *  **ATE0** Commands are not echoed
Line 60: Line 64:
   * **AT&​F** Restore factory settings   * **AT&​F** Restore factory settings
     * **AT&​Fn** Use profile n     * **AT&​Fn** Use profile n
 +
 +==== Other Commands Supported ====
 +  * **EXIT** Quit Virtual Modem
 +  * **HELP** Show quick reference
 +  * **LOGIN** Start a new shell session on serial
  
 ==== Faked Commands (does not perform any action, always returns OK) ==== ==== Faked Commands (does not perform any action, always returns OK) ====
Line 87: Line 96:
     * **AT&​S0** DSR will remain on at all times.     * **AT&​S0** DSR will remain on at all times.
     * **AT&​S1** DSR will become active after answer tone has been detected and inactive after the carrier has been lost     * **AT&​S1** DSR will become active after answer tone has been detected and inactive after the carrier has been lost
 +
 +----
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
Line 109: Line 120:
   * [[Guides:​List of Compatible Websites]] | List of classic websites that work with pre-2000 legacy web browsers.   * [[Guides:​List of Compatible Websites]] | List of classic websites that work with pre-2000 legacy web browsers.
   * [[Guides:​Virtual Modem:​Script|Virtual Modem Source code and Coding Examples]] | These should help you get started with building new modules for Virtual Modem.   * [[Guides:​Virtual Modem:​Script|Virtual Modem Source code and Coding Examples]] | These should help you get started with building new modules for Virtual Modem.
- 
- 
----- 
  
 ==== Skip to previous sections ==== ==== Skip to previous sections ====
guides/virtual_modem/section_5.txt · Last modified: 2023-03-07 03:58 by omolini