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
"
4
#include "
ruuvi_interface_communication_nfc.h
"
5
#include "
ruuvi_interface_communication.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
*/
32
bool
ri_communication_nfc_run_integration_test
(
const
rd_test_print_fp
printfp);
34
#endif
ri_communication_nfc_run_integration_test
bool ri_communication_nfc_run_integration_test(const rd_test_print_fp printfp)
rd_test_print_fp
void(* rd_test_print_fp)(const char *const msg)
function pointer to print test information
Definition:
ruuvi_driver_test.h:23
ruuvi_driver_error.h
Ruuvi error codes and error check function.
ruuvi_interface_communication.h
ruuvi_interface_communication_nfc.h
src
integration_tests
ruuvi_interface_communication_nfc_test.h
Generated by
1.9.1