Reading test File phypayload_test.go, from row 374, it looks that Packet is encrypted with AppSKey instead of NwkSEncKey as stated in the Lorawan Specification 1.1 (Page 25 / 26).
When Port is 0 and there are Mac Commands in payload, shouldn't be use NwkSEncKey instead of AppSKey? or am I missing something ?
Kalik1