[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] encryptions problem ?



Hi,

again, in general everything works fine :-)

But when I try to connect to my OpenBT device through the DUP profile 
from my IBM PCMCIA card (BT spec 1.1) connecting fails. Connecting to a 
serial port works fine, also SDP and so on is fine.

I gave a glance to the log files and noticed an ENCRYPTION CHANGE EVENT 
on my OpenBT device. This is the last that happens before the client 
throws the "connection failed" message.

I have a simple security manager and the ..._USE_SECURITY_MANAGER define 
ist defined. My current sec_man implementation does not do anything when 
receiving a sec_man_event with the ENCRYPTION_CHANGE event.

Does it have something to do ?

As I understood, when a device receives the above evenet, encryption is 
correctly setup and therefore I do not have to do anything upon 
receiving this event, am I right ?

Is there a simple way to tell the client side, that I do not want any 
encryption ? I did not find anything in the spec about this.

By the way, I can rember that DUP was working fine again the IBM card 
some time ago. I am not really sure if it is a problem with my Ericsson 
modules. I changed from the ROK101008 to ROK101007.

Any hints ?

By the way: There's a little "cut-copy-paste-typo" in hci.c:

case WRITE_ENCRYPTION_MODE:
     D_CMD(__FUNCTION__ ": WRITE_AUTHENTICATION_ENABLE\n");
     if(r_val[0]) {
      D_ERR(__FUNCTION__ ": WRITE_AUTHENTICATION_ENABLE: %s\n",
            get_err_msg(r_val[0]));
            result_param = -r_val[0];
            }
      break; 


Matthias

-- 
-------------------------------------------------------------------------

                             _/_/_/_/   Matthias Fuchs
                            _/_/_/_/   Dipl.-Ing.
                           _/_/_/_/   matthias.fuchs@xxxxxxx.com

       _/_/_/   _/_/_/_/_/_/_/      esd electronic system design gmbh
     _/   _/  _/             _/    Vahrenwalder Str. 207
    _/   _/    _/_/_/   _/   _/   D-30165 Hannover
    _/             _/  _/   _/   Phone: +49-511-37298-0
     _/_/_/_/_/_/_/   _/_/_/    Fax:   +49-511-37298-68

-------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com