Skip to content

Commit

Permalink
Revert "ns: Add LastBatteryPercentage to the ApplicationUplink me…
Browse files Browse the repository at this point in the history
…ssage"

This reverts commit c7e75f7.
  • Loading branch information
halimi committed Dec 18, 2024
1 parent c7e75f7 commit f035a81
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/networkserver/grpc_gsns.go
Original file line number Diff line number Diff line change
Expand Up @@ -1152,11 +1152,6 @@ func (ns *NetworkServer) handleDataUplink(ctx context.Context, up *ttnpb.UplinkM
ConsumedAirtime: up.ConsumedAirtime,
PacketErrorRate: mac.LossRate(stored.MacState, matched.phy),
NetworkIds: ns.networkIdentifiers(ctx),
LastBatteryPercentage: &ttnpb.LastBatteryPercentage{
FCnt: stored.MacState.LastDevStatusFCntUp,
Value: stored.BatteryPercentage,
ReceivedAt: stored.LastDevStatusReceivedAt,
},
},
},
})
Expand Down

0 comments on commit f035a81

Please sign in to comment.