Message Property

The message being sent (alphanumeric).

Syntax

ANSI (Cross Platform)
char* GetMessage();
int SetMessage(const char* lpszMessage); Unicode (Windows) LPWSTR GetMessage();
INT SetMessage(LPCWSTR lpszMessage);
@property (nonatomic,readwrite,assign,getter=message,setter=setMessage:) NSString* message;
- (NSString*)message;
- (void)setMessage:(NSString*)newMessage;
#define PID_SNPP_MESSAGE 13

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_SNPP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_SNPP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property contains the message being sent (alphanumeric). The message can be a single line or split over multiple lines depending on what the restrictions of the receiving device and gateway. Normally messages are no longer than 100 bytes long.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]