Bug#704540: asterisk-mobile: can not initialize bluetooth device

Lars Cebulla lars.cebu at gmail.com
Sat Jan 4 20:04:23 UTC 2014


Package: asterisk-mobile
Version: 1:11.7.0~dfsg-1
Followup-For: Bug #704540

OK, after some investigations it turned out that the Nokia 6310i is not fully
HFP compatible (or not with the current version of it). It answers the AT+BRSF
command with an ERROR, what should not be a big deal.

But somehow, chain_mobile tries to read from rfcomm twice. At the first time,
it receives  the error from the not supported AT+BRSF command. And than, at the
second time, it gets an timeout, I guess.

But I'm not sure why a second reading should be neccessary here ?

At least, a few debug outputs (some added by modifing source file by myself):

    -- do_discovery: rfcomm_socket neu zuweisen !
    -- before initializing... Bluetooth Device 6310i has connected,
initializing...
    -- now calling manager_event() in *do_discovery...�    -- Bluetooth
Device 6310i has connected, initializing...
]rfcomm_write() (19) [AT+BRSF=4
  == rfcomm_wait, socket value before: 19
  == rfcomm_wait, exception value: 0
  == rfcomm_wait, outfd value: 19
  == rfcomm_wait, socket value after: 19
    -- I'm in at_read_full and socket ist: 19
 [6310i] ERROR
 [6310i] received AT message 'ERROR' when expecting AT+BRSF, ignoring
  == rfcomm_wait, socket value before: 19
  == rfcomm_wait, exception value: 0
  == rfcomm_wait, outfd value: 0
  == rfcomm_wait, socket value after: 19
 [6310i] timeout (0 ms) waiting for rfcomm data, disconnecting
 [6310i] timeout while waiting for AT+BRSF in response to AT+BRSF
    -- Error initializing Bluetooth device 6310i.
    -- I'm cleaning up now, closing rfcomm_sock !
    -- Bluetooth Device 6310i has disconnected.



-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages asterisk-mobile depends on:
ii  asterisk       1:11.7.0~dfsg-1
ii  libbluetooth3  4.101-4
ii  libc6          2.17-97

asterisk-mobile recommends no packages.

asterisk-mobile suggests no packages.

-- no debconf information



More information about the Pkg-voip-maintainers mailing list