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.5.tar.gz
(11.1 kB
view details)
Built Distribution
File details
Details for the file huawei_e3_e5-0.1.5.tar.gz
.
File metadata
- Download URL: huawei_e3_e5-0.1.5.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dba582a94fdaefa26c83759fd06cbb57834dc086019ee672f3b4c4386177472 |
|
MD5 | e30576bd34a24705ed95a2d33292233d |
|
BLAKE2b-256 | 267c7a5b0205784a3fb253009553f0f6caf86f235ea509bf6f38ec9061368fbf |
File details
Details for the file huawei_e3_e5-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: huawei_e3_e5-0.1.5-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb228c8accf18ae00cef4a4cb9836872ec7a54fb349b6cd90eecee7afe34bd9a |
|
MD5 | 0098a3ca4d02a9873ba46283c3ebea08 |
|
BLAKE2b-256 | d6f6494366f22eed94030d2d93cf28e778d5174c87a9f33a9f4835b01b14ee4b |