TI E2E Community
Low Power RF & Wireless Connectivity
Low Power RF ZigBee® Software & IEEE 802.15.4 Forum
Packet sniffer gives "Invalid argument was encountered"
Have packet sniffer 126.96.36.199 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?
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.
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?
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.
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?
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?
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"
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).
Have you tried using the latest version of the Packet Sniffer after cleaning the registry?
I have the same problem, please elaborate how you found "Packet Sniffer" registry section to delete.
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.
Thanks, it works on the 2.16.2 version.
I found a bug.
The problem in the symbol "/".
modify the line in file
SmartRF Tools\Packet Sniffer\bin\general\plugin\zigbee\zigbee.plt
ZigBee 2007 PRO
I will pass this on to the developers. Did your fix resolve the "invalid argument was encountered" error?
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.
Any idea of what can be the reason?
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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.