aboutsummaryrefslogtreecommitdiff
path: root/obinsectd.c
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2019-05-02 15:13:09 +0200
committerBjørn Mork <bjorn@mork.no>2019-05-02 15:13:09 +0200
commit5931083c27e982bd90202d2ab88295d6e2a80cd9 (patch)
tree5059588b3f8920bb33362f13687af84c350cd3a8 /obinsectd.c
parent7dd70990e499fe7908a9ef5e97058fc7d2bdacad (diff)
wip
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'obinsectd.c')
-rw-r--r--obinsectd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/obinsectd.c b/obinsectd.c
index 8ee4475..d963dec 100644
--- a/obinsectd.c
+++ b/obinsectd.c
@@ -817,6 +817,7 @@ static json_object *cosem_new_obis(unsigned char *obis)
// guessing OBIS code if length is 6 and value is a.b.x.x.x.255 where a and b are 0 or 1
static bool is_obis(unsigned char *code)
{
+ return true;
if (buf[0] != 9 || buf[1] != 6 || buf[2] > 1 || buf[3] > 1 || buf[7] != 255)
return false;
return true;