Skip to content

Commit

Permalink
mac empty & codec change
Browse files Browse the repository at this point in the history
  • Loading branch information
LDannijs committed Dec 8, 2023
1 parent 29682c7 commit aeaf825
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ echo "# Vendor profile ID, can be freely issued by the vendor. NOTE: The vendor
vendorProfileID: 1
# LoRaWAN MAC version: 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4 or 1.1
macVersion: '1.0.3'
macVersion: ''
# LoRaWAN Regional Parameters version. Values depend on the LoRaWAN version:
# 1.0: TS001-1.0
# 1.0.1: TS001-1.0.1
Expand Down Expand Up @@ -249,15 +249,7 @@ supportsClassC: false
echo "# Uplink decoder decodes binary data uplink into a JSON object (optional)
# For documentation on writing encoders and decoders, see: https://thethingsstack.io/integrations/payload-formatters/javascript/
uplinkDecoder:
fileName: $devicename.js
# Downlink encoder encodes JSON object into a binary data downlink (optional)
downlinkEncoder:
fileName: $devicename.js
# Downlink decoder decodes the encoded downlink message (optional, must be symmetric with downlinkEncoder)
downlinkDecoder:
fileName: $devicename.js" > $devicename-codec.yaml
fileName: $devicename.js> $devicename-codec.yaml
echo " // Please read here on how to implement the proper codec: https://www.thethingsindustries.com/docs/integrations/payload-formatters/javascript/" > $devicename.js
done
Expand Down

0 comments on commit aeaf825

Please sign in to comment.