Make Parse take raw NFC UID and 1K image.
Drop zip/JSON from the root API. dump remains an adapter for the Android app format; inventory and an AMS wand both call Parse(uid, image).
This commit is contained in:
@@ -3,10 +3,9 @@ package bambunfc
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrInvalidDump = errors.New("invalid dump")
|
||||
ErrImageSize = errors.New("image size")
|
||||
ErrIncomplete = errors.New("incomplete tag")
|
||||
ErrNotBambu = errors.New("not bambu")
|
||||
ErrUID = errors.New("uid")
|
||||
ErrConflict = errors.New("tag conflict")
|
||||
ErrImageSize = errors.New("image size")
|
||||
ErrIncomplete = errors.New("incomplete tag")
|
||||
ErrNotBambu = errors.New("not bambu")
|
||||
ErrUID = errors.New("uid")
|
||||
ErrConflict = errors.New("tag conflict")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user