I am trying to control a Sony camera using BLE. The camera ignore any commands and disconnects if the client isn't paired. Pairing initiated in the camera does not require any pin. How can I do the pairing? Right now my target is an ESP32.
Installation and Troubleshooting is for problems with the IDE. As you don't have problems with the IDE, your topic has been moved to a more suitable location on the forum.
I loaded the Nortic Semiconductor NRF Connect App on my phone. I can connect to the camera and read the UUID's and also send the commands to the camera. If I pair the camera to the phone the camera executes the commands and if I unpair it it ignores the commands. I am new to this but I have high confidence that it is BLE.
There doesn't seem to be much to doubt about that..... I have no real experience with BLE and this seems out of my league, but my experience is that you don't pair using BLE, you just go straight into comms from the app. I can only speculate that, if you are using BLE, and you are seeing stuff about pairing, it is because you are unintentionally stirring things up in the configuration. Further, I think you are mis-using the term "pair" anyway. Pairing involves only the preparation for communications, not the comms per se.
So My question is really about the Arduino BLE Library. There is an example pairing_passkey which pairs with a key but my camera does not ask for or require any key. So if I want to pair without a key is there an example of this?
Your experience with the camera and nrf connect leads me to think that following the basic central example given in LedControl will get you connected to the camera and able to write to it.