<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://info.aprs.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://info.aprs.net/index.php?title=Garmin_Basestation_Mode&amp;feed=atom&amp;action=history</id>
		<title>Garmin Basestation Mode - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://info.aprs.net/index.php?title=Garmin_Basestation_Mode&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://info.aprs.net/index.php?title=Garmin_Basestation_Mode&amp;action=history"/>
		<updated>2013-05-23T20:42:54Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://info.aprs.net/index.php?title=Garmin_Basestation_Mode&amp;diff=2983&amp;oldid=prev</id>
		<title>KB0MVQ: Created page with &quot;'''Note:''' This document assumes you are familiar with Garmin Device Interface Specification (Drawing Number: 001-00063-00) and how to establish communication with a Garmin devi...&quot;</title>
		<link rel="alternate" type="text/html" href="http://info.aprs.net/index.php?title=Garmin_Basestation_Mode&amp;diff=2983&amp;oldid=prev"/>
				<updated>2012-10-16T19:01:54Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; This document assumes you are familiar with Garmin Device Interface Specification (Drawing Number: 001-00063-00) and how to establish communication with a Garmin devi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Note:''' This document assumes you are familiar with Garmin Device Interface Specification (Drawing Number: 001-00063-00) and how to establish communication with a Garmin device. &lt;br /&gt;
&lt;br /&gt;
=== Link Protocol ===&lt;br /&gt;
==== Packet IDs ====&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
enum&lt;br /&gt;
{&lt;br /&gt;
Pid_Tracked_Asset_Data = 3078&lt;br /&gt;
}; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Application Protocol ===&lt;br /&gt;
==== A1100 – Basestation Protocol ====&lt;br /&gt;
Tracked asset data is transmitted upon the user enabling the feature on the unit.&lt;br /&gt;
&lt;br /&gt;
The packet sequence for the Basestation Protocol is show below:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! N !! Direction !! Packet ID !! Packet Data Type&lt;br /&gt;
|-&lt;br /&gt;
| 0 || Device to Host (ACK/NACK optional) || Pid_Tracked_Asset_Data || &amp;lt;D1100_Tracked_Asset_Type&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Data Types ===&lt;br /&gt;
&lt;br /&gt;
==== asset_info_type ====&lt;br /&gt;
&lt;br /&gt;
The asset_info_type is a uint32 bit field that indicates the type of receiving unit, the asset's type and it's associated status.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Bit&lt;br /&gt;
! Interpretation&lt;br /&gt;
|-&lt;br /&gt;
| 0-3 (least significant bits)&lt;br /&gt;
| Dog Status&lt;br /&gt;
|-&lt;br /&gt;
| 4-8&lt;br /&gt;
| Platform&lt;br /&gt;
|-&lt;br /&gt;
| 9-11&lt;br /&gt;
| Type&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| Low Battery&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| GPS Lost&lt;br /&gt;
|-&lt;br /&gt;
| 14&lt;br /&gt;
| Communication Lost&lt;br /&gt;
|-&lt;br /&gt;
| 15&lt;br /&gt;
| Text Message Received&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| Asset Removed&lt;br /&gt;
|-&lt;br /&gt;
| 17-31 (most significant bits)&lt;br /&gt;
| Undefined&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Dog Status&amp;quot; can be one of the following values:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
enum&lt;br /&gt;
   {&lt;br /&gt;
   DOG_STATUS_INVALID    = 0,&lt;br /&gt;
   DOG_STATUS_SITTING    = 1,&lt;br /&gt;
   DOG_STATUS_MOVING     = 2,&lt;br /&gt;
   DOG_STATUS_TREED      = 3,&lt;br /&gt;
   DOG_STATUS_ON_POINT   = 4&lt;br /&gt;
   };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Platform&amp;quot; can be one of the following values:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
enum&lt;br /&gt;
   {&lt;br /&gt;
   PLATFORM_ASTRO320 = 0,&lt;br /&gt;
   PLATFORM_RINO     = 1,&lt;br /&gt;
   PLATFORM_ALPHA    = 2 &lt;br /&gt;
   };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Type&amp;quot; can be one of the following values:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
enum&lt;br /&gt;
   {&lt;br /&gt;
   TYPE_DOG     = 0,&lt;br /&gt;
   TYPE_CONTACT = 1&lt;br /&gt;
   };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Dog Status&amp;quot;, &amp;quot;Low Battery&amp;quot;, &amp;quot;GPS Lost&amp;quot;, and &amp;quot;Communication Lost&amp;quot; are only valid if &amp;quot;Type&amp;quot; is &amp;lt;code&amp;gt;TYPE_DOG&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For &amp;quot;Low Battery&amp;quot;, &amp;quot;GPS Lost&amp;quot;, &amp;quot;Communication Lost&amp;quot;, a set bit indicates the condition is true.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Text Message Received&amp;quot; bit being set indicates that a new text message has been received. &lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Asset Removed&amp;quot; bit being set indicates that the user has removed the asset from the list of tracked assets on their device.&lt;br /&gt;
&lt;br /&gt;
==== D1100_Tracked_Asset_Type ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
typedef struct&lt;br /&gt;
    {&lt;br /&gt;
    position_type       posn;&lt;br /&gt;
    float               alt;&lt;br /&gt;
    time_type           time;&lt;br /&gt;
    asset_info_type     status;&lt;br /&gt;
    symbol_type         smbl;      /* contact symbol */&lt;br /&gt;
    uint16              collar_id; /* assigned dog collar ID */&lt;br /&gt;
    uint8               color;     /* track color */&lt;br /&gt;
    uint8               batt;      /* Battery level 0% - 100% */&lt;br /&gt;
    uint8               gps;       /* Signal strength 0 - 5 bars */&lt;br /&gt;
    uint8               comm;      /* Signal strength 0 - 5 bars */&lt;br /&gt;
    uint8               channel;   /* FRS/GMRS channel */&lt;br /&gt;
    uint8               code;      /* FRS/GMRS squelch code */&lt;br /&gt;
    uint8               idx;       /* index */&lt;br /&gt;
    uchar_t8            ident[37]; /* identifier */&lt;br /&gt;
    uchar_t8            msg[31];   /* text message or note */&lt;br /&gt;
    } D1100_Tracked_Asset_Type;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;smbl&amp;quot; is only valid if the &amp;quot;Type&amp;quot; field of the &amp;quot;status&amp;quot; member is &amp;lt;code&amp;gt;TYPE_CONTACT&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;collar_id&amp;quot;, &amp;quot;batt&amp;quot;, &amp;quot;gps&amp;quot;, and &amp;quot;comm&amp;quot; members are only valid if the &amp;quot;Type&amp;quot; field of the &amp;quot;status&amp;quot; member is &amp;lt;code&amp;gt;TYPE_DOG&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The “color” member is the display color of the asset's track and can be one of the following values:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
enum&lt;br /&gt;
{&lt;br /&gt;
clr_black         = 0,&lt;br /&gt;
clr_dark_red      = 1,&lt;br /&gt;
clr_dark_green    = 2,&lt;br /&gt;
clr_dark_yellow   = 3,&lt;br /&gt;
clr_dark_blue     = 4,&lt;br /&gt;
clr_dark_magenta  = 5,&lt;br /&gt;
clr_dark_cyan     = 6,&lt;br /&gt;
clr_light_gray    = 7,&lt;br /&gt;
clr_dark_gray     = 8,&lt;br /&gt;
clr_red           = 9,&lt;br /&gt;
clr_green         = 10,&lt;br /&gt;
clr_yellow        = 11,&lt;br /&gt;
clr_blue          = 12,&lt;br /&gt;
clr_magenta       = 13,&lt;br /&gt;
clr_cyan          = 14,&lt;br /&gt;
clr_white         = 15,&lt;br /&gt;
clr_light_blue    = 16,&lt;br /&gt;
clr_transparent   = 17,&lt;br /&gt;
clr_default_color = 255&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;idx&amp;quot; member is a unique index for a given asset. This allows the host to track changes of the identifier. A given index may be reused after the unit sends a packet with the &amp;quot;Asset Removed&amp;quot; bit of the &amp;quot;status&amp;quot; member set for that index.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;msg&amp;quot; member is only valid when the &amp;quot;Text Message Received&amp;quot; bit of &amp;quot;status&amp;quot; member is set. Otherwise the previously received message should be considered the latest message.&lt;/div&gt;</summary>
		<author><name>KB0MVQ</name></author>	</entry>

	</feed>