26 Commits (09879f99ca3a6c0e48353eb2aaa1c71ed237f126)

Author SHA1 Message Date
iabdalkader a4eef90b22 extmod/modusocket: Fix polling of closed sockets. 2 years ago
iabdalkader 70bf6ab6fb extmod/modusocket: Add socket state to track new/listening/conn/closed. 2 years ago
Damien George efe23aca71 all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
iabdalkader edf41d2bf8 extmod/modusocket: Add sendall function. 3 years ago
iabdalkader b9d2f1e844 extmod/modusocket: Add timeout and callback to socket object. 3 years ago
iabdalkader 6841fecbb2 extmod/modusocket: Fix socket_make_new argument parsing. 3 years ago
iabdalkader 3438e80060 extmod/modusocket: Add support for socket events callback. 3 years ago
iabdalkader fc1f876175 extmod/modusocket: Add socket type print function. 3 years ago
iabdalkader eb957b0c95 extmod/modusocket: Fix errcode returned from socket read/write. 3 years ago
iabdalkader 6136c7644a extmod/modusocket: Bind unconnected socket to default NIC in setsockopt. 3 years ago
iabdalkader 7b4147dd0b extmod/modusocket: Fix polling of a new socket. 3 years ago
Jim Mussared 75efb3267c extmod: Revert accidental usocket->socket rename. 3 years ago
Jim Mussared bb794f05b7 extmod: Make port-included extmod modules use MP_REGISTER_MODULES. 3 years ago
Damien George aab005c75b extmod/modusocket: Provide config macro for socket.listen backlog deflt. 3 years ago
Jon Bjarni Bjarnason 919f696ad2 extmod/modusocket: Implement optional socket.listen backlog argument. 3 years ago
Damien George 9438fb7321 extmod/modusocket: Support additional args to getaddrinfo. 3 years ago
iabdalkader a63875d5ad extmod/modusocket: Create new sockets in blocking mode. 3 years ago
iabdalkader 155eb1361e extmod/modusocket: Add makefile() method and common socket options. 3 years ago
iabdalkader b23178a9c0 extmod/modusocket: Make setsockopt return if NIC is not connected. 3 years ago
iabdalkader 842da93011 extmod/modusocket: Initialise accepted socket state. 3 years ago
iabdalkader 67420de4f4 extmod/modusocket: Allow setting timeout on unbound sockets. 3 years ago
iabdalkader 38f8e852e0 rp2: Add framework for networking. 3 years ago
iabdalkader d9749f90ad extmod/modnetwork: Remove modnetwork socket u_state member. 3 years ago
iabdalkader c13e25c329 extmod/modusocket: Add read/write stream methods to socket object. 3 years ago
iabdalkader e7429389a6 extmod/modnetwork: Add extended socket state. 3 years ago
iabdalkader 7aab0dc5d8 extmod: Move modnetwork and modusocket from stm32 to extmod. 3 years ago
Damien George 136369d72f all: Update to point to files in new shared/ directory. 3 years ago
stijn 70affd9ba2 all: Fix implicit floating point to integer conversions. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 71c6bfd08a stm32/modusocket: Handle case of NULL NIC in socket ioctl. 5 years ago
Damien George c13f9f209d all: Convert nlr_raise(mp_obj_new_exception_msg(x)) to mp_raise_msg(x). 5 years ago
iabdalkader 73c94bbbd4 stm32/modusocket: Fix NULL deref when accept() an unbound socket. 5 years ago
Damien George e1ae9939ac stm32: Support compiling with object representation D. 6 years ago
Damien George cda964198a stm32: Integrate lwIP as implementation of usocket module. 7 years ago
Damien George cf31d384f1 py/stream: Switch stream close operation from method to ioctl. 7 years ago
Damien George 0a30ad96c8 stm32/modusocket: Return OSError(-2) if getaddrinfo fails. 7 years ago
Damien George 5d7b0b237b stm32/modusocket: Make getaddrinfo() work when passed an IP address. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 01dd7804b8 ports: Make new ports/ sub-directory and move all ports there. 7 years ago
Damien George 71c9cfb028 all: Convert remaining "mp_uint_t n_args" to "size_t n_args". 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 0986675451 stmhal: Convert all module and method tables to use MP_ROM macros. 8 years ago
Damien George b6c7e4b143 all: Use full path name when including mp-readline/timeutils/netutils. 8 years ago
Damien George a9c8db07bd stmhal: Update for changes to mp_obj_str_get_data. 8 years ago
Paul Sokolovsky eac22e29a5 all: Consistently update signatures of .make_new and .call methods. 8 years ago
Damien George a2bfcbe029 stmhal: Use mp_raise_OSError helper function. 8 years ago
Dave Hylands c08f50bcf7 stmhal: Disable network and usocket for ESPRUINO_PICO 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Krzysztof Blazewicz fc73c9b4b2 stmhal/modusocket: set self->nic to MP_OBJ_NULL after socket close 8 years ago