This command gets Carrier Detect (DCD) from the AT command interface.
It has no input parameter.
The return value is a Python integer which is either 0 if DCD is OFF or 1 if DCD is ON.
Example:
cd = MDM.getDCD()
gets DCD from AT command handling, assigning the return value to cd.