1
2
3
4
5
6
7
8
9
10
11
12
|
|
| const {funToModel} =require('./jiexiData')
|
|
| const data='67890050EE000000E50000008800000039000000E6000001F40000016D00000580000000460000003400000009000000F00000000000000000FFFFFFFF00000060000000E6000000020000000000000000000000001B'
| const hexData = data.toString('hex').toUpperCase();
| const buffer = Buffer.from(data, 'hex');
|
|
| const mode=funToModel(buffer)
| console.log(mode)
|
|