More documenting
More documenting

--- a/src/packet/AFSK_Demodulator.h
+++ b/src/packet/AFSK_Demodulator.h
@@ -183,9 +183,9 @@
 /**
  * @ingroup Packet
  * Pass another byte of signal data to the demodulator
- * Returns a pointer to a char array containing a demodulated packet
- * if this byte did not complete demodulation of a packet it returns a
- * NULL pointer instead
+ * @returns a pointer to a char array containing a demodulated packet
+ *  if this byte did not complete demodulation of a packet it returns a
+ *  NULL pointer instead
  */
 char_array* AFSK_Demodulator_proccess_byte(AFSK_Demodulator *self, int8_t data_point);
 

--- a/src/packet/APRSPacket.c
+++ b/src/packet/APRSPacket.c
@@ -1,3 +1,8 @@
+/**
+ * @file	APRSPacket.c
+ * @author	Michael Marques <dryerzinia@gmail.com>
+ */
+
 #include "APRSPacket.h"
 
 void APRSPacket_from_data(APRSPacket *packet, char_array *data){

--- a/src/packet/APRSPacket.h
+++ b/src/packet/APRSPacket.h
@@ -1,3 +1,15 @@
+/**
+ * @file	APRSPacket.h
+ * @author	Michael Marques <dryerzinia@gmail.com>
+ * @brief	Contains functions for parsing APRS data from packets and
+ * 			structs for storing that data
+ * @ingroup	Packet
+ *
+ * File contains all the necessary functions for parsing APRS packets.
+ * Contains structs for storing the APRS related data, and functions
+ * for accessing it and converting it to string form for printing.
+ */
+
 #ifndef APRSPACKET_H
 #define APRSPACKET_H
 
@@ -9,24 +21,64 @@
 
 #include "../container/char_array.h"
 
+/**
+ * Value of CRC Polynomial used in AX-25
+ */
 #define APRS_CRC_POLY 0x8408
 
+/**
+ * @ingroup Packet
+ * Contains all information related to the APRS packet include the raw data,
+ * the AX-25 Addresses, and any parsed information based on standard APRS
+ * messages
+ */
 typedef struct {
 
-	char_array		data;
+	/**
+	 * Raw data of APRS packet including CRC
+	 */
+	char_array	data;
 
-	signed char		destination_address[8];
-	signed char		source_address[8];
+	/**
+	 * Destination address of packet with SSID
+	 * May contain Mic-E data
+	 */
+	char		destination_address[8];
+	/**
+	 * Source of the packet with SSID
+	 */
+	char		source_address[8];
 
-	unsigned char	repeaters;
-	signed char		**repeater_addresses;
+	/**
+	 * Number of repeaters
+	 * A maximum of 8 repeaters is allowed
+	 */
+	uint8_t		repeaters;
+	/**
+	 * List of repeaters
+	 */
+	char		**repeater_addresses;
 
 } APRSPacket;
 
+/**
+ * @ingroup Packet
+ * Creates an APRSPacket strut from a char array of packet data parsing any
+ * relevant information for easier access later.
+ */
 void APRSPacket_from_data(APRSPacket *packet, char_array *data);
 
-unsigned short APRSPacket_crc(APRSPacket *packet);
+/**
+ * @ingroup Packet
+ * Calculates CRC of packet data using the APRS_CRC_POLY
+ * @returns CRC value of packet data
+ */
+uint16_t APRSPacket_crc(APRSPacket *packet);
 
+/**
+ * @ingroup Packet
+ * Frees any memory in use by this packet
+ */
 void APRSPacket_destroy(APRSPacket *packet);
 
 #endif

--- a/src/packet/packet_main.c
+++ b/src/packet/packet_main.c
@@ -19,10 +19,13 @@
 		{"show-errors", 'e', 0, OPTION_ARG_OPTIONAL, "Show packets with bad checksums"},
 		{"raw", 'r', 0, OPTION_ARG_OPTIONAL, "Print packets as raw data with unsigned short length before them"},
 		{"noise-floor", 'n', 0, OPTION_ARG_OPTIONAL, "Noise floor (Not properly implemented yet)"},
-		{"offset", 'o', "FLOAT", OPTION_ARG_OPTIONAL, "Float offset to multiply average amplitude of the Fouriour Coefficent difference by (0.0925)"},
+		{"offset", 'o', "FLOAT", OPTION_ARG_OPTIONAL, "Float offset to multiply average amplitude of the Fourier Coefficient difference by (0.0925)"},
 		{0}
 };
 
+/**
+ * Array for arguments to packet executable
+ */
 struct arguments {
 
 	char *filename;