Linux bluetooth development
 help / color / mirror / Atom feed
* Qualification testing - rfcomm
@ 2003-07-08 18:16 Daryl Van Vorst
  0 siblings, 0 replies; 4+ messages in thread
From: Daryl Van Vorst @ 2003-07-08 18:16 UTC (permalink / raw)
  To: BlueZ Mailing List, 'Marcel Holtmann'

[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]

Marcel,

Finally got some results on those latest rfcomm changes for qualification.
Looks like there are a few more problems. :(  But we're close. :)

TP/RFC/BV-09-C:
"Verify that the IUT handles flow control correctly when the Tester, acting
as a device conforming to Bluetooth version 1.0B, controls the data flow
using the Modem Status Command. The IUT's device role is of no importance."

The command and console output:

root@jack-00000000:~>./rctest -s -P 1 -b 20 00:A0:96:1F:83:71
rctest[351]: Connected
rctest[351]: Sending ...
rctest[351]: Send failed. Resource temporarily unavailable(11)

The IUT sends data in 5 frames, then stops for aboue 20s, then sends 5 more,
then stops, etc. Technically, this test passed because we did stop sending
data after the tester send MSC stop to the IUT. But something's clearly not
right.

There is an hcidump of the session attached.

TP/RFC/BV-12-C:
"Verify that the IUT handles aggregate flow control correctly when the
Tester, acting as a device conforming to Bleutooth version 1.0B, controls
the data flow using the Flow Control on/off commands FCon and FCoff. The
IUT's device role is of no importance."

The command and console output:

root@jack-00000000:~>./rctest -s -P 1 -b 20 00:A0:96:1F:83:71
rctest[362]: Connected
rctest[362]: Sending ...
rfcomm_recv_mcc: Unknown control type 0x18
rfcomm_recv_mcc: Unknown control type 0x28

The IUT does not respond to FCoff with FCoff, and continues sending data. It
also does not respond to FCon with FCon. 

There is an hcidump of the session attached.

-Daryl.

[-- Attachment #2: RFC_BV_09_IUT_sends_5_frames_every_20s_hcidump --]
[-- Type: application/octet-stream, Size: 1792 bytes --]

[-- Attachment #3: RFC_BV_12_IUT_does_not_reply_with_FCoff_FCon_hcidump --]
[-- Type: application/octet-stream, Size: 4864 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [Bluez-devel] Re: Qualification testing - rfcomm
  2003-07-08 18:16 Daryl Van Vorst
@ 2003-07-11  8:55 Marcel Holtmann
  2003-07-11 16:43 ` Daryl Van Vorst
  -1 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2003-07-11  8:55 UTC (permalink / raw)
  To: Daryl Van Vorst; +Cc: BlueZ Mailing List

Hi Daryl,

> Finally got some results on those latest rfcomm changes for qualification.
> Looks like there are a few more problems. :(  But we're close. :)
> 
> TP/RFC/BV-09-C:
> "Verify that the IUT handles flow control correctly when the Tester, acting
> as a device conforming to Bluetooth version 1.0B, controls the data flow
> using the Modem Status Command. The IUT's device role is of no importance."
> 
> The command and console output:
> 
> root@jack-00000000:~>./rctest -s -P 1 -b 20 00:A0:96:1F:83:71
> rctest[351]: Connected
> rctest[351]: Sending ...
> rctest[351]: Send failed. Resource temporarily unavailable(11)
> 
> The IUT sends data in 5 frames, then stops for aboue 20s, then sends 5 more,
> then stops, etc. Technically, this test passed because we did stop sending
> data after the tester send MSC stop to the IUT. But something's clearly not
> right.

this looks quite right, but the rctest program don't check the error
code. If it receives EAGAIN it should try again, but it aborts.

Regards

Marcel




-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-07-11 16:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <001b01c32ee1$6a949eb0$1a01010a@baked>
     [not found] ` <1055225608.3057.39.camel@pegasus>
2003-06-11 17:11   ` Qualification testing - rfcomm Max Krasnyansky
2003-06-12 17:30     ` Daryl Van Vorst
2003-07-08 18:16 Daryl Van Vorst
  -- strict thread matches above, loose matches on Subject: below --
2003-07-11  8:55 [Bluez-devel] " Marcel Holtmann
2003-07-11 16:43 ` Daryl Van Vorst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox