File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ TheThingsNetwork KEYWORD1
12
12
# Methods and Functions (KEYWORD2)
13
13
#######################################
14
14
15
- TTN_HEX_CHAR_TO_NIBBLE KEYWORD2
16
- TTN_HEX_CHAR_TO_NIBBLE KEYWORD2
17
-
18
15
showStatus KEYWORD2
19
16
onMessage KEYWORD2
20
17
provision KEYWORD2
Original file line number Diff line number Diff line change 7
7
#define debugPrintLn (...) { if (debugStream) debugStream->println (__VA_ARGS__); }
8
8
#define debugPrint (...) { if (debugStream) debugStream->print (__VA_ARGS__); }
9
9
10
+ #define TTN_HEX_CHAR_TO_NIBBLE (c ) ((c >= ' A' ) ? (c - ' A' + 0x0A ) : (c - ' 0' ))
11
+ #define TTN_HEX_PAIR_TO_BYTE (h, l ) ((TTN_HEX_CHAR_TO_NIBBLE(h) << 4 ) + TTN_HEX_CHAR_TO_NIBBLE(l))
12
+
10
13
String TheThingsNetwork::readLine () {
11
14
while (true ) {
12
15
String line = modemStream->readStringUntil (' \n ' );
Original file line number Diff line number Diff line change 14
14
#define TTN_PWRIDX_868 1
15
15
#define TTN_PWRIDX_915 5
16
16
17
- #define TTN_HEX_CHAR_TO_NIBBLE (c ) ((c >= ' A' ) ? (c - ' A' + 0x0A ) : (c - ' 0' ))
18
- #define TTN_HEX_PAIR_TO_BYTE (h, l ) ((TTN_HEX_CHAR_TO_NIBBLE(h) << 4 ) + TTN_HEX_CHAR_TO_NIBBLE(l))
19
-
20
17
enum ttn_fp_t {
21
18
TTN_FP_EU868,
22
19
TTN_FP_US915
You can’t perform that action at this time.
0 commit comments