steptail.com

If I try to fail, but succeed, which one did I do?

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:37]
omolini [Skip to previous sections]
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 =====+----
  
-Hayes commands supported:+===== Supported Commands =====
  
 +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 =====
guides/virtual_modem/section_5.txt · Last modified: 2023-03-07 03:58 by omolini