X
Knowledge Base
Categories

KB Search

NMEA 2000 Actisense Output format

← Back

NMEA 2000 Actisense Output format

This is binary formatted NMEA 2000 output

How to enable

Use the web interface, and browse to Settings->Data-Server Settings

Use the drop-down boxes to configure your requirement.

1) Select TCP or UDP mode

2) Select format “N2K Actisense”

3) Select “Transmit Only” (Only transmit available at present)

4) Select the TCP or UDP port on which connections are made

Description

We recommend that software developers support this format “N2K Actisense” or the alternative ASCII format “ASCII N2K” in applications because they are the easiest option for developers – both formats fully decode both fast packet and transport protocol messages so that no need to understand the low-level packet reconstruction of NMEA 2000 is required.

Refer to the NMEA 2000 Appendix B for details of how to decode a PGN’s fields.

Advantages of “N2K Actisense” format

N2K Actisense uses around half the bandwidth to send a similar amount of data when compared to N2K ASCII.  This makes N2K Actisense more suitable for applications which transfer to the cloud.

Disadvantages of “N2K Actisense” format

As a binary format, the N2K Actisense header fields are not easy to read.  The binary contents of each PGN will need an NMEA 2000 viewer application to decode the actual content of each field’s bits & bytes.

Format of N2K Actisense

Once the DLE Escape characters have been removed, messages sent in “N2K Actisense” format have the following form:

<ID><LL><D><S><PDUS><PDUF><DPP><C><TTTT><MHS>b0b1b2b3b4b5b6b7…bn

<ID> ID
BST Message ID

<LL> Length
Two bytes for payload length, the maximum length of an N2K message is 1785.

<D> Destination Address
Location for storing the address of the device receiving the message.

<S> Source Address
Location for storing the address of the device sending the message.

<PDUS> PDU Specific
Lowest byte of PGN, depending on PDUF this will contain an address (PDU1) or a Group Extension (PDU2).

<PDUF> PDU Format
PDU Format determines contents of PDUS.

<DPP> Data page and priority
Data Page and message Priority bits.

<C> Control
PGN control ID bits and 3-bit Fast-Packet sequence ID.

<TTTT> Timestamp
Four bytes for timestamp in milliseconds.

<MHS> Message header size
Size of message header, includes all bytes up to b0.

(b0…bn) Message data
Message’s payload of data.

 

Contents