Trond Enger / d7a_1x

Fork of d7a_1x by WizziLab

Revision:
54:540b327bfa14
Parent:
53:3e4aa4b57090
Child:
55:5ea18a3a01b9
diff -r 3e4aa4b57090 -r 540b327bfa14 include/d7a.h
--- a/include/d7a.h	Tue Sep 06 15:42:42 2016 +0000
+++ b/include/d7a.h	Tue Sep 06 15:49:19 2016 +0000
@@ -224,13 +224,10 @@
 TYPEDEF_STRUCT_PACKED
 {
     /// Manufacturer ID: provided by Wizzilab
-    //  comes from: here
     uint32_t manufacturer_id;
     /// Device ID: Arbitrary number, at user/customer choice
-    //  comes from: application
     uint32_t device_id;
     /// Hardware Board ID:
-    //  comes from: board definition
     uint32_t hw_version;
     /// Firmware Version: made of
     ///  - major,minor and patch indexes : comes from versioning tool
@@ -239,7 +236,6 @@
     ///    1B  |  1B   |  1B   |   2B  |  4B  |
     fw_version_t fw_version;
     /// "file-system" signature XXX: to be worked out
-    //  comes from: application
     uint32_t fs_crc;
 } d7a_revision_t;
 
@@ -294,8 +290,11 @@
 // =======================================================================
 TYPEDEF_STRUCT_PACKED
 {
+    /// Addressee control byte
     d7a_addressee_ctrl_t ctrl;
+    /// Access Class
     d7a_xcl_t xcl;
+    /// UID
     uint8_t id[D7A_UID_LEN];
 
 } d7a_addressee_t;