| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- #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<CSimpleStringA> 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<CSimpleStringA> 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<int> SlotName;
- CAutoArray<int> OperatorName;
- CAutoArray<CSimpleStringA> IMSI;
- CAutoArray<CSimpleStringA> IMEI;
- CAutoArray<CSimpleStringA> MCCMNC;
- CAutoArray<int> SIMState;
- CAutoArray<int> ActiveState;
- CAutoArray<int> ProfileCount;
- CAutoArray<int> ProfileID;
- CAutoArray<CSimpleStringA> Name;
- CAutoArray<CSimpleStringA> APNString;
- CAutoArray<CSimpleStringA> Numeric;
- CAutoArray<CSimpleStringA> User;
- CAutoArray<CSimpleStringA> Password;
- CAutoArray<CSimpleStringA> Server;
- CAutoArray<CSimpleStringA> Type;
- CAutoArray<int> AuthType;
- CAutoArray<int> Port;
- CAutoArray<int> APNProtocol;
- CAutoArray<int> SlotNum;
- CAutoArray<int> ProfileState;
- CAutoArray<int> reserved1;
- CAutoArray<CSimpleStringA> 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
|