3 Replies Latest reply on May 5, 2014 3:41 AM by johanj_81

    How to initialize the DCT with a WEP key

      To define a WEP key in an application wifi_config_dct.h you must:





        1. #define CLIENT_AP_PASSPHRASE "x00x05""x01x02x03x04x05" // For a 40-bit key



      where :


      "x00" is the key index (ranging from 0 - 3)


      "x05" is the length of the key being either x05 or x0D  (for 40- or 104-bit WEP)


      "x01x02x03x04x05" is the value of the WEP key (40-bit in this case)



      NOTE: You can only define a single key in the DCT and for most WEP configurations the default key is index 0.