The PComm Constructor.
|pcrDev ||name of device to be opened (char string) |
|baudRate ||speed of device to be opened |
|name ||internal object name (for your use)|
This is the easiest way to open the serial device for communications with the radio. If the serial device cannot be opened for processing the object will abort with a -1 status code to the operating system.
You must send it at least the device name which is to be opened as the first argument. Optionally, you can send it an initial baudrate and an internal object name.
Definition at line 29 of file pcomm.cpp.
References callCount, int_name, PCOpen(), pcrDevice, and pcrSpeed.