Hi, jumping in two years later, I just want to add that I think, C++ creating two BSEC library instances, as described in the previous post, might possibly not be the case. While the Github example indeed creates two instances of the C++ type Bsec, there is still only one instance of the BSEC C library. What actually happens in the Github example bsec.cpp, is the usual state switching (calling bsec_init, _update_subscriptions and _set_state), which was added in November 2019:
... View more