Thank you for reply.
On Sun, 17 Nov 2019 11:26:33 -0800, Maksim Yevmenkin wrote: > >> Does the FreeBSD 12.1 work as server of obexapp and rfcomm_sppd? > > yes, it should work I gave it a try. >> Start SDP daemon and some service application server: >> >> # service sdpd onestart >> >> # obexapp -s -C 1 >> >> Double click the device on the Bluetooth window of the >> Macbook to send file but transferring is failed. > > is there anything useful in the logs? perhaps incoming folder is > missing (defaults to /var/spool/obex)? you might want to try and run > obexapp with -u option. in this case incoming folder will be user's > home directory. Even with the -l option, nothing is displayed. I had made /var/spool/obex and tried chmod 777 but no success. I try -u option but there is no difference. >> # rfcomm_sppd -S >> >> After deletion of device and pairing again, the following >> nodes are appeared on the MacBook but not usable. >> >> /dev/tty.Bluetooth-Incoming-Port >> /dev/tty.hostnameubt0-SerialPort > > may i ask what are you trying to do? the above command will use > stdin/stdout. if you are trying to assign tty then please use -t > option. I had used following command and typing on each side but nothing happened: fbsd# rfcomm_sppd -S mac% cu -l /dev/tty.hostnameubt0-SerialPort Sorry for reporting based on my feeling and not technical. But it seems that the attached USB and the Bluetooth stack don't communicate well or they may be on the different context. For example, when hcsecd -d nothing report/display on paring, reset by using usbconfig takes effect. I think obexapp and rfcomm_sppd server don't respond for the same reason. For your reference: service bluetooth onestart ubt0 service hcsecd onestart hccontrol -n ubt0hci write_authentication_enable 1 hccontrol -n ubt0hci write_encryption_mode 2 hccontrol -n ubt0hci write_scan_enable 3 service sdpd onestart obexapp -s -C 1 rfcomm_spud -S -c 1 -- SAITOU Toshihide _______________________________________________ freebsd-bluetooth@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth To unsubscribe, send any mail to "freebsd-bluetooth-unsubscr...@freebsd.org"