![]() |
![]() |
EETransfer Off-line documentationBack to summary |
||
![]() |
||||
Updated 97/06/24 |
ConnectModem
Launch a modem connection, then pause as soon as the Newton is connected. When its execution is resumed, it disconnects. * endpoint type: Newton endpoint This slot is returned by the instruction. Its initial value is ignored * errorControl type: integer default value: kModemECProtocolNone + kModemECProtocolExternal The possible values for the slot are listed below. Note that these values can be combined together to specify multiple error control types. Constant Value Description kModemECProtocolNone 0x00000001 No error control. kModemECProtocolMNP 0x00000002 Use internal MNP class 4. kModemECProtocolExternal 0x00000008 Use modem's built-in error control. kModemECInternalOnly 0x00000010 Connect with internal error control only; overrides other settings. What happens when a reliable connection cannot be established depends on which error control types you specify. If you include kModemECProtocolNone in your specification, then the modem tool "falls back" to a connection with no error control. If you do not include kModemECProtocolNone in your specification and a reliable connection cannot be established, the connection fails. If you specify kModemECInternalOnly, the Newton's internal error control is used. This setting takes precedence over the other error control types. * listen type: boolean default value: nil * listenTimeout type: integer default value: kNoTimeout (0) An integer specifying the time, in milliseconds, that the system should allow for the Newton to listen. If you use this slot, specify an integer greater than 30. * phoneNumber type: string or nil default value: nil * transport type: frame default value: nil The transport must always be EETransfer. Note: Before the script executes itself, the global variable "transport" is automatically set to EETransfer. So if you don't use a slot "globalSymbols" you don't have to (and you should not) provide a slot "transport". Otherwise, the "globalSymbols" slot must contain a slot: transport: 'transport, |
|||
![]() |
||||
![]() |
||||
©1997 Easter-eggs All trademarks mentioned are the property of their respective owners |