cool4uma / UART_Terminal

Uart terminal for Flipper Zero
MIT License
140 stars 20 forks source link

AT commands #7

Closed qqmajikpp closed 1 year ago

qqmajikpp commented 1 year ago

the LORA module expects commands to be in all caps. sending: at gets response +ERR=1

i should be able to send: AT which would respond with: +OK

qqmajikpp commented 1 year ago

i figured out a long press does caps. AT+BAND? replies back with 915000000 but AT+ADDRESS? replies back with +ERR=1

cool4uma commented 1 year ago

hc1e hc2 hc3

qqmajikpp commented 1 year ago

# 20230403_105504 20230403_105500

cool4uma commented 1 year ago

Yesterday there was a new commit where I added support for AT commands. Did you update UART_terminal?

qqmajikpp commented 1 year ago

20230403_105645

cool4uma commented 1 year ago

Ok. I'll test some more later and write to you.

cool4uma commented 1 year ago

Is this command supported? I did not find such a command in the documentation. https://www.tme.eu/Document/6fd083ba11ae9feedaadc9c7221ab46e/eWBM_LoRa_AT_Command_v0.6.pdf

cool4uma commented 1 year ago

try this command : AT+DADDR

qqmajikpp commented 1 year ago

im using a RYLR896 lora module. im not sure what you are using. this is the command list some of us are using. AT_DADDR or AT+DADDR? replies back +ERR=4 this is the sheet we are using https://reyax.com/upload/products_download/download_file/LoRa%20AT%20Command%20RYLR40x_RYLR89x_EN.pdf

cool4uma commented 1 year ago

@qqmajikpp You can re-pull and rebuild UART_terminal fap? Test and give me feedback please. Ok?

qqmajikpp commented 1 year ago

I can query band but I still can't query address 20230404_071414 20230404_071421 20230404_071451 20230404_071457

aafksab commented 1 year ago

20230404_114607 20230404_114603

This is a supported command on our lora module, and it's coming back with error 1 which means the /r/n at the end is missing...

Any thoughts?

cool4uma commented 1 year ago

Yes, I read documentation for this error. I tested on different modules that are controlled by AT commands and these modules also require "\r \n", but I have not seen such an error or other problems. Apparently I will have to buy a LoRa module to deal with this error.

cool4uma commented 1 year ago

@aafksab @qqmajikpp Can you show the output of these commands "AT+PARAMETER?" and "AT+ADDRESS?"? For example, from a computer, where do these commands work normally?

aafksab commented 1 year ago

image

qqmajikpp commented 1 year ago

Screenshot_20230404_190014_Serial USB Terminal

cool4uma commented 1 year ago

https://www.youtube.com/watch?v=C8DKtFBkQ60 Have you watched this video? Here everything works fine for the author?