Merge pull request #23 from aequitas/dsmr5
Add DSMR5 option to protocol.
This commit is contained in:
		
						commit
						1dca6ab396
					
				| @ -23,6 +23,9 @@ def create_dsmr_protocol(dsmr_version, telegram_callback, loop=None): | ||||
|     elif dsmr_version == '4': | ||||
|         specification = telegram_specifications.V4 | ||||
|         serial_settings = SERIAL_SETTINGS_V4 | ||||
|     elif dsmr_version == '5': | ||||
|         specification = telegram_specifications.V5 | ||||
|         serial_settings = SERIAL_SETTINGS_V4 | ||||
|     else: | ||||
|         raise NotImplementedError("No telegram parser found for version: %s", | ||||
|                                   dsmr_version) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user