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