libJelling-calc/include/libJelling/libJelling.h

36 lines
644 B
C

#ifndef LIB_JELLING
#ifndef BLUETOOTH_H_INCLUDED
#include "libJelling/bluetooth.h"
#endif
#ifndef MESSAGE_H_INCLUDED
#include "libJelling/message.h"
#endif
#ifndef MODULE_H_INCLUDED
#include "libJelling/module.h"
#endif
#endif
#define TOO_LONG 1
#define WRITE_ERROR 2
#define BAD_RESPONSE 3
#define TIMER_ERROR_INSTALL 4
#define TOO_SHORT 5
#define SERIAL_ALREADY_OPEN 6
#define NOT_ENOUGH_RAM 7
#define MISSING_ACK 8
#define UNKNOWN_ERROR 9
#define INVALID_TYPE 10
#define END_OF_COMMUNICATION 11
#define RTC 0.128
#define RQT 0
#define ASW 1
#define ACK 2
#define MIS 3
#define FUL 4
#define ERR 5
#define END 6
#define SYN 7