Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    DrBomb
    @DrBomb
    you're not saving the config
    abhibhatia98
    @abhibhatia98
    Oops ,thanks for response
    Jan
    @janko.valiska:matrix.org
    [m]
    @rojer: Hi, I'm trying to use rpc-service-ota to perform OTA over BT. After couple of chunks I receive Request queue overflow from mg_rpc_callf handler. I'm sending chunks of size 256bytes every 2 seconds. What can be the problem?
    Jan
    @janko.valiska:matrix.org
    [m]
    Problem solved... we called RPC methods from ISR. Somehow it didn't work... :)
    cnhyades
    @cnhyades

    @rojer , We facing a crash issue after running for many hours. Hardware is ESP32 and OS version 2.19

    Test Setup:

    1. Receiving Bluetooth Notifications every 5seconds and posting them to an HTTP end point via "mgos_invoke_cb"
    2. RPC Methods(over http) are invoked from 3/4 different clients every 5seconds.

    Coredump pastebin link: https://pastebin.com/SViMe0RM

    Do you think it is related to dynamic memory (de)allocation?
    Harsh Bhikadia
    @daadu_gitlab

    Some of our field ESP32 were not working(radnomly disconnecting and not connecting back - even after reboot) with Deco WIfi-Mesh system, turns out that Deco uses "Fast Roaming" feature (IEEE 802.11k and v)

    ESP-IDF have already implemented it and released in v4.3 (commit - espressif/esp-idf@27101f9 and example - https://github.com/espressif/esp-idf/tree/master/examples/wifi/roaming)

    These is behind a flag (CONFIG_WPA_11KV_SUPPORT, CONFIG_WPA_SCAN_CACHE)- which is off by default. Looks like experimental as of now.

    I want this "fast roaming" support in Mongoose.
    Is it trivial to upgrade to ESP-IDFv4.3? as of now mongoose (master) is pointing to v4.2 ?
    @rojer @cpq Any plan for having this in mongoose as well? or will wait for proper (i am assuming it is not because it is behind a flag in menuconfig) implementation?
    abhibhatia98
    @abhibhatia98
    Hi All, I am just trying to research around mongoose-os usability in production like how much percentage devices are running on mongoose os . something related to statistics. I found many of report but doesn't found any thing about mongoose os. Do any one can share thoughts or relevant info/resource like where does it stand in below graph?
    image.png
    Deomid Ryabkov
    @rojer
    @daadu_gitlab i do plan to update the IDF
    unfortunately, it is not trivial to upgrade yourself, as there are a number of patches on top of the upstream that need to be rebased
    @abhibhatia98 i don't think we'd make that graph, our usage is certainly below 1%
    Harsh Bhikadia
    @daadu_gitlab
    @rojer any expected date/month for the upgrade?
    David Cruchon
    @Enophi
    Hi! Do you know if it is possible to customize the provisioning command mos aws-iot-setup? Have a nice day
    Deomid Ryabkov
    @rojer

    @rojer any expected date/month for the upgrade?

    "soon". no ETA, though

    Hi! Do you know if it is possible to customize the provisioning command mos aws-iot-setup? Have a nice day

    https://github.com/mongoose-os/mos/blob/master/cli/aws/aws.go

    gadget-man
    @gadget-man

    Hi! Do you know if it is possible to customize the provisioning command mos aws-iot-setup? Have a nice day

    https://github.com/mongoose-os/mos/blob/master/cli/aws/aws.go

    This reminded me that whenever I provision using aws-iot-setup it returns a AttachPrincipalPolicy is deprecated error. I’ve forked an update and am ready to post a proposed PR to migrate to AttachPolicy, but not sure how to test it locally first?

    1 reply
    Deomid Ryabkov
    @rojer
    run make on a machine that has Go toolchain, you'll get a mos binary
    then use ./mos to test
    gadget-man
    @gadget-man
    Thanks. I’ve tested and all seems OK so have submitted a PR
    Liviu
    @nliviu
    @rojer Is there a way to find out which library issues
    Error: /src/cli/build_local.go:204: can't build for the platform ubuntu; supported platforms are: [esp32] (use --no-platform-check to override)
    Deomid Ryabkov
    @rojer
    not easily, unfortunately
    Liviu
    @nliviu
    Thanks.
    Marcus Hoffmann
    @hoffmann-m
    @rojer The library mongoose-os-libs/gcp reconfigures MQTT. My question is if this will keep MQTT1 working as a fallback?
    gadget-man
    @gadget-man
    Is there a way to get email notifications of watched threads turned back on for the forums?
    Jorge Mesquita
    @jorge4_gitlab

    Hi , Im unable to build esp32 firmware at the moment,
    Ive tested with a progressively more clean mos.yml,
    but cant, even with an empty main.c, empty fs.
    my libs:

    libs:
      - origin: https://github.com/mongoose-os-libs/boards
      - origin: https://github.com/mongoose-os-libs/dns-sd
      - origin: https://github.com/mongoose-os-libs/i2c
      - origin: https://github.com/mongoose-os-libs/rpc-loopback
      - origin: https://github.com/mongoose-os-libs/rpc-mqtt
      - origin: https://github.com/mongoose-os-libs/spi
      - origin: https://github.com/mongoose-os-libs/wifi
      - origin: https://github.com/mongoose-os-libs/ca-bundle
      - origin: https://github.com/mongoose-os-libs/core
      - origin: https://github.com/mongoose-os-libs/http-server
      - origin: https://github.com/mongoose-os-libs/rpc-service-config
      - origin: https://github.com/mongoose-os-libs/rpc-service-fs
      - origin: https://github.com/mongoose-os-libs/rpc-ws

    i see now that the image for the build is recent (4hours ago) tag 4.2-r2

    the error is:

    ... deps/wifi/src/esp32/esp32_wifi.c:36:10: fatal error: mgos_lwip.h: No such file or directory

    i think is an issue with the rc2, because i cant build even in the cloud.
    any help will be appreciated. regards.

    Deomid Ryabkov
    @rojer
    @jorge4_gitlab you need to update all the dependencies, not just mongoose-os
    it was a multi-library change, full context is mongoose-os-libs/ethernet#7
    Jorge Mesquita
    @jorge4_gitlab
    If I delete the deps and build folders, wont everything update automatically? Thanks for the reply btw
    Deomid Ryabkov
    @rojer
    @jorge4_gitlab ok, i see the problem. pushed a fix to the wifi lib (we need to depend on lwip now)
    d4rkmen
    @d4rkmen
    hi guys. can someone point me on a debian mongoose-os sample with homekit adk?
    iops. i mean ubuntu. i know its supported by mos
    Deomid Ryabkov
    @rojer
    shelly-homekit has ShellyU target
    https://github.com/mongoose-os-apps/example-homekit should also build for ubuntu with no changes
    d4rkmen
    @d4rkmen
    thanks man @rojer
    puchongv
    @puchongv
    hello
    I need help I just migration from arduino to mongoose os
    I have 1 week to migrate the code
    if anyone are expert of mOS,C++ and understand Arduino. I need only few minute
    puchongv
    @puchongv
    I very happy to pay for consult time
    Márk Antal Csizmadia
    @mark-antal-csizmadia

    Hi all,

    I have done OTA on an ESP8266 that has been smoothly running an earlier firmware for some time. In essence, the firmware sends a JSON payload via MQTT to Google Cloud Platform's IoT Core. The MQTT bridge between the ESP and the Cloud has been working flawlessly for the past weeks. However, after OTA, I get the error below.

    [Aug 23 14:05:33.515] mg_ssl_if_mbedtls.c:207 0x3fff3c24 mbedTLS error: -0x2700
    [Aug 23 14:05:33.515] mgos_mqtt.c:141         MQTT TCP connect error (-3)
    [Aug 23 14:05:33.515] mgos_mqtt.c:164         MQTT Disconnect
    [Aug 23 14:05:33.515] mgos_mqtt.c:507         MQTT connecting after 1025 ms
    [Aug 23 14:05:33.515] mgos_mongoose.c:66      New heap free LWM: 10608
    [Aug 23 14:05:34.543] mgos_mqtt.c:431         MQTT connecting to mqtt.googleapis.com:8883
    [Aug 23 14:05:34.650] mg_ssl_if_mbedtls.c:35  0x3fff42c4 ciphersuite: TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256
    [Aug 23 14:05:35.769] mg_ssl_if_mbedtls.c:35  0x3fff42c4 x509_verify_cert returned -9984
    [Aug 23 14:05:35.769] mg_ssl_if_mbedtls.c:35  0x3fff42c4   The certificate is not correctly signed by the trusted CA

    I would greatly appreciate it if someone could help me out with understanding what's going on. I'm happy to share more of my logs but basically, the firmware is stuck at this stage. Thank you for your guidance in advance!

    Have a great day,
    Mark

    Deomid Ryabkov
    @rojer
    @mark-antal-csizmadia GCP went through a certificate transition recently, you need to update ca-bundle library or switch to the LTS endpoint - mqtt.2030.ltsapis.goog:8883 instead of mqtt.googleapis.com:8883
    1 reply
    Mizer
    @amizer12
    Hi Everyone - quick question - is there a way to setup my own remote build server ? So now i have an option to build in cloud which is sending the files to Mongoose servers, is there a way i can setup my own remote build server as well ?
    gadget-man
    @gadget-man
    You can run mos build —local if you have docker installed. You can also build on your own server using fwbuild-manager https://github.com/mongoose-os/mos/tree/master/fwbuild