2 Replies Latest reply on Sep 10, 2015 1:04 AM by BoonT_56

    BCM920737 passKey lenght

      Hi,

      Is it possible to set passKey lenght to 4 digits? I have checked example where passkey=123456 and tried to modify it to passkey=1234.

       

      To do so I have changed passKey to:

      //passkey=1234(dec)->  HEX 0x000004D2 -> 0x00 0x00 0x04 0xD2 -> (little endian) 0xD2 0x04 0x00 0x00

      const UINT8 passKey[LESMP_MAX_KEY_SIZE] = {0xD2, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

       

      And i  tried to modify: lesmp_setSMPassKey((UINT8*)passKey, LESMP_MAX_KEY_SIZE); to lesmp_setSMPassKey((UINT8*)passKey, 4);

       

      That didn't work. Any help would be usefull.

       

      Best Regards