»
Symbian OS v6.1 Edition for C++ »
API Reference »
CommDb »
Modems table
Location:
cdbcols.h
Link against:
Modems table
Support
Supported from 6.0
Description
The following macros define values for the Modems table fields.
Note that there can be only a single record in this table.
The description is followed by the field type, and whether the specified field
may be left null or not.
MODEM_PORT_NAME
Description
Comm port name.
Type: Text. Null: yes
MODEM_TSY_NAME
Description
TSY name.
Type: Text. Null: yes
MODEM_CSY_NAME
Description
CSY name.
Type: Text. Null: yes
MODEM_DATA_BITS
Description
Data bits (TDataBits
value).
Type: TUint8
. Null: no
See also:
MODEM_STOP_BITS
Description
Stop bits.
This is a TStopBits
value.
Type: TUint8
. Null: no
MODEM_PARITY
Description
Parity.
This is a TParity
value.
Type: TUint8
. Null: no
See also:
MODEM_RATE
Description
Baud rate.
This is a TBps
value.
Type: TUint32
. Null: no
See also:
MODEM_HANDSHAKING
Description
Handshaking.
Type: TUint32
. Null: yes
MODEM_SPECIAL_RATE
Description
Special rate.
Type: TUint32
. Null: yes
MODEM_XOFF_CHAR
Description
Xoff Character.
Type: TUint8
. Null: yes
MODEM_XON_CHAR
Description
Xon character.
Type: TUint8
. Null: yes
MODEM_FAX_CLASS_PREF
Description
Preferred fax class.
This is a TFaxClass
value.
Type: TUint8
. Null: no
MODEM_SPEAKER_PREF
Description
Preferred speaker
mode.
This is a TCommsDbModemSpeakerSetting
value.
Type: TUint8
. Null: no
See also:
MODEM_SPEAKER_VOL_PREF
Description
Preferred speaker
volume.
This is a TCommsDbModemSpeakerVolume
value.
Type: TUint8
. Null: no
MODEM_MODEM_INIT_STRING
Description
General modem initialisation string
Type: 8-Bit Text. Null: yes
MODEM_DATA_INIT_STRING
Description
Data initialisation string
Type: 8-Bit Text. Null: yes
MODEM_FAX_INIT_STRING
Description
Fax initialisation string.
Type: 8-Bit Text. Null: yes
MODEM_ISP_INIT_STRING
Description
ISP Initialisation string. This field is written from
theISP_INIT_STRING
.
Type: 8-Bit Text. Null: yes
See also:
MODEM_DIAL_PAUSE_LENGTH
Description
Command to modify the pause created during dialling using the comma
character (‘,’)
Type: 8-Bit Text. Null: yes
MODEM_CARRIER_TIMEOUT
Description
Command to set the time out the modem uses when establishing a link
before giving up and returning to command mode.
Type: 8-Bit Text. Null: yes
MODEM_AUTO_ANSWER_RING_COUNT
MODEM_AUTO_ANSWER_RING_COUNT
Description
Command to set the number of rings before the modem auto answers.
Type: 8-Bit Text. Null: yes
MODEM_SPEAKER_ALWAYS_OFF
Description
Command to set the modem speaker off.
Type: 8-Bit Text. Null: yes
MODEM_SPEAKER_ALWAYS_ON
Description
Command to set the modem speaker on
Type: 8-Bit Text. Null: yes
MODEM_SPEAKER_ON_AFTER_DIAL_UNTIL_CARRIER
MODEM_SPEAKER_ON_AFTER_DIAL_UNTIL_CARRIER
Description
Command to set the modem speaker on except during dialling.
Type: 8-Bit Text. Null: yes
MODEM_SPEAKER_ON_UNTIL_CARRIER
MODEM_SPEAKER_ON_UNTIL_CARRIER
Description
Command to set the modem speaker on until the carrier.
Type: 8-Bit Text. Null: yes
MODEM_SPEAKER_VOL_CONTROL_HIGH
MODEM_SPEAKER_VOL_CONTROL_HIGH
Description
Command to set the modem speaker volume to high.
Type: 8-Bit Text. Null: yes
MODEM_SPEAKER_VOL_CONTROL_LOW
MODEM_SPEAKER_VOL_CONTROL_LOW
Description
Command to set the modem speaker volume to low.
Type: 8-Bit Text. Null: yes
MODEM_SPEAKER_VOL_CONTROL_MEDIUM
MODEM_SPEAKER_VOL_CONTROL_MEDIUM
Description
Command to set the modem speaker volume to medium.
Type: 8-Bit Text. Null: yes
MODEM_DIAL_TONE_WAIT_MODIFIER
MODEM_DIAL_TONE_WAIT_MODIFIER
Description
The dial command modifier to wait for dial tone.
Type: 8-Bit Text. Null: yes
MODEM_CALL_PROGRESS_1
Description
Disable busy and dial tone detection.
Type: 8-Bit Text. Null: yes
MODEM_CALL_PROGRESS_2
Description
Dial tone detection enabled, busy detection disabled.
Type: 8-Bit Text. Null: yes
MODEM_CALL_PROGRESS_3
Description
Dial tone detection disabled, busy detection enabled.
Type: 8-Bit Text. Null: yes
MODEM_CALL_PROGRESS_4
Description
Dial tone and busy detection enabled.
Type: 8-Bit Text. Null: yes
MODEM_ECHO_OFF
Description
Switch echo mode off.
Type: 8-Bit Text. Null: yes
MODEM_VERBOSE_TEXT
Description
Switch verbose mode on.
Type: 8-Bit Text. Null: yes
MODEM_QUIET_OFF
Description
Switch quiet mode off.
Type: 8-Bit Text. Null: yes
MODEM_QUIET_ON
Description
Switch quiet mode on.
Type: 8-Bit Text. Null: yes
MODEM_DIAL_COMMAND_STATE_MODIFIER
MODEM_DIAL_COMMAND_STATE_MODIFIER
Description
Dial command modifier to return to command mode after dialling.
Type: 8-Bit Text. Null: yes
MODEM_ON_LINE
Description
Enter on-line mode from on-line command mode.
Type: 8-Bit Text. Null: yes
MODEM_RESET_CONFIGURATION
MODEM_RESET_CONFIGURATION
Description
Reset the modem configuration.
Type: 8-Bit Text. Null: yes
MODEM_RETURN_TO_FACTORY_DEFS
MODEM_RETURN_TO_FACTORY_DEFS
Description
Return the modem configuration to its factory defaults.
Type: 8-Bit Text. Null: yes
MODEM_DCD_ON_DURING_LINK
Description
Command the modem to only assert DCD when a carrier is actually detected,
i.e. while the link is up.
Type: 8-Bit Text. Null: yes
MODEM_DTR_HANG_UP
Description
Command the modem to hang up the current call when the DTE drops the DTR
line.
Type: 8-Bit Text. Null: yes
MODEM_DSR_ALWAYS_ON
Description
Command the modem to always assert DSR.
Type: 8-Bit Text. Null: yes
MODEM_RTS_CTS_HANDSHAKE
Description
Command the modem to use RTS/CTS flow control.
Type: 8-Bit Text. Null: yes
MODEM_XON_XOFF_HANDSHAKE
Description
Command the modem to use software flow control.
Type: 8-Bit Text. Null: yes
MODEM_ESCAPE_CHARACTER
Description
The character used by the DTE to return to command mode from on-line
mode.
Type: 8-Bit Text. Null: yes
MODEM_ESCAPE_GUARD_PERIOD
MODEM_ESCAPE_GUARD_PERIOD
Description
Command the modem to use a particular escape sequence guard
period.
Type: 8-Bit Text. Null: yes
MODEM_FAX_CLASS_INTERROGATE
MODEM_FAX_CLASS_INTERROGATE
Description
Ask the modem which fax modes are supported.
Type: 8-Bit Text. Null: yes
MODEM_FAX_CLASS
Description
Set the fax mode.
Type: 8-Bit Text. Null: yes
MODEM_NO_ANSWER
Description
Modem response when no answer is detected.
Type: 8-Bit Text. Null: yes
MODEM_NO_DIAL_TONE
Description
Modem response when no dial tone is detected.
Type: 8-Bit Text. Null: yes
MODEM_BUSY
Description
Modem response when a busy tone is detected.
Type: 8-Bit Text. Null: yes
MODEM_CARRIER
Description
Carrier report message.
Type: 8-Bit Text. Null: yes
MODEM_CONNECT
Description
Connection report message.
Type: 8-Bit Text. Null: yes
MODEM_COMPRESSION_CLASS_5
MODEM_COMPRESSION_CLASS_5
Description
Compression Class 5 report message.
Type: 8-Bit Text. Null: yes
MODEM_COMPRESSION_NONE
Description
No compression report message.
Type: 8-Bit Text. Null: yes
MODEM_COMPRESSION_V42BIS
Description
Compression V.42 bis report message.
Type: 8-Bit Text. Null: yes
MODEM_PROTOCOL_ALT
Description
ALT protocol report message.
Type: 8-Bit Text. Null: yes
MODEM_PROTOCOL_ALTCELLULAR
MODEM_PROTOCOL_ALTCELLULAR
Description
ALT-CELLULAR report message.
Type: 8-Bit Text. Null: yes
MODEM_PROTOCOL_LAPD
Description
LAPD protocol report message.
Type: 8-Bit Text. Null: yes
MODEM_PROTOCOL_NONE
Description
No protocol report message.
Type: 8-Bit Text. Null: yes
MODEM_MESSAGE_CENTRE_NUMBER
MODEM_MESSAGE_CENTRE_NUMBER
Description
Phone number of messsage centre.
Type: TUint16
. Null: yes
MODEM_MESSAGE_DELIVERY_REPORT
MODEM_MESSAGE_DELIVERY_REPORT
Description
Whether to produce an SMS deilvery report.
Type: TBool
. Null: yes
MODEM_MESSAGE_VALIDITY_PERIOD
MODEM_MESSAGE_VALIDITY_PERIOD
Description
Validity period for SMS in minutes.
Type: TUint32
. Null: yes