MKRNB - checkReg()

Description

Check if modem was registered in GPRS network

Syntax

pin.checkReg()

Parameters

none

Returns

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