Question about drivers and connections

João Tomás13 days ago

Hi!

I added two drivers to a device thru connections, but on the trips page, I can only see one of them, even though they both appear on the general tab in different positions, for different timestamps, and I get the driver change. What might be the problem?
Btw, the tc_device_driver table is what allows drivers to appear on the reports of a device right?

Thanks in advance!

Anton Tananaev13 days ago

Does your device report driver id?

João Tomás13 days ago

Yes.

Anton Tananaev13 days ago

Then that's what determines driver inclusion in reports. It also needs to report it consistently or you have to copy the value over if it's reported only once.

João Tomás13 days ago

So what does connecting the driver to the device actually do? I enabled the copy attributes on the config, so the driver comes in every report correctly.

Anton Tananaev13 days ago

Linking makes it an allowed/authorized driver. You device still needs to report the id for it to work.

João Tomás13 days ago

But can I only have one driver per device?

Anton Tananaev13 days ago

At a single point of time? Yes.

João Tomás13 days ago

But there's no problem in linking multiple drivers to a single device, right? Sorry for insisting.

Anton Tananaev13 days ago

No, of course you can link as many as you want. That's not a problem.