Closed qrkot closed 1 year ago
Hi, IMEI should not be 000000000000000. can you flash original firmware and see if IMEI is restored?
Thanks! Well, it definitely had an IMEI with its original FW. This board is quite long abandoned, tools, urls, downloads are mostly dead now. Restoring may be a problem. But I will try and report back.
Yes I understand, we compiled and added latest newlib support to toolchain, however toolchain is still old. c++ also works with older standard.
You can get original core from AI thinker account (https://github.com/Ai-Thinker-Open/GPRS_C_SDK/blob/master/platform/csdk/release/SW_V2130_csdk.lod) I did not had issue with board I had with me. I understand there is no option to set APN. We can provide an updated core with APN command and maybe option to update IMEI as well.
I managed to flash some old official AFW I could find (not that you point at). It kinda works, but not quite, I'm afraid:
ATI
Ai_Thinker_Co._Ltd.
A9/A9G
V02.02.20190915R
OK
AT+GSN
000000000000000
OK
AT+CCID
+CCID: 89701021099225xxxx
OK
I'll try to flash that LOD you mentioned and report back.
UPD. After flashing SW_V2130.lod the board doesn't respond to AT commands anymore. But it still alive at HST_TX/RX ports
set IMEI with AT command : at+egmr=1,7,"imei"
The lod file i mentioned does not have AT commands, it was from CSDK version. I will look for AT command version. I saw it somewhere.
Edit: here is the aithinker repo for AT command firmware: https://github.com/Ai-Thinker-Open/GPRS-AT
Hi again,
Thanks! I flashed back Ai-Thinker's official FW to work with AT commands. It was Ok. I managed to set my previous IMEI back up with AT+EMGR=1,7,"imeinum". It was Ok too. I flashed Logicrom FW again, it seemed to be Ok too.
As far as I can understand, the only problem now is APN settings?
devinfo
UUID:08b9xxxxxxxxxxxxxxxx
IMEI:8679xxxxxxxxx
UID:100
CCID:8970xxxxxxxxxxx
NW: GPRS Disable fail
NW: SIM card ready
NW: GSM - Registered
NW: GPRS - Registered
NETWORK: APN Not Found, Please configure!
BTW, are there any built-in commands besides devinfo
?
I couldn't find any list or manual on that.
Usually APN can be found with APN list available inside the core. It might be possible that your network APN is not supported by firmware.
Can you please test this new build:
You can set APN with "apn=
Thank you, I will test your build and reply back! My current APN should be "internet".
UPD. Nope, setting APN fails:
help
Available commands:
devinfo - Get module info
ifconfig - Network interface list
ping - Ping IP/domain (ping=<ip>)
network - GPRS control (network=<on/off>)
getlic - get licence from network
setlic - Set licence (setlic=<lic>)
fota - Download firmware (fota=<url>)
reboot - Reset module
loglevel - Set debug loglevels
smsr - Read SMS (smsr=<index>)
smsd - Delete SMS (smsd=<index>)
smsdel - Delete all SMS
apn=internet
Fail to set APN
reboot
+SER: 14
NW: SIM card ready
NW: GSM - Registered
NW: GPRS - Registered
NETWORK: APN Not Found, Please configure!
apn=internet
Fail to set APN
I tried setting APN and it worked without problem. Here I rebuild one more time. Please try.
Still fails:
reboot
+SER: 14
NW: SIM card ready
NW: GSM - Registered
NW: GPRS - Registered
NETWORK: APN Not Found, Please configure!
apn=internet
Fail to set APN: -20
ok, Found the issue. I will send a fix.
Here, please try again. Thank you for patience.
APN settings is working now.
But this time network=off
fails, I think.
apn=internet
APN set to internet
network=off
network=on
NW: GPRS Disable fail
NW: SIM card ready
NW: GSM - Registered
NW: GPRS - Registered
NETWORK: APN Not Found, Please configure!
+SER: 14
NW: SIM card ready
NW: GSM - Registered
NW: GPRS - Registered
NW: GPRS activated 971
+SER: -4
getlic
+SER: -21
What is your Waybyte username?
I think you selected wrong module type "Logicrom 4G" instead of 2G/GSM. I have changed it for you. Try to run getlic again
alnash
Honestly, on your website where was no module name I could associate with A9G, so I selected one rather randomly...
UUID:08b9xxxxxxxx
IMEI:8679xxxxxx
UID:2305xxxxxxx
CCID:8970xxxxxxx
Now it got UID, seems working.
Yes it worked. Try to build an application, let us know if there are any issues.
We classified modules into broader catagory to make it simple :)
4G: RDA8910, ASR1601, ASR1603 2G/GSM: Mt6261,mt2503,rda8955
but I guess we need to mention it more clearly. Thanks for feedback.
Thanks a lot for your help!
I'll try to build some app now, I will report if there's any issues.
Hi,
I have Ai-Thinker's A9G board, it works well with Ai-Thinkers firmware, AT commands, GPRS, GPS, Internet, all stuff. I registered its IMEI on your website. Then I flashed Logicrom core with Coolwatcher. It seems to work, but I can't figure out how to activate the firmware:
It needs an APN indeed, but I don't know how to set one up. Actually, I can't figure out any command besides
devinfo
.help
command just hangs.What should I do next to make A9G work?