TheThingsNetwork / arduino-device-lib

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

Not correct bytes received #118

Closed n2jn closed 7 years ago

n2jn commented 7 years ago

When I send a byte of value 11 via the dashboard, I receive a byte of value 17 I get this ouput:

 Sending: mac tx uncnf 2 00
Airtime added: 0.06 s
Total airtime: 0.29 s
Successful transmission. Received 1 bytes
-- MESSAGE
Received 1 bytes on port 1: 17

I don't know if I am the only one with this ouput...

n2jn commented 7 years ago

And the port from the downlink isn't the same as the port from the uplink.

johanstokking commented 7 years ago

What you send from the dashboard is hex 0x11, which is 17 decimal so that's fine.

The uplink and downlink port are separate.