![IDTECH Vivopay Neo 2 Скачать руководство пользователя страница 470](http://html.mh-extra.com/html/idtech/vivopay-neo-2/vivopay-neo-2_developers-manual_618786470.webp)
NEO 2 Interface Developer’s Guide
470
19.3.26.
Delete Directory (83-26)
This command deletes a directory. The directory must be empty for this command to succeed.
Command Frame
Byte 0-9
Byte 10
Byte 11
Byte 12
Byte 13
Bytes 14-
13+n
Byte 14+n
Byte 15+n
Header Tag &
Protocol
Version
Command
Sub-
Command
Data Length
(MSB)
Data Length
(LSB)
Data
CRC (LSB)
CRC (MSB)
ViVOtech2\0
83h
26h
00
Variable
Command Data
The data for this command is a zero-terminated ASCII string with the complete path and directory
name to delete. The command does not require the root directory to be specified. Indicate
subdirectories with a forward slash (
/
). The last directory in the string is deleted.
Response Frame
Byte 0-9
Byte 10
Byte 11
Byte 12
Byte 13
Bytes 14 –
13+n
Byte 14+n
Byte 15+n
Header Tag
& Protocol
Version
Command
Status Code
Data Length
(MSB)
Data Length
(LSB)
Extended
Status Code
CRC (MSB)
CRC (LSB)
ViVOtech2\0
83h
See
00h
00h or 04h
If the response status code is not Success (00h), this command may return a 4-byte extended status
code in the data portion of the response (see
Example:
•
Delete directory
dork
from the custom root directory:
TX:
56 69 56 4F 74 65 63 68 32 00 83 26 00 05 64 6F 72 6B 00 17 13
RX:
56 69 56 4F 74 65 63 68 32 00 83 00 00 00 22 03
19.3.27.
Get Light Sensor Value (83-50)
This command retrieves the light sensor detected value.
Command Frame
Byte 0-9
Byte 10
Byte 11
Byte 12
Byte 13
Byte 14
Byte 15
Header Tag &
Protocol
Version
Command
Sub-
Command
Data Length
(MSB)
Data Length
(LSB)
CRC (LSB)
CRC (MSB)
ViVOtech2\0
83h
50h
00h
00h