Apps
Components
Interfaces
All Files
Source Tree
source:
tos.platform.mica.MicaHighSpeedRadioM.nc
Component: MicaHighSpeedRadioM
Required Interfaces
RadioEncoding
Code
Random
SpiByteFifo
ChannelMon
RadioTiming
Provided Interfaces
StdControl
Control
BareSendMsg
Send
ReceiveMsg
Receive
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
short calc_crc
uint8_t ack_count
char rec_count
TOS_Msg buffer
TOS_Msg *rec_ptr
TOS_Msg *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
short add_crc_byte(char new_byte, short crc)
Function Index
task void
packetReceived
(void)
task void
packetSent
(void)
command result_t
Send.send
(TOS_MsgPtr msg)
command result_t
Control.init
(void)
command result_t
Control.start
(void)
command result_t
Control.stop
(void)
event result_t
ChannelMon.startSymDetect
(void)
event result_t
ChannelMon.idleDetect
(void)
event result_t
Code.decodeDone
(char data, char error)
event result_t
Code.encodeDone
(char data1)
event result_t
SpiByteFifo.dataReady
(uint8_t data)
short
add_crc_byte
(char new_byte, short crc)