Use TopfieldUSBEcode for received values too.
[MacTF.git] / Errors.h
blob6826cd44e17d6cb8006183d57bae04df70bc251f
1 /*
2 * Errors.h
3 * MacTF
5 * Created by Kalle Olavi Niemitalo on 2007-10-28.
7 * This source code is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Public License as published
9 * by the Free Software Foundation; either version 2 of the License,
10 * or (at your option) any later version.
12 * This source code is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 * Please refer to the GNU Public License for more details.
17 * You should have received a copy of the GNU Public License along with
18 * this source code; if not, write to:
19 * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 extern NSString *const MacTFErrorDomain;
24 enum {
25 MACTF_ERR_COMMUNICATION_BLOCK_MISSING = 1,
26 MACTF_ERR_COMMUNICATION_BLOCK_LT_8_BYTES = 2,
27 MACTF_ERR_COMMUNICATION_BLOCK_CRC = 3,