The -c argument just output the parcial decode to the output, not as a callback return value:
-c, --codewords print codewords extracted from barcode pattern\n\
Could be added to the backlog a new function that returns the digits that were successfully parsed from the datamatrix ?