MKR NB 1500 connects to the network but TestGPRS and NBWebClient fail

Hi, I have a MKR NB 1500 with a Verizon SIM. I'm trying various sketches from the Examples in the MKRNB library. The Verizon representative says my SIM has no "PIN" but insists that I should specify the APN somewhere, while this page: MKRNB - Arduino Reference says that there is no need to specipy an APN.

These are the results of the variuos sketches I've tested:

TestModem works fine,

NBScanNetworks successfully connects to Verizon with signal strength 13 [0-31]

TestGPRS fails:

Connecting NB IoT / LTE Cat M1 network...OK
Attaching to GPRS...
OK
If your carrier uses a proxy, enter it, if not press enter:
Connecting and sending GET request to example.org...ERROR
Receiving response...
disconnecting.

NBWebClient fails:

Starting Arduino web client.
connecting...
connection failed

disconnecting.

Any help is greatly appreciated!

Thanks!

Jerry

I solved the problem. Verizon indeed requires the APN so the page: MKRNB - Arduino Reference gives wrong information.

The key was adding the APN as another argument after the PINNUMBER in the nbAccess.begin statement such as:

if ((nbAccess.begin(PINNUMBER,"we01.vzwstatic") == NB_READY) &&

I hops this is helpful to somebody.

Jerry

Dear Gerardo,

In behalf of Arduino Support Team we would like to thank you for your time and effort reporting this issue.

Yes, there was a mistake in the documentation and in the sketch which have been reported.

The configurations on the board are set by default in that was as some carriers do not require APN details to connect to and the modem manages this automatically. We are very sorry for the inconvenience.

Thank you very much again!

Kind Regards!