Apps
Components
Interfaces
All Files
Source Tree
source:
apps.Bombilla.AMPromiscuous.nc
Component: AMPromiscuous
Author:
Jason Hill
David Gay
Philip Levis
Require Interfaces
result_t
sendDone
(void)
StdControl
UARTControl
BareSendMsg
UARTSend
ReceiveMsg
UARTReceive
StdControl
RadioControl
BareSendMsg
RadioSend
ReceiveMsg
RadioReceive
Leds
StdControl
TimerControl
Timer
ActivityTimer
PowerManagement
Provided Interfaces
StdControl
Control
CommControl
SendMsg
ReceiveMsg
ReceiveMsg
NonPromiscuous
uint16_t
activity
(void)
Variables
bool state
TOS_MsgPtr buffer
uint16_t lastCount
uint16_t counter
bool promiscuous_mode
bool crc_check
Function Index
command result_t
Control.init
(void)
command result_t
Control.start
(void)
command result_t
Control.stop
(void)
command result_t
CommControl.setCRCCheck
(bool value)
command bool
CommControl.getCRCCheck
(void)
command result_t
CommControl.setPromiscuous
(bool value)
command bool
CommControl.getPromiscuous
(void)
command uint16_t
activity
(void)
void
dbgPacket
(TOS_MsgPtr data)
result_t
reportSendDone
(TOS_MsgPtr msg, result_t success)
event result_t
ActivityTimer.fired
(void)
event result_t
SendMsg.sendDone
(uint8_t id, TOS_MsgPtr msg, result_t success)
event result_t
sendDone
(void)
task void
sendTask
(void)
command result_t
SendMsg.send
(uint8_t id, uint16_t addr, uint8_t length, TOS_MsgPtr data)
event result_t
UARTSend.sendDone
(TOS_MsgPtr msg, result_t success)
event result_t
RadioSend.sendDone
(TOS_MsgPtr msg, result_t success)
TOS_MsgPtr
prom_received
(TOS_MsgPtr packet)
event TOS_MsgPtr
ReceiveMsg.receive
(uint8_t id, TOS_MsgPtr msg)
event TOS_MsgPtr
UARTReceive.receive
(TOS_MsgPtr packet)
event TOS_MsgPtr
RadioReceive.receive
(TOS_MsgPtr packet)