Code: Select all
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?