id.h 636 B

123456789101112131415161718192021222324252627282930
  1. /**********************************************************************
  2. *id.h
  3. *
  4. ***********************************************************************/
  5. #ifndef __ID_H
  6. #define __ID_H
  7. //extern unsigned char g_aucSTM32ID[12];
  8. //void GetSTM32ID(unsigned char *pID);
  9. //void GetSTM32ID1(int index);
  10. //void CheckSTM32ID1(void);
  11. void GetSTM32ID(unsigned char *pID);
  12. unsigned char GetRandBySTM32ID(void);
  13. unsigned long GetASNBySTM32ID(void);
  14. unsigned long getAKeyByPSN(unsigned long PSN);
  15. void MakeNetMac(unsigned char *MAC);
  16. void testAKeyByPSN(void);
  17. #endif
  18. /**********************************************************************/