element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Internet of Things
  • Technologies
  • More
Internet of Things
Forum GPRS module HTTP GET/POST
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Internet of Things to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 8 replies
  • Subscribers 511 subscribers
  • Views 27897 views
  • Users 0 members are here
  • internet
  • post
  • sim800l
  • gsm
  • gprs
  • iot
  • get
  • arduino
  • module
Related

GPRS module HTTP GET/POST

Former Member
Former Member over 9 years ago

Hello Everyone,

I've been working on a LoNet mini GSM module (SIM800L), interfacing it with Arduino.

I've inserted the SIM mobile card with Internet connection available.

Through serial monitor I'm communicating with it with no problems, but when it comes to make a GET or a POST request to a webserver page it returns Network Error (601).

Here it is:

 

AT+SAPBR=3,1,"CONTYPE","GPRS"

OK

 

AT+HTTPINIT

OK

 

AT+HTTPPARA="CID",1

OK

 

AT+HTTPPARA="URL","http://<Public_Ip_Address>:8080/folder/savedata.php"

OK

 

AT+HTTPACTION=0

OK

+HTTPACTION: 0,601,0      //601: Network Error

 

AT+HTTPREAD=1,100000

OK

 

And no response of the "echo" of the php page...

Do you have any suggestion?

Thanks in advance.

Attachments:
image
image
  • Sign in to reply
  • Cancel
Parents
  • BigG
    BigG over 9 years ago

    Hello, no you are not getting anything wrong as far as I can tell. Assuming you have credit on SIM card, are using the right settings and that you have reasonable cellular signal strength etc, then what is happening is that you are waiting for the tre.it AP to assign you an IP address. As noted in my original post, this does not always happen straight away. You could wait awhile (minutes) on some occasions and other times you can get one straight away. You just keep checking every few seconds using AT+SAPBR=2,1

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • BigG
    BigG over 9 years ago

    Hello, no you are not getting anything wrong as far as I can tell. Assuming you have credit on SIM card, are using the right settings and that you have reasonable cellular signal strength etc, then what is happening is that you are waiting for the tre.it AP to assign you an IP address. As noted in my original post, this does not always happen straight away. You could wait awhile (minutes) on some occasions and other times you can get one straight away. You just keep checking every few seconds using AT+SAPBR=2,1

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • arun@819
    arun@819 over 9 years ago in reply to BigG

    HI BigG

     

    hello i am  also working in sim 800 and whenever i try to update to the http server i am facing these kind of errors mainly

     

    +HTTPACTION: 0,603,0 (Dns error)

    +HTTPACTION: 0,601,0 (network error)

    +HTTPACTION: 0,604,0 (stack Busy)

     

    i am not getting any idea how to solve it  tried whatever u were telling to  Alessandro Argentieri but i was not able to solve it is there any way to get to know what the problem is by using any other  at commands .

     

    1)how to overcome the stack busy error ?

    2)  i got network error (+HTTPACTION: 0,601,0 ) but when i call it picks my call? at that moment.

     

    please help me to sought the error

     

    Thanks in advance

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube