WHCKProximityTest- GetNextSubUndersizedBuffer
This manual test determines whether the proximity-compliant device handles standard publications and subscription events correctly, provides meaningful details about the buffer size for each publication subscription message, and handles the message correctly during a publication and subscription event.
To successfully complete this test, you must respond to prompts that appear.
Test details
Associated requirements |
Device.BusController.NearFieldProximity.ProviderImplementation |
Platforms |
Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86 |
Expected run time |
~2 minutes |
Categories |
Certification Functional |
Type |
Manual |
Running the test
Before you run the test, complete the test setup as described in Proximity Controller Testing Prerequisites.
Troubleshooting
For troubleshooting information, see Troubleshooting Bus Controller Testing.
More information
This test uses two test computers. Computer A, the computer that runs the WHCKNearFieldInitiator.dll file, grades the test as Pass or Fail. Computer B, the computer that runs the WHCKNearFieldResponder.dll file, returns a Pass or Fail result only to report its support operations to the test.
Computer A subscribes to and then waits for Computers B’s publication. Computer A has a buffer that is smaller than the expected publication payload. On subscription fulfillment, Computer A parses the buffer for the size hint, creates a buffer of the reported size, and then tries a second time to retrieve the subscribed message.
Computer B creates a publication. Computer B then subscribes to and waits for the DeviceDeparted message.
Command syntax
Command option | Description |
---|---|
Te.exe /inproc WHCKNearFieldInitiator.dll /name:” CWHCKProximityTestInitiator::GetNextSubUndersizedBuffer” |
Side A - Runs the test. |
Te.exe /inproc WHCKNearResponder.dll /name:” CWHCKProximityTestResponder::GetNextSubUndersizedBuffer” |
Side B – Runs the test. |
Note
For command-line help for this test binary, type the following:
Te.exe /inproc WHCKNearFieldInitiator.dll /name:”CWHCKProximityTestInitiator::GetNextSubUndersizedBuffer” /listproperties
File list
File | Location |
---|---|
NotifyAttention.png |
<testbinroot>\dtmtest\NearField |
NotifyPrepare.png |
<testbinroot>\dtmtest\NearField |
NotifyProximate.png |
<testbinroot>\dtmtest\NearField |
NotifyRemove.png |
<testbinroot>\dtmtest\NearField |
Te.exe |
<TAEFBinRoot> |
WHCKNearFieldInitiator.dll |
<testbinroot>\dtmtest\NearField |
WHCKNearFieldResponder.dll |
<testbinroot>\dtmtest\NearField \ |