Posted in the B4J forum: https://www.b4x.com/android/forum/threads/wmsma-read-data-from-an-sma-sunny-boy-inverter-b4x-class.167690/