Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Serial infrared protocol layer test guidelines.pdf
Скачиваний:
13
Добавлен:
23.08.2013
Размер:
278.85 Кб
Скачать

CS3. Tolerate a SNRM that contains PV bytes with no bits set. DUT should assume default values.

CS4. Accept a SNRM frame that contains 2 PV bytes for one of its parameters(PL byte will be 02).

CS5. Ignore a negotiation parameter that is not defined.

CS6. Respond correctly to a non-SNRM frame in place of a SNRM frame. DUT should respond with a DM or ignore the non-SNRM frame.

CS7. Ignore a SNRM frame sent to a different connect address.

5.2 Primary only (CP Series)

CP1. Demonstrate that the Primary will honor the capabilities of the receiving station by sending data to a secondary with the minimum possible capabilities. Send data across at least two frames to show how the Primary structures its frames.

CP2. Establish a connection with a secondary device having the maximum possible capabilities. Transfer data at the maximum capabilities of the DUT. Show that the Max. TAT is not violated. Repeat the test using each slower Baud Rate, showing that the DUT will reduce the Window Size and Data Size in its transmission to stay within the Max TAT. Refer to LAP Spec. Sec. 6.6.11.

CP3. Allow the Primary to perform a Discovery sequence. Allow the Primary to send its SNRM. Respond to the SNRM with a SNRM containing a numerically higher address. Primary should respond with a UA with the C/R bits set to 0. (see sec. 6.11.3.2 note 3)

CP4. Allow the Primary to perform a Discovery sequence. Allow the Primary to send its SNRM. Respond to the SNRM with a SNRM containing a numerically lower address. Primary should respond with another SNRM with the C/R bits set to 1.

6.0Information Exchange

6.1Secondary (IS Series)

IS1.

Establish a connection with Maximum capabilities. Demonstrate the DUT’s ability to

 

receive I frames transmitted at the Minimum TAT and just before the Maximum TAT.

IS2.

Establish a connection with Maximum capabilities. Demonstrate the ability of the DUT

 

to tolerate byte stuffing. Data being sent will be at the Max Data Size before byte stuffing

 

with 100% bytes requiring transparency. See LAP Spec Sec 5.6 and 6.6.5.

IS3.

Establish a connection with Maximum capabilities. Demonstrate the ability of the DUT

 

to tolerate a violation of Maximum TAT due to byte stuffing. Data being sent will be at

 

the Max Data Size before byte stuffing with 100% bytes requiring transparency. If the

 

DUT has a small Data Size it may not be possible to produce a violation of Max TAT

 

with byte stuffing.

IS4.

Demonstrate the device’s ability to handle byte stuffing in the Connection Address.

IS5.

Establish a connection with Maximum capabilities. Transmit as least one I frame.

 

Receive acknowledgment. Wait for a period equal to the Link Disconnect time plus 10%

10

 

and transmit a Test Frame in NDM. DUT should respond showing that the DUT has

 

returned to NDM.

IS6.

Establish a connection with Maximum capabilities. Transmit as least one I frame.

 

Receive acknowledgment. Wait for a period equal to the Link Disconnect time minus

 

10% and transmit a Frame in NRM. DUT should respond showing that the DUT has

 

remained in NRM. See LAP Spec 6.6.8.

IS7.

Establish a connection with Maximum capabilities. Send a series of I frames to the DUT

 

and receive the proper response. Send a UI frame with the P bit clear and no data in the I

 

field, followed by an RR with the P bit set. Verify that the connection is OK and that the

 

Nr/Ns counts were unaffected by the UI.

IS8.

Establish a connection with Maximum capabilities. Send a series of I frames to the DUT,

 

one of them having an unexpected Ns. Verify that the DUT responds with REJ/SREJ/RR.

IS9.

Establish a connection with Maximum capabilities. Send a series of I frames to the DUT

 

equal to the Window Size of the DUT. Send frame 1 with an FCS error. Verify that the

 

DUT does not increment its Nr counter.

IS10.

Establish a connection with Maximum capabilities. Send a command to the DUT that will

 

cause the DUT to return data in I frames. Verify that the returned frames honor the

 

Primary Window Size and Data Size. Response should be large enough to require more

 

than Primary Window Size frames at the current Primary Data Size.

IS11.

Establish a connection with Minimum capabilities. Send a command to the DUT that will

 

cause the DUT to return data in I frames. Verify that the returned frames honor the

 

Primary Window Size and Data Size. Response should be large enough to require more

 

than Primary Window Size frames at the current Primary Data Size.

IS12.

Establish a connection with Maximum capabilities. Send a command to the DUT that will

 

cause the DUT to return data in I frames. Verify that the returned frames honor the

 

Primary Window Size and Data Size. Response should be large enough to require more

 

than Primary Window Size frames at the current Primary Data Size. Acknowledge receipt

 

with an I frame that causes more data to be sent. Verify proper progress of the Nr/Ns

 

counters.

IS13.

Establish a connection with Maximum capabilities. Send a command to the DUT that will

 

cause the DUT to return data in I frames. Verify that the returned frames honor the

 

Primary Window Size and Data Size. Response should be large enough to require more

 

than Primary Window Size frames at the current Primary Data Size. Use SREJ to cause

 

the DUT to resend the last I frame.

IS14.

Establish a connection with Maximum capabilities. Send a command to the DUT that will

 

cause the DUT to return data in I frames. Verify that the returned frames honor the

 

Primary Window Size and Data Size. Response should be large enough to require more

 

than Primary Window Size frames at the current Primary Data Size. Use SREJ to cause

 

the DUT to resend the first I frame.

IS15.

Establish a connection with Maximum capabilities. Send a command to the DUT that will

 

cause the DUT to return data in I frames. Verify that the returned frames honor the

 

Primary Window Size and Data Size. Response should be large enough to require more

than Primary Window Size frames at the current Primary Data Size. Use SREJ to cause the DUT to resend an I frame that is neither the first nor the last.

11

IS16. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Response should be large enough to require more than Primary Window Size frames at the current Primary Data Size. Use REJ to cause the DUT to resend the last I frame.

IS17. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Response should be large enough to require more than Primary Window Size frames at the current Primary Data Size. Use REJ to cause the DUT to resend the first I frame.

IS18. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Response should be large enough to require more than Primary Window Size frames at the current Primary Data Size. Use REJ to cause the DUT to resend an I frame that is neither the first nor the last.

IS19. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Response should be large enough to require more than Primary Window Size frames at the current Primary Data Size. Use RNR to reject the last frame. Verify the DUT does not resend the I frame until it receives an RR.

IS20. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Response should be large enough to require more than Primary Window Size frames at the current Primary Data Size. Use an I frame to reject the last frame. Verify the DUT has incremented its Nr counter in the re-transmitted frame.

IS21. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Response should be large enough to require more than Primary Window Size frames at the current Primary Data Size. Use an RR frame to reject the last frame. Verify the DUT doesn’t increment its Nr counter in the retransmitted frame.

IS22. Establish a connection with Maximum capabilities. Send an I frame with the P bit cleared and an unexpected Ns followed by an RR. I frame contains data that will cause the DUT to return data in I frames. Verify that the DUT will ask for the I frame to be resent before it returns any other data.

IS23. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Assume the last frame has an invalid Nr/Ns and send a RESET . Verify the DUT responds with either RD or UA, if response is UA verify that the connection has been reset by exchange more I frames and checking the counters to ensure that they have returned to zero.

IS24. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Assume the last frame has an invalid Nr/Ns and send a DISC. Verify the DUT responds with an UA.

12

IS25. Establish a connection with Maximum capabilities. Send an unknown command frame (undefined Control Code). Verify the DUT responds with FRMR.

IS26. Establish a connection with Maximum capabilities. Send a series of I frames to the DUT, one of them having an invalid Ns. Verify that the DUT responds with FRMR.

Device Busy

IS27. Establish a connection with Maximum capabilities. Send a series of I frames followed by an RNR. Verify that the DUT will respond with RR.

IS28. Establish a connection with Maximum capabilities. Send an I frame, with the P bit cleared, that will cause the DUT to return data, followed by an RNR with the P bit set. Verify that the DUT will respond with RR and not send I frames until it receives an RR from the Primary. Re-run test responding with RNR to the RR for 12 cycles before allowing the DUT to send its data.

IS29. Establish a connection with Maximum capabilities. Send a Discovery sequence with an FI of 0x02. DUT should not respond to the Discovery.

Invalid Nr

IS30. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Ack received I frame with an RR with an invalid Nr. DUT should respond with FRMR.

IS31. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Ack received I frame with an RNR with an invalid Nr. DUT should respond with FRMR.

IS32. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Ack received I frame with an REJ with an invalid Nr. DUT should respond with FRMR.

IS33. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Ack received I frame with an SREJ with an invalid Nr. DUT should respond with FRMR.

IS34. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Ack received I frame with an I frame with an invalid Nr. DUT should respond with FRMR.

IS35. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Acknowledge the received I frame with a frame containing an invalid Nr value and the P bit set to 0. This will put the DUT into the Error state. Send an RR with the P bit set to 1. Verify that the DUT responds with FRMR.

IS36. Establish a connection with Maximum capabilities. Send a command to the DUT that will cause the DUT to return data in I frames. Verify that the returned frames honor the Primary Window Size and Data Size. Acknowledge the received I frame with a frame

13