#define ICD_DBUS_API_ADDRINFO_REQ "addrinfo_req" |
Request specific connection address info. Note that the address information returned is what was assigned to the connection, any VPNs or tunnels set up later will not get reported.
Arguments:
DBUS_TYPE_STRING service type DBUS_TYPE_UINT32 service attributes, see Service Provider API DBUS_TYPE_STRING service id DBUS_TYPE_STRING network type DBUS_TYPE_UINT32 network attributes, see Network module API DBUS_TYPE_ARRAY (BYTE) network id
Request address info for all connections.
Arguments:
none
Return arguments:
DBUS_TYPE_UINT32 number of ICD_DBUS_API_ADDRINFO_SIG sent, zero if no connections are ongoing
Note that the address information returned is what was assigned to the connection, any VPNs or tunnels set up later will not get reported.
#define ICD_DBUS_API_ADDRINFO_SIG "addrinfo_sig" |
Address info signal, sent in response to ICD_DBUS_API_ADDRINFO_REQ if there are ongoing connections.
Arguments:
DBUS_TYPE_STRING service type or empty string DBUS_TYPE_UINT32 service attributes, see Service Provider API DBUS_TYPE_STRING service id or empty string DBUS_TYPE_STRING network type or empty string DBUS_TYPE_UINT32 network attributes, see Network module API DBUS_TYPE_ARRAY (BYTE) network id or empty string DBUS_TYPE_ARRAY ( DBUS_TYPE_STRING IP address DBUS_TYPE_STRING IP netmask DBUS_TYPE_STRING IP default gateway DBUS_TYPE_STRING IP address of DNS server #1 DBUS_TYPE_STRING IP address of DNS server #2 DBUS_TYPE_STRING IP address of DNS server #3 )
Referenced by icd_dbus_api_addrinfo_send().
#define ICD_DBUS_API_CONNECT_REQ "connect_req" |
Request a network connection Make ICd2 select a suitable connection; normally this should be used.
Arguments:
DBUS_TYPE_UINT32 connection flags, see icd_connection_flags
Make ICd2 try the specified connection(s); use only in special cases.
Arguments:
DBUS_TYPE_UINT32 connection flags, see icd_connection_flags DBUS_TYPE_ARRAY ( DBUS_TYPE_STRING service type or empty string DBUS_TYPE_UINT32 service attributes, see Service Provider API DBUS_TYPE_STRING service id or empty string DBUS_TYPE_STRING network type DBUS_TYPE_UINT32 network attributes, see Network module API DBUS_TYPE_ARRAY (BYTE) network id )
Return arguments:
none
#define ICD_DBUS_API_CONNECT_SIG "connect_sig" |
Connection result signal for ICD_DBUS_API_CONNECT_REQ and ICD_DBUS_API_SELECT_REQ requests.
Arguments:
DBUS_TYPE_STRING service type or empty string DBUS_TYPE_UINT32 service attributes, see Service Provider API DBUS_TYPE_STRING service id or empty string DBUS_TYPE_STRING network type or empty string DBUS_TYPE_UINT32 network attributes, see Network module API DBUS_TYPE_ARRAY (BYTE) network id or empty string DBUS_TYPE_UINT32 status, see icd_connect_status
Referenced by icd_dbus_api_send_connect_sig().
#define ICD_DBUS_API_DISCONNECT_REQ "disconnect_req" |
Request to disconnect an ongoing connection.
Arguments:
DBUS_TYPE_UINT32 connection flags, see icd_connection_flags DBUS_TYPE_STRING service type or empty string DBUS_TYPE_UINT32 service attributes, see Service Provider API DBUS_TYPE_STRING service id or empty string DBUS_TYPE_STRING network type or empty string DBUS_TYPE_UINT32 network attributes, see Network module API DBUS_TYPE_ARRAY (BYTE) network id or empty string
Request to disconnect the last connection.
Arguments:
DBUS_TYPE_UINT32 connection flags, see icd_connection_flags
Return arguments:
none
#define ICD_DBUS_API_INTERFACE "com.nokia.icd2" |
D-Bus API interface
Referenced by icd_dbus_api_addrinfo_send(), icd_dbus_api_deinit(), icd_dbus_api_init(), icd_dbus_api_request(), icd_dbus_api_scan_result(), icd_dbus_api_send_connect_sig(), icd_dbus_api_state_scan_send(), icd_dbus_api_statistics_ip_cb(), icd_dbus_api_update_search(), and icd_dbus_api_update_state().
#define ICD_DBUS_API_PATH "/com/nokia/icd2" |
Well-known path for D-Bus API
Referenced by icd_dbus_api_addrinfo_send(), icd_dbus_api_deinit(), icd_dbus_api_init(), icd_dbus_api_scan_result(), icd_dbus_api_send_connect_sig(), icd_dbus_api_state_scan_send(), icd_dbus_api_statistics_ip_cb(), icd_dbus_api_update_search(), and icd_dbus_api_update_state().
#define ICD_DBUS_API_SCAN_CANCEL "scan_cancel_req" |
Cancel a scan.
Arguments:
noneReturn arguments:
none
#define ICD_DBUS_API_SCAN_REQ "scan_req" |
Initiate a scan.
Arguments:
DBUS_TYPE_UINT32 passively listen/actively request scan results, see icd_scan_request_flags array of DBUS_TYPE_STRING network types to scan; no array or empty array to scan all network typesReturn arguments:
array of DBUS_TYPE_STRING network types which are going to be scanned
#define ICD_DBUS_API_SCAN_SIG "scan_result_sig" |
Scan results signal.
Arguments:
DBUS_TYPE_UINT32 status, see icd_scan_status DBUS_TYPE_UINT32 timestamp when last seen DBUS_TYPE_STRING service type DBUS_TYPE_STRING service name DBUS_TYPE_UINT32 service attributes, see Service Provider API DBUS_TYPE_STRING service id DBUS_TYPE_INT32 service priority within a service type DBUS_TYPE_STRING network type DBUS_TYPE_STRING network name DBUS_TYPE_UINT32 network attributes, see Network module API DBUS_TYPE_ARRAY (BYTE) network id DBUS_TYPE_INT32 network priority for different network types DBUS_TYPE_INT32 signal strength/quality, 0 (none) - 10 (good) DBUS_TYPE_STRING station id, e.g. MAC address or similar id you can safely ignore this argument DBUS_TYPE_INT32 signal value in dB; use signal strength above unless you know what you are doing
Referenced by icd_dbus_api_scan_result().
#define ICD_DBUS_API_SELECT_REQ "select_req" |
Request the 'Select connection' dialog; only connectiviy UIs should be using this function.
Arguments:
DBUS_TYPE_UINT32 connection flags, see icd_connection_flags
Return arguments:
none
#define ICD_DBUS_API_STATE_REQ "state_req" |
Request state for a connection.
Arguments:
DBUS_TYPE_STRING service type DBUS_TYPE_UINT32 service attributes, see Service Provider API DBUS_TYPE_STRING service id DBUS_TYPE_STRING network type DBUS_TYPE_UINT32 network attributes, see Network module API DBUS_TYPE_ARRAY (BYTE) network id
Return arguments:
DBUS_TYPE_UINT32 number of ICD_DBUS_API_STATE_SIG signals that will be sent
Request state for all connections.
Arguments:
none
Return arguments:
DBUS_TYPE_UINT32 number of ICD_DBUS_API_STATE_SIG signals that will be sent
#define ICD_DBUS_API_STATE_SIG "state_sig" |
State signal, sent in response to ICD_DBUS_API_STATE_REQ or broadcasted whenever the state of a connection changes.
Arguments:
DBUS_TYPE_STRING service type or empty string DBUS_TYPE_UINT32 service attributes, see Service Provider API DBUS_TYPE_STRING service id or empty string DBUS_TYPE_STRING network type or empty string DBUS_TYPE_UINT32 network attributes, see Network module API DBUS_TYPE_ARRAY (BYTE) network id or empty string DBUS_TYPE_STRING error that occured; empty string on success DBUS_TYPE_UINT32 state of the network connection, see icd_connection_state
State signal, broadcasted at startup if there are no connections ongoing.
Arguments:
DBUS_TYPE_UINT32 ICD_STATE_DISCONNECTED
State signal, sent in response to ICD_DBUS_API_STATE_REQ or broadcasted whenever network search begins or ends.
Arguments:
DBUS_TYPE_STRING the network type for which search is done DBUS_TYPE_UINT32 state of the network connection, see icd_connection_state
Referenced by icd_dbus_api_state_scan_send(), icd_dbus_api_update_search(), and icd_dbus_api_update_state().
#define ICD_DBUS_API_STATISTICS_REQ "statistics_req" |
Request specific connection statistics.
Arguments:
DBUS_TYPE_STRING service type DBUS_TYPE_UINT32 service attributes, see Service Provider API DBUS_TYPE_STRING service id DBUS_TYPE_STRING network type DBUS_TYPE_UINT32 network attributes, see Network module API DBUS_TYPE_ARRAY (BYTE) network id
Request statistics for all connections.
Arguments:
none
Return arguments:
DBUS_TYPE_UINT32 number of ICD_DBUS_API_STATISTICS_SIG sent, zero if no connections are ongoing
#define ICD_DBUS_API_STATISTICS_SIG "statistics_sig" |
Statistics signal, sent in response to ICD_DBUS_API_STATISTICS_REQ if there are ongoing connections.
Arguments:
DBUS_TYPE_STRING service type or empty string DBUS_TYPE_UINT32 service attributes, see Service Provider API DBUS_TYPE_STRING service id or empty string DBUS_TYPE_STRING network type or empty string DBUS_TYPE_UINT32 network attributes, see Network module API DBUS_TYPE_ARRAY (BYTE) network id or empty string DBUS_TYPE_UINT32 time active, measured in seconds DBUS_TYPE_INT32 signal strength/quality, see icd_nw_levels DBUS_TYPE_UINT32 bytes sent DBUS_TYPE_UINT32 bytes received
Referenced by icd_dbus_api_statistics_ip_cb().
enum icd_connect_status |
status of the ICD_DBUS_API_CONNECT_REQ or ICD_DBUS_API_SELECT_REQ connection requests
enum icd_connection_flags |
flags for ICD_DBUS_API_CONNECT_REQ
enum icd_connection_state |
Connection state
flags for ICD_DBUS_API_SCAN_REQ
enum icd_scan_status |
status of the scan