Increased buffer size. Fixed Kamstrup Test to work with both lists

This commit is contained in:
Roar Fredriksen 2017-10-25 23:54:22 +02:00
parent c8a74b2812
commit 72203a2b18
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
#include "WProgram.h"
#endif
#define DLMS_READER_BUFFER_SIZE 256
#define DLMS_READER_BUFFER_SIZE 512
#define DLMS_READER_MAX_ADDRESS_SIZE 5
class DlmsReader

View File

@ -79,7 +79,7 @@ void loop() {
Serial.print(": ");
// Only care for the ACtive Power Imported, which is found in the first list
if (list == (int)Kamstrup::List1)
if (list == (int)Kamstrup::List1 || list == (int)Kamstrup::List2)
{
String id = hanReader.getString((int)Kamstrup_List1::ListVersionIdentifier);
Serial.println(id);