bluez5: backend-native: Add AT+CMEE support

Returns extended error report instead of just "ERROR" messages when
extended report has been activated by AT+CMEE=1 command.
This commit is contained in:
Frédéric Danis 2022-09-23 09:27:23 +02:00 committed by Wim Taymans
parent 43c4d95794
commit e9b82252f7
2 changed files with 37 additions and 8 deletions

View file

@ -27,6 +27,16 @@
#include "defs.h"
enum cmee_error {
CMEE_AG_FAILURE = 0,
CMEE_NO_CONNECTION_TO_PHONE = 1,
CMEE_OPERATION_NOT_ALLOWED = 3,
CMEE_OPERATION_NOT_SUPPORTED = 4,
CMEE_INVALID_CHARACTERS_TEXT_STRING = 25,
CMEE_INVALID_CHARACTERS_DIAL_STRING = 27,
CMEE_NO_NETWORK_SERVICE = 30
};
enum call_setup {
CIND_CALLSETUP_NONE = 0,
CIND_CALLSETUP_INCOMING,