LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   bluetooth (ussp-push) (https://www.linuxquestions.org/questions/linux-software-2/bluetooth-ussp-push-454317/)

thoyyib 06-13-2006 07:31 AM

bluetooth (ussp-push)
 
Hi,

I installed ussp-push application on my SuSE 10.1 and 10.0 successfully. But it gives errors when I try to install the same to my Fedora Core 5 system:
Code:

[root@blipzone ussp-push-0.9]# rpm -q bluez-libs
bluez-libs-2.25-1
[root@blipzone ussp-push-0.9]# rpm -q bluez-utils
bluez-utils-2.25-4
[root@blipzone ussp-push-0.9]# rpm -q openobex
openobex-1.1-1
[root@blipzone ussp-push-0.9]# make
gcc  -Wall -I/usr/local/include -c obex_socket.c -o obex_socket.o
obex_socket.c:49:33: error: bluetooth/bluetooth.h: No such file or directory
obex_socket.c:50:30: error: bluetooth/rfcomm.h: No such file or directory
obex_socket.c:51:27: error: bluetooth/hci.h: No such file or directory
obex_socket.c:52:31: error: bluetooth/hci_lib.h: No such file or directory
obex_socket.c:53:27: error: bluetooth/sdp.h: No such file or directory
obex_socket.c:54:31: error: bluetooth/sdp_lib.h: No such file or directory
obex_socket.c: In function ‘bt_sock_addr2str’:
obex_socket.c:151: error: request for member ‘b’ in something not a structure or union
obex_socket.c:153: error: request for member ‘b’ in something not a structure or union
obex_socket.c: In function ‘bt_sock_str2addr’:
obex_socket.c:168: error: request for member ‘b’ in something not a structure or union
obex_socket.c: In function ‘bt_sock_name2bth’:
obex_socket.c:176: error: ‘inquiry_info’ undeclared (first use in this function)
obex_socket.c:176: error: (Each undeclared identifier is reported only once
obex_socket.c:176: error: for each function it appears in.)
obex_socket.c:176: error: ‘piinf’ undeclared (first use in this function)
obex_socket.c:186: warning: implicit declaration of function ‘hci_inquiry’
obex_socket.c:191: warning: implicit declaration of function ‘hci_open_dev’
obex_socket.c:200: warning: implicit declaration of function ‘hci_remote_name’
obex_socket.c:209: warning: implicit declaration of function ‘hci_close_dev’
obex_socket.c: In function ‘bt_sock_open’:
obex_socket.c:226: error: storage size of ‘laddr’ isn’t known
obex_socket.c:226: error: storage size of ‘raddr’ isn’t known
obex_socket.c:227: error: storage size of ‘di’ isn’t known
obex_socket.c:232: warning: implicit declaration of function ‘hci_devinfo’
obex_socket.c:242: error: ‘BTPROTO_RFCOMM’ undeclared (first use in this function)
obex_socket.c:227: warning: unused variable ‘di’
obex_socket.c:226: warning: unused variable ‘raddr’
obex_socket.c:226: warning: unused variable ‘laddr’
obex_socket.c: In function ‘cobex_open’:
obex_socket.c:362: error: ‘OBEX_UUID’ undeclared (first use in this function)
make: *** [obex_socket.o] Error 1

Please help me to solve the same.

How to make my command prompt to listen all the bluetooth messages(I need to get the bluetooth address of the sending device and file name)?


Thank you,
THOYYIB

cs-cam 06-14-2006 07:18 PM

You'll need bluez-libs-devel installed or something of that nature as some distros (obviously yours) splits source headers out of binary packages. If you want to snif Bluetooth connections then you can use bluez-hcidump to do that, grab it from the Bluez homepage.

thoyyib 06-15-2006 06:26 AM

ussp-push
 
Hi cs-cam,

Great, Its really great. Now ussp-push is working fine on my Fedora core 5 distribution. Thanks a lot.

Please help me to listen my computer to any incoming bluetooth file. and save the same to a predefined folder(automatic - without any interaction inthe system).

Regards,
THOYYIB

cs-cam 06-15-2006 09:11 AM

GNOME Bluetooth can do this in a pretty, GUI sort of matter. Now I have a little more free time I'll probably have a crack at something similar with less deps but won't be ready soon :(


All times are GMT -5. The time now is 04:37 PM.