Samraksh eMote .NOW
GetNextPacket() Method
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 : GetNextPacket() Method

Get the next packet from the radio driver.
Syntax

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

    'Declaration

    Public Function GetNextPacket() As Message

    'Usage

    Dim instance As Radio_802_15_4_Base
    Dim value As Message

    value = instance.GetNextPacket()

    public Message GetNextPacket()

    public:
    Message^ GetNextPacket();

#### Return Value

A data packet of message type to the caller
Remarks
The radio does not maintain a buffer so the onus is on the application to sample this data as quickly as possible on getting a receive interrupt. Otherwise the packet is overwritten in the radio layer. For buffer support use the MAC interface
Requirements

Target Platforms: eMote .NOW

See Also

#### Reference

Radio_802_15_4_Base Class
Radio_802_15_4_Base Members

Send Feedback