Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add array support #16

Open
lolyinseo opened this issue Oct 12, 2019 · 0 comments
Open

Please add array support #16

lolyinseo opened this issue Oct 12, 2019 · 0 comments

Comments

@lolyinseo
Copy link

lolyinseo commented Oct 12, 2019

For example Battery on some original GTR watchface looks like

4A 05
	- 4A _id(9), flags(2)
	- 05

08 90 02 10 2C
	08  -> _id(1), flag(0)
	90  -> offset 272
	02  -> ---'
	10  -> _id(2), flag(0)
	2C  -> lenght 44

{1A2A 085B 1206 08E10210AB02 1206 08D00210C102 1206 08BB0210D502 1206 08A20210E702 1206 08870210F402

what is expected:

{
	"Battery": {
		"Icons": {
		   "FirtsImageIndex": 91,
		   "Coordinates":
		   [    {
				"X": 353,
				"Y": 299
				},
				{
				"X": 336,
				"Y": 321
				},
				{
				"X": 315,
				"Y": 341
				},
				{
				"X": 290,
				"Y": 359
				},
				{
				"X": 263,
				"Y": 372
			    }
			]
		}
	}
}  

what we have now:

{
  "Battery": {
    "Icons": {
      "FirtsImageIndex": 91,
      "Coordinates": {
        "X": 263,
        "Y": 372
      }
    }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant