I'm following directions to add CustomCodec. However, the instructions to bind this to the GUI references how it's done for XDS. The example for XDS simply states:
"...
you will need to add your own gc.databind.registry.bind( function calls. There are a number of examples provided in javascript file.
..."
So, I do... but the even the example in the video simply reference two widgets, so both target and model are widgets.
What's the model name for my CustomCodec? What I really want to know is where the jsonObj ends up after target(jsonObj) is called. I assume it ends up where I bind it... hence where I'm stuck..
What I'm ultimately trying to do is simply display the Ascii output from the LaunchPad. Instead of Putty I just want the data displayed here. The reason is that we want to interleave Ascii encoded data with some other JSON data that is used by an existing GC application.
I see there's a console log. How is this displayed?
I see there's code to enable console output from customCodec_0.js: "gc.console.setCookie('CustomCodec',5);", but where should this be called from?
Is there a main() file with a reasonable init function?