Contenido principal

pushReceivedPacket

Class: wnet.Node
Namespace: wnet

Push received packets to reception buffer of node

Since R2026a

Description

pushReceivedPacket(wirelessNode,packet) pushes the received packet packet to the reception buffer of the node. You can override this method so a node stores the packets it receives.

Note

Only the wirelessNetworkSimulator object calls the pushReceivedPacket method.

Input Arguments

expand all

Wireless node, specified as an object of a subclass of wnet.Node.

Received packets, specified as a structure or a vector of structures. For more information about the structure of a wireless packet, see the wirelessPacket function.

Version History

Introduced in R2026a