Hello. I am using a Nordic Semiconductor Beacon (nRF 51822) and i am trying to connect it to my Raspberry Pi 4, but even though i installed Bluez, scanned using hcitool, i am able to find it (its mac) but i can't connect to it.
I pressed SWD button, the led is blinking Yellow, i scan using sudo hcitool lescan , and i find the mac with BeaconConfig near it.
The command that i am using to connect to it is sudo gatttool -b address -I, it appears MAC[LE]> and when i type CONNECT, after 20 seconds it says Error: connect error: Connection refused (111) ... Am i doing something wrong? this is the first time i am using any beacon and i am trying to use 4 of them to get my RaspBerry location..
as a tutorial, i followed this one: https://www.jaredwolff.com/get-started-with-bluetooth-low-energy/