cosmetic: some more comments
diff --git a/src/protocol.h b/src/protocol.h
index 21601ce..f4aff77 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -19,6 +19,10 @@
* 25 64 00 6C 31 5F 61 63 71 2E 63 00 %d.l1_acq.c.
*/
+/***********************************************************************
+ * Extended Message Service (DIAG_EXT_MSG_F)
+ ***********************************************************************/
+
struct ext_log_msg {
/* msg_hdr_type equivalent */
uint8_t type;
@@ -61,6 +65,10 @@
} __attribute__((packed));
+/***********************************************************************
+ * Log Service (IAG_LOG_F)
+ ***********************************************************************/
+
/* message header for DIAG_LOG_F */
struct diag_log_hdr {
uint8_t cmd_code;
@@ -77,6 +85,10 @@
} __attribute__((packed));
+/***********************************************************************
+ * Command Service (DIAG_SUBSYS_CMD_F)
+ ***********************************************************************/
+
/* extended DIAG packet, */
struct diagpkt_subsys_hdr {
uint8_t command; /* DIAG_SUBSYS_CMD_F */
diff --git a/src/qmi_decode.c b/src/qmi_decode.c
index 23af90e..dec48a4 100644
--- a/src/qmi_decode.c
+++ b/src/qmi_decode.c
@@ -3,6 +3,8 @@
#include <libqmi-glib.h>
+/* A small wrapper around libqmi-glib to give us a human-readable string
+ * representation of QMI messages that we receive from DIAG */
int dump_qmi_msg(const uint8_t *data, unsigned int len)
{
GByteArray *buffer;