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

Add ability to parse JSON from wifi shield #148

Open
andrewjaykeller opened this issue Jun 20, 2017 · 0 comments
Open

Add ability to parse JSON from wifi shield #148

andrewjaykeller opened this issue Jun 20, 2017 · 0 comments

Comments

@andrewjaykeller
Copy link

andrewjaykeller commented Jun 20, 2017

Add example at the very least

Data comes in over TCP like:

<Buffer 5b>
<Buffer 7b>
<Buffer 22 74>
<Buffer 69>
<Buffer 6d>
<Buffer 65>
<Buffer 73 74>
<Buffer 61 6d>
<Buffer 70>
<Buffer 22 3a>
<Buffer 31 2e 34 39 37 39 34 39 34 37 38 65>
<Buffer 31 35 2c>
<Buffer 22>
<Buffer 64 61>
<Buffer 74 61>
<Buffer 22 3a>
<Buffer 5b>
<Buffer 39 35>
<Buffer 2e 39 39 32 37 33 36 38 31 36 2c>
<Buffer 39 35 2e 39 39 32 37 34 34 34 34 36>
<Buffer 2c 39 35>
<Buffer 2e 39 39 32 37 34 34 34 34 36>
<Buffer 2c 39 35 2e 39 39 32 37 34 34 34 34 36 2c 39 35 2e 39 39 32 37 34 34 34 34 36 2c 39 35>

when toString():

95
.992881775
,1
.988980293,
1
.995078564
]
}]
}
{
"
c
h
u
nk
"
:
[{
"
t
i
m
e
s
t
a
m
p"
:2
.6924657
e
7,
"
d
a
t
a
"
:
[
95
.992881775,
95.992881775
,95
.992881775
,95
.992881775
,95.992881775
,
95
.992881775
,
1.988980293
,1
.995078564
]}
]
}
{"
ch
un
k"
:
[
{"
ti
m
e
s
t
a
m
p"
:
2.7121111
e
7,
"
da
ta
"
:
[95
.992881775,
95.992881775
,95
.992881775,
95
.992881775
,
95
.992881775
,
95.992881775
,1
.988980293
,
1
.995078564
]
}]}
{
"c
h
u
nk
"
:
[{
"t
im
e
s
t
a
mp
":
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