aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_sat_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/plugin_transport_sat_constants.h')
-rw-r--r--src/transport/plugin_transport_sat_constants.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/transport/plugin_transport_sat_constants.h b/src/transport/plugin_transport_sat_constants.h
index a9ee9227c..bd64c5d2b 100644
--- a/src/transport/plugin_transport_sat_constants.h
+++ b/src/transport/plugin_transport_sat_constants.h
@@ -32,22 +32,26 @@
32 32
33typedef struct MacAdress 33typedef struct MacAdress
34{ 34{
35 uint8_t mac[6]; 35 uint8_t mac[6];
36}MacAdress; 36} MacAdress;
37 37
38//praeamble 38//praeamble
39static const struct char praeambel[56] = 39static const struct char praeambel[56] =
40{{1,0,1,0,10,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0}}; 40 { {1, 0, 1, 0, 10, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1,
41 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1,
42 0, 1, 0, 1, 0, 1, 0}
43};
41 44
42//start of frame 45//start of frame
43static const struct char sof[8]= 46static const struct char sof[8] = { {1, 0, 1, 0, 1, 0, 1, 1} }
44{{1,0,1,0,1,0,1,1}}
45 47
46// broadcast mac 48// broadcast mac
47static const struct MacAddress bc_all_mac = 49static const struct MacAddress bc_all_mac =
48 { { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF } }; 50 { {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} };
49 51
50//crc polynom 52//crc polynom
51static const struct char ploynom[32] = 53static const struct char ploynom[32] =
52 {{1,1,1,0,1,1,0,1,1,0,1,1,1,0,0,0,1,0,0,0,0,0,1,1,0,0,1,0,0,0,0,1}}; 54 { {1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1,
55 0, 0, 1, 0, 0, 0, 0, 1}
56};
53#endif 57#endif