• I did the changes suggested team!
    looks memory problem!

     ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v04 (c) 2019 G.Williams
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    >Connecting to Wifi
    ERROR: Wifi: event_handler STA_START: esp_wifi_connect: 12298(SSID is invalid)
    Connected...
    { "free": 1964, "usage": 336, "total": 2300, "history": 495,
      "gc": 0, "gctime": 1.864 }
    {
      "VERSION": "2v04",
      "GIT_COMMIT": "3956264e",
      "BOARD": "ESP32",
      "FLASH": 0, "RAM": 524288,
      "SERIAL": "a4cf1275-31c8",
      "CONSOLE": "Serial1",
      "MODULES": "Flash,Storage,heatshrink,fs,net,dgram,tls,http,NetworkJS,Wifi,TelnetServer,crypto,neopixel",
      "EXPTR": 1073484860 }
    WARNING: Wifi:startMDNS - espressif
    ##############################################
    {
      "ip": "192.168.0.16",
      "netmask": "255.255.255.0",
      "gw": "192.168.0.1",
      "mac": "a4:cf:12:75:31:c8"
     }
    Acessing AWS IOT
    Connecting...
    Uncaught InternalError: Failed! mbedtls_ssl_setup: Not enough memory
     at line 35 col 10
      }).end();
             ^
    in function called from system
    Acessing AWS IOT
    Connecting...
    Uncaught InternalError: Failed! mbedtls_ssl_setup: Not enough memory
     at line 35 col 10
      }).end();
             ^
    in function called from system
    Disconnected
    >
    

    Here the the software
    https://www.dropbox.com/s/3i0cig5pl9qtd7e/code.js?dl=0

About

Avatar for tcpipchip @tcpipchip started