Raw frame transmission request. A raw frame is one without the usual physical layer headers. Unless appropriately formatted with appropriate headers, a raw frame will be detected as a bad frame on the receiving end.
| Constructor and description |
|---|
TxRawFrameReq
()Constructs empty raw frame request. |
TxRawFrameReq
(AgentID recipient)Constructs empty raw frame request for given agent id. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
byte[] |
getData()Gets the data in bytes. |
|
Priority |
getPriority()Gets the priority of the datagram. |
|
Long |
getTxTime()Gets the time at which it needs to be transmitted. |
|
int |
getType()Gets the type of channel. |
|
boolean |
getWakeup()Checks whether a wakeup signal should be sent before the frame. |
|
void |
setData(byte[] data)Sets data to be send across. |
|
void |
setPriority(Priority priority)Sets the priority of the datagram. |
|
void |
setTxTime(Long time)Sets transmission timestamp. transmission will be triggered at the specified time. |
|
void |
setTxTime(long time)Sets transmission timestamp. transmission will be triggered at the specified time. |
|
void |
setType(int type)Sets the channel type. |
|
void |
setWakeup(boolean enabled)Enables/disables sending of wakeup signal before frame. |
|
String |
toString() |
| Methods inherited from class | Name |
|---|---|
class Message |
toString, setSender, getSender, setMessageID, getMessageID, setInReplyTo, getInReplyTo, setSentAt, getSentAt, setPerformative, getPerformative, setRecipient, getRecipient, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Constructs empty raw frame request.
Constructs empty raw frame request for given agent id.
recipient - Agent IDGets the data in bytes.
Gets the priority of the datagram.
Gets the time at which it needs to be transmitted.
Gets the type of channel.
Checks whether a wakeup signal should be sent before the frame.
Sets data to be send across.
data - in bytesSets the priority of the datagram. A priority are advisory, and an agent may choose to ignore it, if it does not support prioritization.
priority - priority assigned to the request.Sets transmission timestamp. transmission will be triggered at the specified time. PhysicalCapability.TIMED_TX
time - transmission time in us, or nullSets transmission timestamp. transmission will be triggered at the specified time. PhysicalCapability.TIMED_TX
time - transmission time in us, or nullSets the channel type.
type - of channel (Physical.DATA or Physical.CONTROL)Enables/disables sending of wakeup signal before frame.
enabled - true if wakeup signal to be sentCopyright 2013-21, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd