MKRGSM - modem.begin()

Description

Checks the modem status, and restarts it. Call this before GSMModem.getIMEI().

Syntax


modem.begin()


Parameters

none

Returns

int : returns 1 if modem is OK, otherwise returns an error.