Beispiel #1
0
        public static ResponseDetails getMessageContentDetails(string checkedResponse)
        {
            string cleanedResponse = cleanReponse(checkedResponse);

            ResponseDetails response = new ResponseDetails() {
                bytes = getBytesInMessage(cleanedResponse),
                mode = getModeOfMessage(cleanedResponse),
                PID = getPIDOfMessage(cleanedResponse),
                message = getMessageContents(cleanedResponse)
            };

            return response;
        }
Beispiel #2
0
        public static ResponseDetails getMessageContentDetails(string checkedResponse)
        {
            string cleanedResponse = cleanReponse(checkedResponse);

            ResponseDetails response = new ResponseDetails()
            {
                bytes   = getBytesInMessage(cleanedResponse),
                mode    = getModeOfMessage(cleanedResponse),
                PID     = getPIDOfMessage(cleanedResponse),
                message = getMessageContents(cleanedResponse)
            };

            return(response);
        }