Any application including goose_publisher.h or sv_publisher.h from installed headers
(/usr/include/libiec61850) fail to build due to missing libiec61850_platform_includes.h
internal header.
libiec61850_platform_includes.h was removed from installed headers (API_HEADERS)
by commit [1].
[1] 7d22aba900
Reported-by: Jean-Baptiste FLAMANT <jean-baptiste.flamant@smile.fr>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
The commit 0d4930ac25 renamed the RCB values
from "testmodelSENSORS/LLN0.RP.events01" to "simpleIOGenericIO/LLN0.RP.EventsRCB01"
with other changes.
But since "testmodelSENSORS" doesn't exist on the server_example_basic_io
the program fail with:
Reading data set directory failed!
failed to read dataset
getRCBValues service error!
Revert all testmodelSENSORS related changes with the previous code.
Now we get the two report as expected:
received report for simpleIOGenericIO/LLN0.RP.EventsRCB with rptId Events1
report contains timestamp (1596190789): Fri Jul 31 12:19:49 2020
simpleIOGenericIO/GGIO1.SPCSO1.stVal[ST] (included for reason 16): false
simpleIOGenericIO/GGIO1.SPCSO2.stVal[ST] (included for reason 16): false
simpleIOGenericIO/GGIO1.SPCSO3.stVal[ST] (included for reason 16): false
simpleIOGenericIO/GGIO1.SPCSO4.stVal[ST] (included for reason 16): false
received report for simpleIOGenericIO/LLN0.RP.EventsRCB with rptId Events1
report contains timestamp (1596190790): Fri Jul 31 12:19:50 2020
simpleIOGenericIO/GGIO1.SPCSO1.stVal[ST] (included for reason 16): false
simpleIOGenericIO/GGIO1.SPCSO2.stVal[ST] (included for reason 16): false
simpleIOGenericIO/GGIO1.SPCSO3.stVal[ST] (included for reason 16): false
simpleIOGenericIO/GGIO1.SPCSO4.stVal[ST] (included for reason 16): false
Signed-off-by: Romain Naour <romain.naour@smile.fr>
POSIX says `struct timeval` is defined if <sys/time.h> is included.
Adding this header allow to build against musl-libc.
Signed-off-by: Romain Naour <romain.naour@smile.fr>
(cherry picked from v1.4 branch commit 661405eb60)
The manpage of poll(2) states that the prototype of poll is defined
in <poll.h>. Use that header file instead of <sys/poll.h> to allow
compilation against musl-libc.
Signed-off-by: Romain Naour <romain.naour@smile.fr>
(cherry picked from v1.4 branch commit 4cad505fc9)