Samraksh eMote .NOW
PreLoad Method (Radio_802_15_4_Base)
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: Visual Basic (Declaration) Language Filter: Visual Basic (Usage) Language Filter: C# Language Filter: C++/CLI
Visual Basic (Declaration)
Visual Basic (Usage)
C#
C++/CLI

Samraksh.eMote.Net.Radio Namespace > Radio_802_15_4_Base Class : PreLoad Method

Message to load
Size of message
Load the message into the transmit buffer of the radio.
Syntax

- Visual Basic
- C#
- C++/CLI

    'Declaration

    Public Function PreLoad( _
       ByVal message() As Byte, _
       ByVal size As UShort _
    ) As NetOpStatus

    'Usage

    Dim instance As Radio_802_15_4_Base
    Dim message() As Byte
    Dim size As UShort
    Dim value As NetOpStatus

    value = instance.PreLoad(message, size)

    public NetOpStatus PreLoad(
       byte[] message,
       ushort size
    )

    public:
    NetOpStatus PreLoad(
       array<byte>^ message,
       ushort size
    )

#### Parameters

message
  Message to load
size
  Size of message

#### Return Value

The result of the method: E_RadioInit, E_RadioSync, E_RadioConfig, E_MacInit, E_MacConfig, E_MacSendError, E_MacBufferFull, S_Success
Requirements

Target Platforms: eMote .NOW

See Also

#### Reference

Radio_802_15_4_Base Class
Radio_802_15_4_Base Members

Send Feedback