Ok protocol dissector is up and running. Very exciting, seldom do I have such a nice diagnostic tool, I’m already getting distracted with reading about adding custom protocol dissectors.
So since last post I’ve taken a step back and disabled routing and route discovery in my desktop scenario and things are performing better but not flawlessly like I’d expect. Wireshark has provided some insight though.
Here is an excerpt of a capture:
13079 2235.939376 0x4dee 0x0000 LwMesh 58 Lightweight Mesh, Nwk_Dst: 0x0000, Nwk_Src: 0x4dee, MIC SUCCESS
13080 2235.940376 IEEE 802.15.4 5 Ack
That one was a good packet sent without ACK request and corresponding MAC ACK frame
13081 2235.947377 0x4dee 0x0000 LwMesh 54 Lightweight Mesh, Nwk_Dst: 0x0000, Nwk_Src: 0x4dee, MIC SUCCESS
13082 2235.951377 0x4dee 0x0000 LwMesh 54 Lightweight Mesh, Nwk_Dst: 0x0000, Nwk_Src: 0x4dee, MIC SUCCESS
13083 2235.954377 0x0000 0x4dee LwMesh 25 Lightweight Mesh, Nwk_Dst: 0x4dee, Nwk_Src: 0x0000, MIC SUCCESS
13084 2235.963378 0x4dee 0x0000 LwMesh 54 Lightweight Mesh, Nwk_Dst: 0x0000, Nwk_Src: 0x4dee, MIC SUCCESS
13085 2235.966378 0x0000 0x4dee LwMesh 25 Lightweight Mesh, Nwk_Dst: 0x4dee, Nwk_Src: 0x0000, MIC SUCCESS
13086 2235.980380 0x0000 0x4dee LwMesh 25 Lightweight Mesh, Nwk_Dst: 0x4dee, Nwk_Src: 0x0000, MIC SUCCESS
13087 2235.985380 0x4dee 0x0000 LwMesh 54 Lightweight Mesh, Nwk_Dst: 0x0000, Nwk_Src: 0x4dee, MIC SUCCESS
13088 2236.155397 0xb5e8 0x0000 LwMesh 58 Lightweight Mesh, Nwk_Dst: 0x0000, Nwk_Src: 0xb5e8, MIC SUCCESS
13089 2236.156398 IEEE 802.15.4 5 Ack
13090 2236.169399 IEEE 802.15.4 5 Ack
This illustrates my problem, I’m not sure if the MAC ACK frames are being clobbered by another transmission or what. After the first 2 tries the coordinator actually replies with the application layer ACK packet but I think it isn’t processed because the sender believes his packet wasn’t even sent. SO packets are being received and decoded but where are the MAC ACKs?
Finally 0x4DEE gives up and 0xB5E8 gets a chance, his packet is ACKed right away, then there is a second ACK frame in there and its sequence number doesn’t seem to match any recent packet transmission. Could my little ZIGBIT be missing packets?
My first thought is to move out the CSMA backoff period minimum but it will have wait as I'm already late for dinner. My wife will not be pleased with my progress.
Any thoughts Alex, while I’m considering my next experiment?
Nick