public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] hcid pin problem
@ 2004-06-13 15:08 Tetsuo Shiraishi
  2004-06-14 16:00 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Tetsuo Shiraishi @ 2004-06-13 15:08 UTC (permalink / raw)
  To: bluez-users

Hello,

I could not get pin_helper to work, 
since I upgraded to bluez-utils-2.7 from bluez-utils-2.3.

Using system
- sh4-linux
- patch-2.4.24-mh5.gz 
- bluez-libs-2.7.tar.gz 
- bluez-utils-2.7.tar.gz 
- pin_helper in hcid.conf

I modified bluez-utils-2.7 as follows, so it work fine.

--- bluez-utils-2.7/hcid/security.c	Sun May  9 19:39:43 2004
+++ bluez-utils-2.7_mod/hcid/security.c	Sun Jun 13 22:53:29 2004
@@ -236,7 +236,7 @@
 {
 	pin_code_reply_cp pr;
 	struct sigaction sa;
-	char addr[12], str[255], *pin, name[20];
+	char addr[18], str[255], *pin, name[20];
 	FILE *pipe;
 	int ret, len;
 
Thanks,

Tetsuo 

//
//   白石哲夫 tetsu@s-direct.com
//        tshiro@arion.ocn.ne.jp
//



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] hcid pin problem
  2004-06-13 15:08 [Bluez-users] hcid pin problem Tetsuo Shiraishi
@ 2004-06-14 16:00 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-06-14 16:00 UTC (permalink / raw)
  To: Tetsuo Shiraishi; +Cc: BlueZ Mailing List

Hi Tetsuo,

> I could not get pin_helper to work, 
> since I upgraded to bluez-utils-2.7 from bluez-utils-2.3.
> 
> Using system
> - sh4-linux
> - patch-2.4.24-mh5.gz 
> - bluez-libs-2.7.tar.gz 
> - bluez-utils-2.7.tar.gz 
> - pin_helper in hcid.conf
> 
> I modified bluez-utils-2.7 as follows, so it work fine.
> 
> --- bluez-utils-2.7/hcid/security.c	Sun May  9 19:39:43 2004
> +++ bluez-utils-2.7_mod/hcid/security.c	Sun Jun 13 22:53:29 2004
> @@ -236,7 +236,7 @@
>  {
>  	pin_code_reply_cp pr;
>  	struct sigaction sa;
> -	char addr[12], str[255], *pin, name[20];
> +	char addr[18], str[255], *pin, name[20];
>  	FILE *pipe;
>  	int ret, len;

thanks for this report. I applied your patch.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2004-06-14 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-13 15:08 [Bluez-users] hcid pin problem Tetsuo Shiraishi
2004-06-14 16:00 ` Marcel Holtmann

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