Apps
Components
Interfaces
All Files
Source Tree
source:
apps.Ident.AppM.nc
Component: AppM
Author:
David Gay
Philip Levis
Required Interfaces
StdControl
SubControl
Leds
Ident
ReceiveMsg
ClearIdMsg
ReceiveMsg
SetIdMsg
LoggerWrite
EEPROMWrite
LoggerRead
EEPROMRead
Provided Interfaces
StdControl
Variables
uint8_t eepromLine[TOS_EEPROM_LINE_SIZE]
bool eepromLineInUse
bool saveIdPending
Function Index
void
saveId
(void)
void
checkForSaveId
(void)
event result_t
EEPROMWrite.writeDone
(result_t success)
void
clearIdentity
(void)
void
setIdentity
(char *newid)
void
readId
(void)
event result_t
EEPROMRead.readDone
(uint8_t *buffer, result_t success)
command result_t
StdControl.init
(void)
command result_t
StdControl.start
(void)
command result_t
StdControl.stop
(void)
event TOS_MsgPtr
ClearIdMsg.receive
(TOS_MsgPtr m)
event TOS_MsgPtr
SetIdMsg.receive
(TOS_MsgPtr m)