uro / teltonika-fm-parser

Teltonika fm xxxx protocol encoder and decoder
The Unlicense
68 stars 45 forks source link

[IoElement] Fix the error when it has no property #19

Open elementaire opened 1 year ago

elementaire commented 1 year ago
Q A
Branch? master
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License Public Domain

Calling the method IoElement::getProperties throws an error "$properties must not be accessed before initialization" when the device is configured to send no IOElement.

This PR fixes this.