Updated: October 28, 2024 |
QWF service types (not all are supported)
#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)
The qwf_Service_e enumeration type defines flags that represent individual QWF services.
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.