Salamek / huawei-lte-api

API For huawei LAN/WAN LTE Modems
GNU Lesser General Public License v3.0
376 stars 92 forks source link

Send AT Commands #75

Closed juanjosepablos closed 3 years ago

juanjosepablos commented 4 years ago

Nice work. I have been searching on the API, and I could not find a way. I would like to know if I could send: "AT^NVRDEX=50503,0,128" without opening the case. it will show NV codes in hash format.

Salamek commented 3 years ago

Option to SEND AT commands is usually available only via modem serial interface (When USB dongle have disabled HiLink interface and is set to legacy mode using pppoe). I don't think that sending AT commands can be done via REST API that HiLink mode is using, but there may be HiLink alternative to get data you need... are those NV codes visible somewhere in admin interface?

Salamek commented 3 years ago

Closing due to old age

Salamek commented 1 year ago

@juanjosepablos oh i have good news, i have found a way how to enable AT command interface on my B310-22 modem! Check out https://github.com/Salamek/huawei-lte-api/blob/master/examples/toggle_telnet.py and https://github.com/Salamek/huawei-lte-api/wiki/AT-Command-interface-Telnet

juanjosepablos commented 1 year ago

I will try to find a spare unit and report back. Well Done!

Salamek commented 1 year ago

Not sure what set of AT commands is supported or if this works on other huawei devices... But if it works for you i would be glad to know what AT commands were working for you except these listed https://github.com/Salamek/huawei-lte-api/wiki/Supported-AT-commands i have just tested