|
From: Anders J. <and...@us...> - 2002-03-07 21:34:10
|
The following file was modified in apps/bluetooth/experimental:
Name Old version New version Comment
---- ----------- ----------- -------
bttest.c 1.24 1.25=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
* Updated to reflect changes in test.c.
The diff of the modified file(s):
--- bttest.c 6 Feb 2002 11:31:56 -0000 1.24
+++ bttest.c 7 Mar 2002 21:34:09 -0000 1.25
@@ -565,16 +565,6 @@
hotlist[i][0], hotlist[i][1], hotlist[i][2], hotlist[i][3], h=
otlist[i][4], hotlist[i][5]);
}
}
- else if(strcmp(buf, "test_case_disable_disconnect") =3D=3D 0)
- {
- printf("Disabling sending of disconnect respons\n");
- bt_testcmd(bt_cfd, buf);
- }
- else if(strcmp(buf, "test_case_enable_disconnect") =3D=3D 0)
- {
- printf("Enabling sending of disconnect respons\n");
- bt_testcmd(bt_cfd, buf);
- }=20=20=20
else if(sscanf(buf, "bnep_test %d %d",=20
&tmp[0], &tmp[1]) =3D=3D 2)
{=20
@@ -598,7 +588,10 @@
printf("Remote Name (%02X:%02X:%02X:%02X:%02X:%02X): %s\n",=20
bd[0], bd[1], bd[2], bd[3], bd[4], bd[5], remote_name);
}
-
+ else if(strncmp(buf, "test_case_", 10) =3D=3D 0)
+ {
+ bt_testcmd(bt_cfd, buf);
+ }
else
{
printf("> error: command not recognized or wrong syntax\n");
|