Apps     Components     Interfaces     All Files     Source Tree     source: tos.interfaces.TinySecRadio.nc

Interface: TinySecRadio

Components providing this interface:
tos.platform.mica.MicaHighSpeedRadioTinySecM

Components requiring this interface:
tos.lib.TinySec.TinySecC
tos.lib.TinySec.TinySecM

Events

Events - Details

getTransmitByte

uint8_t getTransmitByte(void)

Requests the next byte to be sent from TinySec. Pre-condition: TinySec has been initialized and TinySec.sendInit and TinySec.send have been called. Post-condition: none
Returns: The next byte to be sent.

byteReceived

result_t byteReceived(uint8_t byte)

Signals the next received byte to TinySec. Pre-condition: TinySec has been initialized and TinySec.receiveInit has been called and a TinySec.receiveInitDone event has been received. Post-condition: none
Returns: Whether the signal handler was successful.