https://github.com/legobas/hilink
Huawei E3372h-153 HiLink Client
https://github.com/legobas/hilink
4g-lte 4g-modem autoit autoit-script autoit3 autoit3-script huawei huawei-devices windows
Last synced: about 1 year ago
JSON representation
Huawei E3372h-153 HiLink Client
- Host: GitHub
- URL: https://github.com/legobas/hilink
- Owner: Legobas
- License: apache-2.0
- Created: 2021-02-12T09:36:04.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-21T16:00:00.000Z (over 4 years ago)
- Last Synced: 2025-02-18T01:43:03.718Z (over 1 year ago)
- Topics: 4g-lte, 4g-modem, autoit, autoit-script, autoit3, autoit3-script, huawei, huawei-devices, windows
- Language: AutoIt
- Homepage:
- Size: 606 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.autoitscript.com)
# HiLink
Huawei HiLink 4G USB Modem Client
This Windows Commandline utility can be used to manage the Huawei 4G Modem.
It is meant to run in a command window (cmd.exe).
Tested with the E3372h-153 USB 4G Modem
## General information commands
Run the utility in a command window without any parameters to see the help:
HiLink x64 1.0.0
Usage:
command (without other parameters)
-c command (-c info)
commands: info, status, net, sms, smscount, smslist, stats, monthstats, resetstats, reboot, con, hack, emptyinbox
-h host, IP Address (default 192.168.8.1)
-d debuglevel (none=1, 0-2)
-a api path (-a api/**/**)
-x request XML (-x "***")
Examples:
HiLink info
HiLink -c info
HiLink -d -c status
HiLink -d 2 -a api/device/information
HiLink -a api/monitoring/clear-traffic -x "1"
## Reboot
Use this command to reboot the device: `HiLink.exe reboot`.
## Empty the SMS Inbox
This command will remove all the SMS messages from the SMS Inbox: `HiLink.exe emptyinbox`.
## Auto Disconnect Interval Hack
The Huawei E3372 disconnects frequently from the LTE network. This is caused by the Auto Disconnect Interval, which has a maximum 120 minutes. This little hack sets the Interval to 24 hours, for the explanation see:
[hacking-huawei-e3372-hilink](https://blog.idorobots.org/entries/hacking-huawei-e3372-hilink..html).
## Additional Web API tricks
You can create your own commands following the [Huawei Web API](https://blog.hqcodeshop.fi/archives/259-Huawei-E5186-AJAX-API.html).
For example `Hilink.exe -a /config/global/languagelist.xml` shows the available languages.
## Acknowledgements
* Thanks to [Kajetan Rzepecki 'Idorobots'](https://github.com/Idorobots) for research and the reconnect hack
* Thanks to [AutoIt](https://www.autoitscript.com)
* Thanks to Logan Hampton and Damien Smith for the [Visual Studio Code AutoIt Extension](https://github.com/loganch/AutoIt-VSCode)