Skip to content

Commit

Permalink
Update MAVLink2.md
Browse files Browse the repository at this point in the history
Remove WIP links and update documentation links reflecting that MAVLink 2 usage is now the default.
  • Loading branch information
LorenzMeier authored Apr 24, 2018
1 parent 75df6d3 commit d9f5c42
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions doc/MAVLink2.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,8 @@ other languages are not implemented yet.

## Using the C implementation

Using the C implementation of MAVLink2 is very similar to using the
existing MAVLink1 implementation. You start by generating the MAVLink2
headers using mavgen.py, but passing the --wire-protocol=2.0
option. For example:

```
mavgen.py --lang C message_definitions/v1.0/ardupilotmega.xml -o generator/C/include_v2.0 --wire-protocol=2.0
```
For most users usage of the pre-generated C headers is recommended:
https://github.com/mavlink/c_library_v2

This will generate a set of C headers in the generator/C/include_v2.0
directory. These headers offer the same range of APIs as was offered
Expand Down Expand Up @@ -115,10 +109,6 @@ some additional code. In particular you will need to add:
* code to save and load the secret key and timestamp in persistent storage
* a callback to allow for accepting of certain kinds of unsigned messages

Example code in ArduPilot for each of these pieces if available here:

https://github.com/tridge/ardupilot/blob/mavlink2-wip/libraries/GCS_MAVLink/GCS_Signing.cpp

### Handling SETUP_SIGNING

The SETUP_SIGNING message is the mechanism for a GCS to setup a
Expand Down

0 comments on commit d9f5c42

Please sign in to comment.