Murata RF modules are designed to simplify wireless development and certification by minimizing the amount of RF expertise you need to wirelessly enable a wide range of applications.
Diff: Response/VersionInfoResponse.cpp
- Revision:
- 9:0ce800923eda
- Parent:
- 8:5856c23794b1
--- a/Response/VersionInfoResponse.cpp Mon Feb 15 15:17:50 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -#include "VersionInfoResponse.h" - -using namespace SmartLabMuRata; - -VersionInfoResponse::VersionInfoResponse(Payload * payload) - : Payload(payload) -{ } - -CMDCode VersionInfoResponse::GetStatus() -{ - return (CMDCode)GetData()[2]; -} - -char VersionInfoResponse::GetVersionStringLength() -{ - return GetData()[3]; -} - -string VersionInfoResponse::GetVsersionString() -{ - int size = GetVersionStringLength(); - return string(GetData() + 4, size); -} \ No newline at end of file