Host library for controlling a WiConnect enabled Wi-Fi module.

Dependents:   wiconnect-ota_example wiconnect-web_setup_example wiconnect-test-console wiconnect-tcp_server_example ... more

Revision:
33:9b690d76eedf
Parent:
29:b6af04b77a56
--- a/api/StringUtil.h	Mon Oct 27 14:16:03 2014 -0700
+++ b/api/StringUtil.h	Mon Nov 03 23:48:38 2014 +0000
@@ -293,6 +293,13 @@
         sprintf(intStrBuffer, "%u", integer);
         return intStrBuffer;
     }
+    
+    /*************************************************************************************************/
+    static const char* hexToStr(char* intStrBuffer, uint32_t hexInteger)
+    {
+        sprintf(intStrBuffer, "%X", hexInteger);
+        return intStrBuffer;
+    }
 
     /*************************************************************************************************/
     static bool strToUint32(const char *str, uint32_t *uint32Ptr)