Hello there,
I am working on a project which involves nRF52840 to scan and connect to specific BLE beacon.
So while scanning, nRF writes scanned data on UART. On same UART, I send MAC of beacon to connect with along with some other data in CSV style. Initially it works as expected. But once it is disconnected and starts scanning again, when I try to send same MAC/data on UART, nRF is unable to connect it. It says,
```
Connection create failed (-22)
```
So flow is like,
```
IDLE
└─ UART command
└─ scan
└─ connect
└─ discover
└─ auth
└─ set_time
└─ play
└─ disconnect
└─ RESET EVERYTHING → IDLE
```
IDLE is scan and print found devices on UART.
Can you help me with this?
Thanks & Regards,
Yuvraj