Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of webserverBlinky by
Diff: PPP-Blinky/ppp-blinky.cpp
- Revision:
- 164:c3de3d212c4b
- Parent:
- 163:d1b4328e9f08
- Child:
- 165:c47826d07e0d
--- a/PPP-Blinky/ppp-blinky.cpp Sun Sep 03 01:29:01 2017 +0000 +++ b/PPP-Blinky/ppp-blinky.cpp Sun Sep 03 18:20:37 2017 +0000 @@ -315,7 +315,7 @@ /// Dump a PPP frame to the debug serial port /// Note - the hex output of dumpPPPFrame() can be imported into WireShark /// Capture the frame's hex output in your terminal program and save as a text file -/// In WireShark, use "Import Hex File". Options are: Offset=None, Protocol=PPP. +/// In WireShark, use "Import Hex File". Import options are: Offset=None, Protocol=PPP. void dumpPPPFrame() { char pbuf[30]; @@ -610,7 +610,7 @@ ppp.ip->lengthR = __REV16(ipLength.all); // update IP length in buffer ppp.udp->lengthR = __REV16(udpLength.all); // update UDP length in buffer ppp.pkt.len = ipLength.all+2+4; // update ppp packet length - + IpHeaderCheckSum(); // refresh IP header checksum ppp.udp->checkSumR = 0; // we don't yet recompute the UDP checksum (it's optional), so have to zero it sendPppFrame(); // send the UDP message back