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: Indication/TCPStatusIndication.cpp
- Revision:
- 0:8e83b9448758
- Child:
- 9:0ce800923eda
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Indication/TCPStatusIndication.cpp Tue Feb 03 21:24:15 2015 +0000 @@ -0,0 +1,19 @@ +#include "TCPStatusIndication.h" + +using namespace SmartLabMuRata; + +TCPStatusIndication::TCPStatusIndication(Payload * payload) + : Payload(payload) +{ + socketID = GetData()[3]; +} + +SNICCode TCPStatusIndication::GetStatus() +{ + return (SNICCode)GetData()[2]; +} + +char TCPStatusIndication::GetSocketID() +{ + return socketID; +} \ No newline at end of file