-
+
@@ -124,85 +124,83 @@
-
-
-
-
-
-
52 inline Proto() { m_uidEnabled =
false; }
-
-
-
+
+
+
+
50 inline Proto() { m_uidEnabled =
false; }
+
+
+
+
+
-
-
-
-
-
73 begin([](
void *p,
const uint8_t *b,
int s)->
int {
return Serial.write(b, s); },
-
74 [](
void *p, uint8_t *b,
int s)->
int {
return Serial.readBytes(b, s); });
-
+
+
+
71 begin([](
void *p,
const uint8_t *b,
int s)->
int {
return Serial.write(b, s); },
+
72 [](
void *p, uint8_t *b,
int s)->
int {
return Serial.readBytes(b, s); });
+
+
+
-
-
-
-
-
85 begin([](
void *p,
const uint8_t *b,
int s)->
int {
return Serial1.write(b, s); },
-
86 [](
void *p, uint8_t *b,
int s)->
int {
return Serial1.readBytes(b, s); });
-
-
+
+
+
83 begin([](
void *p,
const uint8_t *b,
int s)->
int {
return Serial1.write(b, s); },
+
84 [](
void *p, uint8_t *b,
int s)->
int {
return Serial1.readBytes(b, s); });
+
+
+
+
-
-
-
-
-
98 begin([](
void *p,
const uint8_t *b,
int s)->
int {
return Serial2.write(b, s); },
-
99 [](
void *p, uint8_t *b,
int s)->
int {
return Serial2.readBytes(b, s); });
-
-
+
+
+
96 begin([](
void *p,
const uint8_t *b,
int s)->
int {
return Serial2.write(b, s); },
+
97 [](
void *p, uint8_t *b,
int s)->
int {
return Serial2.readBytes(b, s); });
+
+
+
+
-
-
-
-
-
111 begin([](
void *p,
const uint8_t *b,
int s)->
int {
return Serial3.write(b, s); },
-
112 [](
void *p, uint8_t *b,
int s)->
int {
return Serial3.readBytes(b, s); });
-
+
+
+
109 begin([](
void *p,
const uint8_t *b,
int s)->
int {
return Serial3.write(b, s); },
+
110 [](
void *p, uint8_t *b,
int s)->
int {
return Serial3.readBytes(b, s); });
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
220 uint8_t m_uidEnabled;
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
218 uint8_t m_uidEnabled;
+
+
+
+
-
+
-
-
int read(char *buf, int size, uint8_t flags=TINY_FLAG_WAIT_FOREVER)
Tiny protocol Arduino API.
@@ -210,20 +208,20 @@
Definition: TinyPacket.h:37
Definition: tiny_layer2.h:215
-
void beginToSerial()
Definition: TinyProtocol.h:71
+
void beginToSerial()
Definition: TinyProtocol.h:69
int(* write_block_cb_t)(void *pdata, const uint8_t *buffer, int size)
Definition: tiny_layer2.h:112
-
void beginToSerial3()
Definition: TinyProtocol.h:109
+
void beginToSerial3()
Definition: TinyProtocol.h:107
Definition: TinyPacket.h:43
-
void enableUid()
Definition: TinyProtocol.h:208
+
void enableUid()
Definition: TinyProtocol.h:206
void begin(write_block_cb_t writecb, read_block_cb_t readcb)
-
void disableUid()
Definition: TinyProtocol.h:216
+
void disableUid()
Definition: TinyProtocol.h:214
int write(char *buf, int size, uint8_t flags=TINY_FLAG_WAIT_FOREVER)
-
Definition: TinyProtocol.h:49
+
Definition: TinyProtocol.h:47
-
void beginToSerial1()
Definition: TinyProtocol.h:83
-
void beginToSerial2()
Definition: TinyProtocol.h:96
+
void beginToSerial1()
Definition: TinyProtocol.h:81
+
void beginToSerial2()
Definition: TinyProtocol.h:94
int(* read_block_cb_t)(void *pdata, uint8_t *buffer, int size)
Definition: tiny_layer2.h:123