Functions and operations of the M1 Card e-Wallet

Source: Internet
Author: User

Any M1Data BlockIt can be operated using the e-Wallet function. Valid Commands include:Read/write increase/decrease recovery, The sending value segment has a fixed dataFormatYou can perform error detection, correction, and backup management. If you do not write an initial value in the specified format, you cannot perform command operations based on the e-Wallet function,

Sector structure

 

 

Storage Structure of e-wallet in data blocks

 

For example, if you set the initial wallet value to 0 xffffffff, the address is 0x01, and the data written to the data block of the M1 card is,

U8 defaultdata [16] = {0xff, 0xff, 0xff, 0xff, 0x00,0x00,0x00,0x00, 0xff, 0xff, 0xff, 0xff, 0x01, 0xfe, 0x01, 0xfe };

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.