IBM RS6000 Service Guide - Page 335
send AT&F²Q²T\r
View all IBM RS6000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 335 highlights
expect "16\r" or "15\r" or "14\r" or "12\r" or "1 \r" or "5\r" or "1\r" busy "7\r" timeout 6 done retry: send "A/" # Repeat the previous command. # Expect a connection response. expect "16\r" or "15\r" or "14\r" or "12\r" or "1 \r" or "5\r" or "1\r" busy "7\r" timeout 6 done disconnect: delay 2 send "+++" delay 2 send "ATH T\r" ignore " \r" or "OK\r" timeout 2 send "ATE Q1\r" ignore " \r" timeout 1 done # Separate from previous data. # Assure command mode. # Allow mode switching delay. # Set modem switch-hook down # (i.e., hang up). # Ignore modem response. # Initialize modem: Echo OFF, # Disable responses. condin: send "AT&F Q T\r" ignore " \r" or "OK\r\n" timeout 2 send "ATE T\r" expect " \r" or "OK\r\n" timeout 2 send "ATQ V X T\r" expect " \r" timeout 2 send "ATS =2\r" expect " \r" timeout 2 send "AT&C1&D2&R1\r" expect " \r" timeout 2 done # Reset modem. Select profile # Ignore modem response. # Initialize modem: Echo OFF, # Enable responses (Numeric), # Limit response codes. # Confirm commands successful. # Set AutoAnswer ON # Confirm command successful. # Detect carrier and DTR, # Ignore RTS. # Confirm command successful. waitcall: ignore "2\r" timeout 1 # Ignore first ring. expect "2\r" timeout 1 # Pick up second ring # or timeout. # Expect a connection response. expect "16\r" or "15\r" or "14\r" or "12\r" or "1 \r" or "5\r" or "1\r" timeout 6 done page: send "ATDT%N,,,,%R;\r" # %N = pager call center number # Add enough commas to wait for # time to enter paging number. # %R = paging number expect " \r" timeout 6 delay 2 send "ATH T\r" expect " \r" timeout 2 done # Confirm successful command. # Wait before hanging up. # Hang up. # Confirm successful command. ripo: send "AT&F Q T\r" ignore " \r" or "OK\r\n" timeout 2 send "ATE T\r" expect " \r" or "OK\r\n" timeout 2 send "ATQ V X T\r" expect " \r" timeout 2 send "ATS = \r" expect " \r" timeout 2 send "AT&C1&D2&R1\r" expect " \r" timeout 2 # Reset modem. Select profile # Ignore modem response. # Initialize modem: Echo OFF, # Enable responses (Numeric), # Limit response codes. # Confirm commands successful. # Set AutoAnswer OFF # Confirm command successful. # Detect carrier and DTR, # Ignore RTS. # Confirm command successful. Appendix D. Modem Configurations D-17