Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

ESP32: Add control for the Ctrl-F hot key #139

Closed
wants to merge 5 commits into from
Closed

ESP32: Add control for the Ctrl-F hot key #139

wants to merge 5 commits into from

Conversation

robert-hh
Copy link
Contributor

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)

@Xykon Xykon self-requested a review March 29, 2018 15:40
@Xykon Xykon self-assigned this Mar 29, 2018
@Xykon Xykon requested a review from iwahdan88 May 4, 2018 13:29
robert-hh added 5 commits June 1, 2018 12:25
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)
@robert-hh
Copy link
Contributor Author

@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
@robert-hh
Copy link
Contributor Author

Almost fixed. Just telnet.c in the release-candidate branch is still due.

@robert-hh robert-hh closed this Jan 13, 2019
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.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants