FlyONSPEED.org  Reduce Loss of Control Risk

images.jpeg
  • Home

  • How to Use the AOA Tone

    • ONSPEED 101
    • Takeoff and Landing Using Aural AOA Cues
    • Basic Energy Management
    • Using AOA when the Engine Fails
  • Resources

    • Technical Resources
    • Van's RV Transition Training Resources
  • Hardware and Software

    • Gen 1
    • Gen 2
  • Forum

    • Members
  • Project Updates

  • More

    Use tab to navigate through the menu items.
    Winner 2018 EAA Founder's Innovation Award and 2021 Grand Champion Winner
     
    To see this working, head to your live site.
    • All Posts
    • My Posts
    tom
    Nov 02, 2019

    WIFI code Seems to Misbehave!

    in General Discussion

    $REBOOT!

    ets Jun 8 2016 00:22:57


    rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

    configsip: 188777542, SPIWP:0xee

    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00

    mode:DIO, clock div:1

    load:0x3fff0018,len:4

    load:0x3fff001c,len:1044

    load:0x40078000,len:8896

    load:0x40080400,len:5816

    entry 0x400806ac

    dhcps: send_offer>>udp_sendto result 0


    This is what I see for the ESP when it reboots from the web page command.


    Is this normal? Especially the "send_offer".


    I ask because if I try to start LiveView, the ESP never sends out the command to the Teensy. Other commands, like List and Reformat the SD Card work fine. The format command shows up like this on ESP console:

    $FORMAT!

    and response comes back from Teensy that says card formatted and size.


    Meanwhile the Teensy console says this when you command LiveView and then List:


    $STOPLIVEDATA!STOPPED Live Data. (Wifi Request)


    $LIST!file list requested on Wifi


    Any ideas?


    5 comments
    0
    tom
    Nov 02, 2019

    Partially answered my own question. It has to do with the DNS. First of all, the connection to the WIFI from my phone etc. has to be to 192.168.0.1 not onspeed.local


    So I changed line 196 of the WIFI code to the same URL and then LiveView works fine.


    Now, I don't know why DNS is not working for me