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

Re: per-user directories for obexapp-server

On Thu, Apr 9, 2009 at 12:47 PM, Mikhail T. <mi+thun_(_at_)_aldan_(_dot_)_algebra_(_dot_)_com> wrote:
> Hello!
> I was able to set up the Bluetooth-server on my main machine, but all of
> the pushed files (Object Pushed) end up in the same root-only
> directory... Is there, perhaps, a way to specify a different directory
> for each device-ID (bdaddr)?

not at the moment, no.

> This way my wife and myself could have our own locations (under
> home-directories somewhere) for pictures and phonebook backups...
> Please, advise. Thanks! Yours,
>    -mi
> P.S. Maybe, the hcsecd.conf's syntax can be extended to (optionally)
> provide the username associated with each listed device?

technically, nothing prevents you from running 2 or more instances of
obexapp on different rfcomm channels. each instance would use
different root directory. this way each of you can use service on
different rfcomm channel to push data into appropriate root directory.

i guess its possible to teach obexapp about mapping between client's
bdaddr and root directory. ideally, of course, what we want it to have
credentials passed over obex connection so the server knows exactly
who is talking to it, but that, of course, will likely never happen :)

freebsd-bluetooth_(_at_)_freebsd_(_dot_)_org mailing list
To unsubscribe, send any mail to "freebsd-bluetooth-unsubscribe_(_at_)_freebsd_(_dot_)_org"