qwf_Service_e

Updated: October 28, 2024

QWF service types (not all are supported)

Synopsis:

#include <qwf/qwf_interface.h>
typedef enum {
    QWF_SERVICE_NONE = 0x00000000,
    QWF_SERVICE_UICC = 0x00000001,
    QWF_SERVICE_RC = 0x00000002,
    QWF_SERVICE_CDS = 0x00000004,
    QWF_SERVICE_SMS = 0x00000008,
    QWF_SERVICE_VOICE = 0x00000010,
    QWF_SERVICE_NET = 0x00000020,
    QWF_SERVICE_LCS = 0x00000040,
    QWF_SERVICE_WIFI = 0x00000080,
    QWF_SERVICE_ALL    0x000000ff
} qwf_Service_e;

#define QWF_SERVICE_CELLULAR (QWF_SERVICE_UICC + QWF_SERVICE_RC + QWF_SERVICE_CDS)
#define QWF_SERVICE_NETWORKING (QWF_SERVICE_WIFI + QWF_SERVICE_NET)

Data:

QWF_SERVICE_NONE
No QWF service is active
QWF_SERVICE_UICC
Universal Integrated Circuit Card
QWF_SERVICE_RC
Radio control service
QWF_SERVICE_CDS
Cellular data service
QWF_SERVICE_SMS
SMS service
QWF_SERVICE_VOICE
Cellular voice service
QWF_SERVICE_NET
Networking service
QWF_SERVICE_LCS
Location service
QWF_SERVICE_WIFI
Wi-Fi service
QWF_SERVICE_ALL
All possible services are active

Library:

qwf_interface

Description:

The qwf_Service_e enumeration type defines flags that represent individual QWF services.

CAUTION:
Not all services are supported in this release. In fact, this release supports only the networking and Wi-Fi services; the others haven't been tested so they're not guaranteed to work.

The qwf_QueryActiveService() function returns a bitfield of these flags to indicate which services are active, and the client program can set these flags in a bitfield passed into qwf_InitializeServices() or qwf_CleanupServices() to initialize or clean up specific services.

There are also macro constants (QWF_SERVICE_CELLULAR and QWF_SERVICE_NETWORKING) that consist of multiple flags. These constants allow the caller to refer to all QWF services needed for cellular connectivity or for Wi-Fi networking.

  翻译: