diff --git a/README.rst b/README.rst index b960c04..9abba4a 100644 --- a/README.rst +++ b/README.rst @@ -53,6 +53,7 @@ into a dictionary. from dsmr_parser import telegram_specifications from dsmr_parser.parsers import TelegramParser + telegram_str = ( '/ISk5\2MT382-1000\r\n' '\r\n' @@ -77,12 +78,12 @@ into a dictionary. '0-1:24.4.0(1)\r\n' '!\r\n' ) + parser = TelegramParser(telegram_specifications.V3) telegram = parser.parse(telegram_str) print(telegram) # see 'Telegram object' docs below - Telegram object ---------------