Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Setting custom init string for plugin

Pages: [1]
Author Topic: Setting custom init string for plugin
ajohns1288
Member
Posts: 2
Post Setting custom init string for plugin
on: July 13, 2017 (GMT)

How can I reconfigure the adapter in my plugin? I want to change the headers and filters. Ideally I’d be able to dump the current settings, use mine, then reset back to default. I see I can lock it, and that the unlock function has a flag for re-init with the defaults, but no way to send AT commands except for possibly the sendCommandGetResponse(String header, String command).

ajohns1288
Member
Posts: 2
Post Re: Setting custom init string for plugin
on: July 14, 2017 (GMT)

I’m guessing that the send command function basically does the following:

Send(“Atsh”&header);
Send(command);
Send(“atsh”&DEFAULT_HEADER)

If this is the case, I should be able to put the config string into the command portion, however I haven’t had a chance to try it. Anyone else have any experience?

Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.047 seconds.

  Follow me on twitter