IngleseFranceseSpagnolo

Ad


Favicon di OnWorks

mdbus2 - Online nel cloud

Esegui mdbus2 nel provider di hosting gratuito OnWorks su Ubuntu Online, Fedora Online, emulatore online Windows o emulatore online MAC OS

Questo è il comando mdbus2 che può essere eseguito nel provider di hosting gratuito OnWorks utilizzando una delle nostre molteplici workstation online gratuite come Ubuntu Online, Fedora Online, emulatore online Windows o emulatore online MAC OS

PROGRAMMA:

NOME


mdbus2 - Introspezione, interazione e monitoraggio DBus interattivi

SINOSSI


mdbus2 [OPZIONI...] [ servimi [ percorso oggetto [ metodo [ parametri... ]]]

mdbus2 -e

mdbus2 -sl

DESCRIZIONE


I mdbus2 comando viene utilizzato per esplorare e interagire con i servizi DBus sul tuo sistema autobus
ed Sessione autobus. Il bus dei messaggi a livello di sistema esiste solo una volta ed è installato su molti
sistemi come il servizio "messagebus". Il bus dei messaggi di sessioneèper-user-login (avviato
ogni volta che un utente effettua il login) e di solito è legato alla tua sessione X11.

Nella forma più semplice, mdbus2 mostra i servizi disponibili sul bus selezionato. dato un
servizio Nome, mostrerà la disponibilità oggetti esportato dal servizio. Dato un servizio
nome e an oggetto sentiero, mostrerà l'esposto metodi, Segnalie proprietà di quella
oggetto.

Fornire un metodo Nome (E parametri), puoi chiamare i metodi sull'oggetto e ottenere il
ritorno APPREZZIAMO(S).

Nel ascolto modo, è possibile osservare i segnali inviati sul bus selezionato.

È incluso anche un interattivo conchiglia con completamento tramite tabulazione e cronologia dei comandi.

VERSIONI


--mostra-anonimo, -a
Mostra anche unico (anonimi) servizi sull'autobus.

--sistema, -s
Utilizzare il bus di sistema invece del bus di sessione (predefinito).

-mostra-pid, -p
Mostra ID processo UNIX.

--Ascoltare, -l
Avvia la modalità di ascolto, in cui puoi osservare i segnali sul bus.

--interattivo, -i
Avvia una shell interattiva.

--annotate-tipi, -t
Annota i tipi di DBus.

USO


Per invocare un metodo su un oggetto implementato da un servizio, è necessario specificare il
seguenti valori:

1 servizio Nome, per esempio org.freesmartphone.ogsmd – Il nome del servizio identifica
il processo che serve un numero di oggetti. Ogni processo che si collega al
bus ottiene almeno un nome di servizio non univoco (anonimo) assegnato, come
: 1.0. Nomi univoci, come org.freesmartphone.ogsmd, di solito sono dati in
notazione inversa del nome di dominio tutto minuscolo.

2 oggetto sentiero, per esempio /org/freesmartphone/GSM/Dispositivo – Il percorso dell'oggetto
identifica un oggetto concreto servito dal processo. Di solito i percorsi degli oggetti
sembrano percorsi del file system.

3 metodo, per esempio org.freesmartphone.GSM.Call.Initiate – Il nome del metodo
identifica un'operazione che fa parte dell'interfaccia (metodi e segnali)
di un oggetto. I nomi dei metodi stanno usando Camel Case con notazione a punti.

4 parametri, per esempio + 49123456 voce`. (Per be descritta ulteriore).

ESEMPI


Scopri quali nomi di bus sono attualmente registrati sul bus di sistema:

root@om-gta02:~# mdbus -s
: 1.0
: 1.1
: 1.2
: 1.42
: 1.47
: 1.60
: 1.61
org.bluez
org.freedesktop.Avahi
org.freedesktop.DBus
org.freesmartphone.frameworkd
org.freesmartphone.ogsmd
org.pyneo.muxer

Scopri quali oggetti sono serviti da un determinato servizio:

root@om-gta02:~# mdbus -s org.freesmartphone.frameworkd
/
/org
/org/smartphone
/org/freesmartphone/Framework
/org/smartphone gratuito/GSM
/org/freesmartphone/GSM/Dispositivo
/org/smartphone gratuito/GSM/Server

Scopri l'interfaccia di un determinato oggetto:

root@om-gta02:~# mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device
[METODO] org.freesmartphone.GSM.Call.Activate( i:index )
[METODO] org.freesmartphone.GSM.Call.ActivateConference( i:index )
[METODO] org.freesmartphone.GSM.Call.HoldActive()
[METODO] org.freesmartphone.GSM.Call.Initiate( s:number, s:type_ )
[METODO] org.freesmartphone.GSM.Call.Release( i:index )
[METODO] org.freesmartphone.GSM.Call.ReleaseAll()
[METODO] org.freesmartphone.GSM.Call.ReleaseHeld()
[SEGNALE] org.freesmartphone.GSM.Call.CallStatus( i:index, s:status, a{sv}:properties )
[METODO] org.freedesktop.DBus.Introspectable.Introspect()
[METODO] org.freesmartphone.GSM.Device.CancelCommand()
[METODO] org.freesmartphone.GSM.Device.GetAntennaPower()
[METODO] org.freesmartphone.GSM.Device.GetFeatures()
[METODO] org.freesmartphone.GSM.Device.GetInfo()
[METODO] org.freesmartphone.GSM.Device.PrepareForSuspend()
[METODO] org.freesmartphone.GSM.Device.RecoverFromSuspend()
[METODO] org.freesmartphone.GSM.Device.SetAntennaPower( b:power )
[METODO] org.freesmartphone.GSM.SIM.ChangeAuthCode( s:old_pin, s:new_pin )
[METODO] org.freesmartphone.GSM.SIM.DeleteEntry( i:index )
[METODO] org.freesmartphone.GSM.SIM.DeleteMessage( i:index )
[METODO] org.freesmartphone.GSM.SIM.GetAuthStatus()
[METODO] org.freesmartphone.GSM.SIM.GetImsi()
[METODO] org.freesmartphone.GSM.SIM.GetMessagebookInfo()
[METODO] org.freesmartphone.GSM.SIM.GetPhonebookInfo()
[METODO] org.freesmartphone.GSM.SIM.GetServiceCenterNumber()
[METODO] org.freesmartphone.GSM.SIM.GetSimCountryCode()
[METODO] org.freesmartphone.GSM.SIM.GetSubscriberNumbers()
[METODO] org.freesmartphone.GSM.SIM.RetrieveEntry( i:index )
[METODO] org.freesmartphone.GSM.SIM.RetrieveMessage( i:index )
[METODO] org.freesmartphone.GSM.SIM.RetrieveMessagebook( s:category )
[METODO] org.freesmartphone.GSM.SIM.RetrievePhonebook()
[METODO] org.freesmartphone.GSM.SIM.SendAuthCode( s:code )
[METODO] org.freesmartphone.GSM.SIM.SetServiceCenterNumber( s:number )
[METODO] org.freesmartphone.GSM.SIM.StoreEntry( i:index, s:name, s:number )
[METODO] org.freesmartphone.GSM.SIM.StoreMessage( s:number, s:contents )
[METODO] org.freesmartphone.GSM.SIM.Unlock( s:puk, s:new_pin )
[SEGNALE] org.freesmartphone.GSM.SIM.AuthStatus( s:status )
[SEGNALE] org.freesmartphone.GSM.SIM.NewMessage( i:index )
[METODO] org.freesmartphone.GSM.Network.DisableCallForwarding( s:reason, s:class_ )
[METODO] org.freesmartphone.GSM.Network.EnableCallForwarding( s:reason, s:class_, s:number, i:timeout )
[METODO] org.freesmartphone.GSM.Network.GetCallForwarding( s:ragione )
[METODO] org.freesmartphone.GSM.Network.GetCallingIdentification()
[METODO] org.freesmartphone.GSM.Network.GetNetworkCountryCode()
[METODO] org.freesmartphone.GSM.Network.GetSignalStrength()
[METODO] org.freesmartphone.GSM.Network.GetStatus()
[METODO] org.freesmartphone.GSM.Network.ListProviders()
[METODO] org.freesmartphone.GSM.Network.Register()
[METODO] org.freesmartphone.GSM.Network.RegisterWithProvider( i:codice_operatore )
[METODO] org.freesmartphone.GSM.Network.SetCallingIdentification( s:status )
[METODO] org.freesmartphone.GSM.Network.Unregister()
[SEGNALE] org.freesmartphone.GSM.Network.SignalStrength( i:forza )
[SEGNALE] org.freesmartphone.GSM.Network.Status( a{sv}:status)
[METODO] org.freesmartphone.GSM.PDP.ActivateContext( s:apn, s:user, s:password )
[METODO] org.freesmartphone.GSM.PDP.DeactivateContext()
[METODO] org.freesmartphone.GSM.PDP.GetCurrentGprsClass()
[METODO] org.freesmartphone.GSM.PDP.ListAvailableGprsClasses()
[METODO] org.freesmartphone.GSM.PDP.SetCurrentGprsClass( s:class_ )
[SEGNALE] org.freesmartphone.GSM.PDP.ContextStatus( i:index, s:status, a{sv}:properties )
[METODO] org.freesmartphone.GSM.Test.Command( s:command )
[METODO] org.freesmartphone.GSM.Test.Echo( s:echo )

Chiama un metodo su un'interfaccia:

root@om-gta02 ~ $ mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.Device.GetInfo
{ 'imei': '354651011234567',
'produttore': 'FIC/OpenMoko',
'modello': '"Modem GSM integrato Neo1973 GTA02"',
'revisione': '"HW: GTA02BV5, GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko8"'}

Usalo in modalità di ascolto:

root@om-gta02:/local/pkg/fso/framework/framework# mdbus -s -l
in ascolto di segnali su SystemBus dal servizio 'all', oggetto 'all'...
[SIGNAL] org.freedesktop.DBus.NameOwnerCambiato da org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u'org.pyneo.muxer'), dbus.String(u':1.6'), dbus.String(u''))
[SIGNAL] org.freedesktop.DBus.NameOwnerCambiato da org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u':1.6'), dbus.String(u':1.6'), dbus.String(u''))
[SIGNAL] org.freedesktop.DBus.NameOwnerCambiato da org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u':1.28'), dbus.String(u''), dbus.String(u':1.28'))
[SIGNAL] org.freedesktop.DBus.NameOwnerCambiato da org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u'org.freesmartphone.frameworkd'), dbus.String(u''), dbus.String(u':1.28'))
[SIGNAL] org.freedesktop.DBus.NameOwnerCambiato da org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u'org.freesmartphone.ogsmd'), dbus.String(u''), dbus.String(u':1.28'))
[SIGNAL] org.freedesktop.DBus.NameOwnerCambiato da org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u':1.29'), dbus.String(u''), dbus.String(u':1.29'))
[SIGNAL] org.freedesktop.DBus.NameOwnerCambiato da org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u'org.pyneo.muxer'), dbus.String(u''), dbus.String(u':1.29'))
[SIGNAL] org.freedesktop.DBus.NameOwnerCambiato da org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u':1.30'), dbus.String(u''), dbus.String(u':1.30'))
[SIGNAL] org.freesmartphone.GSM.SIM.ReadyStatus da :1.28 /org/freesmartphone/GSM/Device
(dbus.Booleano(Falso),)
[SIGNAL] org.freesmartphone.GSM.SIM.AuthStatus da :1.28 /org/freesmartphone/GSM/Device
(dbus.String(u'PIN SIM'),)
[SIGNAL] org.freesmartphone.GSM.SIM.AuthStatus da :1.28 /org/freesmartphone/GSM/Device
(dbus.String(u'READY'),)
[SIGNAL] org.freesmartphone.GSM.SIM.ReadyStatus da :1.28 /org/freesmartphone/GSM/Device
(dbus.Boolean(Vero),)

Usa mdbus2 online utilizzando i servizi onworks.net


Server e workstation gratuiti

Scarica app per Windows e Linux

  • 1
    Phaser
    Phaser
    Phaser è un open veloce, gratuito e divertente
    framework di gioco HTML5 di origine che offre
    Rendering WebGL e Canvas attraverso
    browser Web desktop e mobili. Giochi
    può essere co...
    Scarica Phaser
  • 2
    Motore VASSAL
    Motore VASSAL
    VASSAL è un motore di gioco per creare
    versioni elettroniche della scheda tradizionale
    e giochi di carte. Fornisce supporto per
    rendering e interazione dei pezzi di gioco,
    e ...
    Scarica il motore VASSAL
  • 3
    OpenPDF - Fork di iText
    OpenPDF - Fork di iText
    OpenPDF è una libreria Java per la creazione
    e la modifica di file PDF con un LGPL e
    Licenza open source MPL. OpenPDF è il
    LGPL/MPL successore open source di iText,
    un ...
    Scarica OpenPDF - Fork di iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - Sistema per Automatizzato
    Analisi Geoscientifiche - è un Geografico
    Software del sistema informativo (GIS) con
    immense capacità per i dati geografici
    elaborazione e ana...
    Scarica SAGA GIS
  • 5
    Toolbox per Java/JTOpen
    Toolbox per Java/JTOpen
    IBM Toolbox per Java / JTOpen è un
    libreria di classi Java che supportano il
    client/server e programmazione internet
    modelli su un sistema che esegue OS/400,
    i5/OS, o...
    Scarica Toolbox per Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (o D3 per i documenti basati sui dati)
    è una libreria JavaScript che ti consente
    produrre dati dinamici e interattivi
    visualizzazioni nei browser web. Con D3
    tu...
    Scarica D3.js
  • Di Più "

Comandi Linux

  • 1
    adiff
    adiff
    abidiff - confronta gli ABI dei file ELF
    abidiff confronta il binario dell'applicazione
    Interfacce (ABI) di due librerie condivise
    in formato ELF. Emette un significato
    rapporto...
    Esegui abidif
  • 2
    abidw
    abidw
    abidw - serializza l'ABI di un ELF
    il file abidw legge una libreria condivisa in ELF
    formato ed emette una rappresentazione XML
    del suo ABI all’output standard. IL
    emesso...
    Corri costantemente
  • 3
    copac2xml
    copac2xml
    bibutils - conversione della bibliografia
    utilità...
    Esegui copac2xml
  • 4
    copto
    copto
    copt - ottimizzatore spioncino SYSNOPIS:
    copt file.. DESCRIZIONE: copt è un file
    ottimizzatore spioncino generico. Esso
    legge il codice dal suo input standard e
    scrive un...
    Corri copto
  • 5
    collect_stx_titles
    collect_stx_titles
    collect_stx_titles - raccogli il titolo
    dichiarazioni da documenti Stx...
    Eseguire collect_stx_titles
  • 6
    panca-gatling
    panca-gatling
    panca - benchmark http ...
    Esegui gatling-panca
  • Di Più "

Ad