https://toitlang.org/ logo
Join Discord
Powered by
# general
  • e

    ezpeeeezeeee

    12/04/2025, 9:31 AM
    Yes, JAG flash. I assume that leads to multiple cascading issues? E.g. Jag scan doesn't work unless I specify the IP
  • e

    ezpeeeezeeee

    12/04/2025, 9:31 AM
    Bloke next to me on a MAC has no issues with scanning nor esptool
  • f

    floitsch

    12/04/2025, 9:31 AM
    I just checked. From what I can see we do prefer the bundled esptool.
  • f

    floitsch

    12/04/2025, 9:31 AM
    jag scan
    is completely independent of the esptool.
  • f

    floitsch

    12/04/2025, 9:32 AM
    Might be a firewall.
  • f

    floitsch

    12/04/2025, 9:32 AM
    jag scan
    listens to UDP broadcast packages.
  • e

    ezpeeeezeeee

    12/04/2025, 9:32 AM
    Weird, but if it was firewall would it not find any devices regardless if I specify IP or not
  • f

    floitsch

    12/04/2025, 9:32 AM
    If you are not in the same network, or if a firewall blocks them, then scan doesn't work.
  • f

    floitsch

    12/04/2025, 9:32 AM
    When you specify the IP, you make a normal http connection to the device.
  • f

    floitsch

    12/04/2025, 9:33 AM
    Since it's originating from your machine, the firewall won't block you.
  • e

    ezpeeeezeeee

    12/04/2025, 9:33 AM
    I'll give it a go with the firewall fully open for 9000
  • f

    floitsch

    12/04/2025, 9:34 AM
    The UDP identify messages are on port 1990
  • f

    floitsch

    12/04/2025, 9:34 AM
    https://github.com/toitlang/jaguar/blob/6aa6d9d10f94ecdffd8c7867f9871899b69da5ea/src/network.toit#L19
  • f

    floitsch

    12/04/2025, 9:35 AM
    For the
    jag flash
    . Do you know if you have an esptool installed (that came without Jaguar)? Also, can you show the output of
    jag toit tool firmware tool esptool -e ignored
    ?
  • f

    floitsch

    12/04/2025, 9:35 AM
    (but nothing here is urgent, if you are busy)
  • b

    bmentink

    12/04/2025, 8:42 PM
    Hi, I have just found ESPHome now supports ESPnow. I believe Toit supports ESPNow, is there any examples somewhere, especially using broadcast with MAC FF:FF:FF:FF:FF:FF .. thanks
  • f

    floitsch

    12/04/2025, 9:19 PM
    have a look here: https://docs.toit.io/tutorials/network/espnow
  • b

    bmentink

    12/04/2025, 9:21 PM
    Can ESPnow co-exist with "normal" WiFi
  • f

    floitsch

    12/04/2025, 9:22 PM
    Not implemented yet.
  • b

    bmentink

    12/04/2025, 9:24 PM
    Ok, any idea what timeframe?
  • f

    floitsch

    12/04/2025, 9:31 PM
    It's currently not very high on the TODO list. There are some limitations when using WiFi and espnow at the same time, which makes it less usable than it sounds. Basically, the wifi "fixes" the frequency, and espnow is then not able to send on the one it would want to.
  • b

    bmentink

    12/04/2025, 9:31 PM
    So WiFi cannot use one channel and ESPNow another?
  • f

    floitsch

    12/04/2025, 9:32 PM
    no. the esp32 doesn't support that.
  • f

    floitsch

    12/04/2025, 9:32 PM
    (unless they changed something in newer SDK releases)
  • b

    bmentink

    12/04/2025, 9:32 PM
    ok, so some sort of inter-leaving would have to happen ..
  • f

    floitsch

    12/04/2025, 9:33 PM
    If you need different frequencies. Yes. and then you don't need to support both at the same time... (which explains the lowish priority)
  • b

    bmentink

    12/04/2025, 9:34 PM
    ok, thanks
  • b

    bmentink

    12/04/2025, 9:36 PM
    Having them both exist (WiFi and ESPNow) means that I could create a new product 🙂
  • f

    floitsch

    12/04/2025, 9:36 PM
    I will try to increase the priority of it.
  • f

    floitsch

    12/04/2025, 9:37 PM
    With a bit of luck it won't be too hard.