79 Commits (238e12123690debaf2cf8488fb2a4d4003a06506)

Author SHA1 Message Date
Paul Sokolovsky 8f1854ad2d extmod/modlwip: Add SOL_SOCKET and SO_REUSEADDR constants for setsockopt().
7 years ago
Paul Sokolovsky 0779409d0d extmod/modlwip: lwip_tcp_receive: Properly map lwIP error to POSIX errno.
7 years ago
Paul Sokolovsky ba8f7d5171 extmod/modlwip: Add socket.setblocking() method.
7 years ago
Paul Sokolovsky 09ed5bcbbb extmod/modlwip: Rework getaddrinfo() data passing.
7 years ago
Paul Sokolovsky e5b047369b extmod/modlwip: Use MICROPY_EVENT_POLL_HOOK for event polling if defined.
7 years ago
Paul Sokolovsky 43d497592f extmod/modlwip: Factor out "socket connected" check to a function.
7 years ago
Paul Sokolovsky fda874e406 extmod/modlwip: Support non-blocking recv().
7 years ago
Paul Sokolovsky 7379be3673 extmod/modlwip: Add .write() stream method.
7 years ago
Damien George 4f64f6bfd3 extmod/modlwip: Still process remaining incoming data of a closed socket.
7 years ago
Damien George 6d2e9e70b3 extmod/modlwip: Check for state change during recv busy-wait loop.
7 years ago
Paul Sokolovsky 6185dc5f3d extmod/modlwip: Add stream .read() and .readline() methods.
7 years ago
Paul Sokolovsky f1919b7c98 extmod/modlwip: Add dummy .makefile() method.
7 years ago
Paul Sokolovsky c7fb87caff extmod/modlwip: Add stream protocol read method.
7 years ago
Paul Sokolovsky ed593780bf extmod/modlwip: Implement dummy setsockopt().
7 years ago
Paul Sokolovsky f8d42da104 extmod/modlwip: Add .print() method.
7 years ago
Paul Sokolovsky 04a9ac7f38 extmod/modlwip: Update make_new() arguments for recent refactor.
7 years ago
Paul Sokolovsky fb7b715b7b extmod/modlwip: Use _ERR_BADF instead of magic number.
7 years ago
Paul Sokolovsky bc25545fbb extmod/modlwip: Avoid magic numeric values in memcpy().
7 years ago
Paul Sokolovsky 722fb2d251 extmod/modlwip: User proper field name and value names for socket state.
7 years ago
Paul Sokolovsky fff2dd2627 extmod/modlwip: Mark some lwip_socket_obj_t's fields as volatile.
7 years ago
Paul Sokolovsky a63d4a6cc2 extmod/modlwip: tcp_recv: Use more regular and responsive poll pattern.
7 years ago
Galen Hazelwood af3e45419c extmod/lwip: Change void pointers to unions, include new mphal.h file
7 years ago
Paul Sokolovsky 4deb4936d5 extmod/modlwip: socket->incoming changed by async callbacks, must be volatile.
7 years ago
Paul Sokolovsky 404dae80a9 unix, stmhal: Introduce mp_hal_delay_ms(), mp_hal_ticks_ms().
7 years ago
Paul Sokolovsky 858ed6d2f7 extmod/modlwip: Codestyle: no need for () when taking address of primary expr.
7 years ago
Paul Sokolovsky fa87e90cfa extmod/modlwip: lwip_tcp_send(): Common subexpression elimination, use MIN().
7 years ago
Paul Sokolovsky 76217064ac extmod/modlwip.c: Codestyle whitespace changes.
7 years ago
Paul Sokolovsky e0d7740a22 extmod/modlwip: slip: Use stream protocol and be port-independent.
7 years ago
Galen Hazelwood 805c6534f8 extmod/modlwip: Initial commit of the lwip network stack module
7 years ago