May 19, 2021 WeChat Mini Program Development Document
Base library 2.11.2 starts to be supported, and low versions need to be compatible.
Gets the NFC instance
NFC instance
Error code | The error message | Description |
---|---|---|
13000 | NFC is not supported by the device | |
13001 | The system NFC switch is not on | |
13010 | Unknown error | |
13019 | user is not authorized | The user is not authorized |
13011 | invalid parameter | The argument is not valid |
13012 | parse NdefMessage failed | Resolving the argument to NdefMessage failed |
13021 | NFC discovery already started | An NFC scan has been started |
13018 | NFC discovery has not started | Try to stop an NFC scan when it is not started |
13022 | Tech already connected | The label is already connected |
13023 | Tech has not connected | Try disconnecting when the label is not connected |
13013 | NFC tag has not been discovered | The NFC label was not scanned |
13014 | invalid tech | The label technology is not valid |
13015 | unavailable tech | Getting the corresponding technology from the label failed |
13024 | function not support | This feature is not supported by the current labeling technology |
13017 | system internal error | The relevant read and write operation failed |
13016 | connect fail | The connection failed |