mbed OS5
Fork of UIPEthernet by
utility/uip_debug.h@8:4acb22344932, 2017-06-30 (annotated)
- Committer:
- hudakz
- Date:
- Fri Jun 30 19:51:28 2017 +0000
- Revision:
- 8:4acb22344932
- Parent:
- 4:d774541a34da
'UIPEthernet' renamed to 'uIPEthernet'; 'UIPEthernetClass' renamed to 'UIPEthernet'; added IPAddress::toString() to support printing; added print support for debugging; bugs preventing offline build with GCC ARM toolchain fixed.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hudakz | 3:5b17e4656dd0 | 1 | #ifndef UIP_DEBUG_H |
hudakz | 8:4acb22344932 | 2 | #define UIP_DEBUG_H |
hudakz | 3:5b17e4656dd0 | 3 | extern "C" |
hudakz | 3:5b17e4656dd0 | 4 | { |
hudakz | 8:4acb22344932 | 5 | #import "utility/uip.h" |
hudakz | 3:5b17e4656dd0 | 6 | } |
hudakz | 3:5b17e4656dd0 | 7 | class UIPDebug |
hudakz | 3:5b17e4656dd0 | 8 | { |
hudakz | 3:5b17e4656dd0 | 9 | public: |
hudakz | 3:5b17e4656dd0 | 10 | static void uip_debug_printconns(void); |
hudakz | 3:5b17e4656dd0 | 11 | static bool uip_debug_printcon(struct uip_conn* lhs, struct uip_conn* rhs); |
hudakz | 3:5b17e4656dd0 | 12 | static void uip_debug_printbytes(const uint8_t* data, uint8_t len); |
hudakz | 3:5b17e4656dd0 | 13 | }; |
hudakz | 3:5b17e4656dd0 | 14 | #endif |