(b []byte)
| 903 | } |
| 904 | |
| 905 | func payloadHash(b []byte) uint64 { |
| 906 | h := fnv.New64a() |
| 907 | _, _ = h.Write(b) |
| 908 | return h.Sum64() |
| 909 | } |
| 910 | |
| 911 | func uplinkMessageFromProto(pb *ttnpb.UplinkMessage, phy *band.Band) *uplinkMessage { |
| 912 | drIdx, _, _ := phy.FindUplinkDataRate(pb.GetSettings().GetDataRate()) |
no test coverage detected