Skip to content

Commit

Permalink
Merge pull request #75 from jpmeijers/feature/network-name
Browse files Browse the repository at this point in the history
  • Loading branch information
timcooijmans authored Dec 27, 2023
2 parents 0245669 + f2a7985 commit e4a1d8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions forwarder/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
func setChaindataInFrameMetadata(frame *gw.UplinkFrame, gw *gateway.Gateway, airtime time.Duration) {
frame.RxInfo.Metadata = map[string]string{}
metadata := frame.RxInfo.Metadata
metadata["network"] = "thingsix"
metadata["thingsix_gateway_id"] = gw.ID().String()
metadata["thingsix_airtime_ms"] = fmt.Sprintf("%d", airtime.Milliseconds())

Expand Down

0 comments on commit e4a1d8b

Please sign in to comment.