SoftAP Client API provides functions to get the information about a connected client.
Required Header
#include <softap.h>
Overview
This set of functions is used to get information about a connected client.
Related Features
This API is related with the following features:
It is recommended to design applications with regard to features, for reliability.
You can check if a device supports the related features for this API by using System Information, and control your application's actions accordingly.
To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.
More details on using features in your application can be found in Feature Element.
Typedef Documentation
The SoftAP client handle.
- Since :
- 5.0
Enumeration Type Documentation
Enumeration for address family.
- Since :
- 5.0
- Enumerator:
SOFTAP_ADDRESS_FAMILY_IPV4 |
IPv4 Address type
|
SOFTAP_ADDRESS_FAMILY_IPV6 |
IPv6 Address type
|
Function Documentation
Clones the handle of a client.
- Since :
- 5.0
- Privilege Level:
- public
- Privilege:
- http://tizen.org/privilege/softap
- Parameters:
-
[out] | dest | The cloned client handle |
[in] | origin | The origin client handle |
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
- See also:
- softap_client_destroy()
Destroys the handle of a client.
- Since :
- 5.0
- Privilege Level:
- public
- Privilege:
- http://tizen.org/privilege/softap
- Parameters:
-
[in] | client | The client handle |
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
- See also:
- softap_client_clone()
Gets the IP address of a client.
- Since :
- 5.0
- Privilege Level:
- public
- Privilege:
- http://tizen.org/privilege/softap
- Parameters:
-
[in] | client | The client handle |
[in] | address_family | The address family of IP address. Currently, SOFTAP_ADDRESS_FAMILY_IPV4 is only supported |
[out] | ip_address | The IP address |
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
- See also:
- softap_client_connection_state_changed_cb()
Gets the MAC address of a client.
- Since :
- 5.0
- Privilege Level:
- public
- Privilege:
- http://tizen.org/privilege/softap
- Parameters:
-
[in] | client | The client handle |
[out] | mac_address | The MAC address |
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
- See also:
- softap_client_connection_state_changed_cb()
Gets the name of a client.
- Since :
- 5.0
- Privilege Level:
- public
- Privilege:
- http://tizen.org/privilege/softap
- Parameters:
-
[in] | client | The client handle |
[out] | name | The name of the client |
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
- See also:
- softap_client_connection_state_changed_cb()
Gets the connection time of a client.
- Since :
- 5.0
- Privilege Level:
- public
- Privilege:
- http://tizen.org/privilege/softap
- Parameters:
-
[in] | client | The client handle |
[out] | timestamp | The connected time of the client |
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
- See also:
- softap_client_connection_state_changed_cb()