API For huawei LAN/WAN LTE Modems
Project description
huawei_e3_e5
Tool to manage huawei hilink modems (E3 and E5 series)
Features
- Get modem status
- Change sim settings
- Get SMS messages
- Send SMS messages
- Modem reboot
- Dump all modem infos
Usage example
>>> from huawei_e3_e5.huawei_exxxx import HuaweiModem as HuaweiModem
>>> gsm = HuaweiModem(user='admin', password='SECRET') # E5xxxx
>>> gsm = HuaweiModem() # E3xxx
>>> gsm
<HuaweiModem None (None)>
DeviceName : E5577Cs-321
imei : 8..............
imsi : 2..............
iccid : 8..................
msisdn : +33.........
SerialNumber : D...............
softwareVersion: 21.333.63.00.1217
hardwareVersion: CL1E5573SM11
MacAddress1 : 88:00:00:00:00:00
WebUIVersion : 17.100.20.06.1217
ProductFamily : LTE
classify : mobile-wifi
supportmode : LTE|WCDMA|GSM
workmode : LTE
>>> gsm.device_signal
{
'pci': '69',
'sc': None,
'cell_id': '105428049',
'rsrq': '-10dB',
'rsrp': '-104dBm',
'rssi': None,
'sinr': '-3dB',
'rscp': None,
'ecio': None,
'psatt': '1',
'mode': '7',
'lte_bandwidth': None,
'lte_bandinfo': None
}
>>> gsm.send_sms(numbers, message)
>>> gsm.control_reboot()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
huawei_e3_e5-0.1.1.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for huawei_e3_e5-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43e3f8e4b25f0f57d9cc1fe122fa679481f6b98817487f0fca261374edb3451e |
|
MD5 | 4a69a2c1f4c288d5a9cda4c872449f95 |
|
BLAKE2b-256 | e075a1d841269a296861250a9fe3a12471c037114a7e4c1815e782a49bbc5a95 |