You are not logged in.
Hello there
I was doing a very simple job to bind a block device and send data as a serial port, but I can't do it anymore.
hcitool, rfcomm and other things are not there any longer. My bluez-utils
$ pacman -Qi bluez-utils
Nome : bluez-utils
Versione : 5.44-1
8< 8<
$ pacman -Ql bluez-utils |grep -i /usr/bin
bluez-utils /usr/bin/
bluez-utils /usr/bin/amptest
bluez-utils /usr/bin/avinfo
bluez-utils /usr/bin/avtest
bluez-utils /usr/bin/bccmd
bluez-utils /usr/bin/bdaddr
bluez-utils /usr/bin/bluemoon
bluez-utils /usr/bin/bluetooth-player
bluez-utils /usr/bin/bluetoothctl
bluez-utils /usr/bin/bneptest
bluez-utils /usr/bin/btattach
bluez-utils /usr/bin/btgatt-client
bluez-utils /usr/bin/btgatt-server
bluez-utils /usr/bin/btinfo
bluez-utils /usr/bin/btiotest
bluez-utils /usr/bin/btmgmt
bluez-utils /usr/bin/btmon
bluez-utils /usr/bin/btproxy
bluez-utils /usr/bin/btsnoop
bluez-utils /usr/bin/check-selftest
bluez-utils /usr/bin/cltest
bluez-utils /usr/bin/create-image
bluez-utils /usr/bin/eddystone
bluez-utils /usr/bin/gatt-service
bluez-utils /usr/bin/hcieventmask
bluez-utils /usr/bin/hcisecfilter
bluez-utils /usr/bin/hex2hcd
bluez-utils /usr/bin/hid2hci
bluez-utils /usr/bin/hwdb
bluez-utils /usr/bin/ibeacon
bluez-utils /usr/bin/l2ping
bluez-utils /usr/bin/l2test
bluez-utils /usr/bin/mcaptest
bluez-utils /usr/bin/mpris-proxy
bluez-utils /usr/bin/nokfw
bluez-utils /usr/bin/obex-client-tool
bluez-utils /usr/bin/obex-server-tool
bluez-utils /usr/bin/obexctl
bluez-utils /usr/bin/oobtest
bluez-utils /usr/bin/rctest
bluez-utils /usr/bin/scotest
bluez-utils /usr/bin/seq2bseq
bluez-utils /usr/bin/test-runner
Which of these program will do a Serial Port Profile ?
do it good first, it will be faster than do it twice the saint
Offline
what about bluez-hid2hci?
when was last time it work (bluez/bluez-utils version)?
do the dispositives get recocgnized by the kernel(udev?
Last edited by Jristz (2017-03-03 05:24:26)
Well, I suppose that this is somekind of signature, no?
Offline
The version you could see it above mentioned, that's 5.44-1
The bluetooth is working for all other functions, and I can use my mouse and smartphone with it.
The question here is that I'm try to send command to a bluetooth module, which requires simple text data transfer.
I was doing it before, just by
# rfcomm bind 0 <MAC>
Then I was using picocom as TTY to send the commands.
Lately bluez added new features fo BLE, but about the new commands there is a scarce documentation, I think. Therefore I don't know hot to work with.
EDIT
I found a workaround, PyBluez can do the connections, but I hardly know how to complete a program that will let me send and receive across rfcomm.
EDIT2
I've tried some programming, but I can't get the server working, I'm just able to set the client to send my data.
Last edited by TheSaint (2017-03-06 04:42:19)
do it good first, it will be faster than do it twice the saint
Offline
Just had the same problem, I found the solution on the russian forum:
http://archlinux.org.ru/forum/topic/172 … ost-183844
Basically the only thing I understand :-) is:
Some tools such as hcitool and hciconfig have been deprecated upstream, and are no longer included in bluez-utils. Since these tools will no longer updated, it is recommended that scripts be updated to avoid using them. If you still desire to use them, install bluez-utils-compat AUR. See FS#53110 and the Bluez mailing list for more information.
rfcomm and others were removed from bluez-utils.The solution is to install bluez-utils-compat from AUR instead.
Offline
Thank you!!
You saved me to switch to a holder ARCH installation.
do it good first, it will be faster than do it twice the saint
Offline