TheThingsNetwork / arduino-device-lib

Arduino Library for TTN Devices
MIT License
208 stars 96 forks source link

Node: Add getPayload #74

Closed FokkeZB closed 7 years ago

FokkeZB commented 7 years ago

Which should return a byte array with all data as small as possible.

FokkeZB commented 7 years ago

Not sure if this makes much sense to have in the lib instead of just providing an example. @johanstokking?

johanstokking commented 7 years ago

I think it's good to have it in the library, just to make it very easy. Also, consider using protobufs for this, that makes the example even stronger.

FokkeZB commented 7 years ago

I'll wait for @Nicolasdejean to #78 and do that then.