Re: [Canfestival-devel] Making multiple nodes with one node.c and node.h

2018-11-17 Thread canfestival-devel
Many thanks for your response Yes , I want to use multiple ids in a program Actually my program connect to multiple bus and may their ids be different. I want for example make a class which handle a can opennode and use it in multiple project, Some of my project have about 70 node ids and making

Re: [Canfestival-devel] Making multiple nodes with one node.c and node.h

2018-11-17 Thread canfestival-devel
Hi, So you want to use the same co_data for multiple IDs inside one program? That is not possible without a loot of hacking the code. CanFestival uses a loot of global variables and hardcoded functions node.c files. Yes you can fix it, but you will need to change a loot. A simpler fix would be to