42 bool userLogic,
int version,
bool chargeSumMode)
45 throw std::invalid_argument(
"Only version 0 or 1 are supported");
50 return createPayloadEncoder<UserLogicFormat, ChargeSumMode, 0>(solar2feelink);
52 return createPayloadEncoder<UserLogicFormat, SampleMode, 0>(solar2feelink);
56 return createPayloadEncoder<UserLogicFormat, ChargeSumMode, 1>(solar2feelink);
58 return createPayloadEncoder<UserLogicFormat, SampleMode, 1>(solar2feelink);
63 return createPayloadEncoder<BareFormat, ChargeSumMode, 0>(solar2feelink);
65 return createPayloadEncoder<BareFormat, SampleMode, 0>(solar2feelink);