Syntax
void ComClose(
int port
);
Parameters
- port
-
[in] Specifies which communications port is to be closed.
See the table below for details.Value Description COM3 Bluetooth SPP (Master) COM4 Bluetooth HID (Slave) COM5 Bluetooth SPP (Slave) COM9 USB VCP COM10 USB HID
Return value
None
Remarks
Never leave a communication port open longer then necessary, since it increases power consumption.
Requirements
Header file:
lib.hLibrary file:
libSTARTUPOPH5000.a
Last updated: 2020/10/07