|
From: Anders J. <and...@us...> - 2001-08-17 09:23:26
|
The following files were modified in apps/bluetooth/experimental:
Name Old version New version Comment
---- ----------- ----------- -------
bt_if.c 1.27 1.28=20=20=20=20=20=20=20=20=20=20=20=20
bttest.c 1.15 1.16=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
* Added missing PSM in bt_if.c
* Changed parameters to sdp_send in bttest.c
The diff of the modified file(s):
--- bt_if.c 2001/08/02 13:02:40 1.27
+++ bt_if.c 2001/08/17 09:23:25 1.28
@@ -234,6 +234,7 @@
con.id =3D con_id;
switch(GET_PSM(con_id))
{
+ case SDP_LAYER:
case RFCOMM_LAYER:
case TCS_LAYER:
case L2CAP_TEST_LAYER:
--- bttest.c 2001/08/02 13:01:36 1.15
+++ bttest.c 2001/08/17 09:23:25 1.16
@@ -107,7 +107,7 @@
=20
"",
"--- Test commands ------",
- " sdp_conn <xx:xx:xx:xx:xx:xx> <profile>",
+ " sdp_conn <xx:xx:xx:xx:xx:xx>",
" tcs_conn <xx:xx:xx:xx:xx:xx>",
" ",
" test_conn <xx:xx:xx:xx:xx:xx> <psm> <line>", /* l2cap test using PSM=
psm */
@@ -412,8 +412,8 @@
printf("RFCOMM server channel is %d\n", srv_ch);
bt_connect(bt_cfd, bd, CREATE_RFCOMM_ID(0, srv_ch << 1));
}
- else if(sscanf(buf, "sdp_conn %x:%x:%x:%x:%x:%x %d",
- &tmp[0], &tmp[1], &tmp[2], &tmp[3], &tmp[4], &tmp[5], &profile) =3D=3D7)
+ else if(sscanf(buf, "sdp_conn %x:%x:%x:%x:%x:%x",
+ &tmp[0], &tmp[1], &tmp[2], &tmp[3], &tmp[4], &tmp[5]) =3D=3D 6)
{
=20=20=20=20=20
for (i =3D 0; i < 6; i++)
|