MCPcopy Create free account
hub / github.com/brocaar/lorawan / Encode

Function Encode

applayer/fragmentation/encode.go:10–39  ·  view source on GitHub ↗

Encode encodes the given slice of bytes to fragments including forward error correction. This is based on the proposed FEC code from the Fragmented Data Block Transport over LoRaWAN recommendation.

(data []byte, fragmentSize, redundancy int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestEncodeFunction · 0.85

Calls 1

matrixLineFunction · 0.85

Tested by 1

TestEncodeFunction · 0.68