The purpose of this test is to ensure the EUT can properly use CoAP to transport USP Records.
Conditional Mandatory (supports the CoAP MTP)
- Ensure that the EUT and test equipment have the necessary information to send and receive USP Records to each other.
- The EUT and Controller are configured to communicate over CoAP.
-
Send a Get message to the EUT with the following structure:
header { msg_id: '<msg_id>' msg_type: GET } body { request { get { param_paths: 'Device.LocalAgent.' } } }
-
Wait for a GetResponse
- The GetResponse is encapsulated in a CoAP message.
- The CoAP message used transport the GetResponse uses 'application/octet-stream' for
Content-Format
.
The purpose of this test is to ensure the EUT properly segments large USP records and transports them using block encapsulation.
Conditional Mandatory (supports the CoAP MTP)
- Ensure that the EUT and test equipment have the necessary information to send and receive USP Records to each other.
- The EUT and Controller are configured to communicate over CoAP.
-
Send a Get message to the EUT with the following structure:
header { msg_id: '<msg_id>' msg_type: GET } body { request { get { param_paths: 'Device.' } } }
-
Wait for a GetResponse
- The EUT sends the GetResponse message using multiple block encapsulated CoAP messages.
The purpose of this test is to ensure the EUT correctly sends a 2.04 Changed response to CoAP messages.
Conditional Mandatory (supports the CoAP MTP)
- Ensure that the EUT and test equipment have the necessary information to send and receive USP Records to each other.
- The EUT and Controller are configured to communicate over CoAP.
-
Send a Get message to the EUT with the following structure:
header { msg_id: '<msg_id>' msg_type: GET } body { request { get { param_paths: 'Device.LocalAgent.' } } }
- After the transmission of the Get message the EUT sends a 2.04 Changed message.
The purpose of this test is to ensure the EUT behaves correctly when a timeout occurs at the MTP layer when using CoAP.
Conditional Mandatory (supports the CoAP MTP)
- Ensure that the EUT and test equipment have the necessary information to send and receive USP Records to each other.
- The EUT and Controller are configured to communicate over CoAP.
-
Configure the to not send 2.04 Changed responses to CoAP messages
-
Send a Get message to the EUT with the following structure:
header { msg_id: '<msg_id>' msg_type: GET } body { request { get { param_paths: 'Device.LocalAgent.' } } }
-
Wait for a GetResponse message from the EUT.
-
Prevent the Controller from sending a 2.04 Changed CoAP response.
-
Wait for EUT to retry sending the GetResponse.
-
Allow the Controller to send a 2.04 Changed CoAP response.
- The EUT attempts to retransmit the GetResponse message after not receiving a 2.04 Changed from the Controller.
The purpose of this test is to ensure the EUT correctly responds when it receives a CoAP message with an invalid method.
Conditional Mandatory (supports the CoAP MTP)
- Ensure that the EUT and test equipment have the necessary information to send and receive USP records to each other.
- The EUT the Controller are configured to communicate over CoAP.
- Send a USP record to the EUT using a CoAP message with method code
0x06
. - Wait up to 60 seconds for the EUT to send a CoAP response.
- The EUT sends a reply to the CoAP message with an invalid method code.
- The EUT CoAP response uses code
4.05
to indicate an invalid CoAP method.
The purpose of this test is to ensure the EUT properly responds to CoAP messages that feature invalid Content-Format options.
Conditional Mandatory (supports the CoAP MTP)
- Ensure that the EUT and test equipment have the necessary information to send and receive USP records to each other.
- The EUT and Controller are configured to communicate over CoAP.
- Send a USP record to the EUT using a CoAP message with Content-Format option
0x113a
. - Wait up to 60 second for the EUT to respond.
- The EUT sends a reply to the CoAP message with an invalid Content-Format.
- The EUT CoAP response uses code
4.15
to indicate an invalid Content-Format.
The purpose of this is to ensure the EUT properly responds to a CoAP message containing a malformed USP record.
Conditional Mandatory (supports the CoAP MTP)
- Ensure that the EUT and test equipment have the necessary information to send and receive USP records to each other.
- The EUT and Controller are configured to communicate over CoAP.
- Send a malformed USP record to the EUT in a CoAP message.
- Wait up to 60 seconds for the EUT to send a CoAP reply.
- The EUT sends a reply to the CoAP message with the malformed USP record.
- The EUT CoAP response uses code
4.00
to indicate the USP record is invalid or not understandable.
The purpose of this test is to ensure the EUT can establish secure communication with another CoAP endpoint at the CoAP layer.
Conditional Mandatory (supports the CoAP MTP)
- Ensure that the EUT and test equipment have the necessary information to send and receive USP records to each other.
- The EUT and Controller are configured to communicate over CoAP using DTLS.
- The EUT and Controller have the necessary information about one another to establish an encrypted channel of communication.
-
Send a Get message to the EUT with the following structure:
header { msg_id: '<msg_id>' msg_type: GET } body { request { get { param_paths: 'Device.LocalAgent.' } } }
-
Wait for the EUT to send a GetResponse.
- The Controller is able to establish a DTLS session with the EUT.
- The EUT established a DTLS session and sends a GetResponse.