Get XDK Serial Number per Software
응답
16. 3. 30 오후 5:11
Hello,
is it possible, to get the XDK110 Serial number (or other individual device specivics) per XDK Software ?
Kind Regards
  Manfred

 
0 (0 투표)
Get XDK Serial Number per Software
응답
16. 3. 31 오후 5:16 as a reply to Manfred Holzapfel.
Holma,

There is a user page on the XDK that will give you some Unique IDs.  Unfortunately the current SDK has some bugs in it.  I have detailed in a previous thread how to fix the issues regarding the BLE MAC address.  You can use the information there to view the rest of the user page's header files to see what else is available.

Please see this thread for more information

https://xdk.bosch-connectivity.com/en/web/bcdscommunitygb/forum/-/category/ble-mac-address-is-random-and-doesn-t-follow-the-xdk-label/69139-t/69138#id69138
0 (0 투표)
Get XDK Serial Number per Software
응답
16. 3. 31 오후 7:38 as a reply to Christopher Koch.
Hi Holma,

Chris is right, you can get the serial number as well as other unique IDs through the user page that you find in:

SDK/xdk110/Common/config/UserPageConfig.h

Alternative you can try this:

void printSerialNumber(){

    unsigned int * serialStackAddress0 = 0xFE081F0;
    unsigned int * serialStackAddress1 = 0xFE081F4;

    unsigned int serialUnique0 = *serialStackAddress0;
    unsigned int serialUnique1 = *serialStackAddress1;
    printf("xdk serial number: 0x%08x%08x\n",serialUnique1,serialUnique0);
}


Please tell me, if this is what your looking for.

Best regards,
Manuel
+1 (1 투표)