sms_modem
上传用户:mei_mei897
上传日期:2007-01-05
资源大小:82k
文件大小:2k
源码类别:

手机短信编程

开发平台:

Unix_Linux

  1. # --------------------------------------------------------------------
  2. # SMS Modem Configuration file
  3. # --------------------------------------------------------------------
  4. MDM_lock_dir           = /var/lock # Lock directory
  5. MDM_device        = modem # Modem Device Name
  6. #MDM_device        = term/00m # UNIXWARE
  7. # --------------------------------------------------------------------
  8. MDM_command_prefix     = AT
  9. MDM_init_command       = Z
  10. MDM_dial_command       = DT
  11. MDM_number_prefix      =  # Number to dial to get an external
  12. # line. 
  13. MDM_set_local_echo_off = E0
  14. # --------------------------------------------------------------------
  15. MDM_command_suffix     = r
  16. MDM_response_prefix    = rn
  17. MDM_response_suffix    = rn
  18. # --------------------------------------------------------------------
  19. MDM_flow_control       = Hardware # Software or Hardware
  20. # --------------------------------------------------------------------
  21. MDM_hangup_command      = H
  22. MDM_attention_command   = +++
  23. MDM_soft_hangup_retries = 0 # Number of times I should
  24. # continue sending hangup code
  25. # If 0 then don't bother
  26. # and rely on lowering DTR
  27. MDM_guard_time          = 1750000 # Microsecond delay before and
  28. # After transmitting attention command
  29. MDM_esc_time         = 125000 # Microsecond delay between each
  30. # character of the attention command
  31. # --------------------------------------------------------------------
  32. MDM_lock_action = BLOCK
  33. MDM_lock_retry_delay = 5000000 # Microsecond delay to wait before
  34. # retrying for modem lock.
  35. # --------------------------------------------------------------------