goToMain / libosdp

Implementation of IEC 60839-11-5 OSDP (Open Supervised Device Protocol); provides a C library with support for C++, Rust and Python3
https://libosdp.sidcha.dev
Apache License 2.0
138 stars 71 forks source link

Resolve PD address / offset inconsistencies globally #17

Closed sidcha closed 4 years ago

sidcha commented 4 years ago

Some places the PD is referred to with pd_info_t structure offsets. In others (when pd replies) pd address is sent as pd identifier.

For an application, the PD must always be identifiable with one integer.