Apps
Components
Interfaces
All Files
Source Tree
source:
tos.system.NoCRCPacket.nc
Component: NoCRCPacket
Required Interfaces
ByteComm
StdControl
ByteControl
Leds
Provided Interfaces
StdControl
Control
BareSendMsg
Send
ReceiveMsg
Receive
SendVarLenPacket
result_t
txBytes
(uint8_t *bytes, uint8_t numBytes)
Variables
uint8_t rxCount
uint8_t rxLength
uint8_t txCount
uint8_t txLength
TOS_Msg buffer
uint8_t *recPtr
uint8_t *sendPtr
uint8_t state
Function Index
command result_t
Control.init
(void)
command result_t
Control.start
(void)
command result_t
Control.stop
(void)
command result_t
txBytes
(uint8_t *bytes, uint8_t numBytes)
command result_t
Send.send
(TOS_MsgPtr msg)
command result_t
SendVarLenPacket.send
(uint8_t *packet, uint8_t numBytes)
void
sendComplete
(result_t success)
event result_t
SendVarLenPacket.sendDone
(uint8_t *packet, result_t success)
event result_t
ByteComm.txByteReady
(bool success)
event result_t
ByteComm.txDone
(void)
event result_t
ByteComm.rxByteReady
(uint8_t data, bool error, uint16_t strength)