ESP8266 Developer Zone The Official ESP8266 Forum 2018-02-24T15:19:55+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=9207 2018-02-24T15:19:55+08:00 2018-02-24T15:19:55+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9207&p=19446#p19446 <![CDATA[Re: wifi_send_pkt_freedom and 802.11 Timestamps]]> The packet in your picture seems not corresponding to your source code.
In your code, the SSID is

Code:

0x72, 0x72, 0x72, 0x72, 0x72, 0x72
.
But in your picture, the SSID is "testing".

Statistics: Posted by Her Mary — Sat Feb 24, 2018 3:19 pm


]]>
2018-02-18T14:04:07+08:00 2018-02-18T14:04:07+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9207&p=19411#p19411 <![CDATA[Re: wifi_send_pkt_freedom and 802.11 Timestamps]]> Statistics: Posted by AgentSmithers — Sun Feb 18, 2018 2:04 pm


]]>
2018-02-10T14:52:23+08:00 2018-02-10T14:52:23+08:00 https://bbs.espressif.com:443/viewtopic.php?t=9207&p=19378#p19378 <![CDATA[wifi_send_pkt_freedom and 802.11 Timestamps]]>

Code:

uint8_t SSIDpacket[] =
   {
         0x80, 0x00, //frame control - indicating a beacon frame
         0x00, 0x00, //duration - will be overwritten by ESP8266
                /*4*/   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //DA - destination address, broadcast in this case
                /*10*/  0x01, 0x02, 0x03, 0x04, 0x05, 0x06, //SA - source address, will be overwritten later
                /*16*/  0x01, 0x02, 0x03, 0x04, 0x05, 0x06, //BSSID - same as SA in this case, will be overwritten later
                /*22*/  0xc0, 0x6c, //Sequence Number
                /*24*/  0x83, 0x51, 0xf7, 0x8f, 0x0f, 0x00, 0x00, 0x00, //TimeStamp
                /*32*/  0x64, 0x00, //BeconInterval
                /*34*/  0x01, 0x04, //Capability
                /* SSID */
                /*36*/  0x00, //ElementID = SSID
         0x06, //Len is 6 bytes
         0x72, 0x72, 0x72, 0x72, 0x72, 0x72, //All "F" SSID
                        0x01, //ID meaning Supported rates
         0x08, //length
         0x82, 0x84, 0x8b, 0x96, 0x24, 0x30, 0x48, 0x6c, //Supported rates
         0x03, //Channel Option
         0x01, //Channel Len 1
                /*56*/  0x01, //Channel
   };


Anyone know why my Timestamp is being overwritten? I assume SendPacketFreedom does this on 0x80, 0x00 Management packets?
2018-02-09_2251.png

Statistics: Posted by AgentSmithers — Sat Feb 10, 2018 2:52 pm


]]>