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:
2026-08-23 15:27:11 -05:00
parent b38f7f643b
commit b67b37dc59
7 changed files with 110 additions and 169 deletions
+5 -6
View File
@@ -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")
)