@tenspot said in Bluetooth BL Client won't connect:
bt.connect
from network import LoRa
from network import Bluetooth
import machine
import socket
import pycom
import binascii
bluetooth = Bluetooth()
bluetooth.start_scan(10)
adv = None
while True:
adv = bluetooth.get_adv()
#if adv and bluetooth.resolve_adv_data(adv.data, Bluetooth.ADV_NAME_CMPL) == 'JonathanBLE':
try:
#print(bluetooth.resolve_adv_data(adv.data, Bluetooth.ADV_APPEARANCE))
bluetooth.connect (b'\xe0\x00\xc3\xca\x16\xf9') #JonathanBLE mac adress?
Is this the wrong way to connect using the mac adress.. ? I connect to the BLE with the name and it connect in seconds... but I want to be able to connect to devices using there mac adress instead... Im using LOPY btw ... and I want to try send data between 2 LOPY decies with BLE...