On Demand Request Handler

16 views
Skip to first unread message

John Schmotzer

unread,
Aug 14, 2016, 5:03:16 PM8/14/16
to ope...@googlegroups.com
Has anyone been able to get the following link to compile on the firmware?


I'm getting a fair number of errors on that slide - looks like "collect_trouble_codes" is the json name for the command - but it isn't defined in the "my_handlers.cpp" section - I'm assuming I have to define it?


--
John W. Schmotzer

Kyle Kelly

unread,
Aug 15, 2016, 10:31:58 AM8/15/16
to OpenXC
I haven't done this specifically but yes, you have to define the command handler function collectTroubleCodes. I could be wrong, but I think in the documentation the function handleMyCommand should really be your collectTroubleCodes function. Maybe try renaming and see if that does anything for you.

Kyle

John Schmotzer

unread,
Aug 15, 2016, 11:21:34 AM8/15/16
to ope...@googlegroups.com

Yup that worked, thanks!


--
You received this message because you are subscribed to the Google Groups "OpenXC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openxc+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/openxc.
To view this discussion on the web visit https://groups.google.com/d/msgid/openxc/a72c0131-0def-42df-8a0d-27baf445de9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages