Hi @uiraeta,
I have read that the IoT app uses the location to work with the BLE scan, in my working place I have not a good mobile internet connection (4G), but I am connected with WiFi, could this connection affect the data transfer?
No, it won't affect if you have an internet connection.
Is it possible that you could check the reason for the disconnection event?
Please look at the next function that shows the disconnect case and you could look at the disconnect event.
static void BleApp_ConnectionCallback (deviceId_t peerDeviceId, gapConnectionEvent_t* pConnectionEvent)
gapDisconnectedEvent_t disconnectedEvent; /*!< Data for gConnEvtDisconnected_c: reason for disconnection. */
Regards,
Mario