Good morning,
I have designed a prototype based on nRF52840 and an application based on S140 v.6.1.0.
We have already assembled several prototypes and all of them have been working fine for weeks: we have created our own Android app and we have tested it with several Smartphones.
One of this equipments is the one I'm using for development, together with a defined Smartphone.
Up to yesterday, everythink was working fine but now, when I'm connecting the Smartphone with my development prototype, it perfectly connects but it always disconnects after 28-30seconds.
I have also tested with nRF Connect app: the same happens and in log register the message GATT_CONN_TERMINATE_LOCAL_HOST appears after 28-30s.
From this point, I have done some testing:
- With my Smartphone:
- I have tried to connect to a different prototype and it is connecting fine without any disconnection
- I have forgotten my prototype in order to enter passkey again --> This has not solved the problem with my prototype
- I have switched off and on back again bluetooth --> Same problem
- I have erased bluetooth cache in my smartphone --> Same problem
- With my prototype (nRF52840 based):
-I have tested same prototype with another Smartphone, and it is perfectly working.
- I have fully erased it with JFlash and I have flashed it again (bootloader, sd, boot_setting,app). Even, I have done this with different versions that were previously working without problems.
My smartphone is a Xiaomi Mi6, and I have been using it during my development stage.
Do you know which can be the reason of such behaviour?
Best regards,
Dani