MAXREFDES143#: DeepCover Embedded Security in IoT Authenticated Sensing & Notification
Dependencies: MaximInterface mbed
The MAXREFDES143# is an Internet of Things (IoT) embedded security reference design, built to protect an industrial sensing node by means of authentication and notification to a web server. The hardware includes a peripheral module representing a protected sensor node monitoring operating temperature and remaining life of a filter (simulated through ambient light sensing) and an mbed shield representing a controller node responsible for monitoring one or more sensor nodes. The design is hierarchical with each controller node communicating data from connected sensor nodes to a web server that maintains a centralized log and dispatches notifications as necessary. The mbed shield contains a Wi-Fi module, a DS2465 coprocessor with 1-Wire® master function, an LCD, LEDs, and pushbuttons. The protected sensor node contains a DS28E15 authenticator, a DS7505 temperature sensor, and a MAX44009 light sensor. The mbed shield communicates to a web server by the onboard Wi-Fi module and to the protected sensor node with I2C and 1-Wire. The MAXREFDES143# is equipped with a standard shield connector for immediate testing using an mbed board such as the MAX32600MBED#. The simplicity of this design enables rapid integration into any star-topology IoT network requiring the heightened security with low overhead provided by the SHA-256 symmetric-key algorithm.
More information about the MAXREFDES143# is available on the Maxim Integrated website.
Diff: Display.hpp
- Revision:
- 6:b6bafd0a7013
- Parent:
- 1:e1c7c1c636af
- Child:
- 24:434330962308
diff -r 63232ef22abe -r b6bafd0a7013 Display.hpp
--- a/Display.hpp Wed Apr 20 20:13:33 2016 +0000
+++ b/Display.hpp Thu May 12 14:40:14 2016 -0500
@@ -34,7 +34,8 @@
#ifndef _DISPLAY_HPP
#define _DISPLAY_HPP
-#include <cstdint>
+#include <stdint.h>
+#include <stddef.h>
#include <string>
namespace mbed { class I2C; }
@@ -54,18 +55,18 @@
/// 24-bit RGB color for the backlight.
struct Color
{
- std::uint8_t R, G, B;
- Color(std::uint8_t R, std::uint8_t G, std::uint8_t B)
+ uint8_t R, G, B;
+ Color(uint8_t R, uint8_t G, uint8_t B)
: R(R), G(G), B(B) { }
};
/// Length in character os a display line.
- static const std::size_t lineLength = 20;
+ static const size_t lineLength = 20;
/// @param I2C_interface A configured I2C interface to use for communication.
/// @param LCD_I2C_address LCD module bus address in mbed format.
/// @param LED_driver_I2C_addr PWM LED driver (MAX7306) bus address in mbed format.
- Display(mbed::I2C & I2C_intf, std::uint8_t LCD_I2C_addr, std::uint8_t LED_driver_I2C_addr);
+ Display(mbed::I2C & I2C_intf, uint8_t LCD_I2C_addr, uint8_t LED_driver_I2C_addr);
/// Initialize display components.
void initialize(void);
@@ -77,13 +78,13 @@
void clearLine(Line line);
/// Write a single character to the display at the current cursor position.
- void writeCharacter(std::uint8_t character);
+ void writeCharacter(uint8_t character);
/// Write text to the display at the current cursor position.
void writeText(const std::string & text);
/// Set cursor to a certain line and zero-index position within the line.
- void setCursorPosition(Line line, std::size_t position = 0);
+ void setCursorPosition(Line line, size_t position = 0);
/// Writes text to the display starting at the beginning of the line.
void writeLine(const std::string & text, Line line);
@@ -99,7 +100,7 @@
private:
mbed::I2C & m_I2C_intf;
- std::uint8_t m_LCD_I2C_addr, m_LED_driver_I2C_addr;
+ uint8_t m_LCD_I2C_addr, m_LED_driver_I2C_addr;
void initializeLCD(void);
void initializeLED_Driver(void);
MAXREFDES143#: DeepCover Embedded Security in IoT Authenticated Sensing & Notification