Hello,
I am not able to connect to Nano using BLE.
I tried from several devices (laptop, Smart phones) supporting BLE with no results.
In some cases Nano is discovered but when trying to connect, after some seconds an error message is reported (Unable to pair device or unable to connect.
In other cases no Nano is discovered or it appears and disappears.
I tried to load basic sketches from examples.
Use a generic BLE app. I use BLE Scanner from bluepixel technologies on iOS. There are many others on iOS and Android.
Do not try to connect or pair from your operating system. Just open the app and click scan and/or connect.
Pairing is an optional security feature for BLE and not implemented for the ArduinoBLE library. It is not necessary for most use cases. You can simply connect to a device and read and write characteristics (depending on the settings inside the code).
I recommend the BatteryMonitor example for your first experiments.
Klaus_K:
Use a generic BLE app. I use BLE Scanner from bluepixel technologies on iOS. There are many others on iOS and Android.
Do not try to connect or pair from your operating system. Just open the app and click scan and/or connect.
Pairing is an optional security feature for BLE and not implemented for the ArduinoBLE library. It is not necessary for most use cases. You can simply connect to a device and read and write characteristics (depending on the settings inside the code).
I recommend the BatteryMonitor example for your first experiments.
Thanks ... Scanner found Nano. I can see it connected but NOT bonded.
I can't understand how to connect to Nano Ble through a real application on my PC.
I would like to use Nano as a midi receiver using BLE in place of Usb connection.
simonegiusti:
I can see it connected but NOT bonded.
As said in #1, pairing is not supported by the ArduinoBLE library because it is optional in the BLE specification.
simonegiusti:
I can't understand how to connect to Nano Ble through a real application on my PC.
BLE on Windows is not well supported. I have not seen a solution that uses the native PC Bluetooth hardware. The reason is nobody runs around the forest or cycles with their PC. Most development for BLE is on mobile platforms.
Some web posts I read suggest their solution works with a USB-BLE dongle. Maybe these dongles use different drivers because from Windows point of view they are USB devices and not necessarily BLE. Just a guess.
Maybe you can do something similar by using two Nano 33 BLE.