Difference between revisions of "Lascar Electronics EL-USB-2"

From sigrok
Jump to navigation Jump to search
Line 25: Line 25:
== Protocol ==
== Protocol ==


TODO.
=== Status structure ==
  // 0x03 -- could be packet type, or length of device name
  uint8_t unknown1;
  // 0x00 -- status stopped?
  uint8_t unknown2;
  // NULL-terminated device name
  char device_name[16];
  // 0-23
  uint8_t start_time_hour;
  // 0-59
  uint8_t start_time_minute;
  // 0-59
  uint8_t start_time_second;
  // 1-31
  unit8_t start_date_day;
  // 1-12
  unit8_t start_date_month;
  // year - 2000
  unit8_t start_date_year;
  uint32_t unknown3;
  // in seconds, little-endian
  uint16_t samplerate;
  // little-endian
  uint16_t num_stored_samples;
  // 00 00
  uint16_t unknown4;
  // b4 50
  uint16_t unknown5;
  // 00 00 00 3f
  uint32_t unknown6;
  // 00 00 20 c2
  uint32_t unknown7;
  // 00 00 00 00
  uint32_t unknown8;
  // ASCII, not NULL-terminated
  char firmware_version[4]
  // little-endian, displayed in decimal
  uint16_t serial_number;
  // a0 28
  uint16_t unknown9;
  // 00 00
  uint16_t unknown10;
  // 00 00 00 00
  uint32_t unknown11;


== Resources ==
== Resources ==

Revision as of 23:51, 24 November 2012

EL-USB-2

The Lascar Electronics EL-USB-2 is a USB-based temperature and humidity logger.

See Lascar Electronics EL-USB-2/Info for more details (such as lsusb -vvv output) about the device.

Hardware

Photos

Protocol

= Status structure

 // 0x03 -- could be packet type, or length of device name
 uint8_t unknown1;

 // 0x00 -- status stopped?
 uint8_t unknown2;

 // NULL-terminated device name
 char device_name[16];

 // 0-23
 uint8_t start_time_hour;
 // 0-59
 uint8_t start_time_minute;
 // 0-59
 uint8_t start_time_second;

 // 1-31
 unit8_t start_date_day;
 // 1-12
 unit8_t start_date_month;
 // year - 2000
 unit8_t start_date_year;

 uint32_t unknown3;

 // in seconds, little-endian
 uint16_t samplerate;

 // little-endian
 uint16_t num_stored_samples;

 // 00 00
 uint16_t unknown4;

 // b4 50
 uint16_t unknown5;

 // 00 00 00 3f
 uint32_t unknown6;

 // 00 00 20 c2
 uint32_t unknown7;

 // 00 00 00 00
 uint32_t unknown8;

 // ASCII, not NULL-terminated
 char firmware_version[4]

 // little-endian, displayed in decimal
 uint16_t serial_number;

 // a0 28
 uint16_t unknown9;

 // 00 00
 uint16_t unknown10;

 // 00 00 00 00
 uint32_t unknown11;

Resources

TODO.