}
NOTICE(binder_interface, "Initialized %d/%d can bus device(s)", i, t);
}
NOTICE(binder_interface, "Initialized %d/%d can bus device(s)", i, t);
std::fread(&fd_conf_content[0], 1, fd_conf_content.size(), fd);
std::fclose(fd);
std::fread(&fd_conf_content[0], 1, fd_conf_content.size(), fd);
std::fclose(fd);
jo = json_tokener_parse(fd_conf_content.c_str());
if (jo == NULL || !json_object_object_get_ex(jo, "canbus", &canbus))
jo = json_tokener_parse(fd_conf_content.c_str());
if (jo == NULL || !json_object_object_get_ex(jo, "canbus", &canbus))
/********************************************************************************
*
* can_bus_dev_t method implementation
/********************************************************************************
*
* can_bus_dev_t method implementation
void can_bus_dev_t::start_reading(can_bus_t& can_bus)
{
DEBUG(binder_interface, "Launching reading thread");
void can_bus_dev_t::start_reading(can_bus_t& can_bus)
{
DEBUG(binder_interface, "Launching reading thread");
can_message_t can_message;
DEBUG(binder_interface, "Beginning of reading thread");
can_message_t can_message;
DEBUG(binder_interface, "Beginning of reading thread");