adl_atCmdCreate - undocumented return value


#1

Only 3 return values are documented for adl_atCmdCreate:

But I have just received an ADL_RET_ERR_UNKNOWN_HDL result (-3).

This is probably because I’ve sent the command to a port that has been closed by AT+WMFM - but that’s no excuse for issuing undocumented result codes!


#2

It looks like this can also happen if you specify a port > ADL_AT_OPEN_AT_VIRTUAL_BASE.


#3

So there should really be at least a “bad port” code - and preferably also a “port not available” code.