Skip to content

Commit

Permalink
all: Add CS application ID to attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
KrishnaIyer committed Feb 28, 2024
1 parent 13fc1f8 commit 5e4223a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/source/chirpstack/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ func (p *Source) ExportDevice(devEui string) (*ttnpb.EndDevice, error) {
dev.Name = csdev.Name
dev.Description = csdev.Description
dev.Attributes["chirpstack-device-profile"] = csdev.DeviceProfileId
dev.Attributes["chirpstack-application-id"] = csdev.ApplicationId
for key, value := range devProfile.Tags {
dev.Attributes[key] = value
}
Expand Down

0 comments on commit 5e4223a

Please sign in to comment.