Replies

  • Opps posted in the wrong place above

    I got it!!!!! For anyone else's benefit here's the wiflis settings. Oh and use the wifely manual to set the wifely up using UDP not TCP. http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Wireless/WiFi/rn-wif...page 71. 

    Here's the wifely set up with a terminal app. I have a Mac I used Cool Term 

    http://download.cnet.com/CoolTerm/3000-2383_4-10915190.html

    set ip host 10.0.0.11
    AOK
    <4.00> 
    set ip remote 14550
    AOK
    <4.00> 
    set ip local 14550
    AOK
    <4.00> 
    get ip
    IF=UP
    DHCP=SERVER
    IP=10.0.0.1:14550
    NM=255.255.255.0
    GW=10.0.0.1
    HOST=10.0.0.11:14550
    PROTO=UDP,
    MTU=1524
    FLAGS=0x7
    TCPMODE=0x0
    BACKUP=0.0.0.0
    <4.00> 
    save
    Storing in config

    And fyi the only thing you need to do in APM P is set the IP address no need to change the port numbers that show up as defaults 14555 and 14550. So it's 10.0.0.11:14555.  

    Thanks Bill for your help I finally figured it out after re-reading some of your settings and suggestions 

    http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Wireless/WiFi/rn-wiflycr-ug-v1.2r.pdf
  • Still can't get it to work grrrrrr

  • Hi Bill here's the current info from terminal. I also did 'get lease' before connecting my Mac then once I connected  I can clearly see it is connecting to my Mac to 10.0.0.12. [ I see what you mean by that ;]  ]  So I launch AMP P go to advanced -select TCP. The connection defaults to  TCP Port 5760 and host 127.0.0.1. I change the port to 2000 and the host to the GW of 10.0.0.1 click connect but nothing  happens . ggrrrrrrrr.  I have also tried to go up to 'communication' and 'add link' It defaults to creating a duplicate serial connection... I edit that with the above number but no change. 

    Once again I really appreciate your help. You must spend a great deal of time doing free tech service.. I can only imagine how busy you can get with several people etc. I will PM you when I get Skype set up. Today is shot however gotta go play dad before my wife hits me with a frying pan. :}

    get ip
    IF=UP
    DHCP=SERVER
    IP=10.0.0.1:2000
    NM=255.255.255.0
    GW=10.0.0.1
    HOST=0.0.0.0:2000
    PROTO=TCP,
    MTU=1524
    FLAGS=0x7
    TCPMODE=0x0
    BACKUP=0.0.0.0
    <4.00> 
    show lease
    10.0.0.11,00:22:55:00:01:6e,86304,android-12e3cc99
    10.0.0.12,00:00:00:00:00:00,0,
    10.0.0.13,00:00:00:00:00:00,0,
    10.0.0.14,00:00:00:00:00:00,0,
    10.0.0.15,00:00:00:00:00:00,0,
    10.0.0.16,00:00:00:00:00:00,0,
    10.0.0.17,00:00:00:00:00:00,0,
    <4.00> 
    DHCP: 10.0.0.12 lease to Ricks-iMac
    • Hey Bill any headway on the TCP connection issue? I had the same problem with UDP.

      thx

    • Developer

      Thanks for the report. I just tested mine in a setup with a PX4 and it failed. I noticed the issue is that the Config UI in not remembering the new IP address. I didn't noticed when I tested on the desktop, as it was using SITL and required the default 127.0.0.1 (loopback address)

      There are some other issues with it not remembering the TCP Link setup and reporting it's setup incorrectly in the log.

      I'll push a fix soon, and when a build is ready send you a note.

      If you are up for more playing in the meantime, if you configure your WiFly (and you only need to change a few things) to send UDP packets on 14550, it should work using UDP

      I also can't help right now, as I also need to be Dad ;)

      • I got it!!!!! For anyone else's benefit here's the wiflis settings. Oh and use the wifely manual to set the wifely up using UDP not TCP. http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Wireless/WiFi/rn-wif... page 71. 

        Here's the wifely set up with a terminal app. I have a Mac I used Cool Term 

        http://download.cnet.com/CoolTerm/3000-2383_4-10915190.html

        set ip host 10.0.0.11
        AOK
        <4.00> 
        set ip remote 14550
        AOK
        <4.00> 
        set ip local 14550
        AOK
        <4.00> 
        get ip
        IF=UP
        DHCP=SERVER
        IP=10.0.0.1:14550
        NM=255.255.255.0
        GW=10.0.0.1
        HOST=10.0.0.11:14550
        PROTO=UDP,
        MTU=1524
        FLAGS=0x7
        TCPMODE=0x0
        BACKUP=0.0.0.0
        <4.00> 
        save
        Storing in config

        And fyi the only thing you need to do in APM P is set the IP address no need to change the port numbers that show up as defaults 14555 and 14550. So it's 10.0.0.11:14555.  

        Thanks Bill for your help I finally figured it out after re-reading some of your settings and suggestions 

        http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Wireless/WiFi/rn-wiflycr-ug-v1.2r.pdf
      • Hi Bill

        Still no luck trying UDP.  I'm not clear on what these 3 settings should be.

        ip host?? Is the the wifely? Set that to any free number i.e. 10.0.0.15?

        The port the remote listens too?? The remote is my Mac? set to 2000??

        ip local?? 

        and in APM P is ask for the remote communication target ip? 

        Sorry again to be so clueless.

        3702654081?profile=original
      • Good to know it wasn't just me :] I'll give the UDP a whirl. Please do send me a note when there's an update! Thanks!

  • Developer
    that was a strange defect. But is fixed in the latest daily at Http://firmware.diydrones.com/Tools/APMPlanner/daily
    • Thanks. I did apply the update and can now set host to 2000 but I must not be doing something right it still won't connect. This is terminal set up for the wifely [see below ] It is connected to my Mac.  I tried host address 10.0.0.1 but no luck. Am I missing something? 

This reply was deleted.

Activity