Giter Club home page Giter Club logo

libmsr145's Introduction

libmsr145

Library for communication with the MSR145 datalogger.

The library was/is created by reverse engineering the proprietary Windows driver.

The work was done using a MSR145B with firmware V5.18.

I have no idea if the software works for any other of the MSR dataloggers, or for different firmware versions.

This is very much a work in progress, and the API will NOT be stable for the foreseable future.

###Working:

#####General:

  • Setting baudrate(The baudrate is reset to 9600 b/s if a command have not been send in ~5 seconds).
  • Calculation of 8-bit CRC checksum used by the protocol
  • Formatting the memory

#####Reading:

  • Read name

  • Read Serial number

  • Read current time of device

  • Read recording start/stop settings

  • Read recording start/stop time

  • Read limit settings

  • Getting live sensor data

  • Read samples from recording (not tested with ringbuffer, probably don't work)

  • List recordings on device

  • Read "Marker" settings

  • Read timer and sampling settings

  • Read LED blink settings

  • Read callibration settings

  • Read calibration name

  • Read calibration date #####Writing:

  • Set name

  • Set calibration name

  • Set calibration date

  • Set calibration settings

  • Set limits

  • Set "Marker" settings

  • Setting timer intervals, which sensors should be sample when the timer triggers, and if the blue LED should blink on timer trigger.

  • Set time on device

  • Stopping recording

  • Starting recording (and settings for start and stop condition, e.g button, time, etc.)

###Not Working:

  • Reading MSR type.
  • Anything to do with features not avaliable on the device i have access to, i.e. accelerometer, SD-Card, fluid-pressure, lightsensor, analog inputs.

###Known bugs:

  • Sometimes the communication with the MSR device will stall, and refuse to transfer more than a couple of commands at a time.
  • Setting of calibration data not working correctly, will cause the fields to be overwritten with FFFF. ##TODO
  • Fix bugs
  • Improve interface and make it consistent
  • Implement command-line tool on top of the library

libmsr145's People

Contributors

stefanrvo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.