Editing User:Jebba/Ofono
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 120: | Line 120: | ||
Here's a few dbus sends, I've only tested one so far. | Here's a few dbus sends, I've only tested one so far. | ||
- | ofono-dial | + | $ for i in ofono-* ; do echo $i ; cat $i ; done | sed -e 's/^/ /' |
+ | ofono-dial | ||
#!/bin/sh | #!/bin/sh | ||
sudo dbus-send --print-reply --system --dest=org.ofono /atgen0 org.ofono.VoiceCallManager.Dial string:"48990591" string:"" | sudo dbus-send --print-reply --system --dest=org.ofono /atgen0 org.ofono.VoiceCallManager.Dial string:"48990591" string:"" | ||
- | + | ofono-get-properties | |
- | ofono-get-properties | + | |
#/bin/sh | #/bin/sh | ||
sudo dbus-send --system --print-reply --dest=org.ofono /atgen0 org.ofono.Modem.GetProperties | sudo dbus-send --system --print-reply --dest=org.ofono /atgen0 org.ofono.Modem.GetProperties | ||
- | + | ofono-get-properties-sms | |
- | + | ||
- | ofono-get-properties-sms | + | |
#!/bin/sh | #!/bin/sh | ||
sudo dbus-send --system --print-reply --dest=org.ofono /atgen0 org.ofono.SmsManager.GetProperties | sudo dbus-send --system --print-reply --dest=org.ofono /atgen0 org.ofono.SmsManager.GetProperties | ||
- | + | ofono-power-on | |
- | ofono-power-on | + | |
#!/bin/sh | #!/bin/sh | ||
- | + | ||
+ | # need to set g10 to wtf modem name is | ||
+ | |||
+ | sudo dbus-send --system --type=method_call --print-reply \ | ||
--dest=org.ofono /atgen0 org.ofono.Modem.SetProperty string:"Powered" \ | --dest=org.ofono /atgen0 org.ofono.Modem.SetProperty string:"Powered" \ | ||
variant:boolean:true | variant:boolean:true | ||
- | |||
- | ofono-register | + | # --dest=org.ofono /g10 org.ofono.Modem.SetProperty string:"Powered" \ |
+ | ofono-register | ||
#!/bin/sh | #!/bin/sh | ||
Learn more about Contributing to the wiki.