wifi_result_t

Wi-Fi return codes.

Synopsis:

#include <wifi/wifi_service.h>
 
typedef enum {
      WIFI_SUCCESS = 0x00   
      WIFI_ERROR_INVALID_PARAMETERS = 0x01   
      WIFI_ERROR_NOT_ENOUGH_MEMORY = 0x02   
      WIFI_ERROR_AGGREGATOR_DUPLICATE = 0x03   
      WIFI_ERROR_AGGREGATOR_PROFILE_BUSY = 0x04   
      WIFI_ERROR_AGGREGATOR_PROFILE_NOT_READY = 0x05   
      WIFI_ERROR_REQUEST_REFUSED = 0x06   
      WIFI_ERROR_REQUEST_UNSUPPORTED = 0x07   
      WIFI_ERROR_INFO_NOT_AVAILABLE = 0x08   
      WIFI_ERROR = 0xFF   
} wifi_result_t;

Since:

BlackBerry 10.2.0

Data:

WIFI_SUCCESS
No error, operation is successful.
WIFI_ERROR_INVALID_PARAMETERS
Error due to invalid input.
WIFI_ERROR_NOT_ENOUGH_MEMORY
Error due to insufficient memory.
WIFI_ERROR_AGGREGATOR_DUPLICATE
Error - aggregator profile already exists.
WIFI_ERROR_AGGREGATOR_PROFILE_BUSY
Error - aggregator profile is in use.
WIFI_ERROR_AGGREGATOR_PROFILE_NOT_READY
Error - aggregator profile is not configured.
WIFI_ERROR_REQUEST_REFUSED
Error - request is refused at this time.
WIFI_ERROR_REQUEST_UNSUPPORTED
Error - the requested command and parameters are not supported.
WIFI_ERROR_INFO_NOT_AVAILABLE
Error - the requested information is not available.
WIFI_ERROR
General error.

Library:

libwifi (For the qcc command, use the -l wifi option to link against this library)

Description:

This enumeration defines the return codes for Wi-Fi APIs.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus