Closed hubmartin closed 2 years ago
Actually, the firmware does support AT+RFQ:
AT+RFQ?
+OK=0,0
So this might be a more general problem with the communication between the firmware and the LoRa modem. We'll have to investigate.
Also, the firmware does respond with +ERR=-1 to all unsupported AT commands. If you don't get the answer, the modem did not detect your AT command, or the answer got lost for some reason.
AT+FRMCNT? is also supported:
AT+FRMCNT?
+OK=71,39
Thanks for details. I'm just starting with TOWER SDK so the timing or communication might be an issue.
I'm seeing some random issues in LoRa communication/JOIN so for now I'll use direct AT commands without TOWER SDK to get rid of the most unknowns in the equation. I'll keep you informed.
Split into two separate issues: #52 and #53.
I'm trying the 1.0.0 with twr-lora-tester and this firmware uses AT+RFQ? to get the info of last received packet.
If the command is not supported, could you please reply with the
+ERR=-1
like the Murata does? On this reply I ignore errors if the command is not known/supported. https://github.com/hardwario/twr-sdk/blob/master/twr/src/twr_cmwx1zzabz.c#L1156Right now it fails on timeout because it seems like it does not reply anything.
UPDATE: firmware is also using AT+FRMCNT?, however I did not tested this command yet, but it might have the same issue if no reply is implemented.