Re: working bluetooth obex test scripts?

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

 



Hello Don,


On 9 June 2016 at 21:39, Don Zickus <dzickus@xxxxxxxxxx> wrote:
> Hi,
>
> I was trying to put together some bluetooth obex test scripts to help
> continuously verify that interface works reliably on various machines we
> have.

I'm not sure I understand exactly what it is you are looking to do.

If you only want to check that you are submitting to DBus correctly
then you might want to take a look at the dbusmock library.

It only has limited support for Bluez currently but there are some
templates in there that are helpful. They have one for obex:
https://github.com/martinpitt/python-dbusmock/blob/master/dbusmock/templates/bluez5-obex.py

Regards,
Barry


>
> However, I am not very successful with the stuff in the test/ directory.
>
> I started by focusing on ftp-client -d <address> -l.  I assume I had to run
> the 'simple-obex-agent' on the machine with <address>.
>
> Working around the dbus.SessionBus errors (I am connecting through ssh
> instead of the desktop), I get 'Unable to find service record' after
> ftp-client creates a session.
>
> I think that is because it isn't connecting the remote agent correctly?
>
> Anyway, pointers for good scripts to run to test the obex interface?
>
> Cheers,
> Don
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux