File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,12 +48,12 @@ void UIDStore_Init() {
4848 // To support more than one responder per device, we set the lower 4 bits of
4949 // the UID to 0 so we have 16 responders per device. These means the complete
5050 // UID takes the form:
51- // MMMM:0AAAAAA0
51+ // MMMM:1AAAAAA0
5252 // Where M is the PLASA manufacturer ID and A are the values from the MAC
5353 // address.
5454 kUIDArray [0 ] = CFG_MANUFACTURER_ID >> 8 ;
5555 kUIDArray [1 ] = CFG_MANUFACTURER_ID & 0xff ;
56- kUIDArray [2 ] = ShiftRight (PLIB_ETH_StationAddressGet (ETH_ID_0 , 4 ));
56+ kUIDArray [2 ] = 0x10 + ShiftRight (PLIB_ETH_StationAddressGet (ETH_ID_0 , 4 ));
5757 kUIDArray [3 ] = ShiftLeft (PLIB_ETH_StationAddressGet (ETH_ID_0 , 4 )) +
5858 ShiftRight (PLIB_ETH_StationAddressGet (ETH_ID_0 , 5 ));
5959 kUIDArray [4 ] = ShiftLeft (PLIB_ETH_StationAddressGet (ETH_ID_0 , 5 )) +
You can’t perform that action at this time.
0 commit comments