Interface: tos.chips.tda5250.HplTda5250Data
interface HplTda5250Data
Interface for sending and receiving bytes of data over the TDA5250 Radio.
This interface lets you receive and send bytes of data.
In conjunction to this the HplTda5250DataControl interface is used to
switch between receiving and sending.
- See:
-
HplTda5250DataControl
- Author:
-
Kevin Klues (klues@tkn.tu-berlin.de)
Commands
command error_t tx(uint8_t data)
Events
event void rxDone(uint8_t data)
event void txReady()
Commands - Details
tx
command error_t tx(uint8_t data)
- Parameters:
-
data - The data byte to be transmitted.
- Returns:
-
SUCCESS Byte successfully transmitted.
FAIL Byte could not be transmitted.
Events - Details
rxDone
event void rxDone(uint8_t data)
- Parameters:
-
data - The data byte received.
txReady
event void txReady()