mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-19 01:36:49 +00:00
Increased buffer size. Fixed Kamstrup Test to work with both lists
This commit is contained in:
parent
c8a74b2812
commit
72203a2b18
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user