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

Interface: BareSendMsg

Components providing this interface:
tos.platform.mica.MicaHighSpeedRadioM
tos.platform.mica.MicaHighSpeedRadioTinySecM
tos.platform.mica.RadioCRCPacket
tos.platform.mica.RadioPacketTinySec
tos.platform.mica.RadioPacketTinySecM
tos.system.FramerM
tos.system.NoCRCPacket
tos.system.PacketSink
tos.system.UARTFramedPacket
tos.system.UARTNoCRCPacket

Components requiring this interface:
apps.Bombilla.AMPromiscuous
apps.GenericBase.GenericBaseM
apps.SecureTOSBase.SecureTOSBaseM
apps.TOSBase.TOSBaseM
apps.TestEEPROM.ByteSpeed.ETimingM
apps.TestEEPROM.PageSpeed.ETimingM
apps.TestMatchbox.Timing.TimingM
apps.TransparentBase.TOSBaseM
tos.lib.TinySec.AMStandardTinySec
tos.platform.mica.RadioPacketTinySecM
tos.system.AMPromiscuous
tos.system.AMStandard

Commands

Events

Commands - Details

send

result_t send(TOS_MsgPtr msg)

Send a message buffer over a communiation channel.
Returns: SUCCESS if the buffer will be sent, FAIL if not. If SUCCESS, a sendDone should be expected, if FAIL, the event should not be expected.

Events - Details

sendDone

result_t sendDone(TOS_MsgPtr msg, result_t success)

Signals that a buffer was sent; success indicates whether the send was successful or not.
Returns: SUCCESS always.