I'm trying to use my Nano 33 BLE Rev2 to connect to a BLE tag i have.
I used the example from the ArduinoBLE repository: ArduinoBLE/examples/Central/PeripheralExplorer/PeripheralExplorer.ino at master · arduino-libraries/ArduinoBLE · GitHub
I'm able to scan and display available BLE Devices but i can never connect to them, it always fail.
The tag is an "Ultrbeka" one I ordered on Amazon and i can easily see it on my phone using LightBlue or BT Inspector on iPhone and also list its characteristics.
Hereunder a screenshot of one of the service:
The board seems to work as i was able to create a fake device "Blank" on LightBlue and make it discovered by my board:
Bluetooth® Low Energy Central - Peripheral Explorer
Found 5f:c2:35:83:0b:b8 'Blank'
Connecting ...
Connected
Discovering attributes ...
Attributes discovered
Device name: iPhone
Appearance: 0x0
Service 1800
Characteristic 2a00, properties 0x2, value 0x6950686F6E65
Descriptor 2803, value 0x020500012A
Descriptor 2a01, value 0x4000
Characteristic 2a01, properties 0x2, value 0x4000
[skipped]
Service 1111
Characteristic 2222, properties 0x2, value 0xFFFF0000F0F0F0F0
Disconnecting ...
Disconnected
I'm really wondering why i cannot connect to anything else than this fake service with my board ?
My goal with this project is to continuously scan for BLE devices and once i found the one matching my tag (reading specific service UUID and characteristic) i will open a pet door. I want to put this tag on my cat and then open the little pet door automatically
Thanks in advance !