FelixLinSY / am7020_arduino

AM7020 (SIM7020) NBIoT module example code for Arduino
MIT License
22 stars 11 forks source link

Problem with NBIoT in HTTP #2

Closed italobbarros closed 2 years ago

italobbarros commented 2 years ago

Hi, I have a problem with am7020 http.ino. This code hangs in the "while(!modem.waitForNetwork())", what am I doing wrong?

FelixLinSY commented 2 years ago

Hi, I have a problem with am7020 http.ino. This code hangs in the "while(!modem.waitForNetwork())", what am I doing wrong?

Hi @italobbarros, Could you please check your NBIoT SIM card is valid or not. and the mobile network is accessible. In that state the MCU is trying to connect NBIoT network by using the specific APN and BAND parameters. also make confirmation the dependent libraries is installed correctly.

Hope those tips would be helpful.

italobbarros commented 2 years ago

Hi, thanks for reply. it worked!