aboutsummaryrefslogtreecommitdiff
path: root/cc3200/telnet
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-09-04cc3200: Use standard implementation of keyboard interrupt.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-07-18all: Unify header guard usage.Alexander Steffen
The code conventions suggest using header guards, but do not define how those should look like and instead point to existing files. However, not all existing files follow the same scheme, sometimes omitting header guards altogether, sometimes using non-standard names, making it easy to accidentally pick a "wrong" example. This commit ensures that all header files of the MicroPython project (that were not simply copied from somewhere else) follow the same pattern, that was already present in the majority of files, especially in the py folder. The rules are as follows. Naming convention: * start with the words MICROPY_INCLUDED * contain the full path to the file * replace special characters with _ In addition, there are no empty lines before #ifndef, between #ifndef and one empty line before #endif. #endif is followed by a comment containing the name of the guard macro. py/grammar.h cannot use header guards by design, since it has to be included multiple times in a single C file. Several other files also do not need header guards as they are only used internally and guaranteed to be included only once: * MICROPY_MPHALPORT_H * mpconfigboard.h * mpconfigport.h * mpthreadport.h * pin_defs_*.h * qstrdefs*.h
2017-02-21cc3200: Use simplelink API instead of emulated BSD API.Damien George
Most of cc3200 uses explicit simplelink calls anyway, and this means there are no longer any clashes with macros from the C stdlib.
2015-11-05cc3200: Make telnet server ignore NULL characters.danicampora
This fixes paste mode (Ctrl-E) which was not working for the telnet REPL.
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-29cc3200: Switch from HAL_Delay() to mp_hal_delay_ms().Paul Sokolovsky
2015-10-12Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc.Damien George
2015-09-27cc3200: Implement support for os.dupterm().Daniel Campora
2015-07-09cc3200: Increment telnet Tx retry delay on every try.Daniel Campora
2015-07-08cc3200: Use alternative HAL_Delay also when interrupts are disabled.Daniel Campora
2015-06-04cc3200: Close ftp and telnet server sockets if listening fails.Daniel Campora
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-24cc3200: 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-24cc3200: Reset the servers and close user sockets on WLAN disconection.Daniel Campora
This is needed to avoid half-open connections.
2015-05-22cc3200: Finally unlock the full wake on WLAN feature set.Daniel Campora
2015-04-28py: Replace py-version.sh with makeversionhdr.py, written in Python.Damien George
Also rename py-version.h to mpversion.h for consistency with mpconfig.h.
2015-04-29cc3200: Move telnet_process_credential with the other private functions.Daniel Campora
Just for consistency.
2015-04-28cc3200: Improve telnet_parse_input() in case of an incomplete option.Daniel Campora
2015-04-28cc3200: Make telnet login procedure work with Tera Term.Matt Anderson
This is actually a workaround Ter Term's issue of not obeying to the telnet options that the server is sending. Therefore, we must buffer chars until either a '\r' or the max length of the username/password is received.
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-26cc3200: Reenable active interrupts when waking from suspended mode.Daniel Campora
2015-03-25cc3200: Roll back to the previous telnet and ftp timeouts.Daniel Campora
Unfortunately, these timeouts are the only realiable way (for now), to be able to detect broken connections due to half-open sockets. Such a thing occurs when getting out of the WiFi coverage area or when disconnecting from the AP (sometimes the client doesn't send the disconnect packet).
2015-03-22cc3200: Fix bug in telnet that caused the rx buffer to overflow.danicampora
2015-03-21cc3200: Improve usability and robustness of the servers.danicampora
2015-03-11cc3200: Merge ExtInt class into Pin class.danicampora
Also add another method to change the pin's interrupt mode on the fly.
2015-02-25cc3200: Implement safe boot pin and system led behaviour.danicampora
The safe boot pin, when pulled high during reset rolls back the firmware to the "factory" image and skips execution of 'boot.py' and 'main.py'. This is useful to recover from a crash condition. The system led is used mostly to signal errors.
2015-02-22cc3200: Remove dependencies from FreeRTOS.danicampora
Use the simplelink wrappers instead. This is one step further towards having a single module for the cc3200 and the cc3100.
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-13stmhal: Make pybstdio usable by other ports, and use it.Damien George
Now all ports can use pybstdio.c to provide sys.stdin/stdout/stderr, so long as they implement mp_hal_stdin_* and mp_hal_stdout_* functions.
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.