mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-06-11 19:56:53 +00:00
17 lines
228 B
Python
Executable File
17 lines
228 B
Python
Executable File
#!/usr/bin/python
|
|
|
|
import asyncio
|
|
|
|
from meshcore import MeshCore
|
|
|
|
ADDRESS = "t1000"
|
|
|
|
async def main():
|
|
mc = await MeshCore.create_ble(ADDRESS)
|
|
|
|
print(mc.self_info)
|
|
|
|
await mc.disconnect()
|
|
|
|
asyncio.run(main())
|