If you're using a control system that has RS-232 it probably also has IP control. If so, skip RS-232 at this point and move straight to IP.
Many of the 2017 Samsung models had IP control and apparently ALL 2018 Samsung models have IP control.
I think all the major control manufacturers now have the Samsung IP driver.
I've done my last two projects (totaling 14 Samsung TVs) with IP control and it's working well. I'm using URC Total Control and they did have a bug in the driver so the discrete Netflix command wasn't working, but this was corrected in an update a few weeks ago.
I think you'll find some additional discrete commands available with IP that aren't supported with IR. Discrete control of Art mode on the Frame TVs is one example and IP provides discrete commands for many of the streaming services which I don't think you can do with IR.