See https://github.com/helium/erlang-lorawan/pull/27
See helium/erlang-lorawan#27