code: func (n *NetworkServerAPI) GetDeviceActivation(ctx context.Context, req *ns.GetDeviceActivationRequest) (*ns.GetDeviceActivationResponse, error) {
  	var devEUI lorawan.EUI64
  	copy(devEUI[:], req.DevEui)
  
  	ds, err := storage.GetDeviceSession(storage.RedisPool(), devEUI)
  	if err != nil {
  		return nil, errToRPCError(err)
  	}
  
  	return &ns.GetDeviceActivationResponse{
  		DeviceActivation: &ns.DeviceActivation{
  			DevEui:        ds.DevEUI[:],
  			DevAddr:       ds.DevAddr[:],
  			SNwkSIntKey:   ds.SNwkSIntKey[:],
  			FNwkSIntKey:   ds.FNwkSIntKey[:],
  			NwkSEncKey:    ds.NwkSEncKey[:],
  			FCntUp:        ds.FCntUp,
  			NFCntDown:     ds.NFCntDown,
  			AFCntDown:     ds.AFCntDown,
  			SkipFCntCheck: ds.SkipFCntValidation,
  		},
  	}, nil
  }
docs: // GetDeviceActivation returns the device activation details.