mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
issue with contact upd
This commit is contained in:
parent
fba188ca6b
commit
ed55377084
1 changed files with 2 additions and 2 deletions
4
mccli.py
4
mccli.py
|
|
@ -496,8 +496,8 @@ class MeshCore:
|
|||
+ bytes.fromhex(out_path_hex)\
|
||||
+ bytes.fromhex(adv_name_hex)\
|
||||
+ contact["last_advert"].to_bytes(4, 'little')\
|
||||
+ contact["adv_lat"].to_bytes(4, 'little', signed=True)\
|
||||
+ contact["adv_lon"].to_bytes(4, 'little', signed=True)
|
||||
+ int(contact["adv_lat"]*1e6).to_bytes(4, 'little', signed=True)\
|
||||
+ int(contact["adv_lon"]*1e6).to_bytes(4, 'little', signed=True)
|
||||
return await self.send(data)
|
||||
|
||||
async def send_login(self, dst, pwd):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue