Aug-28-2022, 10:53 AM
Hello,
I'm trying to send data to my BLE device - but can't seem to find hte right fundtion for it
this is what I have done so far:
but how do I send to it "test" ?
**** the BLE device is arduino nano BLE (if it's metter)
Thanks,
I'm trying to send data to my BLE device - but can't seem to find hte right fundtion for it
this is what I have done so far:
om bleak import BleakClient address = "A7:01:Ad:A4:4A:A0" async def main(address): client = BleakClient(address) try: await client.connect() except Exception as e: print(e) else: client.write('test') asyncio.run(main(address))on the BLE device - I can see the connection
but how do I send to it "test" ?
**** the BLE device is arduino nano BLE (if it's metter)
Thanks,