• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » SimpleLink™ Wi-Fi® » sensor application - GUI, CC3000 demo
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

sensor application - GUI, CC3000 demo

This question is answered
Albin Zhang
Posted by Albin Zhang
on Dec 27 2011 21:05 PM
Prodigy415 points

Hi there,

we met the issue on 5 different PCs during I show it to customer. The planet is stuck and going forward and backward repeatedly.

BR.Albin

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Gustavo L
    Posted by Gustavo L
    on Feb 20 2012 13:37 PM
    Genius9990 points

    Martin,

    I am really sorry for the issues. We are planning a release before the end of this week that will resolve the issue. Can you wait for it?

    Regards,
    Gustavo

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Martin Honig
    Posted by Martin Honig
    on Feb 21 2012 02:49 AM
    Prodigy190 points

    Gustavo,

    I think I can wait until end of the week. Looking forward to see it working soon.

    Martin

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Martin Honig
    Posted by Martin Honig
    on Feb 23 2012 09:07 AM
    Prodigy190 points

    Hello Gustavo,

    I've noticed that there is an updated version (swrc234a.zip) of sensor app on TI wiki page. Unfortunately it dind't solved the problem. Now PC application can't see CC3000 node at all. I tried to run it from bin folder (run_gui.bat) and also in Processing by opening .pde file from source folder, but it behaves same. Console from CC3000 node shows server initialized, waiting for clients, I can see PC and CC3000 connected to TP-Link AP (nodes has assigned 192.168.1.100 and 101 IPs).

    Martin

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gustavo L
    Posted by Gustavo L
    on Feb 23 2012 09:11 AM
    Genius9990 points

    Martin,

    The version online that was recently posted was 1.0.4 that did not yet resolve the issue. I have attached the Sensor GUI belonging to version1.0.7 which does have the issue resolved. Please run the CC3000SensorAppGUI.pde using the processing GUI. Let me know how it goes.

    Regards,
    Gustavo

    1682.CC3000SensorAppGUI.zip

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Martin Honig
    Posted by Martin Honig
    on Feb 23 2012 09:28 AM
    Prodigy190 points

    I am sorry to say so, but result is same. PC GUI cannot find CC3000 node.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gustavo L
    Posted by Gustavo L
    on Feb 23 2012 09:40 AM
    Genius9990 points

    Martin,

    Thank you for sending the screenshot. It included most everything I needed to see. Your problem is not related to the UNICODE issue that 1.0.6 and above resolve.
    However, what the issue is I cannot yet tell since the CC3000 seems connected successfully.

    From the terminal screen I see that some connection occurs but then disconnects. To be able to udnerstand the issue I would appreciate if you did 2 things:

    Enable debugging in the GUI software by changing the line:

    final int debugLevel = 0;

    to

    final int debugLevel = 1;

    in the pde file in processing.

    You can then run the software and you'll get printouts in the processing screen. It goes by fast, but if you could send me some of those lines it would be very helpful.
    Especially for anything that says "bad packet" or timeout.

    Regards,
    Gustavo

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Martin Honig
    Posted by Martin Honig
    on Feb 24 2012 03:35 AM
    Verified Answer
    Verified by Gustavo L
    Prodigy190 points

    Gustavo,

    I enabled debug info and played with the code a little bit. It seems to me that PC GUI depends on english when it is trying to ping CC3000 device, because I added a line to scan code to drop debug info in case of success and also in case of fail. (I also shortened scan range from 100-103 to reduce failed messages in debug console)

    Look what happend. Ping to IP 192.168.1.101 was successful (in translation it says received 1, loss 0) but debug info still said ping failed (because AddressPing() returned with ap.ping() != true).

    Guess what, when I correct it by ping wrapper by

    // Check to see if successfull
    if( (inputLine.indexOf("Received = " + attempts) != -1)
      || (inputLine.indexOf("Pýijat‚ = " + attempts) != -1) )
    return true;

    And voiala. I know it is not the clean solution (only workaroud for my language), but I am sure it is an useful info for you.

    x86
    Sun Microsystems Inc.
    1.6.0_24
    C:\Users\honig\AppData\Local\Temp\CC3000SensorAppGUI857513745450693920temp;C:\Users\honig\Downloads\processing-1.5.1\modes\java\libraries\serial\library\RXTXcomm.jar;C:\Users\honig\Downloads\processing-1.5.1\modes\java\libraries\serial\library\serial.jar;lib;C:\Users\honig\Downloads\processing-1.5.1\java\lib\tools.jar;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ecj.jar;lib\antlr.jar;lib\ant.jar;lib\ant-launcher.jar
    C:\Users\honig\Downloads\processing-1.5.1\java\lib\ext;C:\Windows\Sun\Java\lib\ext
    C:\Users\honig\Downloads\processing-1.5.1\java
    the file or directory you are searching does not exist : false
    hostName honig-pc
    addr: /192.168.1.100
    Starting setup
    Hello from a thread! Try to open socket
    addr in discover CC3000 192.168.1.100
    Octet4: 100

    Pýˇkaz PING na 192.168.1.101 - 32 bajt… dat:
    OdpovŘÔ od 192.168.1.101: bajty=32 źas=6ms TTL=64

    Statistika ping pro 192.168.1.101:
    Pakety: Odeslan‚ = 1, Pýijat‚ = 1, Ztracen‚ = 0 (ztr ta 0%),
    Pýibli§n  doba do pýijetˇ odezvy v milisekund ch:
    Minimum = 6ms, Maximum = 6ms, Pr…mŘr = 6ms
    Ping Failed

    Pýˇkaz PING na 192.168.1.102 - 32 bajt… dat:
    Vyprçel źasově limit § dosti.

    Statistika ping pro 192.168.1.102:
    Pakety: Odeslan‚ = 1, Pýijat‚ = 0, Ztracen‚ = 1 (ztr ta 100%),
    Ping Failed
    Hello from a thread! Try to open socket
    addr in discover CC3000 192.168.1.100
    Octet4: 100

    Pýˇkaz PING na 192.168.1.101 - 32 bajt… dat:
    OdpovŘÔ od 192.168.1.101: bajty=32 źas=4ms TTL=64

    Statistika ping pro 192.168.1.101:
    Pakety: Odeslan‚ = 1, Pýijat‚ = 1, Ztracen‚ = 0 (ztr ta 0%),
    Pýibli§n  doba do pýijetˇ odezvy v milisekund ch:
    Minimum = 4ms, Maximum = 4ms, Pr…mŘr = 4ms
    Ping Failed

    Pýˇkaz PING na 192.168.1.102 - 32 bajt… dat:
    Setup complete
    Vyprçel źasově limit § dosti.

    Statistika ping pro 192.168.1.102:
    Pakety: Odeslan‚ = 1, Pýijat‚ = 0, Ztracen‚ = 1 (ztr ta 100%),
    Ping Failed
    Hello from a thread! Try to open socket
    addr in discover CC3000 192.168.1.100
    Octet4: 100

    Pýˇkaz PING na 192.168.1.101 - 32 bajt… dat:
    OdpovŘÔ od 192.168.1.101: bajty=32 źas=10ms TTL=64

    Statistika ping pro 192.168.1.101:
    Pakety: Odeslan‚ = 1, Pýijat‚ = 1, Ztracen‚ = 0 (ztr ta 0%),
    Pýibli§n  doba do pýijetˇ odezvy v milisekund ch:
    Minimum = 10ms, Maximum = 10ms, Pr…mŘr = 10ms
    Ping Failed

    Pýˇkaz PING na 192.168.1.102 - 32 bajt… dat:
    Vyprçel źasově limit § dosti.

    Statistika ping pro 192.168.1.102:
    Pakety: Odeslan‚ = 1, Pýijat‚ = 0, Ztracen‚ = 1 (ztr ta 100%),
    Ping Failed
    Hello from a thread! Try to open socket
    addr in discover CC3000 192.168.1.100
    Octet4: 100

    Pýˇkaz PING na 192.168.1.101 - 32 bajt… dat:
    OdpovŘÔ od 192.168.1.101: bajty=32 źas=7ms TTL=64

    Statistika ping pro 192.168.1.101:
    Pakety: Odeslan‚ = 1, Pýijat‚ = 1, Ztracen‚ = 0 (ztr ta 0%),
    Pýibli§n  doba do pýijetˇ odezvy v milisekund ch:
    Minimum = 7ms, Maximum = 7ms, Pr…mŘr = 7ms
    Ping Failed

    Pýˇkaz PING na 192.168.1.102 - 32 bajt… dat:
    Vyprçel źasově limit § dosti.

    Statistika ping pro 192.168.1.102:
    Pakety: Odeslan‚ = 1, Pýijat‚ = 0, Ztracen‚ = 1 (ztr ta 100%),
    Ping Failed
    Hello from a thread! Try to open socket
    addr in discover CC3000 192.168.1.100
    Octet4: 100

    ................................................................................................................
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gustavo L
    Posted by Gustavo L
    on Feb 24 2012 08:05 AM
    Genius9990 points

    Martin,

    I'm happy to hear you've resolved your issue. Because java does not provide native ICMP ping, a wrapper was created. This wrapper was written for english OS. In your machine, ping operates using non english and therefore although ping itself succeeds, it returns failure. We will look into the issue and will release a fix in the future.

    Your fix is fine as long as it works for you.

    Regards,
    Gustavo

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Albin Zhang
    Posted by Albin Zhang
    on Feb 29 2012 02:29 AM
    Prodigy415 points

    Hi Gustavo,

    Where can customer download the updated PC tool kit from the wiki?

    we tried the link, but it can't work.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gustavo L
    Posted by Gustavo L
    on Feb 29 2012 02:31 AM
    Genius9990 points

    Albin,

    The package is being refreshed at the moment and that link should go back up with version v1.0.7 which resolves the issues you saw previously.

    If you have the package yourself I suggest that you provide it to the customer until the link is back up.

    Gustavo

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use