From f7ccc3596048b6b5a36b5d924285ab8d66356e4c Mon Sep 17 00:00:00 2001 From: Mark Jessop Date: Sun, 12 Sep 2021 14:59:51 +0930 Subject: [PATCH] Update readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 085a6ca..09b15e7 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,8 @@ The two functions [`build_horus_binary_packet_v1`](https://github.com/projecthor int pkt_len = build_horus_binary_packet_v1(rawbuffer); ``` +These functions are the main bit of code that you would need to modify to insert telemetry data from wherever you are obtaining it (GPS libraries, sensors, etc). + ### Encoding the Packet Next, we need to apply the Golay(23,12) forward-error-correction, interleaving and scrambling which protect the telemetry data. This is performed using the `horus_l2_encode_packet` function, which is located in `horus_l2.cpp`. This function takes a pointer to a destination and source buffer, and the packet length: