meshcore 2.2.2__py3-none-any.whl → 2.2.3__py3-none-any.whl
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.
- meshcore/commands/device.py +5 -0
- {meshcore-2.2.2.dist-info → meshcore-2.2.3.dist-info}/METADATA +1 -1
- {meshcore-2.2.2.dist-info → meshcore-2.2.3.dist-info}/RECORD +5 -5
- {meshcore-2.2.2.dist-info → meshcore-2.2.3.dist-info}/WHEEL +1 -1
- {meshcore-2.2.2.dist-info → meshcore-2.2.3.dist-info}/licenses/LICENSE +0 -0
meshcore/commands/device.py
CHANGED
|
@@ -206,6 +206,11 @@ class DeviceCommands(CommandHandlerBase):
|
|
|
206
206
|
logger.debug("Requesting private key export")
|
|
207
207
|
return await self.send(b"\x17", [EventType.PRIVATE_KEY, EventType.DISABLED, EventType.ERROR])
|
|
208
208
|
|
|
209
|
+
async def import_private_key(self, key) -> Event:
|
|
210
|
+
logger.debug("Requesting private key import")
|
|
211
|
+
data = b"\x18" + key
|
|
212
|
+
return await self.send(data, [EventType.OK, EventType.ERROR])
|
|
213
|
+
|
|
209
214
|
async def get_stats_core(self) -> Event:
|
|
210
215
|
logger.debug("Getting core statistics")
|
|
211
216
|
# CMD_GET_STATS (56) + STATS_TYPE_CORE (0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshcore
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.3
|
|
4
4
|
Summary: Base classes for communicating with meshcore companion radios
|
|
5
5
|
Project-URL: Homepage, https://github.com/fdlamotte/meshcore_py
|
|
6
6
|
Project-URL: Issues, https://github.com/fdlamotte/meshcore_py/issues
|
|
@@ -14,9 +14,9 @@ meshcore/commands/base.py,sha256=yKfKSmdnIh0DhAZ34TtioE38huxXc0QGB5Hm_wbcOqg,739
|
|
|
14
14
|
meshcore/commands/binary.py,sha256=MihRjG4IppPYPeu2KMpctcBPac_hdClp6PgGirQfydg,8412
|
|
15
15
|
meshcore/commands/contact.py,sha256=7X4e17M2YxUZsfUhaN18XZG2inTuXknXJOBAoPblydw,5880
|
|
16
16
|
meshcore/commands/control_data.py,sha256=sXp1RoEw6Z0zPr0Nn5XBovEY6r9sePbWQwsbY0iYyXc,1512
|
|
17
|
-
meshcore/commands/device.py,sha256=
|
|
17
|
+
meshcore/commands/device.py,sha256=KFI9bTSaBcQEJewkGqJW3YVgfNv8f6MyIznWwgDoAlQ,9645
|
|
18
18
|
meshcore/commands/messaging.py,sha256=Mglog1xCz_DhKJU1vEv0AD7bBo5_OhEul1MpSY7dnXc,9806
|
|
19
|
-
meshcore-2.2.
|
|
20
|
-
meshcore-2.2.
|
|
21
|
-
meshcore-2.2.
|
|
22
|
-
meshcore-2.2.
|
|
19
|
+
meshcore-2.2.3.dist-info/METADATA,sha256=-jhRE5JOtTYi1_wzua8IXrzpo5vYnNbAAF0RLg2Uh48,25316
|
|
20
|
+
meshcore-2.2.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
21
|
+
meshcore-2.2.3.dist-info/licenses/LICENSE,sha256=o62-JWT_C-ZqEtzb1Gl_PPtPr0pVT8KDmgji_Y_bejI,1075
|
|
22
|
+
meshcore-2.2.3.dist-info/RECORD,,
|
|
File without changes
|