Soletta Project is a framework for making IoT devices. With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.
Moved the functions from sol_lwm2m_common.h to sol_lwm2m_common.c, removing the static keyword.
Added 2 functions sol_lwm2m_common_init() and sol_lwm2m_common_shutdown() responsible for initializing the logging for the common functions, as suggested by @barbieri and discussed with @cabelitos. These 2 functions are called from sol-mainloop.c::sol_init().
Main changes from v1 (#2267):
sol_lwm2m_common.h
tosol_lwm2m_common.c
, removing thestatic
keyword.sol_lwm2m_common_init()
andsol_lwm2m_common_shutdown()
responsible for initializing the logging for the common functions, as suggested by @barbieri and discussed with @cabelitos. These 2 functions are called fromsol-mainloop.c::sol_init()
.Signed-off-by: Bruno Melo bsilva.melo@gmail.com