tplinkrouterc6u 5.9.4__tar.gz → 5.10.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/PKG-INFO +5 -1
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/README.md +4 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/setup.py +1 -1
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/common/dataclass.py +30 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u.egg-info/PKG-INFO +5 -1
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/LICENSE +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/setup.cfg +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/test/__init__.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/test/test_client_c1200.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/test/test_client_c6u.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/test/test_client_c80.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/test/test_client_deco.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/test/test_client_ex.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/test/test_client_mr.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/test/test_client_wdr.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/test/test_client_xdr.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/__init__.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/client/__init__.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/client/c1200.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/client/c5400x.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/client/c6u.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/client/c80.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/client/deco.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/client/ex.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/client/mr.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/client/vr.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/client/wdr.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/client/xdr.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/client_abstract.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/common/__init__.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/common/encryption.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/common/exception.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/common/helper.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/common/package_enum.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u/provider.py +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u.egg-info/SOURCES.txt +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u.egg-info/dependency_links.txt +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u.egg-info/requires.txt +0 -0
- {tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tplinkrouterc6u
|
|
3
|
-
Version: 5.
|
|
3
|
+
Version: 5.10.0
|
|
4
4
|
Summary: TP-Link Router API (supports also Mercusys Router)
|
|
5
5
|
Home-page: https://github.com/AlexandrErohin/TP-Link-Archer-C6U
|
|
6
6
|
Author: Alex Erohin
|
|
@@ -258,7 +258,9 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
258
258
|
| enable | is enabled | int |
|
|
259
259
|
| connect_status | connect status | int |
|
|
260
260
|
| network_type | network type | int |
|
|
261
|
+
| network_type_info | Example: 4G LTE | str |
|
|
261
262
|
| sim_status | sim status | int |
|
|
263
|
+
| sim_status_info | Example: SIM locked. | str |
|
|
262
264
|
| total_statistics | total statistics in bytes | int |
|
|
263
265
|
| cur_rx_speed | current download speed in bytes per second | int |
|
|
264
266
|
| cur_tx_speed | current upload speed in bytes per second | int |
|
|
@@ -268,6 +270,8 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
268
270
|
| rsrq | RSRQ | int |
|
|
269
271
|
| snr | SNR | int |
|
|
270
272
|
| isp_name | ISP name | str |
|
|
273
|
+
| network_types | All possible network types - {0: "No Service", 1: "GSM", 2: "WCDMA", 3: "4G LTE", 4: "TD-SCDMA", 5: "CDMA 1x", 6: "CDMA 1x Ev-Do", 7: "4G+ LTE"} | dict |
|
|
274
|
+
| sim_statuses | All possible sim statuses - {0: "No SIM card detected or SIM card error.", 1: "No SIM card detected.", 2: "SIM card error.", 3: "SIM card prepared.", 4: "SIM locked.", 5: "SIM unlocked. Authentication succeeded.", 6: "PIN locked.", 7: "SIM card is locked permanently.", 8: "suspension of transmission", 9: "Unopened"} | dict |
|
|
271
275
|
|
|
272
276
|
## Enum
|
|
273
277
|
### <a id="connection">Connection</a>
|
|
@@ -226,7 +226,9 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
226
226
|
| enable | is enabled | int |
|
|
227
227
|
| connect_status | connect status | int |
|
|
228
228
|
| network_type | network type | int |
|
|
229
|
+
| network_type_info | Example: 4G LTE | str |
|
|
229
230
|
| sim_status | sim status | int |
|
|
231
|
+
| sim_status_info | Example: SIM locked. | str |
|
|
230
232
|
| total_statistics | total statistics in bytes | int |
|
|
231
233
|
| cur_rx_speed | current download speed in bytes per second | int |
|
|
232
234
|
| cur_tx_speed | current upload speed in bytes per second | int |
|
|
@@ -236,6 +238,8 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
236
238
|
| rsrq | RSRQ | int |
|
|
237
239
|
| snr | SNR | int |
|
|
238
240
|
| isp_name | ISP name | str |
|
|
241
|
+
| network_types | All possible network types - {0: "No Service", 1: "GSM", 2: "WCDMA", 3: "4G LTE", 4: "TD-SCDMA", 5: "CDMA 1x", 6: "CDMA 1x Ev-Do", 7: "4G+ LTE"} | dict |
|
|
242
|
+
| sim_statuses | All possible sim statuses - {0: "No SIM card detected or SIM card error.", 1: "No SIM card detected.", 2: "SIM card error.", 3: "SIM card prepared.", 4: "SIM locked.", 5: "SIM unlocked. Authentication succeeded.", 6: "PIN locked.", 7: "SIM card is locked permanently.", 8: "suspension of transmission", 9: "Unopened"} | dict |
|
|
239
243
|
|
|
240
244
|
## Enum
|
|
241
245
|
### <a id="connection">Connection</a>
|
|
@@ -274,6 +274,36 @@ class LTEStatus:
|
|
|
274
274
|
rsrq: int | None = None
|
|
275
275
|
snr: int | None = None
|
|
276
276
|
isp_name: str | None = None
|
|
277
|
+
network_types = {
|
|
278
|
+
0: "No Service",
|
|
279
|
+
1: "GSM",
|
|
280
|
+
2: "WCDMA",
|
|
281
|
+
3: "4G LTE",
|
|
282
|
+
4: "TD-SCDMA",
|
|
283
|
+
5: "CDMA 1x",
|
|
284
|
+
6: "CDMA 1x Ev-Do",
|
|
285
|
+
7: "4G+ LTE"
|
|
286
|
+
}
|
|
287
|
+
sim_statuses = {
|
|
288
|
+
0: "No SIM card detected or SIM card error.",
|
|
289
|
+
1: "No SIM card detected.",
|
|
290
|
+
2: "SIM card error.",
|
|
291
|
+
3: "SIM card prepared.",
|
|
292
|
+
4: "SIM locked.",
|
|
293
|
+
5: "SIM unlocked. Authentication succeeded.",
|
|
294
|
+
6: "PIN locked.",
|
|
295
|
+
7: "SIM card is locked permanently.",
|
|
296
|
+
8: "suspension of transmission",
|
|
297
|
+
9: "Unopened"
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
@property
|
|
301
|
+
def network_type_info(self) -> str:
|
|
302
|
+
return self.network_types.get(self.network_type, "Unknown network type")
|
|
303
|
+
|
|
304
|
+
@property
|
|
305
|
+
def sim_status_info(self) -> str:
|
|
306
|
+
return self.sim_statuses.get(self.sim_status, "Unknown SIM status")
|
|
277
307
|
|
|
278
308
|
|
|
279
309
|
@dataclass
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tplinkrouterc6u
|
|
3
|
-
Version: 5.
|
|
3
|
+
Version: 5.10.0
|
|
4
4
|
Summary: TP-Link Router API (supports also Mercusys Router)
|
|
5
5
|
Home-page: https://github.com/AlexandrErohin/TP-Link-Archer-C6U
|
|
6
6
|
Author: Alex Erohin
|
|
@@ -258,7 +258,9 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
258
258
|
| enable | is enabled | int |
|
|
259
259
|
| connect_status | connect status | int |
|
|
260
260
|
| network_type | network type | int |
|
|
261
|
+
| network_type_info | Example: 4G LTE | str |
|
|
261
262
|
| sim_status | sim status | int |
|
|
263
|
+
| sim_status_info | Example: SIM locked. | str |
|
|
262
264
|
| total_statistics | total statistics in bytes | int |
|
|
263
265
|
| cur_rx_speed | current download speed in bytes per second | int |
|
|
264
266
|
| cur_tx_speed | current upload speed in bytes per second | int |
|
|
@@ -268,6 +270,8 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
268
270
|
| rsrq | RSRQ | int |
|
|
269
271
|
| snr | SNR | int |
|
|
270
272
|
| isp_name | ISP name | str |
|
|
273
|
+
| network_types | All possible network types - {0: "No Service", 1: "GSM", 2: "WCDMA", 3: "4G LTE", 4: "TD-SCDMA", 5: "CDMA 1x", 6: "CDMA 1x Ev-Do", 7: "4G+ LTE"} | dict |
|
|
274
|
+
| sim_statuses | All possible sim statuses - {0: "No SIM card detected or SIM card error.", 1: "No SIM card detected.", 2: "SIM card error.", 3: "SIM card prepared.", 4: "SIM locked.", 5: "SIM unlocked. Authentication succeeded.", 6: "PIN locked.", 7: "SIM card is locked permanently.", 8: "suspension of transmission", 9: "Unopened"} | dict |
|
|
271
275
|
|
|
272
276
|
## Enum
|
|
273
277
|
### <a id="connection">Connection</a>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tplinkrouterc6u-5.9.4 → tplinkrouterc6u-5.10.0}/tplinkrouterc6u.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|