A Frame.Mobile is an object that configures the payload of a frame belonging to a Tx.Stream.Mobile object. More...
Methods | |
Description.Get | |
Returns a textual description of the object. | |
FrameTag.Time.Get | |
Returns the FrameTag.Tx object related to the timestamp injection for this frame. More... | |
Parent.Get | |
Returns the parent object. | |
Payload.Get | |
A method which returns the payload of a frame. More... | |
Payload.Set bytes | |
A method which sets the payload of a frame. More... | |
Result.Clear | |
Clears the transmit counters. More... | |
Result.Get | |
Returns the transmit counters. More... | |
Result.History.Get | |
Returns the current transmit history counters. | |
A Frame.Mobile is an object that configures the payload of a frame belonging to a Tx.Stream.Mobile object.
A Frame.Mobile object is used for frame blasting. It is configured by a Tx.Stream.Mobile object and will be transmitted by the WirelessEndpoint.
This example will show how to add a frame to a stream and configure the payload.
Frame.Mobile::FrameTag.Time.Get |
Returns the FrameTag.Tx object related to the timestamp injection for this frame.
Each frame can be enabled to have a timestamp inserted into the frame.
The FrameTag.Tx object which is returned by this method represents the current configuration of the TimeTag injection. This object can be used to configure the TimeTag injection.
For more detailed information about Frame tagging, you can also take a look at ByteBlower API Knowledgebase: Background: Adding FrameTags to your ByteBlower frame - structure and behaviour
In this example, we will retrieve the FrameTag.Tx object for the TimeTag:
Returns:
<FrameTag.Tx object>
Frame.Mobile::Payload.Get |
A method which returns the payload of a frame.
This method will return the UDP payload of the frame in a hexadecimal format.
The current content of a frame can be requested like this:
Returns:
0001020304050607000102030405060700010203040506070001020304050607000102030405060700010203040506070001020304050607
Frame.Mobile::Payload.Set | bytes | ||
A method which sets the payload of a frame.
This method will change the payload of the frame. The value can be in different formats, e.g.
bytes | Bytes can be of any of the following formats:
|
The content of a frame can be set like this:
Frame.Mobile::Result.Clear |