Kevin Hester
2020-12-10 11:37:57 +08:00
parent 449c0a2dac
commit afbfd4fe80
2 changed files with 2 additions and 1 deletions

View File

@@ -155,6 +155,7 @@ def onConnected(interface):
print("Setting device time/position")
# can include lat/long/alt etc: latitude = 37.5, longitude = -122.1
interface.sendPosition(lat, lon, alt, time)
interface.writeConfig()
if args.setowner:
closeNow = True

View File

@@ -12,7 +12,7 @@ with open("README.md", "r") as fh:
# This call to setup() does all the work
setup(
name="meshtastic",
version="1.1.20",
version="1.1.21",
description="Python API & client shell for talking to Meshtastic devices",
long_description=long_description,
long_description_content_type="text/markdown",