ArduinoGeneral

Sim7000E "Fail to Attach service"

userHead Boulbes Franck 2019-07-03 01:23:10 4933 Views19 Replies
HI,

I've been successfully using sim800 with a sim card from keepgo in Canada. At first I've ordered sim7000C then I've been advised by DFRobot to use the sim7000E instead. I've received the new 7000E but can't make it work.
First question I don't see where I can put my apn settings in example codes provided with DFrobot library https://github.com/DFRobot/DFRobot_SIM7 ... 0_http.ino

Working well on DFrobot sim800, I've tried the tinygsm lib with the sim7000E https://github.com/vshymanskyy/TinyGSM/ ... Client.ino
I get stuck at "fail attaching service"

Even using http example, I get this from serial monitor
"Turn ON SIM7000......
Turn ON !
Set baud rate......
Set baud rate:19200
Check SIM card......
SIM card READY
Set net mode......
Set GPRS mode
Get signal quality......
signalStrength =10
Attaching service......
Fail to Attach service
Fail to Attach service"

Yet the net led is flashing every 3 secondes and as I get a signal strengh, it seems a network is available...
What's really weird is I get this from serial, only by mistaking rx(8) tx(7) pins. If I put correct values :
#define PIN_TX 8
#define PIN_RX 7
Then I get stuck at "Turn ON SIM7000......"!
Thanks for your help.

Best,

Franck
2020-07-27 09:51:26 I have the http sketch working perfectly. If netmode is set to GPRS it will only work once until you switch to NB-IOT and then back to GPRS. If it doesn't effect you, like me, just leave it in NB-IOT. userHeadPic kasem.b
2020-07-27 09:51:26 I have the http sketch working perfectly. If netmode is set to GPRS it will only work once until you switch to NB-IOT and then back to GPRS. If it doesn't effect you, like me, just leave it in NB-IOT. userHeadPic kasem.b
2020-07-27 09:13:15 I replaced two times cmnet with telstra.internet
Then changed the sketch from attacthService to attachService and did the same in all the files in the library.
It then worked perfectly, ONCE. Now im back to failing to attach service. any ideas? when the sketch worked perfectly I reopened the serial window to double check, and it stopped working again
userHeadPic kasem.b
2020-07-27 09:13:15 I replaced two times cmnet with telstra.internet
Then changed the sketch from attacthService to attachService and did the same in all the files in the library.
It then worked perfectly, ONCE. Now im back to failing to attach service. any ideas? when the sketch worked perfectly I reopened the serial window to double check, and it stopped working again
userHeadPic kasem.b
2020-07-27 04:46:14 wala.lukasz seems to be correct. Anyone know what this needs to be changed to for telstra in Australia?
Both "internet" and "Telstra.internet" don't work

Using AT Command Tester, I Can ping google no worries. This would confirm it is definitely a library issue
userHeadPic kasem.b
2020-07-27 04:46:14 wala.lukasz seems to be correct. Anyone know what this needs to be changed to for telstra in Australia?
Both "internet" and "Telstra.internet" don't work

Using AT Command Tester, I Can ping google no worries. This would confirm it is definitely a library issue
userHeadPic kasem.b
2020-07-26 17:48:28 I have found a solution for this issue. The problem is in the library - in file "DFRobot_SIM7000.cpp" it stands:
Code: Select all
if(check_send_cmd("AT+CSTT=\"cmnet\"\r\n","OK")){
            delay(100);
        }else{
            return false;
        }
You have to change "cmnet" to proper APN data, provided by your SIM card provider, because "cmnet" is for China.
In my case, in Poland for Orange network, I needed to change to "internet" and now it works perfectly.
Good luck!
userHeadPic slavmail80
2020-07-26 17:48:28 I have found a solution for this issue. The problem is in the library - in file "DFRobot_SIM7000.cpp" it stands:
Code: Select all
if(check_send_cmd("AT+CSTT=\"cmnet\"\r\n","OK")){
            delay(100);
        }else{
            return false;
        }
You have to change "cmnet" to proper APN data, provided by your SIM card provider, because "cmnet" is for China.
In my case, in Poland for Orange network, I needed to change to "internet" and now it works perfectly.
Good luck!
userHeadPic slavmail80
2020-07-23 22:31:42 Hello.I´m using the europe version and charging the shield with a 12V 1.5A
I have also a similiar problem with the attach function,the net light is blinking and the signal strength is working. Using the at command "AT+COPS" it cant detect the network of the sim. But the sample code always fail when it uses the function sim7000.attacthService().
Can anyone help?
userHeadPic steam
2020-07-23 22:31:42 Hello.I´m using the europe version and charging the shield with a 12V 1.5A
I have also a similiar problem with the attach function,the net light is blinking and the signal strength is working. Using the at command "AT+COPS" it cant detect the network of the sim. But the sample code always fail when it uses the function sim7000.attacthService().
Can anyone help?
userHeadPic steam
2020-02-03 10:40:22 Hello,
I have been using the same way as you have informed but still the service fails to attach.
even the net light is blinking and the signal strength is indicated to be 14.
What I might have been doing wrong.
Please guide me in this repect.

Regards
userHeadPic ssz_shah50
2020-02-03 10:40:22 Hello,
I have been using the same way as you have informed but still the service fails to attach.
even the net light is blinking and the signal strength is indicated to be 14.
What I might have been doing wrong.
Please guide me in this repect.

Regards
userHeadPic ssz_shah50
2019-07-03 01:23:10 HI,

I've been successfully using sim800 with a sim card from keepgo in Canada. At first I've ordered sim7000C then I've been advised by DFRobot to use the sim7000E instead. I've received the new 7000E but can't make it work.
First question I don't see where I can put my apn settings in example codes provided with DFrobot library https://github.com/DFRobot/DFRobot_SIM7 ... 0_http.ino

Working well on DFrobot sim800, I've tried the tinygsm lib with the sim7000E https://github.com/vshymanskyy/TinyGSM/ ... Client.ino
I get stuck at "fail attaching service"

Even using http example, I get this from serial monitor
"Turn ON SIM7000......
Turn ON !
Set baud rate......
Set baud rate:19200
Check SIM card......
SIM card READY
Set net mode......
Set GPRS mode
Get signal quality......
signalStrength =10
Attaching service......
Fail to Attach service
Fail to Attach service"

Yet the net led is flashing every 3 secondes and as I get a signal strengh, it seems a network is available...
What's really weird is I get this from serial, only by mistaking rx(8) tx(7) pins. If I put correct values :
#define PIN_TX 8
#define PIN_RX 7
Then I get stuck at "Turn ON SIM7000......"!
Thanks for your help.

Best,

Franck
userHeadPic Boulbes Franck