Comms refactor (prerequisite of libproxmark work) (#371)

* Refactor the comms code only from PR#346, without comms_globals.h.
* OSX: Add note for example serial port
This commit is contained in:
Michael Farrell 2017-10-27 06:54:27 +11:00 committed by pwpiwi
commit afdcb8c159
19 changed files with 540 additions and 334 deletions

View file

@ -50,8 +50,9 @@ int Iso15693AddCrc(uint8_t *req, int n) {
return n+2;
}
#ifdef ON_DEVICE
int sprintf(char *str, const char *format, ...);
#endif
// returns a string representation of the UID
// UID is transmitted and stored LSB first, displayed MSB first