The Network interface is used to give information about the GSM service providers and this device's status with regards to to network registration and connectivity. Taxonomy note: We think in terms of (service) providers rather than (network) operators, since multiple (service) providers can use the networks from operators, however what actually matters most is the provider name, not the actual network operator the provider is using.
org.freesmartphone.GSM.Network
Description: Register with any available service provider.
This maps to the GSM 07.07 command +COPS=0, see 3GPP TS 07.07 Chapter 7.3.
Description: Unregister from service provider.
Description: Get Network Status.
Network status information. Mandatory tuples are:
Description: Query the current signal strength, if registered with a service provider.
The signal strength in percent (0-100).
Description: Query the last received time report.
The current time in seconds since UNIX epoch. 0, if no time has been received.
i: timestampTimestamp indicating when the time report has been received from the network.
i: zoneThe time zone offset in minutes based on UTC. This value is only valid, if within the interval ( -1440, 1440 ).
i: zonestampTimestamp indicating when the time report has been received from the network.
Description: List available service providers.
An array of four-tuples with the following structure:
Description: Register to a dedicated service provider.
The operator code.
Description: Get the network call forwarding status.
Reason for which you want to enable network call forwarding. Valid reasons are:
A dictionary containing entries for call classes. Expected classes are:
Description: Enable network call forwarding.
The reason for which you want to enable network call forwarding. See GetCallForwarding for valid reasons.
s: classThe call class for which you want to enable network call forwarding. See GetCallForwarding for valid classes.
s: numberThe phone number to which the network call will be forwarded.
i: timeoutThe number of seconds, after which network call forwarding launches (only valid for reason "no reply").
Description: Disable network call forwarding.
This maps to the GSM 07.07 command +CCFC=(...),4, see 3GPP TS 07.07 Chapter 7.10.
The reason for which you want to enable network call forwarding. See GetCallForwarding for valid reasons.
s: classCall class for which the network call gets forwarded. See GetCallForwarding for valid classes.
Description: Set whether your subscriber number is visible during a call.
One of the following values:
Description: Get whether your subscriber number is visible during a call.
One of the following values:
Description: Send an Unstructured Supplementary Service Data (USSD) request to the network. Responses will be delivered via the signal IncomingUssd
This can map to the GSM 07.07 command +CUSD=1,"(request)",(code), see 3GPP TS 07.07 Chapter 7.14.
The request to be sent to the network.
Description: Sent, when the network registration status changes.
The registration status. See GetStatus for expected values.
Description: (OPTIONAL) Sent, when registered with a service provider and the network signal strength changes.
The signal strength in percent (0-100).
Description: Sent upon receiving a network time and/or zone report.
The current time in seconds since UNIX epoch. 0, if no time has been received.
i: zoneThe time zone offset in minutes based on UTC. This value is only valid, if within the interval ( -1440, 1440 ).
Description: Sent, when an USSD result or a network initiated request arrives. This signal is usually sent in response to the method SendUssdRequest
The message mode. Valid values are:
The message. Only set if mode is "completed" or "useraction". "", otherwise.
Description: Sent, when the network reports a change in telephony or PDP cipher indication.
The telephony cipher: "enabled", "disabled", or "unknown"
s: pdpThe PDP cipher cipher: "enabled", "disabled", or "unknown"