Interface: moteiv.tos.lib.Spram.Spram
interface Spram
Spram ("SP RAM") interface for disseminating data across a sensor network.
- Author:
-
Cory Sharp, Moteiv Corporation <info@moteiv.com>
Commands
command void *getData()
command uint16_t getSizeBytes()
command void invalidate()
command bool isLocked()
command bool isValid()
command result_t lock()
command void publish(uint16_t bytes)
Events
event void locked()
event void updated()
Commands - Details
getData
command void *getData()
getSizeBytes
command uint16_t getSizeBytes()
invalidate
command void invalidate()
isLocked
command bool isLocked()
isValid
command bool isValid()
lock
command result_t lock()
- Returns:
-
SUCCESS if the buffer can be locked; FAIL if it is already locked.
publish
command void publish(uint16_t bytes)
Events - Details
locked
event void locked()
updated
event void updated()