This repository was archived by the owner on Sep 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 165
ESP32: Add control for the Ctrl-F hot key #139
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The activity of the Ctrl-F key can be controlled like the Ctrl-C key with micropython.kbd_intr(). kbd_intr(-1) Disable both Ctrl-C and Ctrl-F. This maintains backward compatibility to existing code. kbd_intr(interrupt-char) Set the char for Interrupt by its ordinal value (3) kbd_intr(interrupt-char, reset-char) Set the characters for both interrupt and reset. The typical values would be 3 (Ctrl-C) and 6 (Ctrl-F)
@Xykon Hello Christian. I just noticed that you included in the development branch all changes but one, the change in modmicropython.c, which makes the PR accessible by a python script. Was that intentional or an omission? |
iwahdan88
pushed a commit
that referenced
this pull request
Dec 14, 2018
Xykon
added a commit
that referenced
this pull request
Dec 17, 2018
* Squashed commit of the following: commit a8966d1 Author: iwahdan88 <islam@pycom.io> Date: Fri Nov 23 12:32:15 2018 +0100 Firmware version [v1.18.1.r6] -Fixed issue of LTE connection termination when `lte.isattached()` is called after PPP interface established commit 6d96f70 Author: iwahdan88 <islam@pycom.io> Date: Fri Nov 16 15:26:37 2018 +0100 Bug fixes [1.18.1.r5] - Fixed problem in `lte.isconnected` that always sets PPP state to Attached - Improved `socket.getaddrinfo` to only resolve name if avilable interfaces are up - Fixed bug of not removing NICs after the interface is de-initialized commit dfa1176 Author: Christian Ehlers <cehlers@pycom.io> Date: Mon Nov 12 00:54:43 2018 +0100 LTE class bug fixes [1.18.1.r4] commit 3aac0f3 Author: Christian Ehlers <cehlers@pycom.io> Date: Thu Nov 8 05:11:48 2018 +0100 Updated LTE stack / sqnsupgrade [1.18.1.r3] New functions: pppsuspend() pppresume() New command line parameters attach(apn="default') connect(legacy=False) dettach(reset=False) deinit(dettach=True, reset=False) send_at_cmd(delay=10000) New Sequans firmware updater supporting FFF mode for differential upgrades commit 4d00fa7 Author: Christian Ehlers <cehlers@pycom.io> Date: Thu Nov 8 05:07:27 2018 +0100 Mass update copyright * Updated Jenkins for new Integration center setup * esp32/SIPY: fixed pins.csv * esp32/modlte: Added support for Band 5,8 * lib/lora, drivers: General fixes and improvements to the LoRaWAN stack. * esp32/util: fixed problem in antenna switch in newer esp32 chip models * esp32/modthreadport: fixed Issue with memory leak in lock creation * esp32/machuart: solved problem with UART single pin (for deepsl… * esp32/lte: fixed high deepsleep current issue when LTE not initialised * esp32/bootloader: added delay before RGB led init * esp32/micropython: Exposed keyboard interrupt control to micropython * esp32:updated Pycom version * Fixed compilation error * ESP32: Add control for the Ctrl-F hot key #139 from #139 * Sqnsupgrade 1.2.1 Update .gitignore to include additional Eclipse configuration files * Update Jenkinsfile Update devicename for MacOS based IC * Update Jenkinsfile Fix PATH for Python3
Almost fixed. Just telnet.c in the release-candidate branch is still due. |
peter-pycom
pushed a commit
that referenced
this pull request
Jul 9, 2020
* Added build switch to disable COAP Mod * Added a build flag to disable SIGFOX. (MOD_SIGFOX_ENABLED)
X-Ryl669
pushed a commit
to X-Ryl669/pycom-micropython-sigfox
that referenced
this pull request
May 12, 2023
* Added build switch to disable COAP Mod * Added a build flag to disable SIGFOX. (MOD_SIGFOX_ENABLED)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The activity of the Ctrl-F key can be controlled like the Ctrl-C key
with micropython.kbd_intr().
kbd_intr(-1)
Disable both Ctrl-C and Ctrl-F. This maintains backward compatibility
to existing code.
kbd_intr(interrupt-char)
Set the char for Interrupt by its ordinal value. The default would be 3 (Ctrl-C)
kbd_intr(interrupt-char, reset-char)
Set the characters for both interrupt and reset. The typical
values would be 3 (Ctrl-C) and 6 (Ctrl-F)