SmarTak® CoT Shot Event

Packet: CoT_SMTK_Shot (v4.0.0)

Overview

The `CoT_SMTK_Shot` packet is a specialized Cursor on Target (CoT) message designed to broadcast a shot event from an asset. It uses the `effects_event` type to visualize the direction of fire.

This packet includes the standard `CoT_SMTK_HBeat` information (location, status, WnA) but adds critical IMU data (``) and styling information to allow TAK clients to draw a "cone of fire" or azimuth vector from the shooter's position.

Packet Structure Breakdown

XML Element Attribute / Tag Example Value Description
<event> version '2.0' CoT schema version.
uid 'EUD-HEARTBEAT,HAMMER' Unique identifier for the event. (Note: Example uses 'HEARTBEAT', may be 'SHOT').
type 'effects_event' The CoT event type, used by TAK to render special effects like shot cones.
time '2025-11-03T20:44:19.068Z' Timestamp of when the event was generated (UTC).
start '2025-11-03T20:44:19.068Z' Timestamp of when the event starts.
stale '2025-11-03T20:44:20.068Z' Timestamp when the event should be considered stale.
how 'm-f' Indicates the source of the data (Machine-to-machine, Fused).
qos '5-f-c' Quality of Service mapping.
access 'Undefined' Access control level.
<point> lat '36.57428741' Latitude (WGS-84) of the asset at the time of the shot.
lon '-87.25671387' Longitude (WGS-84) of the asset at the time of the shot.
hae '0.0' Height Above Ellipsoid in meters.
ce '2.0' Circular Error (90% confidence) in meters.
le '2.0' Linear Error (90% confidence) in meters.
<detail> <callsign> 'HAMMER' The displayable callsign for the asset.
<smtk_status> '0x00000000' The 32-bit SmarTak Status Code. See Status Code Overview.
<smtk_wna> '0x00000000' The 32-bit SmarTak WnA Code. See WnA Code Overview.
<detail_RPY> '[+3.22051, -5.55671, +143.22]' IMU Data (Roll, Pitch, Yaw) as a string array of floating point values. Yaw is used for azimuth.
<detail_remarks> '' Empty by default, can be auto-generated.
<detail_strokeColor_value> '352256000' Integer value for the outline color of the wedge (0-7 blue, 8-15 green, 16-23 red).
<detail_strokeWeight_value> '1.0' Floating point value for the thickness of the wedge outline.
<detail_fillColor_value> '352256000' Integer value for the fill color of the wedge (0-7 blue, 8-15 green, 16-23 red).
<detail_color_value> '-1' Integer value for the main color (0-7 blue, 8-15 green, 16-23 red).

Full XML Example

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<event version='2.0' uid='EUD-HEARTBEAT,HAMMER' type='effects_event' time='2025-11-03T20:44:19.068Z' start='2025-11-03T20:44:19.068Z' stale='2025-11-03T20:44:20.068Z' how='m-f' qos='5-f-c' access='Undefined'>
    <point lat='36.57428741' lon='-87.25671387' hae='0.0' ce='2.0' le='2.0'/>
    <detail>
        <callsign>HAMMER</callsign>
        <smtk_status>0x00000000</smtk_status>
        <smtk_wna>0x00000000</smtk_wna>
        <detail_RPY>[+3.22051, -5.55671, +143.22]</detail_RPY>
        <detail_remarks></detail_remarks>
        <detail_strokeColor_value>352256000</detail_strokeColor_value>
        <detail_strokeWeight_value>1.0</detail_strokeWeight_value>
        <detail_fillColor_value>352256000</detail_fillColor_value>
        <detail_color_value>-1</detail_color_value>
    </detail>
</event>