
nlscan.com
Page 29
Software Interface
Host Initiated Commands
3.3. Sample Query Command
Here is a sample of query command for ESN:
Command Prefix Lens Data1 LRC
0x7E 0x00 0x00 0x05 0x33 0x48 0x30 0x32 0x30 0xB3
Where
Data1 = ‘3H020’
LRC = 0xFF xor 0x00 xor 0x05 xor 0x33 xor 0x48 xor 0x30 xor 0x32 xor 0x30 = 0xB3.
Engine Reply:
Reply Prefix Lens Data Type Data1
0x02 0x00 0x00 0x12 0x34 0x30 0x32 0x31 0x33
Data 1
0x53 0x57 0x30 0x35 0x38 0x33 0x38 0x33 0x4B 0x48
Data1 LRC
0x2D 0x35 0x36 0xF5
Where
Data1 = ‘0213SW058383KH-56’
The meaning of the reply is that the ESN is SW058383KH-56.
See Appendix A for more detail.
4. Image Upload
The image captured in EM3000 can be uploaded to Host. The image is gray scale of the size
of 752x480 pixels.
Image Upload Command:
Command Prefix Lens Data1 LRC
0x7E 0x00 0x00 0x03 Ratio 0x00 lrc
Where
Ratio = 0x00 for 1:1 upload, i.e. upload 752x480 pixels, lrc=0x80
0x01 for 1:4 upload, i.e., upload 376x240 pixels, lrc=0x81
0x02 for 1:16 upload, i.e. upload 188x120 pixels, lrc=0x82
Kommentare zu diesen Handbüchern