2. Is GE863-GPS generating checksum in UDP packet?
3. What happend if the checksum in UDP packet received from server will not be valid?
I’m using GE863-GPS Firmware 7.03.001.
All the inner UDP work, including checksum, is done by the module stack, you only have to supply the useful packet load. Because UDP is connectionless, the closure is irrelevant, data is sent in separated datagrams; formal socket closure is made with AT#SH.
OK, another question
Let’s imagine situation:
1. Module is configured to listen UDP connection via AT#SLUDP
2. Server sends UDP packet containing data to module.
3. During transmission UDP packet has been corrupted
4. Module receives corrupted UDP packet.
5. What will happen?
5.a. Module will send SRING message? How to check if data is corrupted ?
5.b. UDP packet will be discarded, and module won’t send SRING message?
5.c. Other event (please describe what will happen)
Well is quite hard to produce such tests, will imply a special written forwarder, and is hard to tell if the packet won’t be discarded by the intermediate links during the transport, I’ll forward to R&D for an answer.
I can assume a wrong packet should silently be discarded, otherwise at least serious security problems can arise.
OK I’m waiting for R&D answer.
If such packet isn’t discarded, I will implement my own chceck sum.
Thanks for help
The checksum is checked by our stack.If a packet is received with wrong checksum the packet is discarded but the re-transmission is not requested, being an UDP packet.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
All the inner UDP work, including checksum, is done by the module stack, you only have to supply the useful packet load. Because UDP is connectionless, the closure is irrelevant, data is sent in separated datagrams; formal socket closure is made with AT#SH.
Well is quite hard to produce such tests, will imply a special written forwarder, and is hard to tell if the packet won’t be discarded by the intermediate links during the transport, I’ll forward to R&D for an answer.
I can assume a wrong packet should silently be discarded, otherwise at least serious security problems can arise.
The checksum is checked by our stack. If a packet is received with wrong checksum the packet is discarded but the re-transmission is not requested, being an UDP packet.
Well all now clear :]
Thanks