Enumeration of CME and CMS error codes?

is there a header file (or similar) anywhere that provides symbolic definitions (enum or #define) for all the +CME ERROR and +CMS ERROR codes?

I couldn’t seem to find one… :frowning:


On this topic, it would be nice if there was a perror() or strerr() equivalent that would take a return value and return a (vaguely) informative string associated with the return value…

ciao, Dave

It would also be useful to have the possible ERROR results documented for each AT Command.

I dare say it should be possible to extract this from the tables at the end of the AT Commands manual, but that would be laborious (not least because it’s a protected PDF) - and Wavecom must have the information anyhow…

Added this under the ‘Documentation’ section: