Scripting Language : Error Response

I make mistakes. Lots.

The scripting language documentation would be enhanced with a discussion on what is returned if there is an error in a command. For example, unknown function, syntax, or missing parameter.

2 Likes

Oh yes that is not documented. We actually have a note about returning error code so it is easier to decode from tethered devices.

This won’t happen right away however. We are busy completing all samples for all languages on all modules!! Plus there are new modules in the works still.

2 Likes

Another thing to document.

There is a system command that returns the model of a module. I assume that is what kind of module?

It returns a number. How to decode the number?

Useful for auto discovery.

Yes PID. You can read using system info

Everything you need is here

https://www.duelink.com/duelink.json

1 Like