This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to use PC' Bluetooth to connect nRF52832 by python3.5+PyBluez

I have one pca10040 board,  I want to realize the data transfer between the nrf52832 and the PC by BlueTooth, I use python3.5+PyBluez. When the  nrf52832 is running the "ble_app_blinky", PC can find the device by the following codes:

import bluetooth
nearby_devices = bluetooth.discover_devices(lookup_names=True)
print("found %d devices" % len(nearby_devices))
for addr, name in nearby_devices:
print(" %s - %s" % (addr, name))

I got the following information:

found 3 devices
7F:81:EC:50:91:41 -
CC:2D:83:35:2A:A5 - OPPO R9m
D2:95:59:B7:E9:2D - Nordic_Blinky

but how could I connect the nrf52832, and send data to it, or receive data from it?
Parents Reply Children
No Data
Related