Skip to content

Commit

Permalink
Merge pull request #9 from telit/feature/wait_urcs
Browse files Browse the repository at this point in the history
add the possibility to wait for urcs for a certain timeout
  • Loading branch information
fabiopi-tlt authored Jul 29, 2021
2 parents 95c6282 + 67ab577 commit d46984a
Show file tree
Hide file tree
Showing 4 changed files with 224 additions and 138 deletions.
2 changes: 1 addition & 1 deletion examples/FTP_example/FTP_example.ino
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void setup() {

Serial.println("AT Command");
myME310.report_mobile_equipment_error(2); //issue command AT+CMEE=2 and wait for answer or timeout
rc = myME310.read_enter_pin(); //issue command AT+pin? in read mode, check that the SIM is inserted and the module is not waiting for the PIN
rc = myME310.read_enter_pin(); //issue command AT+cpin? in read mode, check that the SIM is inserted and the module is not waiting for the PIN
if(strcmp(myME310.buffer_cstr(2), "OK") == 0) // read response in 2 array position
{
Serial.println("Define PDP Context");
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=ME310G1
version=2.1.0
version=2.2.0
author=Telit
maintainer=Telit <[email protected]>
sentence=Allows communication with ME310G1 Telit module.
Expand Down
Loading

0 comments on commit d46984a

Please sign in to comment.