#ifndef __WIRELESSDEVAGENT_DEF_G_H #define __WIRELESSDEVAGENT_DEF_G_H #pragma once // This code is generated by spgen tool! #include "SpHelper.h" namespace WirelessDevAgent { // // const goes here // #define WirelessDevService_Method_GetWlanInterfaces 0 #define WirelessDevService_Method_ConnectWlan 1 #define WirelessDevService_Method_IsActive 2 #define WirelessDevService_Method_UpdateOrInsertAPN 3 #define WirelessDevService_Method_DeleteAPN 4 #define WirelessDevService_Method_SetCurAPNConfig 5 #define WirelessDevService_Method_SwitchDefaultSlot 6 #define WirelessDevService_Method_GetAPNConfigs 7 #define WirelessDevService_MethodSignature_GetWlanInterfaces -919633378 #define WirelessDevService_MethodSignature_ConnectWlan -1263120734 #define WirelessDevService_MethodSignature_IsActive -1611725100 #define WirelessDevService_MethodSignature_UpdateOrInsertAPN -59598648 #define WirelessDevService_MethodSignature_DeleteAPN -345770837 #define WirelessDevService_MethodSignature_SetCurAPNConfig 1885334294 #define WirelessDevService_MethodSignature_SwitchDefaultSlot 1177370670 #define WirelessDevService_MethodSignature_GetAPNConfigs -111861473 struct WirelessDevService_GetWlanInterfaces_Req { void Serialize(SpBuffer &Buf) { } }; struct WirelessDevService_GetWlanInterfaces_Ans { int Count; int ErroCode; CAutoArray Interfaces; void Serialize(SpBuffer &Buf) { auto & buf = Buf & Count & ErroCode & Interfaces; } }; struct WirelessDevService_ConnectWlan_Req { CSimpleStringA SSID; CSimpleStringA Password; bool ResetMode; bool HiddenMode; bool ForceUpdate; int Reserved1; CSimpleStringA Reserved2; void Serialize(SpBuffer &Buf) { auto & buf = Buf & SSID & Password & ResetMode & HiddenMode & ForceUpdate & Reserved1 & Reserved2; } }; struct WirelessDevService_ConnectWlan_Ans { int Result; int ErroCode; CSimpleStringA ReasonString; void Serialize(SpBuffer &Buf) { auto & buf = Buf & Result & ErroCode & ReasonString; } }; struct WirelessDevService_IsActive_Req { void Serialize(SpBuffer &Buf) { } }; struct WirelessDevService_IsActive_Ans { int activeStatus; int connStatus; void Serialize(SpBuffer &Buf) { auto & buf = Buf & activeStatus & connStatus; } }; struct WirelessDevService_UpdateOrInsertAPN_Req { int ProfileID; CSimpleStringA Name; CSimpleStringA APNString; CSimpleStringA Numeric; CSimpleStringA User; CSimpleStringA Password; CSimpleStringA Server; CSimpleStringA Type; int AuthType; int Port; int APNProtocol; int SlotNum; bool ApplyNow; int reserved1; CSimpleStringA reserved2; int reserved3; CAutoArray reserved4; void Serialize(SpBuffer &Buf) { auto & buf = Buf & ProfileID & Name & APNString & Numeric & User & Password & Server & Type & AuthType & Port & APNProtocol & SlotNum & ApplyNow & reserved1 & reserved2 & reserved3 & reserved4; } }; struct WirelessDevService_UpdateOrInsertAPN_Ans { int ResultCode; CSimpleStringA Subjoin; void Serialize(SpBuffer &Buf) { auto & buf = Buf & ResultCode & Subjoin; } }; struct WirelessDevService_DeleteAPN_Req { int ProfileID; CSimpleStringA Name; int SlotNum; void Serialize(SpBuffer &Buf) { auto & buf = Buf & ProfileID & Name & SlotNum; } }; struct WirelessDevService_DeleteAPN_Ans { int ResultCode; CSimpleStringA Subjoin; void Serialize(SpBuffer &Buf) { auto & buf = Buf & ResultCode & Subjoin; } }; struct WirelessDevService_SetCurAPNConfig_Req { CSimpleStringA Name; int SlotNum; void Serialize(SpBuffer &Buf) { auto & buf = Buf & Name & SlotNum; } }; struct WirelessDevService_SetCurAPNConfig_Ans { int ResultCode; CSimpleStringA Subjoin; void Serialize(SpBuffer &Buf) { auto & buf = Buf & ResultCode & Subjoin; } }; struct WirelessDevService_SwitchDefaultSlot_Req { int SlotIdx; CSimpleStringA Subjoin; void Serialize(SpBuffer &Buf) { auto & buf = Buf & SlotIdx & Subjoin; } }; struct WirelessDevService_SwitchDefaultSlot_Ans { int ResultCode; CSimpleStringA Subjoin; void Serialize(SpBuffer &Buf) { auto & buf = Buf & ResultCode & Subjoin; } }; struct WirelessDevService_GetAPNConfigs_Req { int FilterSlotNum; CSimpleStringA FilterName; int ComponentType; int reserved1; CSimpleStringA reserved2; void Serialize(SpBuffer &Buf) { auto & buf = Buf & FilterSlotNum & FilterName & ComponentType & reserved1 & reserved2; } }; struct WirelessDevService_GetAPNConfigs_Ans { int ResultCode; CSimpleStringA Subjoin; CAutoArray SlotName; CAutoArray OperatorName; CAutoArray IMSI; CAutoArray IMEI; CAutoArray MCCMNC; CAutoArray SIMState; CAutoArray ActiveState; CAutoArray ProfileCount; CAutoArray ProfileID; CAutoArray Name; CAutoArray APNString; CAutoArray Numeric; CAutoArray User; CAutoArray Password; CAutoArray Server; CAutoArray Type; CAutoArray AuthType; CAutoArray Port; CAutoArray APNProtocol; CAutoArray SlotNum; CAutoArray ProfileState; CAutoArray reserved1; CAutoArray reserved2; void Serialize(SpBuffer &Buf) { auto & buf = Buf & ResultCode & Subjoin & SlotName & OperatorName & IMSI & IMEI & MCCMNC & SIMState & ActiveState & ProfileCount & ProfileID & Name & APNString & Numeric & User & Password & Server & Type & AuthType & Port & APNProtocol & SlotNum & ProfileState & reserved1 & reserved2; } }; /////////////////////////// } // namespace WirelessDevAgent #endif // __WIRELESSDEVAGENT_DEF_G_H