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/SocketReceiveInidcation.cpp
- Revision:
- 9:0ce800923eda
- Parent:
- 0:8e83b9448758
--- a/Indication/SocketReceiveInidcation.cpp Mon Feb 15 15:17:50 2016 +0000 +++ b/Indication/SocketReceiveInidcation.cpp Wed Mar 16 15:04:46 2016 +0000 @@ -5,6 +5,9 @@ SocketReceiveInidcation::SocketReceiveInidcation(Payload * payload) : Payload(payload) { + if (payload == NULL) + return; + receiveLength = GetData()[3] << 8 | GetData()[4]; }