frejus
Called the operator, they do not allow mobile chips to be used in modems, so no GPRS, etc... Great ! Will look for some data service from another operator. Does the phone using Droidplanner also need GPRS ?
Sinamics
That`s very strange. You can surf the internet with your phone? try open connection properties on your phone. See which APN your phone are using. Yes you will need gprs / 2g / 3g /4g on your phone using droidplanner. Which operator are you using?
frejus
It is called Numericable. Yes I can surf the Internet, "illimited" We have abusive telecom companies in France, a huge racket indeed...
Sinamics
hmm have you tried sl2sfr http://assistance.numericable.fr/Parametre-terminal-mobile-APN-Numericable-pour-les-offres-Mobiles-3G.html Very sad if you need another operator to get it going..
frejus
Yes, we call it here "Data sharing" and it seems that they found a new way to make money. Hope you won't see it in your country. So let's leave it for now until I find or I can borrow some good providers... Many thanks again for your help/ Here are my results : AT V1 E1 X1 S0=0 OK AT+CREG=2 OK AT+CMEE=2 OK AT+CR=1 OK AT+CRC=1 OK AT+CSNS=4 OK AT+CSMINS=1 OK AT+CSCLK=0 OK AT+CIURC=1 OK AT+CGEREP=2 OK AT+CIPMUX=0 OK AT+CIPMODE=1 OK AT+CIPCCFG=8,25,25,0 +CME ERROR: operation not allowed AT+CMUX=0,0,4,127,10,3,30,10,2 OK AT+CSTT=\"sl2sfr\" +CME ERROR: operation not allowed AT+CIICR +CME ERROR: operation not allowed AT+CIFSR +CME ERROR: operation not allowed AT+CIPSERVER=1,1234 +CME ERROR: GPRS services not allowed AT+CIPSTART=\"UDP\",\"\",\"14550\" +CME ERROR: operation not allowed
Sinamics
Ok. You could try one more time with this line. AT+CIPCCFG=8,10,400,0 // GPRS params My operator would never do stupid things like this. hehe
frejus
Thanks for the last try, but no chance. OK, I will plan a trip to Norway and test it from there :-) This will cost way too much in France... Hopefully Norvegian girls are pretty too.... Would you have any idea of the volume of data for say one hour of pure telemetry transmission ? I know that 57600 bds = approx 26 megaoctets. Knowing the price of GPRS data in my country, i will try ti reduce that volume of information to the very lowest. A refresh rate of 1 picture per second is more than enough for me. Do you think I could reduce the transmission speed from 57600 to 19200 ? Cheers
Sinamics
Of course we have pretty girls, hehe You are welcome to visit.. You can use baudrate 9600 if you want... but for telemetry only there is`t much data to worry about. One of my telemetry logs is 8.3MB and are recorded for approx 65min.
frejus
Hello... Me again ! I purchased a data chip, and I am trying to set it up... That one worked this time : AT+CIPCCFG=8,10,400,0 Now... AT+CIPSTATUS OK STATE: IP INITIAL AT+CREG? +CREG: 2,0 OK AT+CGACT? +CGACT: 3,0 OK But I can't connect... AT+CSTT=\"websfr\" +CME ERROR: operation not allowed AT+CIICR +CME ERROR: operation not allowed AT+CIFSR +CME ERROR: operation not allowed AT+CIPSERVER=1,1234 +CME ERROR: GPRS services not allowed AT+CIPSTART=\"UDP\",\"mydns.org\",\"14550\" +CME ERROR: operation not allowed Aaaargh !
frejus
Interestingly, I have : at+cstt? +CSTT: "CMNET","","" OK
Sinamics
Hi im glad you did`t give up.. :) This is my fault... i forgot to remove the backslash when posting the AT command lines. You only need backslash when implemeting AT commands to APM software. e.g Serial2.println("AT+CSTT=\"internet.public\""); //set APN When typeing AT manually you have to remove the \. So try AT+CSTT="websfr" Sorry about that,
frejus
I am actually unemployed and I think I would find a job if I know how to make that work as I could offer better mapping services, so yes, I am insisting :-) But please do not apologize for helping me, I really appreciate *** Well, out of luck, not woking neither without the AT+CSTT="websfr" Would there be by any chance any AT command I could type followed by "?" that would mean my provider chip is activated and connected to GPRS or anything else ?
Sinamics
Im not sure if there are any other AT commands to use for info.. look for Sim900 manual. But if your chip has open the GPRS, you should get OK with this command AT+CIFSR This will get the internet IP adress. Are you sure that APN websfr is correct? You are close, only last puzzle to go..
frejus
AT+CIFSR +CME ERROR: operation not allowed Those incompetent French must have not even activated my chip... I will check with them. I am doing this : AT+CSTT? +CSTT: "CMNET","","" So it looks like that CMNET was pre-entered (must be CMCC China), and it should read my provider APN instead, right ?
Sinamics
Posted By: frejus AT+CIFSR +CME ERROR: operation not allowed Those incompetent French must have not even activated my chip... I will check with them. I am doing this : AT+CSTT? +CSTT: "CMNET","","" So it looks like that CMNET was pre-entered (must be CMCC China), and it should read my provider APN instead, right ? lol.. Yes i think the CMNET are preconfigured, and it should read your cell operator APN. Keep in mind that normally they have several APN available. One for cell phones, one for mobile broadband, etc. You probably need the one for Broadband.
frejus
OK, called the provider, chip is activated, and provider confirmed that GPRS / GSM is allowed, and confirmed APM : websfr I re-typed everything, here we go... :-) RDY +CSMINS: 1,1 +CREG: 2 +CREG: 0 +CFUN: 1 +CPIN: SIM PIN AT+CPIN="1130" OK AT+CSTT="websfr" +CME ERROR: GPRS services not allowed AT V1 E1 X1 S0=0 OK AT+CREG=2 OK AT+CMEE=2 OK AT+CR=1 OK AT+CRC=1 OK AT+CSNS=4 OK AT+CSMINS=1 OK AT+CSCLK=0 OK AT+CIURC=1 OK AT+CGEREP=2 OK AT+CIPMUX=0 OK AT+CIPMODE=1 OK AT+CIPCCFG=8,15,15,0 +CME ERROR: operation not allowed AT+CIPCCFG=8,10,400,0 OK AT+CMUX=0,0,4,127,10,3,30,10,2 OK AT+CSTT="websfr" +CME ERROR: GPRS services not allowed AT+CIICR +CME ERROR: operation not allowed AT+CIFSR +CME ERROR: operation not allowed AT+CIPSERVER=1,1234 +CME ERROR: GPRS services not allowed AT+CIPSTART="UDP","mydns","14550" +CME ERROR: GPRS services not allowed Do you think I could try with TCP i.o. UDP ? Cheers
Sinamics
what if you try AT+CSTT="websfr","","" you need to get OK from this one. It wont work without it.
frejus
Thank you. When I type AT+CGATT?, I have value 0, meaning no GPRS right ? If I type AT+CGATT= 1 then it says ERROR Do you know by any chance about " automatic network registration mode" ? Is this something to set up in the SIM900 ? Do you think you could give me the TCP way of connecting i.o. UDP please ?
Sinamics
If i remeber correct, AT +CGATT should reply 1. i do not not know about the automatic network mode. For TCP, you need to replace the bottm lines with this, I only tested this a few times, as i prefer UDP. so i dont have the complete code. But this should work. AT+CGATT? //attached to GPRS ? AT+IPR=57600 AT+IFC=2,2 //"it's better to use hardware flow control" AT+CIPMODE=1 //Enable transparent mode AT+CSTT="internet" //set APN AT+CIICR //open GPRS AT+CIFSR // Get local IP address AT+CIPSERVER=1,1234//Start the TCP server, listening port:1234 I can imagine you are scrathing your head about this... Really annoying​. I still think you have a APN issue. If you call you operator and ask for APN name for mobile broadband, and not cell phone APN. Just a thought.
frejus
Man... Digging into Arduino forums, I found out that Europe Telecoms have something unique, and those SIM900a have to be flashed... So now results are waaaaaay better, except the last line. Getting there ! Thx to you ! About the last line, I have opened UDP PORT 14550 in both windows firewall and wi-fi box but still giving that error msg. What do you think ? Thx :-) AT OK AT V1 E1 X1 S0=0 OK AT+CREG=2 OK AT+CMEE=2 OK AT+CR=1 OK AT+CRC=1 OK AT+CSNS=4 OK AT+CSMINS=1 OK AT+CSCLK=0 OK AT+CIURC=1 OK AT+CPIN="1130" OK +CREG: 2 +CREG: 1,"60E2","E62B" AT+CGEREP=2 OK AT+CIPMUX=0 OK AT+CIPMODE=1 OK AT+CIPCCFG=8,10,400,0 OK AT+CMUX=0,0,4,127,10,3,30,10,2 OK AT+CSTT="websfr" OK AT+CIICR OK AT+CIFSR 100.97.67.7 AT+CIPSERVER=1,1234 OK SERVER OK AT+CIPSTART="UDP","mydns.com","14550" +CME ERROR: operation not allowed