| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-04-06 | cc3200/mods/modwlan: Include stream.h after recent refactor. | Paul Sokolovsky | |
| 2016-02-21 | cc3200: Improve robustness of WLAN during sleep modes. | danicampora | |
| 2016-01-11 | py: 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-11-18 | docs: Update docs for WiPy wlan.connect(). | Noah | |
| - The link establishment timeout is infinite by default - Fix typo in notes about the auth kwarg | |||
| 2015-10-31 | all: 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-29 | cc3200: Switch from HAL_Delay() to mp_hal_delay_ms(). | Paul Sokolovsky | |
| 2015-10-25 | cc3200: Enable WLAN irq on creation. | danicampora | |
| 2015-10-19 | cc3200: WLAN class can retrieve the existing instance. | danicampora | |
| 2015-10-17 | cc3200: In scan results rename 'auth' field to 'sec'. | danicampora | |
| As defined by the new API, since 'auth' is actually a tuple composed by the security type and the key. | |||
| 2015-09-27 | cc3200: Always reset WLAN after setting the mode. | Daniel Campora | |
| 2015-09-27 | cc3200: Make auth param positional in wlan.connect. | Daniel Campora | |
| 2015-09-27 | cc3200: Rename pyb module to machine. | Daniel Campora | |
| 2015-09-27 | cc3200: New WLAN API including test. | Daniel Campora | |
| 2015-09-27 | cc3200: New irq API, affects all classes that provide the irq method. | Daniel Campora | |
| 2015-09-21 | cc3200: New SD and RTC API plus os and time modules' extensions. | Daniel Campora | |
| 2015-08-16 | cc3200: Correct WLAN constructor argument checking. | Daniel Campora | |
| 2015-08-16 | cc3200: Improve callback API. | Daniel Campora | |
| Rename "wakes" param to "wake_from" and make "value" an object instead of an integer. | |||
| 2015-08-09 | cc3200: Improve support for WEP security. | Daniel Campora | |
| Key is always entered as a string, but if security is WEP, the key is converted automatically to hex before connecting or configuring the device as an AP. | |||
| 2015-08-09 | cc3200: Add nic.iwconfig() to set/get WLAN configuration. | Daniel Campora | |
| Changes are based on this post: https://github.com/micropython/micropython/issues/876#issuecomment-115255551 The constructor can optionally take the same params of iwconfig in order to configure WiFi when creating the object. Params are keyworkd only. The WiPy accepts: - mode (int -> WLAN.AP or WLAN.STA) - ssdi (string) - security (int -> WLAN.OPEN, WLAN.WEP, WLAN.WPA, WLAN.WPA2) - key (string) - channel (int (1-11)) - antenna (int -> WLAN.INTERNAL, WLAN.EXTERNAL) | |||
| 2015-07-30 | cc3200: Append last 2 bytes of the MAC address to the default SSID. | Daniel Campora | |
| 2015-07-16 | cc3200: Make socket stream methods return POSIX error codes. | Daniel Campora | |
| 2015-07-10 | cc3200: Refactor and clean-up socket closing code. | Daniel Campora | |
| 2015-07-10 | cc3200: Set simplelink time and date when enabling WLAN. | Daniel Campora | |
| 2015-07-02 | cc3200: Add modussl, ssl sockets subclassed from normal sockets. | Daniel Campora | |
| Stream methods were added to normal sockets as in the unix port. | |||
| 2015-07-02 | cc3200: Optimize check for WLAN AP mode. | Daniel Campora | |
| 2015-07-02 | cc3200: Raise an exception if trying to scan for networks in AP mode. | Daniel Campora | |
| 2015-07-02 | cc3200: Add socket.timeout and socket.error exceptions. | Daniel Campora | |
| 2015-06-29 | cc3200: Correct socket settimeout time format. | Daniel Campora | |
| 2015-06-10 | cc3200: Change MP_OBJ_NULL for mp_const_none in params default value. | Daniel Campora | |
| 2015-06-07 | cc3200: Add antenna selection feature to WLAN. | Daniel Campora | |
| 2015-06-03 | cc3200: 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-29 | cc3200: Clean up WLAN API. Make WLAN.info() an attrtuple. | Daniel Campora | |
| 2015-05-28 | cc3200: Make small changes in WLAN to improve the API. | Daniel Campora | |
| 2015-05-26 | cc3200: Clean up exception handling. | Daniel Campora | |
| 2015-05-24 | cc3200: Remove NIC abstraction layer. | Daniel Campora | |
| That layer is nice, but the CC3200 doesn't need it and getting rid of it saves ~200 bytes, which are more than welcome. | |||
| 2015-05-24 | cc3200: Reset the servers and close user sockets on WLAN disconection. | Daniel Campora | |
| This is needed to avoid half-open connections. | |||
| 2015-05-22 | cc3200: Finally unlock the full wake on WLAN feature set. | Daniel Campora | |
| 2015-05-20 | cc3200: Rewrite WLAN.ifconfig(). Add WLAN.info() and WLAN.connections(). | Daniel Campora | |
| 2015-05-17 | cc3200: Disable WLAN.urn() by default. | Daniel Campora | |
| Can be enabled by defining MICROPY_PORT_WLAN_URN=1 in mpconfigport.h. | |||
| 2015-05-17 | cc3200: Add optional timeout param to WLAN.connect(). | Daniel Campora | |
| 2015-05-17 | cc3200: Add Timer module. Supports free running, PWM and capture modes. | Daniel Campora | |
| 2015-05-04 | lib: Move some common mod_network_* functions to lib/netutils. | Josef Gajdusek | |
| 2015-05-03 | cc3200: WLAN.ifconfig returns an attrtuple instead of a dictionary. | Daniel Campora | |
| 2015-05-03 | cc3200: Implement Sleep.wake_reason() | Daniel Campora | |
| 2015-04-29 | cc3200: Move wlan_init0() to the boot section. | Daniel Campora | |
| This one creates a semaphore, therefore it must be executed only after a hard reset (or when coming out of hibernation). | |||
| 2015-04-29 | cc3200: Make WLAN.isconnected() also work in AP mode. | Daniel Campora | |
| While in STA mode isconnected() returns True when connected to an AP and the IP has been acquired. In AP mode, WLAN.isconnected() returns True if at least one connected station is present. | |||
| 2015-04-29 | cc3200: Make WLAN scan results a list of attrtupple. | Daniel Campora | |
| Each result is displayed like this: ssid='MySSID', bssid=b'\xc0J\x00z.\xcc', security=2, channel=None, rssi=-74 The CC3200 doesn't provide channel info, that why is 'None'. | |||
| 2015-04-25 | cc3200: Correct MAKE_SOCKADDR and UNPACK_SOCKADDR byte order. | Daniel Campora | |
| 2015-04-18 | cc3200: Clean up and reduce use/include of std.h. | Damien George | |
| 2015-04-16 | py: Overhaul and simplify printf/pfenv mechanism. | Damien George | |
| Previous to this patch the printing mechanism was a bit of a tangled mess. This patch attempts to consolidate printing into one interface. All (non-debug) printing now uses the mp_print* family of functions, mainly mp_printf. All these functions take an mp_print_t structure as their first argument, and this structure defines the printing backend through the "print_strn" function of said structure. Printing from the uPy core can reach the platform-defined print code via two paths: either through mp_sys_stdout_obj (defined pert port) in conjunction with mp_stream_write; or through the mp_plat_print structure which uses the MP_PLAT_PRINT_STRN macro to define how string are printed on the platform. The former is only used when MICROPY_PY_IO is defined. With this new scheme printing is generally more efficient (less layers to go through, less arguments to pass), and, given an mp_print_t* structure, one can call mp_print_str for efficiency instead of mp_printf("%s", ...). Code size is also reduced by around 200 bytes on Thumb2 archs. | |||
