Hi,
I understand that NRF connect source code is unavailable.
However the toolbox Nordic App is too heavy.
Is it possible to get a small Scan Android App source code (Android Studio) that can detect BLE5 long range?
Thanks
Avi
Hi,
I understand that NRF connect source code is unavailable.
However the toolbox Nordic App is too heavy.
Is it possible to get a small Scan Android App source code (Android Studio) that can detect BLE5 long range?
Thanks
Avi
Hi Avi
I should, of course, have provided a link to the Android Scanner Compatible library instead. I'm sorry about that. Please see the sample snippet for example code to start and stop scanning for reference, or check out the scanner source code in the scanner compatible library here.
Best regards,
Simon
Hi Avi
I should, of course, have provided a link to the Android Scanner Compatible library instead. I'm sorry about that. Please see the sample snippet for example code to start and stop scanning for reference, or check out the scanner source code in the scanner compatible library here.
Best regards,
Simon
I found a good example: here it is for the others:
https://chinaz.avgle8.com/a5527/16-3/igznopxua/groovelab/AndroidBleSample/tree/master/app
I added this line into the scan setting:
ScanSettings.Builder()
.setLegacy(false)
.setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY)
.setReportDelay(scanDelay.toMillis())
.setUseHardwareBatchingIfSupported(false)
.setPhy(ScanSettings.PHY_LE_ALL_SUPPORTED).build()
Thank you for sharing your solution with us, very helpful!
Best regards,
Simon