meshcore_py/examples/ble_t1000_infos.py
2025-04-12 00:26:25 -07:00

16 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())