Eric Jung / GMMP_mbed_Ethernet_Reinit

Dependents:   ThingPlug_Ethernet_Example

Fork of GMMP_mbed by Eric Jung

Embed: (wiki syntax)

« Back to documentation index

GMMP_Operation.cpp File Reference

GMMP_Operation.cpp File Reference

Go to the source code of this file.

Functions

int GMMP_SetReg (const char *pszAuthID, const char *pszAuthKey, const char *pszDomainCode, const char *pszGWID, const char *pszManufactureID)
 GW/Device 등록/해지 Request 기능
int GMMP_SetDeReg (const char *pszAuthID, const char *pszAuthKey, const char *pszDomainCode, const char *pszGWID, const char *pszDeviceID)
int GMMP_SetProfile (const char *pszAuthID, const char *pszAuthKey, const char *pszDomainCode, const char *pszGWID, const char *pszDeviceID)
int GMMP_SetDelivery (const char *pszAuthID, const char *pszAuthKey, const char *pszDomainCode, const char *pszGWID, const char *pszDeviceID, const char cReportType, const char cMediaType, const char *pszMessageBody, const int nTotalCount, const int nCurrentCount)
int GMMP_SetControl (const char *pszAuthID, const char *pszAuthKey, const char *pszDomainCode, const char *pszGWID, const char *pszDeviceID, const char cControlType, const char cResultCode)
int GMMP_SetNotifi (const char *pszAuthID, const char *pszAuthKey, const char *pszDomainCode, const char *pszGWID, const char *pszDeviceID, const char cControlType, const char cResultCode, const char *pszMessageBody, const int nMessageSize)
int GMMP_SetHB (const char *pszAuthID, const char *pszAuthKey, const char *pszDomainCode, const char *pszGWID)
int GMMP_GetReg (GwRegist_Rsp *pstGwRegist_Rsp, DeviceRegist_Rsp *pstDeviceRegist_Rsp)
int GMMP_GetDeReg (GwDeRegist_Rsp *pstGwRegist_Rsp, DeviceDeRegist_Rsp *pstDeviceDeRegist_Rsp)
int GMMP_GetProfile (Profile_Rsp *pstProfile_Rsp)
int GMMP_GetDelivery (Delivery_Rsp *pstDelivery_Rsp)
int GMMP_GetNotifi (Notifi_Rsp *pstNotifi_Rsp)
int GMMP_GetHB (HB_Rsp *pstHB_Rsp)
int GMMP_Read (GMMPHeader *pstGMMPHeader, void **pBody)
int GMMP_Recv (GMMPHeader *pstGMMPHeader, void *pBody)
int GMMP_Ctrl_Recv (GMMPHeader *pstGMMPHeader, stControlReqHdr *pstReqHdr)
void SetTID (long nTid)
long GetTID ()
int SetHeader (void *pData, int nPacketSize, int nTotalCount, int nCurrentCount, const char cMessageType, const char *pszAuthID, const char *pszAuthKey)
int SetIntiSocket (void)
char * MallocBody (const char Type, int *nBodySize)
int GMMP_Trace (GMMPHeader *pstGMMPHeader, void *pBody)

Detailed Description

Date:
2015/07/20
Version:
0.0.1.0

Definition in file GMMP_Operation.cpp.


Function Documentation

long GetTID (  )
Returns:

Definition at line 716 of file GMMP_Operation.cpp.

int GMMP_Ctrl_Recv ( GMMPHeader pstGMMPHeader,
stControlReqHdr pstRspHdr 
)
Parameters:
pstGMMPHeader
pstRspHdr
Returns:

Definition at line 653 of file GMMP_Operation.cpp.

int GMMP_GetDelivery ( Delivery_Rsp pstDelivery_Rsp )
Parameters:
pstDelivery_Rsp
Returns:

Definition at line 511 of file GMMP_Operation.cpp.

int GMMP_GetDeReg ( GwDeRegist_Rsp pstGwRegist_Rsp,
DeviceDeRegist_Rsp pstDeviceDeRegist_Rsp 
)
Parameters:
pstGwRegist_Rsp
pstDeviceDeRegist_Rsp
Returns:

Definition at line 478 of file GMMP_Operation.cpp.

int GMMP_GetHB ( HB_Rsp pstHB_Rsp )
Parameters:
pstHB_Rsp
Returns:

Definition at line 533 of file GMMP_Operation.cpp.

int GMMP_GetNotifi ( Notifi_Rsp pstNotifi_Rsp )
Parameters:
pstNotifi_Rsp
Returns:

Definition at line 522 of file GMMP_Operation.cpp.

int GMMP_GetProfile ( Profile_Rsp pstProfile_Rsp )
Parameters:
pstProfile_Rsp
Returns:

Definition at line 499 of file GMMP_Operation.cpp.

int GMMP_GetReg ( GwRegist_Rsp pstGwRegist_Rsp,
DeviceRegist_Rsp pstDeviceRegist_Rsp 
)
Parameters:
pstGwRegist_Rsp
pstDeviceRegist_Rsp
Returns:

Definition at line 458 of file GMMP_Operation.cpp.

int GMMP_Read ( GMMPHeader pstGMMPHeader,
void **  pBody 
)
Parameters:
pstGMMPHeader
pBody
Returns:

Definition at line 542 of file GMMP_Operation.cpp.

int GMMP_Recv ( GMMPHeader pstGMMPHeader,
void *  pBody 
)
Parameters:
pstGMMPHeader
pBody
Returns:

Definition at line 598 of file GMMP_Operation.cpp.

int GMMP_SetControl ( const char *  pszAuthID,
const char *  pszAuthKey,
const char *  pszDomainCode,
const char *  pszGWID,
const char *  pszDeviceID,
const char  cControlType,
const char  cResultCode 
)
Parameters:
pszAuthID
pszAuthKey
pszDomainCode
pszGWID
pszDeviceID
cControlType
cResultCode
Returns:

Definition at line 290 of file GMMP_Operation.cpp.

int GMMP_SetDelivery ( const char *  pszAuthID,
const char *  pszAuthKey,
const char *  pszDomainCode,
const char *  pszGWID,
const char *  pszDeviceID,
const char  cReportType,
const char  cMediaType,
const char *  pszMessageBody,
const int  nTotalCount,
const int  nCurrentCount 
)
Parameters:
pszAuthID
pszAuthKey
pszDomainCode
pszGWID
pszDeviceID
cReportType
cMediaType
pszMessageBody
nTotalCount
nCurrentCount
Returns:

Definition at line 201 of file GMMP_Operation.cpp.

int GMMP_SetDeReg ( const char *  pszAuthID,
const char *  pszAuthKey,
const char *  pszDomainCode,
const char *  pszGWID,
const char *  pszDeviceID 
)
Parameters:
pszAuthID
pszAuthKey
pszDomainCode
pszGWID
pszDeviceID
Returns:
Parameters:
pszAuthID
pszAuthKey
pszDomainCode
pszGWID
pszDeviceID
Returns:
Parameters:
pszAuthID
pszAuthKey
pszDomainCode
pszGWID
pszDeviceID
Returns:
Parameters:
pszAuthID
pszAuthKey
pszDomainCode
pszGWID
pszDeviceID
Returns:

Definition at line 86 of file GMMP_Operation.cpp.

int GMMP_SetHB ( const char *  pszAuthID,
const char *  pszAuthKey,
const char *  pszDomainCode,
const char *  pszGWID 
)
Parameters:
pszAuthID
pszAuthKey
pszDomainCode
pszGWID
Returns:

Definition at line 416 of file GMMP_Operation.cpp.

int GMMP_SetNotifi ( const char *  pszAuthID,
const char *  pszAuthKey,
const char *  pszDomainCode,
const char *  pszGWID,
const char *  pszDeviceID,
const char  cControlType,
const char  cResultCode,
const char *  pszMessageBody,
const int  nMessageSize 
)
Parameters:
pszAuthID
pszAuthKey
pszDomainCode
pszGWID
pszDeviceID
cControlType
cResultCode
pszMessageBody
nMessageSize
Returns:

Definition at line 343 of file GMMP_Operation.cpp.

int GMMP_SetProfile ( const char *  pszAuthID,
const char *  pszAuthKey,
const char *  pszDomainCode,
const char *  pszGWID,
const char *  pszDeviceID 
)
Parameters:
pszAuthID
pszAuthKey
pszDomainCode
pszGWID
pszDeviceID
Returns:

Definition at line 151 of file GMMP_Operation.cpp.

int GMMP_SetReg ( const char *  pszAuthID,
const char *  pszAuthKey,
const char *  pszDomainCode,
const char *  pszGWID,
const char *  pszManufactureID 
)

GW/Device 등록/해지 Request 기능

Parameters:
pszAuthIDAuth ID 문자열 입력
pszAuthKeyAuth Key 문자열 입력
pszDomainCodeDomain Code
pszGWIDGW ID
pszManufactureID
Returns:

Definition at line 28 of file GMMP_Operation.cpp.

int GMMP_Trace ( GMMPHeader pstGMMPHeader,
void *  pBody 
)
Parameters:
pstGMMPHeader
pBody
Returns:

Definition at line 859 of file GMMP_Operation.cpp.

char* MallocBody ( const char  Type,
int *  nOutBufferSize 
)
Parameters:
Type
nOutBufferSize
Returns:

Definition at line 790 of file GMMP_Operation.cpp.

int SetHeader ( void *  pData,
int  nPacketSize,
int  nTotalCount,
int  nCurrentCount,
const char  cMessageType,
const char *  pszAuthID,
const char *  pszAuthKey 
)
Parameters:
pData
nPacketSize
nTotalCount
nCurrentCount
cMessageType
pszAuthID
pszAuthKey
Returns:

Definition at line 722 of file GMMP_Operation.cpp.

int SetIntiSocket ( void   )
Returns:

Definition at line 785 of file GMMP_Operation.cpp.

void SetTID ( long  nTid )
Parameters:
nTid

Definition at line 711 of file GMMP_Operation.cpp.