DeepCover Embedded Security in IoT: Public-key Secured Data Paths

Dependencies:   MaximInterface

Embed: (wiki syntax)

« Back to documentation index

CC3100 Class Reference

CC3100 Wi-Fi station interface for mbed using SPI. More...

#include <CC3100.hpp>

Data Structures

class  SPI
 SPI bus interface. More...

Public Types

enum  State
 

CC3100 device state.

More...

Public Member Functions

State state () const
 Current state of the CC3100.
int start ()
 Start the CC3100 so that nework functionality is available.
int stop ()
 Stop the CC3100 and enter a low power state.
void update ()
 Update the networking stack. Should be called regularly to dispatch events.
int setDateTime (const std::tm &dateTime)
 Set the current date and time.

Static Public Member Functions

static CC3100instance ()
 Retrieve the singleton instance.

Static Public Attributes

static const int invalidState = -1
 Result code occurring when the CC3100 is in an invalid state to perform an operation.

Detailed Description

CC3100 Wi-Fi station interface for mbed using SPI.

Definition at line 46 of file CC3100.hpp.


Member Enumeration Documentation

enum State

CC3100 device state.

Definition at line 61 of file CC3100.hpp.


Member Function Documentation

CC3100 & instance (  ) [static]

Retrieve the singleton instance.

Definition at line 291 of file CC3100.cpp.

int setDateTime ( const std::tm &  dateTime )

Set the current date and time.

Definition at line 326 of file CC3100.cpp.

int start (  )

Start the CC3100 so that nework functionality is available.

Definition at line 296 of file CC3100.cpp.

CC3100::State state (  ) const

Current state of the CC3100.

Definition at line 309 of file CC3100.cpp.

int stop (  )

Stop the CC3100 and enter a low power state.

Definition at line 311 of file CC3100.cpp.

void update (  )

Update the networking stack. Should be called regularly to dispatch events.

Definition at line 324 of file CC3100.cpp.


Field Documentation

const int invalidState = -1 [static]

Result code occurring when the CC3100 is in an invalid state to perform an operation.

Definition at line 72 of file CC3100.hpp.