Editing Mer/Documentation/BME Protocol

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 60: Line 60:
struct emsg_bme_bulk_reply {
struct emsg_bme_bulk_reply {
-
   uint32    unknown1; // (Apparently always 0.)
+
   uint32    unknown1;
-
   uint32    unknown2; // (Apparently always 0.)
+
   uint32    unknown2;
-
   uint32    unknown3; // (Apparently always 0.)
+
   uint32    unknown3;
-
   uint16    sw_status; // Battery monitor SW status.  (Values 0..3 encountered.)
+
   uint16    sw_status; // Battery monitor SW status
   uint16    instaneous_battery_voltage; // Instantaneous battery voltage (mV)
   uint16    instaneous_battery_voltage; // Instantaneous battery voltage (mV)
   uint16      // Remaining standby time to battery low (mins)
   uint16      // Remaining standby time to battery low (mins)
-
   uint16    unknown4; // (Apparently always 0.)
+
   uint16    unknown4;
-
   uint16    unknown5; // (Values 0..24 encountered, with 0 being by far most common.)
+
   uint16    unknown5;
   uint16    unknown6;
   uint16    unknown6;
   uint16    // Battery monitor check voltage (mV)
   uint16    // Battery monitor check voltage (mV)
-
   uint16    // Battery low warning interval counter.  (Values 0..4 encountered, with 0 being by far most common.)
+
   uint16    // Battery low warning interval counter
   uint16    // Double median filtered battery voltage
   uint16    // Double median filtered battery voltage
   uint16    // Initial battery monitor voltage (mV)
   uint16    // Initial battery monitor voltage (mV)
-
   uint16    // Time per battery bar (mins).  Apparently always 2520.
+
   uint16    // Time per battery bar (mins)
   uint16    // DMF voltage sampled at first battery low (mV)
   uint16    // DMF voltage sampled at first battery low (mV)
   uint32    // Average phone current (uA)
   uint32    // Average phone current (uA)
Line 81: Line 81:
   uint16    // Largest TX-Off/On voltage difference (mV)
   uint16    // Largest TX-Off/On voltage difference (mV)
   uint8      // Battery bar level log mask
   uint8      // Battery bar level log mask
-
   uint8      // Previous battery bar level.  (Values 0..4 encountered.)
+
   uint8      // Previous battery bar level
-
   uint8      // Battery low reason.  (Values 0,1 encountered.)
+
   uint8      // Battery low reason
-
   uint8      // CS state information.  (Apparently always 1.)
+
   uint8      // CS state information  
-
   uint16    // Number of battery bars.  (Values 1..4.)
+
   uint16    // Number of battery bars
-
   uint16    // Battery type.  (Value 4 for me, with standard Nokia battery.)
+
   uint16    // Battery type
   uint16    // Temperature, in kelvin
   uint16    // Temperature, in kelvin
   uint16    // Battery capacity  
   uint16    // Battery capacity  
-
   uint16    // Battery impedance (mOhm).  (Apparently always 160.)
+
   uint16    // Battery impedance (mOhm)
-
   uint16    // Present value of v_bat_full_level.  (Apparently always 3855.)
+
   uint16    // Present value of v_bat_full_level
-
   uint16    // Present value of v_bat_low_ths_mv.  (Apparently always 3650.)
+
   uint16    // Present value of v_bat_low_ths_mv
-
   uint16    unknown7; (Values 0..21 encountered.)
+
   uint16    unknown7;
-
   uint16    unknown8; (Apparently always 0.)
+
   uint16    unknown8;
-
   uint16    unknown9; (Apparently always 0.)
+
   uint16    unknown9;
-
   uint16    // Load current estimated by Batmon4 (uA).  (Various values in 0..125 encountered.)
+
   uint16    // Load current estimated by Batmon4 (uA)
-
   uint16    unknown10; (Apparently always 0.)
+
   uint16    unknown10;
};
};
</pre>
</pre>

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: