Hi,
I'm trying to modify the text_record example for NFC data transfer to transmit a numeric payload (working on an nrf52832). The original example transmits "Hello World!" with its language code, and I got that flashed just fine. I'm modifying the code to transmit an ID (uint8), a timestamp (YYYYMMDD) and a value (uint8).
The main problem is adding an extra two variables to the structs. I've made project-local copies of the header files "msg.h" and "record.h", and my own header file which is based on the header "text_rec.h". I've attached all my code to this ticket.
The error I'm currently getting is
c:\nordic\attempt1\src\attempt1.h:59:7: error: expected identifier before numeric constant
59 | 0, \
And I'm not sure how to fix this, since the 0's in this structure were in the original code, but I did add two more for the new variables...
All the attached code is in the same directory, with one dependency on a header I haven't edited.
Hope this all makes sense! Thank you for your help.