-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect to the network #178
Comments
The above indicates that it has been properly registered in the GSM network.
This indicates that the network has been opened normally AT+CPING="www.google.com" is incorrectly used. You must specify whether the address type is IPV4. The correct one is
|
The connection to the network seems ok, now I want to try connecting to the mqtt broker. it is a secure connection but does not require checking the certificate (at least on the esp-wifi side), the connection attempt returns ok, but with an error. ERROR` |
` +CPIN: READY |
Port 8883 needs to be encrypted to use encrypted transmission, please check the provided example operation. |
Hi, I am currently using the Esp-Idf framework so without arduino and the example is not of much help to me. Is it possible to know the correct AT command sequence ? |
You can open
|
ok, but from the example i don't see user and pass. for my broker ( mqtts) it is necessary to enable ssl ( the certificate is not necessary), but i have to report user and pass to access the command ‘ AT+CMQTTCONNECT=1, “tcp://xxxxx.ddns.net:8883”,120,0, “user”, “password”’ is correct ? |
https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/examples/MqttsBuiltlnAuth/MqttsBuiltlnAuth.ino |
unfortunately i cannot use the example provided with arduino for my c application with esp.idf, is it possible to get support on the commands to use and the correct formatting ? |
If you run the example you get all the interactions, don't you want to or can't you? I can only run it again and submit it to you, hopefully you can figure it out.
|
I used an example borker without user and pass, and actually managed to publish, |
Are you testing the same server? |
yes if I use the mqtt side esp32 configured in this way everything works correctly `esp_mqtt_client_config_t mqtt5_cfg = { |
Before |
still not working
|
https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/docs/update_fw.md https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/docs/a7670x_capture_log.md |
do you need broker,user,pass and code id ?
|
Please upgrade to the latest version of the firmware first, then try again. If it still doesn't work, send the mqtt test information to my email https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/docs/update_fw.md#a7670e-lase-no-gps |
is there a firmware update guide ? |
There is a video https://youtu.be/AZkm-Z7mKn8 |
I am using the tpcie with only one usb port |
I have updated, with the new version
however, some data were introduced that did not appear before, such as
|
Has the MQTT issue been resolved? |
Yes it seems to have been resolved, I was able to connect to the broker and make a publication. |
however i have a doubt on the network side. now i am using my sim (whose apn i know). but i would like to make it so that i can use any sim. is there a way to set up the apn independently? |
See
|
I am carrying out tests by not selecting the apn |
A7670E-PHASE? I have never seen this model. Did you buy it from LilyGo? |
yes, if needed I can share the order number |
Please take a picture of the sticker on the modem |
I don't have a modem with this PN number now, I need some time |
Is this the firmware version you had before you updated? |
|
yes, and I would add with the same AT commands and configuration. version A7670M7_B07V01_240927 works on the MQTT side |
Are you using the firmware and writing tools I provided? |
I used the tools/firmware on this page |
OK, I don't have this module. I will try it when I get it tomorrow and reply to you then. |
in the meanwhile, can I get version A7670M7_B01V01_240105 so that I can upload it to the module and test whether it actually works on the gnss side ? |
That'll have to wait until tomorrow. |
So the GPS should work fine with the old version, right? I will test it when I get the board. |
I used the same PN version to test, B01, B07 can be positioned normally A7670M7_B07V01_240927
A7670M7_B01V01_240105
|
yes, it immediately connects and works normally, I try reloading the new firmware and place the module in the same position |
Did you re-flash the new version? |
yes i do |
Well, surprising |
and I am currently using your same commands AT after 10 minutes he found the position |
I was outside for about a minute and he was able to find a spot. |
these commands I am not currently using, are they necessary? |
This is not necessary, it is used for debugging |
Hi, i am using an a7670E module and want to connect to the network and use mqtt to post/submit topics. however, i do not understand if i am actually connected to the network. The status led is blinking very fast
`Risposta ricevuta: AT+CFUN=1
OK
Risposta ricevuta: AT+CPIN?
+CPIN: READY
OK
Risposta ricevuta: AT+CSQ
+CSQ: 14,0
OK
Risposta ricevuta: AT+CREG=1
OK
Risposta ricevuta: AT+COPS?
+COPS: 0,2,"22201",3
OK
Risposta ricevuta: AT+CREG?
+CREG: 1,1
OK
Risposta ricevuta: AT+CGATT?
+CGATT: 1
OK
Risposta ricevuta: AT+CPSI?
+CPSI: GSM,Online,222-01,0x46C2,43674,1021 PGSM 900,25,0,15-15
OK
Risposta ricevuta: AT+CGDCONT= 1,"IP","apn.fastweb.it","0.0.0.0",0,0
OK
Risposta ricevuta: AT+CGACT=1,1
+CME ERROR: requested service option not subscribed (#33)
+CGEV: ME PDN DEACT 1
Risposta ricevuta: AT+CGACT?
+CGACT: 3,0
OK
Risposta ricevuta: AT+CGPADDR=1
OK
Risposta ricevuta: AT+NETOPEN
OK
+NETOPEN: 0
Risposta ricevuta: AT+CPING="www.google.com"
ERROR
`
best regards for the support
The text was updated successfully, but these errors were encountered: