Ubuntu Online, Fedora Online, Windows online emulator അല്ലെങ്കിൽ MAC OS ഓൺലൈൻ എമുലേറ്റർ എന്നിങ്ങനെയുള്ള ഞങ്ങളുടെ ഒന്നിലധികം സൗജന്യ ഓൺലൈൻ വർക്ക്സ്റ്റേഷനുകളിലൊന്ന് ഉപയോഗിച്ച് OnWorks സൗജന്യ ഹോസ്റ്റിംഗ് പ്രൊവൈഡറിൽ പ്രവർത്തിപ്പിക്കാവുന്ന mdbus2 കമാൻഡാണിത്.
പട്ടിക:
NAME
mdbus2 - ഇന്ററാക്ടീവ് DBus ആത്മപരിശോധന, ഇടപെടൽ, നിരീക്ഷണം
സിനോപ്സിസ്
mdbus2 [ഓപ്ഷനുകൾ...] [ സേവനനാമം [ ഒബ്ജക്റ്റ്പാത്ത് [ രീതി [ പരമങ്ങൾ... ] ] ]]
mdbus2 -സി
mdbus2 -sl
വിവരണം
ദി mdbus2 നിങ്ങളുടെ ഡിബസ് സേവനങ്ങൾ പര്യവേക്ഷണം ചെയ്യുന്നതിനും സംവദിക്കുന്നതിനും കമാൻഡ് ഉപയോഗിക്കുന്നു സിസ്റ്റം ബസ്
ഒപ്പം സമ്മേളനം ബസ്. സിസ്റ്റം-വൈഡ് മെസേജ് ബസ് ഒരു തവണ മാത്രമേ നിലവിലുള്ളൂ, പലതിലും ഇൻസ്റ്റാൾ ചെയ്തിട്ടുണ്ട്
"മെസേജ്ബസ്" സേവനമായി സിസ്റ്റങ്ങൾ. സെഷൻ സന്ദേശ ബസ് ഓരോ ഉപയോക്താവിനും ലോഗിൻ ആണ് (ആരംഭിച്ചു
ഓരോ തവണയും ഒരു ഉപയോക്താവ് ലോഗിൻ ചെയ്യുമ്പോൾ) സാധാരണയായി നിങ്ങളുടെ X11 സെഷനുമായി ബന്ധിപ്പിച്ചിരിക്കുന്നു.
ഏറ്റവും ലളിതമായ രൂപത്തിൽ, തിരഞ്ഞെടുത്ത ബസിൽ ലഭ്യമായ സേവനങ്ങൾ mdbus2 കാണിക്കുന്നു. നൽകിയത് എ
സേവനം പേര്, അത് ലഭ്യമായവ കാണിക്കും വസ്തുക്കൾ സേവനം കയറ്റുമതി ചെയ്തു. ഒരു സേവനം നൽകി
പേരും ഒരു വസ്തു പാത, അത് തുറന്നുകാട്ടപ്പെട്ടവരെ കാണിക്കും രീതികൾ, സിഗ്നലുകൾ, ഒപ്പം പ്രോപ്പർട്ടികൾ അതിന്റെ
വസ്തു
വിതരണം ചെയ്യുന്നത് എ രീതി പേര് (ഒപ്പം പാരാമീറ്ററുകൾ), നിങ്ങൾക്ക് ഒബ്ജക്റ്റിലെ രീതികൾ വിളിക്കാനും നേടാനും കഴിയും
മടക്കം മൂല്യം(കൾ).
ൽ കേൾക്കുന്നത് മോഡ്, തിരഞ്ഞെടുത്ത ബസിൽ അയച്ച സിഗ്നലുകൾ നിങ്ങൾക്ക് നിരീക്ഷിക്കാനാകും.
കൂടാതെ ഒരു ഉൾപ്പെടുന്നു ഇന്ററാക്ടീവ് ഷെൽ ടാബ് പൂർത്തീകരണവും കമാൻഡ് ചരിത്രവും.
ഓപ്ഷനുകൾ
--ഷോ-അജ്ഞാത, -a
കൂടാതെ കാണിക്കുക അതുല്യമായ ബസിലെ (അജ്ഞാത) സേവനങ്ങൾ.
--സിസ്റ്റം, -s
(ഡിഫോൾട്ട്) സെഷൻ ബസിന് പകരം സിസ്റ്റം ബസ് ഉപയോഗിക്കുക.
-ഷോ-പിഡുകൾ, -p
UNIX പ്രോസസ്സ് ഐഡികൾ കാണിക്കുക.
--കേൾക്കുക, -l
ലിസണർ മോഡ് ആരംഭിക്കുക, അതിൽ നിങ്ങൾക്ക് ബസിലെ സിഗ്നലുകൾ നിരീക്ഷിക്കാനാകും.
--ഇന്ററാക്ടീവ്, -i
ഒരു സംവേദനാത്മക ഷെൽ ആരംഭിക്കുക.
--വിവരണം-തരങ്ങൾ, -t
DBus തരങ്ങൾ വ്യാഖ്യാനിക്കുക.
USAGE
ഒരു സേവനം നടപ്പിലാക്കുന്ന ഒബ്ജക്റ്റിൽ ഒരു രീതി അഭ്യർത്ഥിക്കുന്നതിന്, നിങ്ങൾ വ്യക്തമാക്കേണ്ടതുണ്ട്
ഇനിപ്പറയുന്ന മൂല്യങ്ങൾ:
1 സേവനം പേര്, ഉദാ org.freesmartphone.ogsmd - സേവന നാമം തിരിച്ചറിയുന്നു
നിരവധി ഒബ്ജക്റ്റുകൾക്ക് സേവനം നൽകുന്ന പ്രക്രിയ. അറ്റാച്ച് ചെയ്യുന്ന എല്ലാ പ്രക്രിയകളും
ബസ്സിന് കുറഞ്ഞത് ഒരു അദ്വിതീയ (അജ്ഞാത) സേവന നാമമെങ്കിലും നൽകിയിരിക്കുന്നു
: 1.0. പോലുള്ള തനതായ പേരുകൾ org.freesmartphone.ogsmd, സാധാരണയായി നൽകിയിരിക്കുന്നു
ചെറിയക്ഷരം റിവേഴ്സ് ഡൊമെയ്ൻ നാമം നൊട്ടേഷൻ.
2 വസ്തു പാത, ഉദാ /org/freesmartphone/GSM/Device - ഒബ്ജക്റ്റ് പാത
പ്രക്രിയ നൽകുന്ന ഒരു കോൺക്രീറ്റ് വസ്തുവിനെ തിരിച്ചറിയുന്നു. ഒബ്ജക്റ്റ് പാതകൾ സാധാരണയായി
ഫയൽ സിസ്റ്റം പാത്തുകൾ പോലെ കാണപ്പെടുന്നു.
3 രീതി, ഉദാ org.freesmartphone.GSM.Call.Initiate - രീതിയുടെ പേര്
ഇന്റർഫേസിന്റെ ഭാഗമായ ഒരു പ്രവർത്തനം തിരിച്ചറിയുന്നു (രീതികളും സിഗ്നലുകളും)
ഒരു വസ്തുവിന്റെ. രീതിയുടെ പേരുകൾ ഉപയോഗിക്കുന്നു ഒട്ടക കേസ് ഡോട്ട് നൊട്ടേഷൻ ഉപയോഗിച്ച്.
4 പാരാമീറ്ററുകൾ, ഉദാ + 49123456 ശബ്ദം`. (ടു be വിശദീകരിച്ചു കൂടുതൽ).
ഉദാഹരണങ്ങൾ
സിസ്റ്റം ബസിൽ നിലവിൽ രജിസ്റ്റർ ചെയ്തിരിക്കുന്ന ബസ്സിന്റെ പേരുകൾ കണ്ടെത്തുക:
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
ഒരു നിശ്ചിത സേവനം ഏതൊക്കെ വസ്തുക്കളാണ് നൽകുന്നത് എന്ന് കണ്ടെത്തുക:
root@om-gta02:~# mdbus -s org.freesmartphone.frameworkd
/
/org
/org/freesmartphone
/org/freesmartphone/Framework
/org/freesmartphone/GSM
/org/freesmartphone/GSM/Device
/org/freesmartphone/GSM/Server
ഒരു നിശ്ചിത വസ്തുവിന്റെ ഇന്റർഫേസ് കണ്ടെത്തുക:
root@om-gta02:~# mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device
[രീതി] org.freesmartphone.GSM.Call.Activate( i:index )
[രീതി] org.freesmartphone.GSM.Call.ActivateConference( i:index )
[രീതി] org.freesmartphone.GSM.Call.HoldActive()
[രീതി] org.freesmartphone.GSM.Call.Initiate(s:number, s:type_ )
[രീതി] org.freesmartphone.GSM.Call.Release( i:index )
[രീതി] org.freesmartphone.GSM.Call.ReleaseAll()
[രീതി] org.freesmartphone.GSM.Call.ReleaseHeld()
[സിഗ്നൽ] org.freesmartphone.GSM.Call.CallStatus( i:index, s:status, a{sv}:properties )
[രീതി] org.freedesktop.DBus.Introspectable.Introspect()
[രീതി] org.freesmartphone.GSM.Device.CancelCommand()
[രീതി] org.freesmartphone.GSM.Device.GetAntennaPower()
[രീതി] org.freesmartphone.GSM.Device.GetFeatures()
[രീതി] org.freesmartphone.GSM.Device.GetInfo()
[രീതി] org.freesmartphone.GSM.Device.PrepareForSuspend()
[രീതി] org.freesmartphone.GSM.Device.RecoverFromSuspend()
[രീതി] org.freesmartphone.GSM.Device.SetAntennaPower(b:power )
[രീതി] org.freesmartphone.GSM.SIM.ChangeAuthCode(s:old_pin, s:new_pin )
[രീതി] org.freesmartphone.GSM.SIM.DeleteEntry( i:index )
[രീതി] org.freesmartphone.GSM.SIM.DeleteMessage( i:index )
[രീതി] org.freesmartphone.GSM.SIM.GetAuthStatus()
[രീതി] org.freesmartphone.GSM.SIM.GetImsi()
[രീതി] org.freesmartphone.GSM.SIM.GetMessagebookInfo()
[രീതി] org.freesmartphone.GSM.SIM.GetPhonebookInfo()
[രീതി] org.freesmartphone.GSM.SIM.GetServiceCenterNumber()
[രീതി] org.freesmartphone.GSM.SIM.GetSimCountryCode()
[രീതി] org.freesmartphone.GSM.SIM.GetSubscriberNumbers()
[രീതി] org.freesmartphone.GSM.SIM.RetrieveEntry( i:index )
[രീതി] org.freesmartphone.GSM.SIM.RetrieveMessage( i:index )
[രീതി] org.freesmartphone.GSM.SIM.RetrieveMessagebook(s:category )
[രീതി] org.freesmartphone.GSM.SIM.RetrievePhonebook()
[രീതി] org.freesmartphone.GSM.SIM.SendAuthCode( s:code )
[രീതി] org.freesmartphone.GSM.SIM.SetServiceCenterNumber(s:number )
[രീതി] org.freesmartphone.GSM.SIM.StoreEntry( i:index, s:name, s:number )
[രീതി] org.freesmartphone.GSM.SIM.StoreMessage(s:number, s:contents )
[രീതി] org.freesmartphone.GSM.SIM.Unlock(s:puk, s:new_pin )
[സിഗ്നൽ] org.freesmartphone.GSM.SIM.AuthStatus( s:status )
[സിഗ്നൽ] org.freesmartphone.GSM.SIM.NewMessage( i:index )
[രീതി] org.freesmartphone.GSM.Network.DisableCallForwarding(s:reason, s:class_ )
[രീതി] org.freesmartphone.GSM.Network.EnableCallForwarding(s:reason, s:class_, s:number, i:timeout )
[രീതി] org.freesmartphone.GSM.Network.GetCallForwarding(s:reason )
[രീതി] org.freesmartphone.GSM.Network.GetCallingIdentification()
[രീതി] org.freesmartphone.GSM.Network.GetNetworkCountryCode()
[രീതി] org.freesmartphone.GSM.Network.GetSignalStrength()
[രീതി] org.freesmartphone.GSM.Network.GetStatus()
[രീതി] org.freesmartphone.GSM.Network.ListProviders()
[രീതി] org.freesmartphone.GSM.Network.Register()
[രീതി] org.freesmartphone.GSM.Network.RegisterWithProvider( i:operator_code )
[രീതി] org.freesmartphone.GSM.Network.SetCallingIdentification( s:status )
[രീതി] org.freesmartphone.GSM.Network.Unregister()
[സിഗ്നൽ] org.freesmartphone.GSM.Network.SignalStrength( i:strength )
[സിഗ്നൽ] org.freesmartphone.GSM.Network.Status( a{sv}:status )
[രീതി] org.freesmartphone.GSM.PDP.ActivateContext( s:apn, s:user, s:password )
[രീതി] org.freesmartphone.GSM.PDP.DeactivateContext()
[രീതി] org.freesmartphone.GSM.PDP.GetCurrentGprsClass()
[രീതി] org.freesmartphone.GSM.PDP.ListAvailableGprsClasses()
[രീതി] org.freesmartphone.GSM.PDP.SetCurrentGprsClass( s:class_ )
[സിഗ്നൽ] org.freesmartphone.GSM.PDP.ContextStatus( i:index, s:status, a{sv}:properties )
[രീതി] org.freesmartphone.GSM.Test.Command(s:command )
[രീതി] org.freesmartphone.GSM.Test.Echo( s:echo )
ഒരു ഇന്റർഫേസിൽ ഒരു രീതി വിളിക്കുക:
root@om-gta02 ~ $ mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.Device.GetInfo
{ 'imei': '354651011234567',
'നിർമ്മാതാവ്': 'FIC/OpenMoko',
'model': '"Neo1973 GTA02 എംബഡഡ് GSM മോഡം"',
'revision': '"HW: GTA02BV5, GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko8"'}
ലിസണിംഗ് മോഡിൽ ഇത് ഉപയോഗിക്കുക:
root@om-gta02:/local/pkg/fso/framework/framework# mdbus -s -l
'എല്ലാം', ഒബ്ജക്റ്റ് 'എല്ലാം' എന്നിവയിൽ നിന്ന് SystemBus-ൽ സിഗ്നലുകൾ കേൾക്കുന്നു...
[സിഗ്നൽ] org.freedesktop.DBus.NameOwner org.freedesktop.DBus /org/freedesktop/DBus എന്നതിൽ നിന്ന് മാറ്റി
(dbus.String(u'org.pyneo.muxer'), dbus.String(u':1.6'), dbus.String(u''))
[സിഗ്നൽ] org.freedesktop.DBus.NameOwner org.freedesktop.DBus /org/freedesktop/DBus എന്നതിൽ നിന്ന് മാറ്റി
(dbus.String(u':1.6'), dbus.String(u':1.6'), dbus.String(u''))
[സിഗ്നൽ] org.freedesktop.DBus.NameOwner org.freedesktop.DBus /org/freedesktop/DBus എന്നതിൽ നിന്ന് മാറ്റി
(dbus.String(u':1.28'), dbus.String(u''), dbus.String(u':1.28'))
[സിഗ്നൽ] org.freedesktop.DBus.NameOwner org.freedesktop.DBus /org/freedesktop/DBus എന്നതിൽ നിന്ന് മാറ്റി
(dbus.String(u'org.freesmartphone.frameworkd'), dbus.String(u''), dbus.String(u':1.28'))
[സിഗ്നൽ] org.freedesktop.DBus.NameOwner org.freedesktop.DBus /org/freedesktop/DBus എന്നതിൽ നിന്ന് മാറ്റി
(dbus.String(u'org.freesmartphone.ogsmd'), dbus.String(u''), dbus.String(u':1.28'))
[സിഗ്നൽ] org.freedesktop.DBus.NameOwner org.freedesktop.DBus /org/freedesktop/DBus എന്നതിൽ നിന്ന് മാറ്റി
(dbus.String(u':1.29'), dbus.String(u''), dbus.String(u':1.29'))
[സിഗ്നൽ] org.freedesktop.DBus.NameOwner org.freedesktop.DBus /org/freedesktop/DBus എന്നതിൽ നിന്ന് മാറ്റി
(dbus.String(u'org.pyneo.muxer'), dbus.String(u''), dbus.String(u':1.29'))
[സിഗ്നൽ] org.freedesktop.DBus.NameOwner org.freedesktop.DBus /org/freedesktop/DBus എന്നതിൽ നിന്ന് മാറ്റി
(dbus.String(u':1.30'), dbus.String(u''), dbus.String(u':1.30'))
[സിഗ്നൽ] org.freesmartphone.GSM.SIM.ReadyStatus from :1.28 /org/freesmartphone/GSM/Device
(dbus.Boolean(False),)
[സിഗ്നൽ] org.freesmartphone.GSM.SIM.AuthStatus ൽ നിന്ന് :1.28 /org/freesmartphone/GSM/Device
(dbus.String(u'SIM പിൻ'),)
[സിഗ്നൽ] org.freesmartphone.GSM.SIM.AuthStatus ൽ നിന്ന് :1.28 /org/freesmartphone/GSM/Device
(dbus.String(u'READY'),)
[സിഗ്നൽ] org.freesmartphone.GSM.SIM.ReadyStatus from :1.28 /org/freesmartphone/GSM/Device
(dbus.Boolean(True),)
onworks.net സേവനങ്ങൾ ഉപയോഗിച്ച് mdbus2 ഓൺലൈനായി ഉപയോഗിക്കുക