2.2.2.4 Collect Data Response Message

A sink device sends a collect data response message in reply to a Collect Data Message (section 2.2.2.3). The sink device SHOULD send the response even if it is not connected to a wireless network.

The collect data response message MUST contain the following message-specific header following the Common Message Header (section 2.2.1.2).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Reserved

C

L

History_Length

Sample_Index

Recv_Error_Average

Send_Error_Average

Recv_Error_Variance

Send_Error_Variance

RssiSampleDescs (variable)

LinkSpeedSampleDescs (variable)

RetrySampleDescs (variable)

XmittedFragSampleDescs (variable)

FcsErrorSampleDescs (variable)

RecvdFragSampleDescs (variable)

Reserved (14 bits): A field that MUST be zero and ignored on receipt.

C (1 bit): A flag that indicates whether network congestion was detected.

If set, network congestion was detected at the time the information sent in this message was collected. How network congestion is detected is implementation-specific. A sink device MAY choose to not implement network congestion detection, in which case it MUST clear this bit.

The protocol does not distinguish between a sink that has not detected network congestion and one that does not implement network congestion detection.

Network congestion in this case is defined as the state where a link or node is servicing more data than it was designed to handle, thereby reducing the quality of its service. This reduction will persist for as long as the data rate remains higher than supported.

L (1 bit): If set, the network interface on the sink device is capable of reporting link speed changes.

History_Length (2 bytes): A 16-bit unsigned integer that specifies the count of sample entries in each RssiSampleDescs, LinkSpeedSampleDescs, RetrySampleDescs, XmittedFragSampleDescs, FcsErrorSampleDescs, or RecvdFragSampleDescs field that is included as part of the message. This count MUST NOT exceed 120 entries. This field MUST be zero if the sink does not support runtime diagnostics.

Sample_Index (4 bytes): A 32-bit unsigned integer that specifies the total count of sample entries that have been collected by the sink device to date.

Recv_Error_Average (4 bytes): A 32-bit unsigned integer that identifies the average of the most recent 100 samples of Retry_Delta_Value (section 2.2.2.4.3) / Xmitted_Frag_Delta_Value (section 2.2.2.4.4), expressed as 0.000001 units. More information is available in section 3.2.

Send_Error_Average (4 bytes): A 32-bit unsigned integer that identifies the average of the most recent 100 samples of Fcs_Error_Delta_Value (section 2.2.2.4.5) / Recvd_Frag_Delta_Value (section 2.2.2.4.6), expressed as 0.000001 units. More information is available in section 3.2.

Recv_Error_Variance (4 bytes): A 32-bit unsigned integer that identifies the variance in the most recent 100 samples of Retry_Delta_Value (section 2.2.2.4.3) / Xmitted_Frag_Delta_Value (section 2.2.2.4.4), expressed as 0.000001 units. More information is available in section 3.2.

Send_Error_Variance (4 bytes): A 32-bit unsigned integer that identifies the variance in the most recent 100 samples of Fcs_Error_Delta_Value (section 2.2.2.4.5) / Recvd_Frag_Delta_Value (section 2.2.2.4.6), expressed as 0.000001 units. More information is available in section 3.2.

RssiSampleDescs (variable): A list of RssiSampleDesc items (section 2.2.2.4.1). The ordering of RssiSampleDesc items in this message MUST represent the actual recording time order, going from oldest to latest. The count of RssiSampleDesc items is equal to the value of History_Length.

LinkSpeedSampleDescs (variable): A list of LinkSpeedSampleDesc items (section 2.2.2.4.2). The ordering of LinkSpeedSampleDesc items in this message MUST represent the actual recording time order, going from oldest to latest. The count of LinkSpeedSampleDesc items is equal to the value of History_Length.

RetrySampleDescs (variable): A list of RetrySampleDesc items (section 2.2.2.4.3). The ordering of RetrySampleDesc items in this message MUST represent the actual recording time order, going from oldest to latest. The count of RetrySampleDesc items is equal to the value of History_Length.

XmittedFragSampleDescs (variable): A list of XmittedFragSampleDesc items (section 2.2.2.4.4). The ordering of XmittedFragSampleDesc items in this message MUST represent the actual recording time order, going from oldest to latest. The count of XmittedFragSampleDesc items is equal to the value of History_Length.

FcsErrorSampleDescs (variable): A list of FcsErrorSampleDesc items (section 2.2.2.4.5). The ordering of FcsErrorSampleDesc items in this message MUST represent the actual recording time order, going from oldest to latest. The count of FcsErrorSampleDesc items is equal to the value of History_Length.

RecvdFragSampleDescs (variable): A list of RecvdFragSampleDesc items (section 2.2.2.4.6). The ordering of RecvdFragSampleDesc items in this message MUST represent the actual recording time order, going from oldest to latest. The count of RecvdFragSampleDesc items is equal to the value of History_Length.