Skip to content

Instantly share code, notes, and snippets.

@Heliosmaster
Created October 18, 2014 18:19
Show Gist options
  • Save Heliosmaster/386a39a528bbf115b540 to your computer and use it in GitHub Desktop.
Save Heliosmaster/386a39a528bbf115b540 to your computer and use it in GitHub Desktop.
[RF12demo.12] B i2 g212 @ 868 MHz
Available commands:
<nn> i - set node ID (standard node ids are 1..30)
<n> b - set MHz band (4 = 433, 8 = 868, 9 = 915)
<nnnn> o - change frequency offset within the band (default 1600)
96..3903 is the range supported by the RFM12B
<nnn> g - set network group (RFM12 only allows 212, 0 = any)
<n> c - set collect mode (advanced, normally 0)
t - broadcast max-size test packet, request ack
...,<nn> a - send data packet to node <nn>, request ack
...,<nn> s - send data packet to node <nn>, no ack
<n> q - set quiet mode (1 = don't report bad packets)
<n> x - set reporting format (0: decimal, 1: hex, 2: hex+ascii)
123 z - total power down, needs a reset to start up again
Remote control commands:
<hchi>,<hclo>,<addr>,<cmd> f - FS20 command (868 MHz)
<addr>,<dev>,<on> k - KAKU command (433 MHz)
Current configuration:
B i2 g212 @ 868 MHz
> 0t
test 0 -> 66 b
? 0
? 0
> 0t
test 1 -> 66 b
? 0
> 0t
test 2 -> 66 b
? 0
> 0t
test 3 -> 66 b
> 0t
test 4> 0t
test 5> 0t
test 6> 0t
test 7> 0t
test 8> 0t
test 9> 0t
test 10 -> 66 b
? 0
? 0
> 1a
-> 0 b
? 0
? 0
? 0
> 1a
-> 0 b
? 0
> 1a
-> 0 b
? 0
> 1a
-> 0 b
? 0
> 1s
-> 0 b
> 1s
-> 0 b
> 1s
-> 0 b
> 0t
test 11 -> 66 b
> 0t
test 12> 0t
test 13> 0t
test 14> 0t
test 15> 0t
test 16> 0t
test 17> 0t
test 18> 0t
test 19> 0t
test 20> 0t
test 21 -> 66 b
> 0t
test 22> 0t
test 23> 0t
test 24 -> 66 b
> 0t
test 25 -> 66 b
> 0t
test 26> 0t
test 27> 0t
test 28> 0t
test 29> 0t
test 30> 0t
test 31> 0t
test 32> 0t
test 33> 0t
test 34> 0t
test 35 -> 66 b
? 0
> 0t
test 36 -> 66 b
> 0t
test 37> 0t
test 38> 0t
test 39> 0t
test 40> 0t
test 41> 0t
test 42> 0t
test 43> 0t
test 44> 0t
test 45 -> 66 b
? 0
> 1a
-> 0 b
? 0
> 2a
-> 0 b
? 0
> 2a
-> 0 b
> 1a
-> 0 b
? 0
? 0
> 1s
-> 0 b
? 0
> 1q
B i2 g212 @ 868 MHz q1
[RF12demo.12] A i1 g212 @ 868 MHz q1
Available commands:
<nn> i - set node ID (standard node ids are 1..30)
<n> b - set MHz band (4 = 433, 8 = 868, 9 = 915)
<nnnn> o - change frequency offset within the band (default 1600)
96..3903 is the range supported by the RFM12B
<nnn> g - set network group (RFM12 only allows 212, 0 = any)
<n> c - set collect mode (advanced, normally 0)
t - broadcast max-size test packet, request ack
...,<nn> a - send data packet to node <nn>, request ack
...,<nn> s - send data packet to node <nn>, no ack
<n> q - set quiet mode (1 = don't report bad packets)
<n> x - set reporting format (0: decimal, 1: hex, 2: hex+ascii)
123 z - total power down, needs a reset to start up again
Remote control commands:
<hchi>,<hclo>,<addr>,<cmd> f - FS20 command (868 MHz)
<addr>,<dev>,<on> k - KAKU command (433 MHz)
Current configuration:
A i1 g212 @ 868 MHz q1
> 0t
test 0 -> 66 b
> 0t
test 1 -> 66 b
OK 34 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
-> ack
> 0t
test 2 -> 66 b
> 0t
test 3 -> 66 b
OK 34 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
-> ack
> 0t
test 4 -> 66 b
OK 34 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
-> ack
> 0q
A i1 g212 @ 868 MHz
> 0t
test 5 -> 66 b
> 0t
test 6 -> 66 b
> 0t
test 7 -> 66 b
? 42 48 15 252 81 109
> 1q
A i1 g212 @ 868 MHz q1
> 2s
-> 0 b
> 2a
-> 0 b
> 2s
-> 0 b
> 0t
test 8 -> 66 b
> 0t
test 9 -> 66 b
> 0t
test 10 -> 66 b
> 0t
test 11 -> 66 b
> 0t
test 12> 0t
test 13> 0t
test 14> 0t
test 15> 0t
test 16> 0t
test 17> 0t
test 18> 0t
test 19> 0t
test 20 -> 66 b
> 0t
test 21 -> 66 b
> 0t
test 22 -> 66 b
> 0t
test 23 -> 66 b
> 0t
test 24 -> 66 b
> 0t
test 25 -> 66 b
> 0t
test 26 -> 66 b
> 0t
test 27> 0t
test 28> 0t
test 29> 0t
test 30> 0t
test 31> 0t
test 32> 0t
test 33 -> 66 b
> 0t
test 34> 0t
test 35> 0t
test 36> 0t
test 37> 0t
test 38> 0t
test 39 -> 66 b
> 1s
-> 0 b
> 2s
-> 0 b
> 2s
-> 0 b
> 2s
-> 0 b
> 2a
-> 0 b
> 2a
-> 0 b
> 2a
-> 0 b
> 0t
test 40> 0t
test 41> 0t
test 42> 0t
test 43> 0t
test 44> 0t
test 45> 0t
test 46> 0t
test 47> 0t
test 48> 0t
test 49> 0t
test 50> 0t
test 51> 0t
test 52> 0t
test 53 -> 66 b
OK 34 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
-> ack
OK 34 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
-> ack
OK 34 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
-> ack
OK 34 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
-> ack
OK 97
-> ack
OK 97
-> ack
OK 97
-> ack
OK 97
-> ack
OK 65
OK 65
OK 65
OK 34 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
-> ack
OK 34 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
-> ack
OK 34 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
-> ack
OK 97
-> ack
OK 97
-> ack
OK 65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment