izar-prios-smart-meter-collector icon indicating copy to clipboard operation
izar-prios-smart-meter-collector copied to clipboard

OMS version of IZAR RC I G4

Open modjo756 opened this issue 4 years ago • 2 comments

Hi, thanks a lot for your nice job on Izar water counter with PRIOS decoding. I would like to use wireless counter and following your work i have bought the same ST evaluation card. But for the counter i hesitate to take the version G4 that use the OMS protocol. From your post it seems that PRIOS just encode the payload (if i understand). Is the frame already respect the OMS protocol ? Regards,

modjo756 avatar May 26 '20 07:05 modjo756

If your meter is using a different payload protocol, then you can still reuse everything up until the PRIOS part:

https://github.com/ZeWaren/izar-prios-smart-meter-collector/blob/20bcd21d548c20bed90852b849944ea42da2c748/ST-STEVAL-FKI868V1/Src/S2LP_WMBus.c#L83

Instead of calling getMetricsFromPRIOSWMBusFrame, you'd call another function decoding another protocol.

The physical link and data link layers should work the same since it's wireless m-bus, and wmbus doesn't care what its payload is.

ZeWaren avatar May 26 '20 16:05 ZeWaren

Thanks for your answer. I will order the G4 model (OMS) and make a pullRequest when i will decode the payload if you want ?

modjo756 avatar May 26 '20 19:05 modjo756