Changeset 5d6783c in Dbus API specifications
- Timestamp:
- 09/08/08 19:21:35 (5 years ago)
- Branches:
- 820cacfd324a623a04b3e22f319e9220819d6ec4, 0.11, 675acad2f1510526a93c9777d03664766c823aab, morphis/pending, morphis/sms-rework
- Children:
- a8dcdd4
- Parents:
- c36ffb1
- git-author:
- Michael 'Mickey' Lauer <mickey@…> (09/08/08 19:21:06)
- git-committer:
- Michael 'Mickey' Lauer <mickey@…> (09/08/08 19:21:35)
- Files:
-
- 4 edited
-
html/org.freesmartphone.GSM.Call.html (modified) (2 diffs)
-
html/org.freesmartphone.GSM.SIM.html (modified) (1 diff)
-
otapi/org.freesmartphone.GSM.Call.xml.in (modified) (3 diffs)
-
otapi/org.freesmartphone.GSM.SIM.xml.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
html/org.freesmartphone.GSM.Call.html
rc46e113 r5d6783c 33 33 <h2>Errors</h2><ul> 34 34 <li><a href="#NotFound">NotFound</a></li> 35 <li><a href="#NotAnEmergencyNumber">NotAnEmergencyNumber</a></li> 35 36 </ul> 36 <h1>Methods</h1><h3><a name="Emergency">Emergency</a> ( ) → s</h3>37 <p><i>Description:</i> Initiate an emergency call.</p><p><div class="rationale"><p>This maps to ATD(number);, see v.250.</p></div></p><h4> Returns</h4><i>s: number</i><p></p>37 <h1>Methods</h1><h3><a name="Emergency">Emergency</a> ( s )</h3> 38 <p><i>Description:</i> Initiate an emergency call.</p><p><div class="rationale"><p>This maps to ATD(number);, see v.250.</p></div></p><h4>Parameters</h4><i>s: number</i><p>The emergency number to dial. National and world-wide restrictions apply.</p> 38 39 <h3><a name="Activate">Activate</a> ( i )</h3> 39 40 <p><i>Description:</i> Activate a call as single active call. All previously active calls are put on hold. No difference is made whether this is an incoming call or a call that has been put on hold.</p><p><div class="rationale"><p>This can map to ATA, see v.250. It might also map to GSM 07.07 +CHLD=..., see 3GPP TS 07.07 Chapter 7.12.</p></div></p><h4>Parameters</h4><i>i: id</i><p></p> … … 58 59 <h1>Signals</h1><h3><h3><a name="CallStatus">CallStatus</a> ( isa{sv} )</h3><p><i>Description:</i> Sent whenever there is any status or property change on a call in the system, no matter whether this is an incoming, active, held, or released call.</p><h4>Parameters</h4><i>i: id</i><p>The index of the call that changed its status or properties.</p><i>s: status</i><p>The new status of the call. Expected values are: <ul> <li>"incoming" = The call is incoming (but not yet accepted),</li> <li>"outgoing" = The call is outgoing (but not yet established),</li> <li>"active" = The call is the active call (you can talk),</li> <li>"held" = The call is being held,</li> <li>"released" = The call is being released.</li> </ul> Further information can be part of the properties.</p><i>a{sv}: properties</i><p>An array of property values. Note that properties are optional. Expected tuples are: <ul> <li>( "reason", string ) = The reason for the status change (on outgoing calls e.g. 'BUSY' or 'NO CARRIER'),</li> <li>( "number", string ) = The number of the peer (on incoming calls only if we received a CLIP),</li> <li>( "auxstatus", string ) = An auxillary connection status (if your modem supports that),</li> <li>...</li> </ul></p></h3> 59 60 <h1>Errors</h1><h3><a name="NotFound">NotFound</a></h3><p><i>Description:</i> Raised, if the specified call is not present.</p> 61 <h3><a name="NotAnEmergencyNumber">NotAnEmergencyNumber</a></h3><p><i>Description:</i> Raised, if the number is not allowed to dial as emergency call.</p> 60 62 61 63 <hr/> -
html/org.freesmartphone.GSM.SIM.html
rc46e113 r5d6783c 64 64 <p><i>Description:</i> Retrieve whether the SIM card checks for authentification on startup.</p><p><div class="rationale"><p>This maps to the GSM 07.07 command +CLCK,"SC",2, see 3GPP TS 07.07 Chapter 7.4.</p></div></p><h4>Returns</h4><i>b: check</i><p>True, if SIM card authentification is turned on. False, otherwise.</p> 65 65 <h3><a name="GetSimInfo">GetSimInfo</a> ( ) → a{sv}</h3> 66 <p><i>Description:</i> Get information about the IMSI, the subscriber numbers, and the country code of the SIM card.</p><p><div class="rationale"><p>This can map to the following GSM 07.07 commands: <ul> <li>+CIMI (see 3GPP TS 07.07 Chapter 5.6),</li> <li>+CNUM (see 3GPP TS 07.07 Chapter 7.1).</li> </ul> The dial code is computed by cross-referencing ITU E.212 (Land Mobile Numbering Plan).</p></div></p><h4>Returns</h4><i>a{sv}: info</i><p>Information about the SIM card. Required tuples are: <ul> <li>("im ei", string)</li> </ul> Optional tuples are: <ul> <li>("subscriber_numbers", array),</li> <li>("dial_prefix", string),</li> <li>("country", string).</li> </ul> The subscriber_numbers array contains two-tuples formatted as (string:line-name, string:line-number).</p>66 <p><i>Description:</i> Get information about the IMSI, the subscriber numbers, and the country code of the SIM card.</p><p><div class="rationale"><p>This can map to the following GSM 07.07 commands: <ul> <li>+CIMI (see 3GPP TS 07.07 Chapter 5.6),</li> <li>+CNUM (see 3GPP TS 07.07 Chapter 7.1).</li> </ul> The dial code is computed by cross-referencing ITU E.212 (Land Mobile Numbering Plan).</p></div></p><h4>Returns</h4><i>a{sv}: info</i><p>Information about the SIM card. Required tuples are: <ul> <li>("imsi", string) = the unique subscriber identification stored on your SIM.</li> </ul> Optional tuples are: <ul> <li>("subscriber_numbers", array),</li> <li>("dial_prefix", string),</li> <li>("country", string).</li> </ul> The subscriber_numbers array contains two-tuples formatted as (string:line-name, string:line-number).</p> 67 67 <h3><a name="SendGenericSimCommand">SendGenericSimCommand</a> ( s ) → s</h3> 68 68 <p><i>Description:</i> Send a generic SIM command to the SIM card.</p><p><div class="rationale"><p>This maps to the GSM 07.07 command +CSIM=(command), see 3GPP TS 07.07 Chapter 8.17.</p></div></p><h4>Parameters</h4><i>s: command</i><p>The command to send, encoded as described in GSM 11.11.</p><h4>Returns</h4><i>s: result</i><p>The result of the command, encoded as described in GSM 11.11.</p> -
otapi/org.freesmartphone.GSM.Call.xml.in
r2ca21d0 r5d6783c 4 4 <doc:doc> 5 5 <doc:summary>freesmartphone.org GSM Call Interface</doc:summary> 6 <doc:version>0.8.9</doc:version> 6 7 </doc:doc> 7 8 … … 23 24 </error> 24 25 26 <error name="NotAnEmergencyNumber"> 27 <doc:doc> 28 <doc:description> 29 Raised, if the number is not allowed to dial as emergency call. 30 </doc:description> 31 </doc:doc> 32 </error> 33 25 34 <method name="Emergency"> 26 35 <annotation name="org.freedesktop.DBus.GLib.Async" value="fso_gsm_call" /> … … 29 38 <doc:inote>This maps to ATD(number);, see v.250.</doc:inote> 30 39 </doc:doc> 31 <arg type="s" name="number" direction="out"> 40 <arg type="s" name="number" direction="in"> 41 <doc:doc> 42 <doc:summary>The emergency number to dial. National and world-wide restrictions apply.</doc:summary> 43 </doc:doc> 32 44 </arg> 33 45 </method> -
otapi/org.freesmartphone.GSM.SIM.xml.in
rc46e113 r5d6783c 4 4 <doc:doc> 5 5 <doc:summary>freesmartphone.org GSM SIM Interface</doc:summary> 6 <doc:version>0.9.0</doc:version> 6 7 </doc:doc> 7 8 … … 205 206 Information about the SIM card. Required tuples are: 206 207 [ul] 207 [li]("im ei", string)[/li]208 [li]("imsi", string) = the unique subscriber identification stored on your SIM.[/li] 208 209 [/ul] 209 210 Optional tuples are:
Note: See TracChangeset
for help on using the changeset viewer.
