7 #ifndef RUUVI_INTERFACE_COMMUNICATION_NFC_H
8 #define RUUVI_INTERFACE_COMMUNICATION_NFC_H
15 # define RUUVI_NRF5_SDK15_NFC_ENABLED RUUVI_NRF5_SDK15_ENABLED
18 #define RI_NFC_ID_FIELD_CODE {'i', 'd'}
19 #define RI_NFC_ADDR_FIELD_CODE {'a', 'd'}
20 #define RI_NFC_SW_FIELD_CODE {'s', 'w'}
21 #define RI_NFC_DATA_FIELD_CODE {'d', 't'}
82 const uint8_t length);
uint32_t rd_status_t
bitfield for representing errors
Header to enable and disable module compilation.
Ruuvi error codes and error check function.
rd_status_t ri_nfc_address_set(const uint8_t *const address, const uint8_t length)
rd_status_t ri_nfc_init(ri_comm_channel_t *const channel)
rd_status_t ri_nfc_data_set(void)
rd_status_t ri_nfc_send(ri_comm_message_t *messge)
rd_status_t ri_nfc_fw_version_set(const uint8_t *const version, const uint8_t length)
rd_status_t ri_nfc_receive(ri_comm_message_t *messge)
rd_status_t ri_nfc_uninit(ri_comm_channel_t *const channel)
rd_status_t ri_nfc_id_set(const uint8_t *const id, const uint8_t length)
control API for communication via outside world
Application message structure used for communication.