aboutsummaryrefslogtreecommitdiff
path: root/cc3200/mods/modnetwork.c
AgeCommit message (Collapse)Author
2017-09-06ports: Make new ports/ sub-directory and move all ports there.Damien George
This is to keep the top-level directory clean, to make it clear what is core and what is a port, and to allow the repository to grow with new ports in a sustainable way.
2017-08-30all: Convert remaining "mp_uint_t n_args" to "size_t n_args".Damien George
This is to have consistency across the whole repository.
2017-08-21all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
There were several different spellings of MicroPython present in comments, when there should be only one.
2017-02-22cc3200: When raising OSError's use MP_Exxx as arg instead of a string.Damien George
2017-02-21cc3200: Remove remaining references to std.h.Damien George
2017-01-04all: Consistently update signatures of .make_new and .call methods.Paul Sokolovsky
Otherwise, they serve reoccurring source of copy-paste mistakes and breaking nanbox build.
2016-10-18cc3200: Use mp_raise_XXX helper functions to reduce code size.Damien George
Reduces code size by 632 bytes.
2016-09-22all: Remove 'name' member from mp_obj_module_t struct.Damien George
One can instead lookup __name__ in the modules dict to get the value.
2016-02-22cc3200: Rename 'server' class to 'Server' for consistency.danicampora
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
The first argument to the type.make_new method is naturally a uPy type, and all uses of this argument cast it directly to a pointer to a type structure. So it makes sense to just have it a pointer to a type from the very beginning (and a const pointer at that). This patch makes such a change, and removes all unnecessary casting to/from mp_obj_t.
2015-10-31all: Add py/mphal.h and use it in all ports.Damien George
py/mphal.h contains declarations for generic mp_hal_XXX functions, such as stdio and delay/ticks, which ports should provide definitions for. A port will also provide mphalport.h with further HAL declarations.
2015-10-19docs: Add wipy and network.server documentation.danicampora
2015-10-19cc3200: Refactor network module to make the server a propper object.danicampora
2015-10-11py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming.Paul Sokolovsky
2015-06-03cc3200: Add method to configure the servers timeout.Daniel Campora
With network.server_timeout(secs) the timeout can be changed. The default value is 300 secs. Minimmum accpeted is 5 secs. Without params the function returns the current configured timeout.
2015-05-22cc3200: Finally unlock the full wake on WLAN feature set.Daniel Campora
2015-05-17cc3200: Add Timer module. Supports free running, PWM and capture modes.Daniel Campora
2015-05-04lib: Move some common mod_network_* functions to lib/netutils.Josef Gajdusek
2015-04-28cc3200: Select NIC when the socket is created.Daniel Campora
This makes sense since only WLAN is supported here.
2015-04-18cc3200: Clean up and reduce use/include of std.h.Damien George
2015-04-13cc3200: Add WLAN.config_ip().Daniel Campora
This new method allows to assign an static IP to the device.
2015-03-19cc3200: Move server methods from WLAN to the network module.danicampora
2015-03-11cc3200: Add preliminary low power deep sleep support.danicampora
2015-02-21cc3200: Add explicit py/ path-prefix for py includes.Damien George
This is how it should be, so one knows exactly where the includes are coming from.
2015-02-06cc3200: Add cc3200 port of MicroPython.danicampora
The port currently implements support for GPIO, RTC, ExtInt and the WiFi subsystem. A small file system is available in the serial flash. A bootloader which makes OTA updates possible, is also part of this initial implementation.