ComPower
This function allows the application to "manually" turn the communications port power on or off. Note that if the AC adapter is connected to the handset, the power off request will have no effect.
- Syntax: err_t far ComPower(int PowerFlag)
- Parameters: int PowerFlag - COM_PORT_ON or COM_PORT_OFF
Note that if PowerFlag is not COM_PORT_OFF
we assume COM_PORT_ON.
- Returns: 0 - if successful
Any other value indicates an error condition.