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
link/nic.h@151:bde6f7da1755, 2019-07-19 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri Jul 19 17:48:06 2019 +0000
- Revision:
- 151:bde6f7da1755
- Parent:
- 61:aad055f1b0d1
Removed private key and certificate from semihost storage as found to be unreliable (though secure) and moved it into flash storage (reliable, simple, but visible on mbed.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 59:e0e556c8bd46 | 1 | extern int NicInit(void); |
andrewboyson | 59:e0e556c8bd46 | 2 | |
andrewboyson | 59:e0e556c8bd46 | 3 | extern void NicLinkAddress(char *mac); // get the ethernet address |
andrewboyson | 59:e0e556c8bd46 | 4 | extern int NicLinkIsUp(void); // see if the link is up |
andrewboyson | 59:e0e556c8bd46 | 5 | extern void NicLinkSpeedDuplex(int speed, int duplex); // force link settings |
andrewboyson | 59:e0e556c8bd46 | 6 | |
andrewboyson | 59:e0e556c8bd46 | 7 | extern char* NicGetReceivedPacketOrNull(int* pSize); |
andrewboyson | 61:aad055f1b0d1 | 8 | extern void NicReleaseReceivedPacket(void); |
andrewboyson | 59:e0e556c8bd46 | 9 | extern char* NicGetTransmitPacketOrNull(int* pSize); |
andrewboyson | 59:e0e556c8bd46 | 10 | extern void NicSendTransmitPacket(int size); |