[usbproxy] Re: Plugins question, data injection and filtering.

  • From: Po-Jung Chen <pojung.chen@xxxxxxxxxx>
  • To: "usbproxy@xxxxxxxxxxxxx" <usbproxy@xxxxxxxxxxxxx>
  • Date: Fri, 23 Oct 2015 19:56:09 +0000

I did change it but I still get the same error, so that did not fix it
unfortunately.

-----Original Message-----
From: usbproxy-bounce@xxxxxxxxxxxxx [mailto:usbproxy-bounce@xxxxxxxxxxxxx] On
Behalf Of Dominic Spill
Sent: Friday, October 23, 2015 12:47 PM
To: usbproxy@xxxxxxxxxxxxx
Subject: [usbproxy] Re: Plugins question, data injection and filtering.

On 22 October 2015 at 14:17, Po-Jung Chen <pojung.chen@xxxxxxxxxx> wrote:

So I’ve been analyzing the code and I have noticed that something in
Injector_UDP.cpp there might be a typo that doesn’t make it work?

Line 17 : std::string port_str = cfg->get("Injector_UDPHID::port");

Should it be “Injector_UDP” instead of UDPHID?

I think you may be right here. There are two injectors, one for UDP and one
for UDPHID. I'm not sure where it should be pulling the port from, but I would
guess it's in the base class.

Have you tried changing that line to see if it fixes your problem?

Dominic

Other related posts: