Project

General

Profile

Revision e1d61b43

IDe1d61b43345761b081ad057f01e17be642d313cd
Parent f602b25b
Child dc472500

Added by Thomas Mullins over 11 years ago

Fixed compile errors; finished converting char -> uint8_t

View differences:

toolbox/rfid.h
30 30

  
31 31
/* Call this only after rfid_poll returns nonzero. This will copy the value it
32 32
 * read into serno, which should be at least RFID_SERNO_SIZE bytes */
33
void rfid_get_serno(char *serno);
33
void rfid_get_serno(uint8_t *serno);
34 34

  
35 35
/* Call this only after rfid_poll returns nonzero. Returns 1 if serno matches
36 36
 * the internal buffer of the most recently read serial number */
37
char rfid_check_serno(char *serno);
37
char rfid_check_serno(uint8_t *serno);
38 38

  
39 39
/* Call this only after rfid_poll returns nonzero. Returns 1 if the internal
40 40
 * buffer is nonzero, meaning a serial number was successfully read from an
toolbox/serial.h
8 8
void serial_init();
9 9
int serial_read();
10 10
void serial_flush();
11
char serial_read_blocking();
12
void serial_write(char* data, int length);
11
uint8_t serial_read_blocking();
12
void serial_write(uint8_t *data, int length);
13 13

  
14 14
#endif

Also available in: Unified diff