This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Eddystone URL malformed packet

Hi,

I'm using the reference project "Experimental: Eddystone Beacon Application" to transmit Eddystone URL packets and I'm sniffing the data with Wireshark. I noticed that every time I modify the URL address, including the character '.', in wireshark it starts showing "Malformed Packet" to every packet transmitted. Any reason for this to happen? How can I fix it in case I want to transmit a URL like: http:www.test.com.xx ?

  • FormerMember
    0 FormerMember

    I just tested here with www.nordicsemi.com.xx, and wireshark is not showing "Malformed Packet". Which version of wireshark do you use?

    • Hi Kristin I'm using wireshark Version 1.12.12 (v1.12.12-0-g2f634e8 from master-1.12).

      I noticed the problem happen when I try to use the "Eddystone-URL HTTP URL encoding" in the middle of the URL string. For example:

      #define APP_EDDYSTONE_URL_URL           't', 'e', 's', 't',0x07,'.','x','x' 
      

      If I change the address to the one below, there's no more "Malformed Packet".

      #define APP_EDDYSTONE_URL_URL           't', 'e', 's', 't','.','c','o','m','.','x','x' 
      

      The URL encoding is just to use at the first and last byte of the URL address?

      • FormerMember
        0 FormerMember

        The recommended version for wireshark to be used with the sniffer is wireshark v.1.10.x. When I test examples that you describe here (wireshark v.1.10.14), there is hardly any malformed packets.

        When you see the malformed packets in wireshark, does nRF Master Control panel still show the correct address?

        • Yes, in nRF Master Control Panel, the website address is shown correct. That's why I felt surprise about the "Malformed Packet". Shall I ignore this kind of error? Could you reproduce it with wireshark 1.12.12?

          • FormerMember
            0 FormerMember in reply to FormerMember

            In the nRF Master Control Panel, what does the raw advertising/broadcasting data look like for the two cases, the one that work and the one that doesn't?