MKRGSM - pin.checkReg()

Description

Check if modem was registered in GSM/GPRS network

Syntax


pin.checkReg()


Parameters

Returns

int : 0 if modem was registered, 1 if modem was registered in roaming, -1 if error exists