Apps
Components
Interfaces
All Files
Source Tree
source:
tos.lib.BapM.nc
Component: BapM
Required Interfaces
Leds
SendMsg
SendMsgGenericComm
ReceiveMsg
ReceiveMsgGenericComm
Ping
StdControl
StdControlGenericComm
StdControl
StdControlBapPing
Provided Interfaces
SendData
StdControl
result_t
active
(void)
Variables
uint8_t sentCounter[1000]
uint8_t receivedCounter[1000]
int8_t parentIndex[1000]
uint16_t parentAddress[1000]
uint8_t sendPending[1000]
uint8_t appSendPending[1000]
int16_t cacheAddr[1000][BapM.NUM_ENTRIES]
uint8_t cacheHopCount[1000][BapM.NUM_ENTRIES]
uint8_t cacheHeuristics[1000][BapM.NUM_ENTRIES]
uint8_t heardBitmask[1000]
uint8_t echoBitmask[1000]
uint16_t pingReceiveAddr[1000]
TOS_Msg dataBuf[1000]
TOS_MsgPtr msg[1000]
Function Index
__inline void
changeHeuristic
(int findex, uint8_t changeAmount)
__inline char
assignNewParent
(void)
__inline void
markHeard
(short hopSource, short prevSource, char hopSourceHopDistance)
command result_t
StdControl.init
(void)
command result_t
StdControl.start
(void)
command result_t
StdControl.stop
(void)
task void
evalCounterParent
(void)
command result_t
SendData.send
(uint8_t *data, uint8_t len)
command result_t
active
(void)
event TOS_MsgPtr
ReceiveMsgGenericComm.receive
(TOS_MsgPtr smsg)
task void
incrementSendCounter
(void)
event result_t
SendMsgGenericComm.sendDone
(TOS_MsgPtr data, result_t success)
task void
pingReceivedUpdate
(void)
event result_t
Ping.pingResponse
(uint16_t moteID, uint8_t sequence)
event result_t
Ping.pingReceive
(uint16_t moteID, uint8_t sequence)