Device interface library for multiple platforms including Mbed.

Dependents:   DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#

Maxim Interface is a library framework focused on providing flexible and expressive hardware interfaces. Both communication interfaces such as I2C and 1-Wire and device interfaces such as DS18B20 are supported. Modern C++ concepts are used extensively while keeping compatibility with C++98/C++03 and requiring no external dependencies. The embedded-friendly design does not depend on exceptions or RTTI.

The full version of the project is hosted on GitLab: https://gitlab.com/iabenz/MaximInterface

Revision:
11:3f3bf6bf5e6c
Parent:
10:947d3f44e0a0
--- a/MaximInterfaceCore/RunCommand.cpp	Mon Sep 30 09:39:32 2019 -0500
+++ b/MaximInterfaceCore/RunCommand.cpp	Tue Dec 03 10:52:28 2019 -0600
@@ -42,7 +42,9 @@
 const error_category & RunCommandWithOneWireMaster::errorCategory() {
   static class : public error_category {
   public:
-    virtual const char * name() const { return "RunCommandWithOneWireMaster"; }
+    virtual const char * name() const {
+      return "MaximInterfaceCore.RunCommandWithOneWireMaster";
+    }
 
     virtual std::string message(int condition) const {
       switch (condition) {
@@ -128,7 +130,9 @@
 const error_category & RunCommandWithI2CMaster::errorCategory() {
   static class : public error_category {
   public:
-    virtual const char * name() const { return "RunCommandWithI2CMaster"; }
+    virtual const char * name() const {
+      return "MaximInterfaceCore.RunCommandWithI2CMaster";
+    }
 
     virtual std::string message(int condition) const {
       switch (condition) {