link

Usage

>> link [ type ]

Security

Open.

Description

Returns the name of the communications link over which the command was received, allowing the host to determine

whether a genuine serial link is in use, or the CDC serial profile of a USB connection, or Wi-Fi connection.

It reports a single parameter:

  • type, is the communication link in use, either: usb, serial and Wi-Fi.

Examples

>> link
<< link type = usb
>> link
<< link type = serial
>> link
<< link type = wifi

Errors

None.