Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save karanjamutahi/205773b96f535e389d2b61b510a01ff2 to your computer and use it in GitHub Desktop.
Save karanjamutahi/205773b96f535e389d2b61b510a01ff2 to your computer and use it in GitHub Desktop.
AT+CIPRXGET=1
AT+CGATT=1
AT+SAPBR=3,1,"CONTYPE","GPRS"
AT+SAPBR=3,3,"APN", "iot.safaricom.com"
AT+SAPBR=3,3,"USER", "saf"
AT+SAPBR=3,3, "PWD", "data"
AT+CSTT="iot.safaricom.com", "saf","data"
AT+SAPBR=1,1
AT+CIICR
AT+CIFSR
AT+CIPSTART="TCP","0.tcp.ngrok.io",11994
AT+CIPRXGET=2,1
AT+CGATT=1;+SAPBR=3,1,"CONTYPE","GPRS";+SAPBR=3,3,"APN", "iot.safaricom.com";+SAPBR=3,3,"USER", "saf";+SAPBR=3,3, "PWD", "data";+CSTT="iot.safaricom.com", "saf","data";+SAPBR=1,1;+CIICR;+CIFSR;+CIPSTART="TCP","0.tcp.ngrok.io",11994;
AT+CIPSTART="TCP","0.tcp.ngrok.io",11994;+CIPSEND
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment