Utility library for MTS Socket Modem Arduino Shield devices from Multi-Tech Systems

Dependents:   mtsas mtsas thermostat_fan_demo--fan mtsas ... more

NOTE: MTS-Utils has moved to GitHub. This version will not be updated. For updates, go to the GitHub version.

Revision:
15:ae12624eb600
Parent:
14:1d88cf5266c8
--- a/MTSText.h	Wed Sep 09 11:59:59 2015 -0500
+++ b/MTSText.h	Tue Mar 21 15:26:50 2017 -0500
@@ -55,9 +55,9 @@
 
     static std::string float2String(double val, int precision);
 
-    static std::string bin2hexString(const std::vector<uint8_t>& data, const char* delim = "", bool leadingZeros = false);
+    static std::string bin2hexString(const std::vector<uint8_t>& data, const char* delim = "", bool leadingZeros = false, bool bytePadding = true);
 
-    static std::string bin2hexString(const uint8_t* data, const uint32_t len, const char* delim = "", bool leadingZeros = false);
+    static std::string bin2hexString(const uint8_t* data, const uint32_t len, const char* delim = "", bool leadingZeros = false, bool bytePadding = true);
 
     static std::string bin2base64(const std::vector<uint8_t>& data);