Hello, several amonths ago I bought the GPRS Shiel SIM900 from geeetech is this http://www.geeetech.com/wiki/index.php/ ... PRS_Shield
I tried the connection with this program "For gprs networking test.rar" and works well, now i decide to use your example to send data to cosm, using the pachube and here is the result of monitor.
AT+CGATT?
+CGATT: 1
OK
AT+CSTT="internet.ideasclaro"
+CME ERROR: 3
AT+CIICR
+CME ERROR: 3
AT+CIFSR
10.66.76.32
AT+CIPSPRT=0
OK
AT+CIPSTART="tcp","104.218.50.146","80"
OK
AT+CIPSEND
+CME ERROR: 3
CONNECT OK
{"method": "put","resource": "/feeds/42742/","params": {},"headers": {"X-PachubeApiKey": "_cXwr5LE8qW4a296O-cDwOUvfddFer5pGmaRigPsiO0jEB9OjK-W6vej56j9ItaSlIac-hgbQjxExuveD95yc8BttXcZ7_seZqLVjeCOmNbEXUva45t6FL8AxOcuNSsQS"},"body": {"version": "1.0.0","datastreams": [{"id": "01","current_value": "60.56"},
ERROR
{"id": "02","current_value": "1031"},
{"id": "03","current_value": "1242"},
{"id": "04","current_value": "30"}]},"token": "lee"}
AT+CIPCLOSE
CLOSE OK
AT+CGATT?
+CGATT: 1
OK
AT+CSTT="internet.ideasclaro"
+CME ERROR: 3
AT+CIICR
+CME ERROR: 3
AT+CIFSR
10.66.76.32
AT+CIPSPRT=0
OK
AT+CIPSTART="tcp","104.218.50.146","80"
OK
CONNECT OK
AT+CIPSEND
{"method": "put","resource": "/feeds/42742/","params": {},"headers": {"X-PachubeApiKey": "_cXwr5LE8qW4a296O-cDwOUvfddFer5pGmaRigPsiO0jEB9OjK-W6vej56j9ItaSlIac-hgbQjxExuveD95yc8BttXcZ7_seZqLVjeCOmNbEXUva45t6FL8AxOcuNSsQS"},"body": {"version": "1.0.0","datastreams": [{"id": "01","current_value": "60.56"},
{"id": "02","current_value": "1031"},
{"id": "03","current_value": "1242"},
{"id": "04","current_value": "30"}]},"token": "lee"}
SEND OK
AT+CIPCLOSE
CLOSE OK
As you can see I sent the data twice, the first one show me a "CME+ERROR 3" marked with red and the second no problem at all!!!!...
I'm getting crazy with that, why with the first time gave a problem and the second no problem, with the same source code. could you help me?!
Send data with gprs shiel
Jump to
- Update Announcement/Product Release
- Firmware
- 3D Printer
- ↳ Thunder
- ↳ Mizar Pro
- ↳ Mizar S
- ↳ Mizar
- ↳ Geeetech I3/DIY Printer Series
- ↳ FAQ-Geeetech I3/DIY Printer series
- ↳ Geeetech I3 Pro B
- ↳ Geeetech I3 Pro W
- ↳ Geeetech I3 Pro X
- ↳ Geeetech I3 Aluminum
- ↳ Geeetech I3 Aluminum Pro
- ↳ Geeetech I3 Duplicator 5
- ↳ Geeetech I3 Pro C
- ↳ Geeetech I3 M201
- ↳ Geeetech A10 Series
- ↳ A10T
- ↳ Geeetech A20 Series
- ↳ Geeetech A20
- ↳ Geeetech A20M
- ↳ A20T
- ↳ Geeetech A30 Series
- ↳ A30M
- ↳ A30 PRO
- ↳ Geeetech E180 Mini
- ↳ Geeetech MeCreator2
- ↳ GiantArm D200
- ↳ Geeetech Delta Series
- ↳ Geeetech DP200 Series
- 3D Printing Software
- ↳ Configuration Profiles Sharing
- ↳ Software
- ↳ Wifi Box
- ↳ Bug report
- ↳ Download
- Hardware
- ↳ 3D Printer Hardware
- ↳ Stepper Motor
- ↳ Control Board
- ↳ Extruder
- ↳ Hot bed
- ↳ LCD Panel
- ↳ Power Supply Unit
- ↳ Assembly
- ↳ Others
- ↳ Video about cleaning and replacing nozzles
- Print Quality
- Resoures Sharing
- Feedback&Suggestion
- Project Talent Show
- Other Discussion
- ↳ Leveling Guide
- ↳ Open Hardware
- ↳ Mods And Hacks
- ↳ Products FAQ
- ↳ Tips & Tricks
- ↳ Discuss & Help
- ↳ Windows
- ↳ MAC