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.
Response/VersionInfoResponse.cpp
- Committer:
- yangcq88517
- Date:
- 2016-02-15
- Revision:
- 8:5856c23794b1
- Parent:
- 0:8e83b9448758
File content as of revision 8:5856c23794b1:
#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); }