ruuvi.drivers.c  ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
ruuvi_interface_communication_nfc_test.h
Go to the documentation of this file.
1 #ifndef RUUVI_INTERFACE_COMMUNICATION_NFC_TEST_H
2 #define RUUVI_INTERFACE_COMMUNICATION_NFC_TEST_H
3 #include "ruuvi_driver_error.h"
6 #include <stdbool.h>
7 
20 /*
21  * @brief Run NFC integration tests.
22  *
23  * Writing and reading requires external NFC device which clones the content back to
24  * the device running integration test. For example smartphone NFC Tools app running
25  * clone function.
26  *
27  * @param[in] printfp Function pointer to which test JSON is sent.
28  * @retval true if error occured in test.
29  * @retval false if no errors occured.
30  * @warning This test requires external NFC reader to copy + write copied data to device.
31  */
34 #endif
bool ri_communication_nfc_run_integration_test(const rd_test_print_fp printfp)
void(* rd_test_print_fp)(const char *const msg)
function pointer to print test information
Ruuvi error codes and error check function.