stanleyhuangyc / Freematics

Official source code repository for Freematics
https://freematics.com
428 stars 347 forks source link

SIM Hardware seems to fail #38

Closed GeorgesBrantley closed 7 years ago

GeorgesBrantley commented 7 years ago

We are attempting to connect to Cell Service using a Hologram chip, but keep getting errors at the following command:

Serial.println("Try AT+CPSI?\n");

It seems the SIM is behaving oddly, before even touching our APN, any help?

GeorgesBrantley commented 7 years ago

Correction, line of code is: success = netSendCommand("AT+CPSI?\r",1000,"Online");

GeorgesBrantley commented 7 years ago

Issue solved. SIM card was inserted improperly.