A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
action.cpp
- Committer:
- andrewboyson
- Date:
- 2017-10-04
- Revision:
- 39:52419009f230
- Parent:
- 37:793b39683406
- Child:
- 40:a94674b4f5a2
File content as of revision 39:52419009f230:
int ActionMakeFromDestAndTrace(int dest, bool trace) { return trace ? dest | 0x8000 : dest | 0x7FFF; } int ActionGetDestPart (int action) { return action & 0x7FFF; } bool ActionGetTracePart (int action) { return action & 0x8000; }