Maxim Integrated / Mbed 2 deprecated DeepCover Embedded Security in IoT

Dependencies:   MaximInterface mbed

Files at this revision

API Documentation at this revision

Comitter:
IanBenzMaxim
Date:
Mon May 16 15:19:54 2016 -0500
Parent:
10:5eb19685b496
Child:
12:5f8727ba1493
Commit message:
Updated following downstream restructuring in OneWire library.

Changed in this revision

SensorNode.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SensorNode.cpp	Mon May 16 10:45:21 2016 -0500
+++ b/SensorNode.cpp	Mon May 16 15:19:54 2016 -0500
@@ -82,7 +82,7 @@
   // Create constant partial secret
   std::memset(scratchpad, defaultPaddingByte, scratchpad.length);
   // Read page data
-  bool result = (ds2465.readMemory(DS2465::ADDR_USER_MEM_PAGE_0, pageData, pageData.length, false) == OneWireMaster::Success);
+  bool result = (ds2465.readMemory(DS2465::UserMemoryPage0, pageData, pageData.length, false) == OneWireMaster::Success);
   // Calculate secret
   if (result)
   {