Apps
Components
Interfaces
All Files
Source Tree
source:
tos.platform.mica.MicaHighSpeedRadioTinySecM.nc
Component: MicaHighSpeedRadioTinySecM
Required Interfaces
RadioEncoding
Code
Random
SpiByteFifo
ChannelMon
RadioTiming
Time
PowerManagement
TinySec
Leds
Provided Interfaces
StdControl
Control
BareSendMsg
Send
ReceiveMsg
Receive
RadioCoordinator
RadioSendCoordinator
RadioCoordinator
RadioReceiveCoordinator
TinySecRadio
Variables
char TOSH_MHSR_start[12] = { 0xf0, 0xf0, 0xf0, 0xff, 0x00, 0xff, 0x0f, 0x00, 0xff, 0x0f, 0x0f, 0x0f }
char state
char send_state
char tx_count
uint16_t calc_crc
uint8_t ack_count
char rec_count
TOS_Msg_TinySecCompat buffer
TOS_Msg_TinySecCompat *rec_ptr
TOS_Msg_TinySecCompat *send_ptr
unsigned char rx_count
char msg_length
char buf_head
char buf_end
char encoded_buffer[4]
char enc_count
char decode_byte
char code_count
char timeSyncFlag
bool tx_done
bool tinysec_rx_done
Function Index
void
swapLengthAndGroup
(TOS_Msg *buf)
** TinySec ***
task void
packetReceived
(void)
** TinySec ***
task void
packetSent
(void)
** TinySec ***
command result_t
Send.send
(TOS_MsgPtr msg)
** TinySec ***
command result_t
Control.init
(void)
** TinySec ***
command result_t
Control.start
(void)
command result_t
Control.stop
(void)
async event result_t
TinySec.sendDone
(result_t result)
async event result_t
TinySec.receiveInitDone
(result_t result, uint16_t length, bool ts_enabled)
async event result_t
TinySec.receiveDone
(result_t result)
async event result_t
ChannelMon.startSymDetect
(void)
void
timeSyncFunctionHack
(void)
** TinySec ***
async event result_t
ChannelMon.idleDetect
(void)
async event result_t
Code.decodeDone
(char data, char error)
** TinySec ***
async event result_t
Code.encodeDone
(char data1)
async event result_t
SpiByteFifo.dataReady
(uint8_t data)
async event void
RadioSendCoordinator.startSymbol
(void)
async event void
RadioSendCoordinator.byte
(TOS_MsgPtr msg, uint8_t byteCount)
async event void
RadioReceiveCoordinator.startSymbol
(void)
async event void
RadioReceiveCoordinator.byte
(TOS_MsgPtr msg, uint8_t byteCount)