| b.liu | 68a94c9 | 2025-05-24 12:53:41 +0800 | [diff] [blame] | 1 | #include <stdio.h> |
| 2 | #include <stdlib.h> | ||||
| 3 | #include <unistd.h> | ||||
| 4 | #include <sys/time.h> | ||||
| 5 | #include <time.h> | ||||
| 6 | #include "lynq_chip_id.h" | ||||
| 7 | |||||
| 8 | int main() | ||||
| 9 | { | ||||
| 10 | char chip_id[128]={0}; | ||||
| 11 | int ret = 0; | ||||
| 12 | ret = lynq_get_chip_id(chip_id); | ||||
| 13 | if(!ret) | ||||
| 14 | { | ||||
| 15 | printf("chip_id:%s",chip_id); | ||||
| 16 | } | ||||
| 17 | else{ | ||||
| 18 | printf("get chip_id error"); | ||||
| 19 | } | ||||
| 20 | return 0; | ||||
| 21 | } | ||||
| 22 | |||||
| 23 | |||||
| 24 | |||||