LINESendAT

Purpose

This function sends a raw text string directly to the attached modem. Useful for enabling special features of the modem.

Parameters

Parameter: Line
Type: Integer
Description: The phone line to access.

Parameter: Command
Type: String
Description: The command string to send to the modem. The string should be terminated with a carriage-return/linefeed pair (see the example below).

Returns

Return value: Response
Type: String
Description: The response from the modem. Normally this is "OK" or "ERROR".

Examples

The example below includes a carriage return and linefeed.

dim r

r = hsp.LINESendAT(1,"AT" & VBCRLF)