Hi,
Is there any Automation code for the GATT characteristic testing for read and write the services? Is any Automation code for the central and peripheral for GATT read and write is available?
Using Android App can we automate this process?
Hi,
Is there any Automation code for the GATT characteristic testing for read and write the services? Is any Automation code for the central and peripheral for GATT read and write is available?
Using Android App can we automate this process?
Hi,
For Android testing, you could have a look at automated tests. There is also testing section in sdk-nrf repository. In addition, you could read about test and optimization in the NCS documentation.
Best regards,
Dejan
Hi Dejans
i have already gone through the automated tests which you provide above but in this they provide the hex files which i am not able to flash on the nrf52840.
showing this error could you please help me with proper hex file.
Hi,
What is the location where you found the hex files? Which hex files did you try to flash on nRF52840? Did you try to flash them to nRF52840-dk or a custom board?
Could you please provide information about the steps you took before you got the error?
Best regards,
Dejan
Hi Dejan
https://github.com/NordicSemiconductor/Android-nRF-Connect/tree/main/documentation/Automated%20tests/DFU%20Tests/nRF52840/SDK%2017.1/output this is the path where i found the hex file . I am flashing this on the nRF52840-dk board .I am flashing this using the nrf connect desktop app --> Programmer
Thanks
Hi,
You could try programming using the following command:
nrfjprog --program nrf52840_sdk_17.1_all_in_one.hex --chiperase --verify
Hi Dejans
thanks for the input i am able to flash properly. But for the running the automatic script is there is any proper document because i have read the readme file the lot of steps where not clear to me. which hex to flash what to do next. If any videos could you please provide that.Thanks in advance
Thanks,
Hi Dejans
thanks for the input i am able to flash properly. But for the running the automatic script is there is any proper document because i have read the readme file the lot of steps where not clear to me. which hex to flash what to do next. If any videos could you please provide that.Thanks in advance
Thanks,
Hi,
Please note that Android automation tools work with legacy DFU but not with DFU in NCS.
As far as I know, there are no videos related to Android automation testing. You would need to write your own test suite using this documentation. Relevant available samples are sample_test_hrm.xml and sample_test_scanning.xml.
Best regards,
Dejan