Menu Close

MeshCom protocol

MeshCom 4.0 uses the protocol modified from the APRS-AX.25 protocol as defined for APRS for the payload data. (aprs101.pdf APRS PROTOCOL REFERENCE Version 1.0 2000, page 12)

Find use:

  • Identifier - APRS data type identifier
  • Message ID - 32-bit LSB->MSB unique value
  • MAX-HOP - max. 7 (mask 0x07) default 5 is used which allows 4 more passes.
    • 0x80 – Indicates whether this message has already been processed via the MeshCom server
    • 0x40 - Identifier that this message is to be supplemented per MeshClient with the callsign of the forwarding station. For measurement and control purposes.
  • Source address - This field contains the callsign and SSID of the transmitting station.
  • Destination Address — This field can contain an APRS destination call sign or “*” for transmissions to ALL.
  • Digipeater - There can be 0 to 8 digipeater call signs in this field. Note: These digipeater addresses can be overwritten by a generic APRS digipeater path (specified by the SSID of the destination address).
  • Information - This field contains transport data. The first character of this field is the APRS data type identifier, which indicates what type of data follows.
  • Frame Check Sequence - The FCS is a sequence of 16 bits used to check the integrity of a received frame.

Messages:

Text messages:

:|!MMMMMM|!HH|OE0XXX-99|>*|:|Text message|!00|!HW|!MOD|FCS#

Text messages with Path from Mesh:

:|!MMMMMM|!HH|OE0XXX-99,OE3XXX-12,OE3YY-12|>*|:|Text message|!00|!HW|!MOD|FCS#

Position messages:

!|!MMMMMMMM|!HH|OE0XXX-99|>*|!|4800.00|N|/|01600.00|E|#| BBB /A=HHHHHH|!00|!HW|!MOD|FCS#

Checksum: FCS is formed as an unsigned 16-bit sum of the protocol bytes 0 to incl. MOD byte and little endian is appended after the MOD byte.

Legend:
Protocol elements:

| ... is only used to show the separations here in the text

Message elements

Short codeField nameVariable type
: ! Message identifierVersion 4.0
MMMMMMMessage ID32-bit LSB->MSB
HHMAX-HOP8-bit bit mask 0x07
Message via MQTT serverBit mask 0x80
Insert path in mesh (with comma as separator)Bit mask 0x40
4800.00LatitudeDegree/decimal x 100
01600.00LongidudeDegree/decimal x 100
NN ord / S outhchar
/APRS SYMBOL group (/ or \)char
EE ast / W estchar
#APRS SYMBOLchar
BBBBattery status in %int 0 - 100
/A=HHHHHHGPS sea level (feet)int 0 - 40000
PqayLoad completioncloses the APRS PayLoad range0x00
HWHardware ID (see extra table)8-bit (see table)
MODLoRa Modulation ID (MediumSlow...3)8-bit (see table)
FCS#Checksum incl. identifier and 0x00 from message completion32-bit LSB->MSB

MeshCom hardware

Hardware IDHW TypeMCU TypeLoRa typeHW abbreviationHW version
1TTGO ESP32 Passenger Counter V3ESP32SX1278TLORA_V2V2
2TTGO ESP32 Passenger Counter V1ESP32SX1278TLORA_V1V1
3TTGO ESP32 Passenger Counter V2_1_1.6ESP32SX1278TLORA_V2_1_1p6V2 1.6
4TTGO T-BeamESP32SX1278TBEAM1.1
5TTGO T-Beam 1268ESP32SX1268TBEAM_12681.1 1268
6TTGO T-Beam 0.7ESP32SX1262TBEAM_0p70.7
7T-EchonRFSX1262T_ECHO
8T-DeckESP32-S3SX1262TDECK
9Wisblock RAK4631nRFWisblock nRFRAK4631
10HELTEC V2_1ESP32SX1262HELTEC_V2_1V2
11HELTEC V1ESP32SX1276HELTEC_V1V1
12T-Beam AXP2101ESP32SX1278TBEAM_AXP2101
39Ebyte Lora E22ESP32SX1278EBYTE_E22
40T5 ePaperESP32-S3SX1262T5_EPAPERV3
41HELTEC Wireless TrackerESP32-S3SX1262HELTEC_TRACKER
42HELTEC Wireless StickESP32SX1262HELTEC_STICK_V3
43HELTEC V3ESP32-S3SX1262HELTEC_V3
44HELTEC E290ESP32-S3SX1262HELTEC_E290
45TBEAM_1262ESP32-S3SX1262TBEAM_1262
46T-Deck PlusESP32-S3SX1262T_DECK_PLUS
47T-Beam SupremeESP32SX1262TBEAM_SUPREME
48ESP32_S3_EBYTE_E22ESP32-S3SX1262ESP32_S3_EBYTE_E22
49TLORA PagerESP32SX1262TLORA_PAGER
50T-Deck ProESP32-S3SX1262T_DECK_PRO
51T-Beam 1WESP32-S3SX1262TBEAM_1W
52HELTEC V4ESP32-S3SX1262HELTEC_V4V4
53T_ETH_ELITE_1262ESP32-S3SX1262T_ETH_ELITE
54HELTEC T114nRFWisblock nRFHELTEC_T114
55T3_S3_V13ESP32-S3SX1262T3_S3_V13
56T_CON_PROESP32-S3SX1262T_CON_PRO
57Wireless PaperESP32-S3SX1262WIRELESS_PAPER
58HELTEC EPaper E213ESP32-S3SX1262HELTEC_E213
59ESP32_LORAPRS_E22ESP32-S3SX1262ESP32_LORAPRS_E22
60ESP32_LORAPRS_RA01ESP32-S3RA01ESP32_LORAPRS_RA01
61T_WATCH_S3ESP32-S3SX1262T_WATCH_S3

MeshCom modulations

MOD IDTransmission rangePlanned range (km)Transmission speedParameter
0Extended range10-20fast
1Extended range10-20slow (robust)0.275 kbps
2Additional extended range20-40slow (robust)0.183 kbps
3Normal range5-10slow (robust)
4Normal range5-10fast5.469 kbps
5Local area0-5slow (robust)
6Local area0-5fast21.875 kbps