Hi,
The patch is to decode error code when we meet non "OK" final result. To get the
error code, I have to search the CME, CMS, CEER string tables so it's really not good
from performance perspective. One use case is in modem emulator, it need to decode the
error and report to the emulator client. So we have to convert GAtResult to ofono_error
and send out by g_at_server_send_final() or ext_final().
If you have better way to handle that, please let me know.