0
votes

Simple task to open wifi.conf with libconfig library ends with "Parse error at /tmp/wifi.conf:6 - syntax error"

The "problem" config line is just: WIFI_MODE=sta

Sources:

#include <libconfig.h++>

... cfg.readFile("/tmp/wifi.conf"); ...

What can be a problem?

1

1 Answers

0
votes

I found the issue: not quoted string data.