You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > NGA Service Configure 0x0160
SwitchKit Name
NGAServiceConfigure
Type
NGA Service Configure 0x0160
EXS and SwitchKit API message
Description
Changes the service state for the M3UA object.
Sent by
Host application
Related API Messages
NGA Configure (0x0130)
NGA Configure Query (0x0131)
NGA Service Query (0x0161)
NGA State Notify (0x0163)
NGA State Query (0x0162)
SwitchKit Code
C Structure
typedef struct {
UBYTE AddrInfo[30];
UBYTE DataType;
UBYTE TLVCount;
UBYTE Data[221];
} XL_NGAServiceConfigure;
C Structure Response
typedef struct {
unsigned short Status;
UBYTE reserved6[13];
UBYTE AddrInfo[30];
UBYTE DataType;
UBYTE TLVCount;
UBYTE Data[219];
} XL_NGAServiceConfigureAck;
C++ Class
class XLC_NGAServiceConfigure : public XLC_OutboundMessage {
public:
const UBYTE *getAddrInfo() const;
UBYTE *getAddrInfo();
void setAddrInfo(UBYTE *x);
void setAIBType(UBYTE x);
UBYTE getAIBType();
void setAECount(UBYTE x);
UBYTE getAECount();
void addAE(UBYTE AEpos, UBYTE AEtype, UBYTE AElen, UBYTE* AEvalue);
UBYTE* getAE(int AEpos);
void setAIBData(UBYTE* AIBDataPtr, UBYTE AIBDataLen);
UBYTE* getAIBData();
UBYTE getDataType() const;
void setDataType(UBYTE x);
UBYTE getTLVCount() const;
void setTLVCount(UBYTE x);
const UBYTE *getData() const;
UBYTE *getData();
void setData(UBYTE *x);
}
C++ Class Response
class XLC_NGAServiceConfigureAck : public
XLC_AcknowledgeMessage {
public:
unsigned short getStatus() const;
void setStatus(unsigned short x);
const UBYTE *getAddrInfo() const;
UBYTE *getAddrInfo();
void setAddrInfo(UBYTE *x);
void setAIBType(UBYTE x);
UBYTE getAIBType();
void setAECount(UBYTE x);
UBYTE getAECount();
void addAE(UBYTE AEpos, UBYTE AEtype, UBYTE AElen, UBYTE* AEvalue);
UBYTE* getAE(int AEpos);
void setAIBData(UBYTE* AIBDataPtr, UBYTE AIBDataLen);
UBYTE* getAIBData();
; UBYTE getDataType() const;
void setDataType(UBYTE x);
UBYTE getTLVCount() const;
void setTLVCount(UBYTE x);
const UBYTE *getData();
UBYTE *getData();
void setData(UBYTE *x);
};
EXS API Hex Format
MESSAGE (White) |
RESPONSE (Gray) |
||
Byte |
Field Description |
Byte |
Field Description |
0 |
Frame (0xFE) |
0 |
Frame (0xFE) |
1, 2 |
Length (0x00NN) |
1, 2 |
Length (0x0007) |
3, 4 |
Message Type (0x0160) |
3, 4 |
Message Type (0x0160) |
5, 6 |
Sequence Number |
5, 6 |
Same Sequence Number |
7 |
Logical Node ID |
7 |
Logical Node ID |
: |
Address Method 0x03 - Item |
8 |
Checksum |
|
|
||
|
|
||
Number of AEs to Follow |
|
|
|
AEs |
|
|
|
: |
Data Type 0x00 - TLVs |
|
|
: |
Number of TLVs |
|
|
: |
|
|
|
: |
Data TLV
|
|
|
: |
Checksum |
|
|