deRF usb 23E00 Sniffing

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi !

 

I'm currently using the Development Kit 6LoWPAN 2.4Ghz from Dresden Elektronik ( https://www.dresden-elektronik.d... )

 

Everything is working well, i'm just using the furnished example codes (Control4SLOW, UDP/TCP Echo...)

 

I have to find a way to sniff packet with an other tools than BitCatcher. BitCatcher is cool and easy but it has some bug which are problematic :

- can't see more than Mac, Nwk header. Parameters like rssi and lqi are wrong (when i compare them with DeCON6 for example)... when you change your channel in your gateway , bitcatcher sniff always on the same channel even if it's not the real channel ...

 

Well, I'd like to find a tool/program which can be able to sniff packet correctly.

 

Then, I tried WSBridge, to do a bridge between the COM Port of the USB Sniffer and Wireshark (to see upper layers). It doesn't work, the program stop itself and Wireshark has the "Frame 2 too long (-2byte)"

So I tried to modify values in WSBridge, to add/remove 2bytes on the packet size, to change the speedrate of the com port ... Nothing works !

 

Do you have any ides of tools/program or solutions to see full 6LoWPAN Packet ?

 

Thank you :)

 

Gael

 

 

 

 

 

Last Edited: Fri. Oct 16, 2015 - 12:26 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Wireshark would be your best bet. But you will have to research how to connect it to your hardware. Different hardware providers have different solutions. Atmel Studio has a Wireshark interface program that bridges Atmel (and some DE) kits to a Wireshark instance.

 

And there are well integrated paid solutions as well (Perytons or Ubuqua). I can't recommend any of them, since I have not used them for any meaningful length of time.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks alexru.

 

For wireshark the only solution I found is a program-bridge which "translate" packet from COM Port directly into Wireshark. But it doesn't works for me, even when I try different parameters, always the same message : Frame 2 too long.

 

 

Also I found the Wireshark bridge in Atmel Library but it still be possible to work only with few atmel chips, except mine, unless it doesn't work for me.

 

We had a Perytons license but it's no longer available (University license ...) , Ubuqua looks nice, but expensive unfortunately...

 

There's some solutions for ZigBee Analyzer which works very well, but for 6 LoWPAN there's not a lot of choice.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

Can I convert a basic atsamr21g18a device into a Wireless Zigbee Sniffer using Bitcloud or otherwise without BitCloud itself?

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Search this forum for keyword 15dot4; builds are available for the raven usbstick and the sam7s24.

 

http://sourceforge.net/projects/...

 

These connect through USB to a host RNDIS ethernet-type interface usable with either Windows or *nix.  Raw 802.15.4 packets are reported which the host probably ignores but Wireshark will interpret most protocols and even assemble 6lowpan fragments into complete ipv6 packets.

 

The contiki usbstick can be used in a similar way but the dot4 tools use circular receive buffers for highest throughput and to minimize loss of closely spaced packets such as hardware ACKs.

Last Edited: Tue. Apr 28, 2015 - 06:27 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

mepunit wrote:
Can I convert a basic atsamr21g18a device into a Wireless Zigbee Sniffer using Bitcloud or otherwise without BitCloud itself?
You don't need BitCloud for that. All you need to do is write a radio driver that sends data over the serial interface.

 

Attached is a specification for the protocol that Atmel Wireshark interface tool is using.

Attachment(s): 

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If I believe what Luxoft's Bitcatcher wrote on their website :

"

Luxoft BitCatcher ZigBee Network Analyze tool parses and displays packet information based on their description in the protocol description files. A user can modify them to extend the existing protocols or to create new ones. By default, the tool is able to parse the following wireless protocols:

  • IEEE 802.15.4 MAC
  • ZigBee PRO (Network, ZDO and APS layers)
  • ZigBee Smart Energy
  • ZigBee Light Link

 

"

 

Maybe it could be possible to extend 802.15.4 MAC to sniff upper layers ? Does someone think it's possible ?

 

Cause in Bitcatcher you can see the full trame but only the beginning is "translated" as  Mac header, network header etc...

 

Do someone got an idea to implement something to view the rest of each trame ?

 

Regards :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

There are XML files and you can create custom parsers to a certain extent allowed by the XML description format. There is no description of that language, so you'll have to do some guessing and searching for similar constructions in other places. But it is possible, I did that.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.