Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MaximInterface mbed
Revision 11:aeaa77b488c0, committed 2016-05-16
- 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)
{
MAXREFDES143#: DeepCover Embedded Security in IoT Authenticated Sensing & Notification