I hope you are well. I’m using a RAK11720 with RUI3 4.1.1. I’m developing an app with the BLE built-in my module, but when I try to connect to my MCU, my smartphone shows pair message.
If I deny the request, the MCU aborts the connection. If I accept the message, the connection works fine. I know that is a bonded request.
Is there any possible to avoid the sync & link (bonded) request? I test others boards based on AMA3B1KK-KBR and doesn’t request this. I guess is a firmware modification.
Can you give me a hint where I can make the modification? I was reviewing the source code today and did some tests, but I did not get a satisfactory result.
@Dabliu
Are you using a custom service? Then you can try hrmc.setPermission(RAK_SET_OPEN); for your custom characteristic (replace hrmc with your custome characteristic)
For the BLE Serial, try api.ble.uart.setPermission(RAK_SET_OPEN); before you do Serial6.begin()