Linux bluetooth development
 help / color / mirror / Atom feed
* working bluetooth obex test scripts?
@ 2016-06-09 20:39 Don Zickus
  2016-06-09 20:50 ` Barry Byford
  0 siblings, 1 reply; 2+ messages in thread
From: Don Zickus @ 2016-06-09 20:39 UTC (permalink / raw)
  To: linux-bluetooth

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.

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: working bluetooth obex test scripts?
  2016-06-09 20:39 working bluetooth obex test scripts? Don Zickus
@ 2016-06-09 20:50 ` Barry Byford
  0 siblings, 0 replies; 2+ messages in thread
From: Barry Byford @ 2016-06-09 20:50 UTC (permalink / raw)
  To: Bluez mailing list

Hello Don,


On 9 June 2016 at 21:39, Don Zickus <dzickus@redhat.com> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-09 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-09 20:39 working bluetooth obex test scripts? Don Zickus
2016-06-09 20:50 ` Barry Byford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox