summaryrefslogtreecommitdiff
path: root/doc/protocols/ground-crx.txt
blob: 1a92ab076d86689a25a46ffa0d707ea58bb2d60d (plain) (blame)
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
Protocol Definition between Ground Stations and Command RX
==========================================================


Introduction
------------

- using DTMF on FM
- receiver should be activated for min. 200ms every 5s to listen for new commands
- signs get scrambled using a secret Code Table
- every command must be aknowledged by a beacon with the unscrambled code

Frame
-----

#42<code><cs>

Checksum:
---------

XOR over Signs intrepreted as 4-bit numbers (see translation table below)

   DTMF-Sign  |  Number
  ------------+----------
       D      |    0
       1      |    1
       2      |    2
       3      |    3
       4      |    4
       5      |    5
       6      |    6
       7      |    7
       8      |    8
       9      |    9
       0      |   10
       *      |   11
       #      |   12
       A      |   13
       B      |   14
       C      |   15
 

Codes:
------

0    ..    shut up (rfkill)
1    ..    unshut up (no rfkill)

8    ..    activate payload receiver
9    ..    reset settings
C    ..    cancel all commands
#    ..    reset (hardware reboot only)
*    ..    safe mode (stop all activties and harvest energy)