Unterschiede zwischen den Revisionen 11 und 14 (über 3 Versionen hinweg)
Revision 11 vom 20.11.2008 17:48
Größe: 1421
Autor: killagreg
Kommentar:
Revision 14 vom 20.11.2008 18:02
Größe: 1699
Autor: killagreg
Kommentar:
Gelöschter Text ist auf diese Art markiert. Hinzugefügter Text ist auf diese Art markiert.
Zeile 2: Zeile 2:
 . [[ImageLink( http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=869&g2_serialNumber=1,#)]]
||<tablewidth="690px" tableheight="43px" tablestyle="text-align: center;"bgcolor="#cccccc">'''''Start-Byte''''' ||<bgcolor="#cccccc">'''''Address-Byte''''' ||<bgcolor="#cccccc">'''''ID-Byte''''' ||<bgcolor="#cccccc">'''''n Data-Bytes coded ''''' ||<bgcolor="#cccccc">'''''CRC-Byte1''''' ||<bgcolor="#cccccc">'''''CRC-Byte2''''' ||<bgcolor="#cccccc">'''''Stop-Byte''''' ||
The protocol is based on individual serial data frames that are organized as shown in the following table.
||<tablewidth="690px" tableheight="43px" tablestyle="text-align: center;"bgcolor="#cccccc">'''''Start-Byte''''''''''''''''''''''' ||<bgcolor="#cccccc">'''''Address-Byte''''''''''''''''''''''' ||<bgcolor="#cccccc">'''''ID-Byte''''''''''''''''''''''' ||<bgcolor="#cccccc">'''''n Data-Bytes coded ''''''''''''''''''''''' ||<bgcolor="#cccccc">'''''CRC-Byte1''''''''''''''''''''''' ||<bgcolor="#cccccc">'''''CRC-Byte2''''''''''''''''''''''' ||<bgcolor="#cccccc">'''''Stop-Byte''''' ||
Zeile 5: Zeile 5:

Zeile 6: Zeile 8:
 . The Commands (named data-types in the picture above) are listed [:en/SerialCommands:here]  . The Commands based on the dataframes above are listed [:en/SerialCommands:here]
Zeile 9: Zeile 11:
||<tablewidth="" tablealign="center"bgcolor="#cccccc"> '''''Slave-Address''''' ||<bgcolor="#cccccc"> '''''Part''''' ||
||<:> 1 ||<:> FC ||
||<:> 2 ||<:> NC ||
||<:> 3 ||<:> MK3MAG ||
||<tablewidth="" tablestyle="text-align: center;"bgcolor="#cccccc"> '''''Slave-Address''''''''''''''''''''''' ||<bgcolor="#cccccc"> '''''Part''''' ||
||<style="text-align: center;"> 1 ||<style="text-align: center;"> FC ||
||<style="text-align: center;"> 2 ||<style="text-align: center;"> NC ||
||<style="text-align: center;"> 3 ||<style="text-align: center;"> MK3MAG ||

Protocol

The protocol is based on individual serial data frames that are organized as shown in the following table.

Start-Byte

Address-Byte

ID-Byte

n Data-Bytes coded

CRC-Byte1

CRC-Byte2

Stop-Byte

'#'

variable

V,D etc

"modified-base64"

variable

variable

'\r'

Commands

  • The Commands based on the dataframes above are listed [:en/SerialCommands:here]

Slave Adresses

  • Since Navi 0.12h FC 0.71f Mag 0.19 there are constant SlaveAdresses:

Slave-Address

Part

1

FC

2

NC

3

MK3MAG

Data Format

  • /!\ ToDo: describe data-format

Checksum

  • /!\ ToDo: describe checksum calculation

Links