• 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 » Low Power RF ZigBee® Software & IEEE 802.15.4 Forum » Packet sniffer gives "Invalid argument was encountered"
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Packet sniffer gives "Invalid argument was encountered"

Packet sniffer gives "Invalid argument was encountered"

This question is answered
BARRY LOVERIDGE
Posted by BARRY LOVERIDGE
on Jun 29 2012 17:59 PM
Prodigy210 points

Have packet sniffer 2.16.2.0 installed on my Windows 7 (64 bit) PC. If I select "ZigBee 2007/PRO" from the drop down box the software pops up an error message window saying "An invalid argument was encountered". Any ideas why?

Also there is a ZigBee pro system in the building I'm in and I can see the packets for this system. Most however show as  "NWK Unknown Command". Packets for the CC2540DK boards show correctly. Is this normal?

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Igor Sherer
    Posted by Igor Sherer
    on Jun 30 2012 03:37 AM
    Guru21965 points

    Hi,

    I have found two posts where people reporting bugs or just an annoying behavior of the

    latest version of packet sniffer (2.16.2): link1, link2.

    However, non of them describes your problem. I don't know what may be the reason,

    so meanwhile you can install previous version of packet sniffer (2.15) and try to work with it.

    Br,

    Igor

    2.16.2.0 smrtRF packet sniffer
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • TIABO
    Posted by TIABO
    on Jul 02 2012 11:13 AM
    Expert6685 points

    It may be that this is caused by a corrupted configuration file. Have you tried uninstalling the SmartRF Packet Sniffer, deleting the entire installation folder and re-installing the SmartRF Packet Sniffer?

    Br,
    ABO 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BARRY LOVERIDGE
    Posted by BARRY LOVERIDGE
    on Jul 05 2012 15:38 PM
    Prodigy210 points

    I have tried un-install and re-install of the software a couple of times, still get the error. Not sure how to get a previous version of the software so have not yet tried older version.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BARRY LOVERIDGE
    Posted by BARRY LOVERIDGE
    on Jul 05 2012 16:07 PM
    Prodigy210 points

    Forced into signing up at 4share allowed me to download 2.15.2. That version does not give the "Invalid argument received error" when Zigbee Pro is selected. BUT now I can not see any packets captured. Removing this older version and going back to the new version, error message is back AND I can no longer see any packets (although the status bar count for packets does increase the the scroll window acts as if packets have been received).

    Can some please clarify the "remove config file" comment. During un-install the Packet Sniffer directory in Program Files(x86)/Texas Instraments/SmartRF Tools is removed. But the system still seems to remember my selection in this drop down box for 2003 vs 2006 vs Pro. Is there some other location of files that I need to delete?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BARRY LOVERIDGE
    Posted by BARRY LOVERIDGE
    on Jul 09 2012 16:37 PM
    Prodigy210 points

    Anyone have any suggestions? Packet sniffer still currently gives me a blank screen and complains it can't read from buffer if I try and save the file. Since the software is remembering my between installs there must some info some where that needs wiping - any idea where this file is and what it is called?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jomar Hønsi
    Posted by Jomar Hønsi
    on Jul 10 2012 02:52 AM
    Verified Answer
    Verified by TIABO
    Prodigy650 points

    You could try to clean out everything associated with the packet sniffer in the Windows Registry.

    1. Un-install the sniffer

    2. Delete all files below the installation folder.

    3. In "Regedit", search for "Packet Sniffer" keys and remove them, alternatively use a "registry cleaner" tool; e.g. Advanced System Care from IoBit.

    ABO Edit: Updated 3.: Search for "Packet Sniffer"

    Jomar
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BARRY LOVERIDGE
    Posted by BARRY LOVERIDGE
    on Jul 10 2012 11:57 AM
    Verified Answer
    Verified by TIABO
    Prodigy210 points

    During the uninstall the installation folder is always deleted, so I could never find any files to delete.

    Regedit did not give any matches for PacketSniffer. Eventually found "Packet Sniffer" registry section and deleted it. Now the packet Sniffer does produce output and does not generate error when I select Zigbee Pro (using Packet Sniffer version 2.15.2).

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • TIABO
    Posted by TIABO
    on Jul 11 2012 02:03 AM
    Expert6685 points

    Barry,

    Have you tried using the latest version of the Packet Sniffer after cleaning the registry?

    Br,
    ABO 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • advanchip
    Posted by advanchip
    on Aug 09 2012 01:41 AM
    Intellectual400 points

    Hi Barry,

    I have the same problem, please elaborate how you found "Packet Sniffer" registry section to delete.

    Thanks,

    Alice

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BARRY LOVERIDGE
    Posted by BARRY LOVERIDGE
    on Aug 09 2012 16:23 PM
    Suggested Answer
    Prodigy210 points

    You just need to use "regedit" (type this is into the search box when your mouse is over the windows start logo)  and its search function. Look for a key name that is TI then find the packet sniffer entry in the sub keys of TI.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • advanchip
    Posted by advanchip
    on Aug 10 2012 10:26 AM
    Intellectual400 points

    Thanks, it works on the 2.16.2 version.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrey Vrjakovsky
    Posted by Andrey Vrjakovsky
    on Aug 20 2012 18:02 PM
    Suggested Answer
    Prodigy230 points

    Hi

    I found a bug.

    The problem in the symbol "/".

    modify the line in file

    SmartRF Tools\Packet Sniffer\bin\general\plugin\zigbee\zigbee.plt

    before 

    ZigBee 2007/PRO

    after 

    ZigBee 2007 PRO

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • TIABO
    Posted by TIABO
    on Aug 21 2012 00:41 AM
    Expert6685 points

    Thanks, Andrey,

    I will pass this on to the developers. Did your fix resolve the "invalid argument was encountered" error?

    Br,
    ABO 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrey Vrjakovsky
    Posted by Andrey Vrjakovsky
    on Aug 21 2012 06:36 AM
    Prodigy230 points

    of course

    http://www.youtube.com/watch?v=HJ8XzA7oV5Q

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Elian Lima
    Posted by Elian Lima
    on Sep 04 2012 13:36 PM
    Expert1865 points

    Hello,

    I did like you said, but my computer is not letting me save the file on this folder even if I'm the administrator. So, I created another filed identical to this, and then copied into the folder substituting the original one.

    The message desappeared and I can open the SW. But now another messages are appearing like, "Unknown payload format" and "Unknown LQI or RSSI format". So,  I did like the post below and even with the correct payload and LQI or RSSI format correct, I can't see the packets on the screen, I can see they are coming, but I can't see them on the screen.

    http://e2e.ti.com/support/low_power_rf/f/158/p/193434/691671.aspx#691671

    Any idea of what can be the reason?

    BRS,

    Eliã Lima

    Eliã Lima

    Brazil

    packet sniffer 2.16.2
    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