Skip to content

PPP.active freezes MicroPython #15157

@pablogventura

Description

@pablogventura

Checks

  • I agree to follow the MicroPython Code of Conduct to ensure a safe and respectful space for everyone.

  • I've searched for existing issues matching this bug, and didn't find any.

Port, board and/or hardware

esp32 port, ESP32_GENERIC_C3

MicroPython version

MicroPython v1.22.2 on 2024-02-22; ESP32C3 module with ESP32C3

Reproduction

import network
import time
import machine
uart = machine.UART(1, baudrate=115200, tx=18, rx=19)
ppp = network.PPP(uart)
ppp.active(True)
ppp.connect()
ppp.active(False)
ppp.active(True)

Expected behaviour

I would expect MicroPython to activate PPP or return an exception.

Observed behaviour

After re-activating the PPP, MicroPython freezes, even to the point of not detecting a KeyboardInterrupt.

Additional Information

The problem is independent of whether or not there is a PPP module connected to that Uart, and it is also independent of the activation of the PPP module with the AT commands.

I understand that the problem occurs whenever PPP is deactivated and reactivated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy