Write the data to card.
commHandle: Communication serial port of handling, 0. deviceAddress: 0.
mode: 0(keyA+single card) 1(keyA+multi cards) 2(keyB+single card) 3(keyB+multi cards). blkIndex: block index.
blkNum: number of block.
key:6 bytes key, return 4 bytes of card number when read successful.
buffer: The data to be written, buffer is error code when read failed(Reference 4.2.56)
Onlysupport ZK8000sensor currently.