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

4.0 Discovery

The tests in this series do not need to result in a connection. It is enough to show the Discovery sequence through the END-XID frame.

4.1 Secondary (DS Series)

DS1. Show proper response to a one slot, broadcast discovery sequence. Show that the device will respond to a one slot discovery to the address of the DUT. Show that the device will ignore a one slot discovery that is neither broadcast nor its address.

DS2. Show proper response to a six slot discovery sequence. DS3. Show proper response to an eight slot discovery sequence. DS4. Show proper response to a sixteen slot discovery sequence.

DS5. Demonstrate that the response to a multi-slot discovery is in a random slot by repeating consecutive discovery sequences and show the DUT responding to different slots.

DS6. Demonstrate that the DUT will attempt to respond to a discovery sequence even though it does not hear all the XID command frames by starting an eight slot discovery with slot three.

DS7. Demonstrate that the DUT will ignore a discovery sequence where the command frames contain a bad CRC value.

DS8. Demonstrate the ability to change its address in response to a conflict. Send a second discovery sequence to the address specified by the first discovery sequence and verify that the address returned by the DUT is different from the first address.

DS9. Demonstrate the ability of the DUT to stay silent while conflict resolution is taking place. Send a second discovery sequence to an address that is different from the one returned by the DUT from the first sequence. Verify that the DUT does not respond to the second sequence.

DS10. Verify that when in the REPLY state the DUT will ignore all non-XID frames. Show three examples.

DS11. Verify that the DUT responds to XIDs properly even if some of the reserved bits in the Flags field are set to 1. DUT should ignore the reserved bits as they are needed for future expansion of the protocol.

DS12. Confirm that the DUT accepts Service Hints by sending 1 byte service hint sequence as part of the Discovery device Info field. DUT should give a valid XID response.

DS13. Confirm that the DUT accepts Service Hints by sending 2 byte service hint sequence as part of the Discovery device Info field. DUT should give a valid XID response.

DS14. Confirm that the DUT accepts Service Hints by sending 2 byte service hint sequence followed by a valid character ID and a 20 byte Nickname as part of the Discovery device Info field. DUT should give a valid XID response.

4.2 Primary Only (DP Series)

DP1. Demonstrate the ability to perform a discovery sequence.

DP2. Demonstrate the ability to ignore an XID response with a bad CRC value.

8