Hello!
In file dlms.c function dlms_check Hdlc Address() save target address into setting->server Address.
But, target address converted to uint16_t, therefore hi address is lost and is Target() can't check it.
I find this closed issue: http://www.gurux.fi/node/15797
Hi,
Hi,
The meter's server address can be expressed in two bytes, but the AC6000 requires four bytes.
You can count it like this:
settings.serverAddress = cl_getServerAddress(1, 17, 4);
BR,
Mikko
Thank you very much for your
Thank you very much for your quick answer....I´ll try this.
Best regards
Hello!
Hello!
In file dlms.c function dlms_check Hdlc Address() save target address into setting->server Address.
But, target address converted to uint16_t, therefore hi address is lost and is Target() can't check it.
I find this closed issue: http://www.gurux.fi/node/15797
Hello fon Luck,
Hello fon Luck,
Please, create a new topic if you have a new question. It's impossible to keep track what was the original question.
I believe that you are right. I need to verify why this is cast to uint16_t. I'll get back to this as soon as I have more info.
BR,
Mikko