iwd.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Object path last number
@ 2023-05-09 13:15 clement.legoffic
  2023-05-09 13:57 ` James Prestwood
  0 siblings, 1 reply; 5+ messages in thread
From: clement.legoffic @ 2023-05-09 13:15 UTC (permalink / raw)
  To: iwd

Hi,

I am trying to interface a dynamic dbus client to the IWD dbus interface for simple commands such as GetOrderedNetworks() or Scan().
The thing is that the object path of those methods starts with "/net/connman/iwd/" followed by the phy (I only have one interface so I guess it will be 0) and then a number.
As I want to be dynamic I try to restart iwd to try to observe a specific pattern in the last number of this object path. I have observe that this number is incremented by one at each restart of the iwd service.
But I saw this number jumping  (by 5 sometimes).

So I was wondering If I want to call the Scan method, how can I get the correct number for the object path dynamically ?

Thanks

Clément


Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires.
Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur par e-mail.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Les communications sur Internet n'etant pas securisees, l'expediteur informe qu'il ne peut accepter aucune responsabilite quant au contenu de ce message.
This mail message and attachments (the "message") are solely intended for the addresses. It is confidential in nature.
If you receive this message in error, please delete it and immediately notify the sender by e-mail.
Any use other than its intended purpose, dissemination or disclosure, either whole or partial, is prohibited except if formal approval is granted. As communication on the Internet is not secure, the sender does not accept responsibility for the content of this message.

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

end of thread, other threads:[~2023-05-09 14:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-09 13:15 Object path last number clement.legoffic
2023-05-09 13:57 ` James Prestwood
2023-05-09 14:16   ` clement.legoffic
2023-05-09 14:25     ` James Prestwood
2023-05-09 14:40       ` clement.legoffic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).