Types

API core data types. More...

Data Structures

struct gos_buffer_t
Generic data buffer type. More...
struct gos_version_details_t

Typedefs

typedef void(* gos_handler_t ) (void *arg)
typedef void(* gos_network_handler_t ) (bool is_up)
typedef void(* gos_handler_noarg_t ) (void)
typedef int32_t gos_handle_t
typedef void(* gos_stream_event_handler_t ) ( gos_handle_t handle)
Data stream event handler prototype. More...

Enumerations

enum gos_app_type_t {
GOS_APP_TYPE_DAEMON = 0,
GOS_APP_TYPE_COMMAND = 1
}
Gecko OS application type. More...
enum gos_app_flag_t {
GOS_APP_FLAG_NONE = (0 << 0),
GOS_APP_FLAG_SLEEP_ON_EXIT = (1 << 1),
GOS_APP_FLAG_DISABLE_CMD_CONSOLE = (1 << 3)
}
Gecko OS application flags. More...
enum gos_app_priority_t {
GOS_APP_PRIORITY_HIGHEST = 0,
GOS_APP_PRIORITY_HIGH = 1,
GOS_APP_PRIORITY_MEDIUM = 2,
GOS_APP_PRIORITY_LOW = 3,
GOS_APP_PRIORITY_LOWEST = 4
}
Gecko OS application priority. More...
enum gos_result_t {
GOS_SUCCESS = 0,
GOS_RTOS_SUCCESS = 0,
GOS_TLS_SUCCESS = 0,
GOS_CMD_RESULT_SUCCESS = 0,
GOS_PENDING = 1,
GOS_TIMEOUT = 2,
GOS_TLS_TIMEOUT = 2,
GOS_PARTIAL_RESULTS = 3,
GOS_ERROR = 4,
GOS_BAD_ARG = 5,
GOS_BAD_OPTION = 6,
GOS_UNSUPPORTED = 7,
GOS_ERROR_OUT_OF_BUFFERS = 8,
GOS_ERROR_OUT_OF_HEAP = 9,
GOS_WIFI_INVALID_KEY = 1004,
GOS_WIFI_DOES_NOT_EXIST = 1005,
GOS_WIFI_NOT_AUTHENTICATED = 1006,
GOS_WIFI_NOT_KEYED = 1007,
GOS_WIFI_IOCTL_FAIL = 1008,
GOS_WIFI_BUFFER_UNAVAILABLE_TEMPORARY = 1009,
GOS_WIFI_BUFFER_UNAVAILABLE_PERMANENT = 1010,
GOS_WIFI_WPS_PBC_OVERLAP = 1011,
GOS_WIFI_CONNECTION_LOST = 1012,
GOS_WIFI_OUT_OF_EVENT_HANDLER_SPACE = 1013,
GOS_WIFI_SEMAPHORE_ERROR = 1014,
GOS_WIFI_FLOW_CONTROLLED = 1015,
GOS_WIFI_NO_CREDITS = 1016,
GOS_WIFI_NO_PACKET_TO_SEND = 1017,
GOS_WIFI_CORE_CLOCK_NOT_ENABLED = 1018,
GOS_WIFI_CORE_IN_RESET = 1019,
GOS_WIFI_UNSUPPORTED = 1020,
GOS_WIFI_BUS_WRITE_REGISTER_ERROR = 1021,
GOS_WIFI_SDIO_BUS_UP_FAIL = 1022,
GOS_WIFI_JOIN_IN_PROGRESS = 1023,
GOS_WIFI_NETWORK_NOT_FOUND = 1024,
GOS_WIFI_INVALID_JOIN_STATUS = 1025,
GOS_WIFI_UNKNOWN_INTERFACE = 1026,
GOS_WIFI_SDIO_RX_FAIL = 1027,
GOS_WIFI_HWTAG_MISMATCH = 1028,
GOS_WIFI_RX_BUFFER_ALLOC_FAIL = 1029,
GOS_WIFI_BUS_READ_REGISTER_ERROR = 1030,
GOS_WIFI_THREAD_CREATE_FAILED = 1031,
GOS_WIFI_QUEUE_ERROR = 1032,
GOS_WIFI_BUFFER_POINTER_MOVE_ERROR = 1033,
GOS_WIFI_BUFFER_SIZE_SET_ERROR = 1034,
GOS_WIFI_THREAD_STACK_NULL = 1035,
GOS_WIFI_THREAD_DELETE_FAIL = 1036,
GOS_WIFI_SLEEP_ERROR = 1037,
GOS_WIFI_BUFFER_ALLOC_FAIL = 1038,
GOS_WIFI_NO_PACKET_TO_RECEIVE = 1039,
GOS_WIFI_INTERFACE_NOT_UP = 1040,
GOS_WIFI_DELAY_TOO_LONG = 1041,
GOS_WIFI_INVALID_DUTY_CYCLE = 1042,
GOS_WIFI_PMK_WRONG_LENGTH = 1043,
GOS_WIFI_UNKNOWN_SECURITY_TYPE = 1044,
GOS_WIFI_WEP_NOT_ALLOWED = 1045,
GOS_WIFI_WPA_KEYLEN_BAD = 1046,
GOS_WIFI_FILTER_NOT_FOUND = 1047,
GOS_WIFI_SPI_ID_READ_FAIL = 1048,
GOS_WIFI_SPI_SIZE_MISMATCH = 1049,
GOS_WIFI_ADDRESS_ALREADY_REGISTERED = 1050,
GOS_WIFI_SDIO_RETRIES_EXCEEDED = 1051,
GOS_WIFI_NULL_PTR_ARG = 1052,
GOS_WIFI_THREAD_FINISH_FAIL = 1053,
GOS_WIFI_WAIT_ABORTED = 1054,
GOS_WIFI_QUEUE_MESSAGE_UNALIGNED = 1055,
GOS_WIFI_MUTEX_ERROR = 1056,
GOS_WIFI_FIRMWARE_DOWNLOAD_TIMEOUT = 1057,
GOS_WIFI_SECURE_LINK_MAC_KEY_ERROR = 1058,
GOS_WIFI_SECURE_LINK_EXCHANGE_FAILED = 1059,
GOS_WIFI_PLATFORM_INIT_ERROR = 1060,
GOS_WIFI_SDIO_HARDWARE_INIT_FAILED = 1061,
GOS_WIFI_SPI_HARDWARE_INIT_FAILED = 1062,
GOS_WIFI_SDIO_HOST_INIT_FAILED = 1063,
GOS_WIFI_INEO_CONFIG_REG_ID_INCORRECT = 1064,
GOS_WIFI_THREAD_INIT_FAILED = 1065,
GOS_WIFI_INEO_INIT_CHIP_FAILED = 1066,
GOS_WIFI_INEO_BOOTLOADER_FAILED = 1067,
GOS_WIFI_INEO_STARTUP_INIDICATION_MISSING = 1068,
GOS_WIFI_FIRMWARE_IMAGE_READ_ERROR = 1069,
GOS_WIFI_HOST_STATE_ERROR = 1070,
GOS_WIFI_ERROR_SETTING_FIRMWARE_SIZE = 1071,
GOS_WIFI_ERROR_SETTING_FIRMWARE_SIGNATURE = 1072,
GOS_WIFI_ERROR_SETTING_FIRMWARE_HASH = 1073,
GOS_WIFI_FIRMWARE_UPLOAD_FAILED = 1074,
GOS_WIFI_IRQ_ENABLE_FAILED = 1075,
GOS_WIFI_ACCESS_MODE_SET_FAILED = 1076,
GOS_WIFI_INEO_CONFIGURATION_FAILED = 1077,
GOS_WIFI_JOIN_REQUEST_FAILED = 1078,
GOS_WIFI_DISCONNNECT_REQUEST_FAILED = 1079,
GOS_WIFI_SOFT_AP_INVALID_AUTH_TYPE = 1080,
GOS_WIFI_SOFT_AP_START_REQUEST_FAILED = 1081,
GOS_WIFI_SOFT_AP_STOP_REQUEST_FAILED = 1082,
GOS_WIFI_POWER_SAVE_MODE_SET_FAILED = 1083,
GOS_WIFI_WAKEUP_PROCESS_FAILED = 1084,
GOS_WIFI_SECURE_LINK_MAC_GENERATION_FAILED = 1085,
GOS_WIFI_SECURE_LINK_MAC_NOT_BLANK = 1086,
GOS_WIFI_SECURE_LINK_KEY_RENEGOTIATION_ERROR = 1087,
GOS_WIFI_SECURE_LINK_NO_MEMORY_CRYPTOGRAPHY = 1088,
GOS_WIFI_CANNOT_POWERSAVE_WHILE_SOFTAP_UP = 1089,
GOS_WIFI_ERROR_REGULATORY_LIMITATIONS = 1090,
GOS_WIFI_JOIN_ERROR_STA_AFTER_SOFTAP_BUG = 1091,
GOS_WIFI_CANNOT_DISABLE_POWERSAVE_SOFTAP_UP = 1092,
GOS_WIFI_RETRY_EXCEEDED = 1093,
GOS_WIFI_TX_LIFETIME_EXCEEDED = 1094,
GOS_WIFI_WRONG_STATE = 1095,
GOS_WIFI_GPIO_DRIVE_WARNING = 1096,
GOS_TCPIP_INVALID_PACKET = 2008,
GOS_TCPIP_INVALID_SOCKET = 2009,
GOS_TCPIP_WAIT_ABORTED = 2010,
GOS_TCPIP_PORT_UNAVAILABLE = 2011,
GOS_TCPIP_IN_PROGRESS = 2012,
GOS_TCPIP_NULL_STREAM = 2013,
GOS_TCPIP_RX_ERROR = 2014,
GOS_TCPIP_TX_ERROR = 2015,
GOS_TCPIP_BAD_NEWLINE = 2016,
GOS_TCPIP_NULL_RX_PACKET = 2017,
GOS_TCPIP_PACKET_DATA_ERROR = 2019,
GOS_TCPIP_PACKET_BAD_END = 2020,
GOS_TCPIP_PACKET_BAD_START = 2021,
GOS_TCPIP_CONNECT_ERROR = 2022,
GOS_TCPIP_TLS_ERROR = 2023,
GOS_TCPIP_TRANSMIT_DISABLED = 2024,
GOS_TCPIP_BIND_ERROR = 2025,
GOS_TCPIP_HOST_NOTFOUND = 2026,
GOS_TCPIP_NULL_SOCKET = 2027,
GOS_TCPIP_HTTP_RESPONSE = 2028,
GOS_TCPIP_REMOTE_CLOSED = 2029,
GOS_TCPIP_PACKET_ALLOC_FAILED = 2030,
GOS_TCPIP_SOCKET_CLOSE_FAILED = 2031,
GOS_TCPIP_SOCKET_OPEN_FAILED = 2032,
GOS_TCPIP_HW_ADDR_RESOLVE_FAILED = 2033,
GOS_BADARG = 7005,
GOS_INVALID_ARG = 7005,
GOS_BADOPTION = 7006,
GOS_OUT_OF_HEAP_SPACE = 7008,
GOS_NOTUP = 7009,
GOS_UNFINISHED = 7010,
GOS_UNIMPLEMENTED = 7010,
GOS_CONNECTION_LOST = 7011,
GOS_NOT_FOUND = 7012,
GOS_PACKET_BUFFER_CORRUPT = 7013,
GOS_ROUTING_ERROR = 7014,
GOS_BADVALUE = 7015,
GOS_WOULD_BLOCK = 7016,
GOS_ABORTED = 7017,
GOS_CONNECTION_RESET = 7018,
GOS_CONNECTION_CLOSED = 7019,
GOS_NOT_CONNECTED = 7020,
GOS_ADDRESS_IN_USE = 7021,
GOS_NETWORK_INTERFACE_ERROR = 7022,
GOS_ALREADY_CONNECTED = 7023,
GOS_INVALID_INTERFACE = 7024,
GOS_SOCKET_CREATE_FAIL = 7025,
GOS_INVALID_SOCKET = 7026,
GOS_CORRUPT_PACKET_BUFFER = 7027,
GOS_UNKNOWN_NETWORK_STACK_ERROR = 7028,
GOS_NO_STORED_AP_IN_DCT = 7029,
GOS_STA_JOIN_FAILED = 7030,
GOS_INVALID_HANDLE = 7031,
GOS_NO_MEM = 7032,
GOS_BAD_MEM_ALIGN = 7033,
GOS_NO_ROOM = 7034,
GOS_MEM_INVALID = 7035,
GOS_MEM_INIT_ERR = 7036,
GOS_MEM_READ_ERR = 7037,
GOS_MEM_WRITE_ERR = 7038,
GOS_MEM_ERASE_ERR = 7039,
GOS_INVALID_CHECKSUM = 7040,
GOS_NO_IP = 7041,
GOS_DECRYPT_ERR = 7042,
GOS_IN_USE = 7043,
GOS_NO_CHANGE = 7044,
GOS_SERVER_ERROR = 7045,
GOS_CONNECTION_ESTABLISHED = 7046,
GOS_BAD_CHUNK_HEADER = 7047,
GOS_BAD_OFFSET = 7048,
GOS_HTTP_READ_ERROR = 7049,
GOS_NON_CHUNKED_ENCODING = 7050,
GOS_BUFFER_OVERFLOW = 7051,
GOS_HTTP_HEADER_NEWLINE = 7052,
GOS_HTTP_HEADER_NO_VERSION = 7053,
GOS_HTTP_HEADER_VERSION = 7054,
GOS_HTTP_CODE = 7055,
GOS_HTTP_HEADER_ERROR = 7056,
GOS_MUTEX_FAILED = 7057,
GOS_COMMAND_FAILED = 7058,
GOS_OVERFLOW = 7059,
GOS_BAD_CHECKSUM = 7060,
GOS_NULL_PTR = 7061,
GOS_UNINITIALIZED = 7062,
GOS_READ_COMPLETE = 7063,
GOS_NEVER_SET = 7064,
GOS_BAD_EVENT_PERIOD = 7065,
GOS_DUPLICATE_EVENT = 7066,
GOS_SHUTTING_DOWN = 7067,
GOS_SFLASH_WRITE_ERROR = 7068,
GOS_SFLASH_WRITE_NOT_ENABLED = 7069,
GOS_INVALID_HEADER = 7070,
GOS_INTERNAL_FLASH_NOT_ERASED = 7071,
GOS_INTERNAL_FLASH_BAD_ADDR = 7072,
GOS_LOCKED = 7073,
GOS_HEAP_TRUNCATE_ERROR = 7074,
GOS_LOAD_FAILED = 7075,
GOS_NETWORK_NOT_DOWN = 7076,
GOS_NOT_ALLOWED = 7078,
GOS_BASE64_ENCODE_ERROR = 7079,
GOS_UNDERFLOW = 7080,
GOS_HTTP_UNAUTHORIZED = 7081,
GOS_HTTP_SERVER_ERROR = 7082,
GOS_HTTP_NOT_FOUND = 7083,
GOS_HTTP_BAD_REQUEST = 7084,
GOS_NO_SSID = 7085,
GOS_NO_PASSKEY = 7086,
GOS_TRANSMIT_FAILED = 7087,
GOS_WAIT_ABORTED = 7088,
GOS_BASE64_DECODE_ERROR = 7089,
GOS_I2C_TX_NACK = 7090,
GOS_I2C_RX_NACK = 7091,
GOS_FLASH_TIMEOUT = 7092,
GOS_FLASH_LOCKED = 7093,
GOS_FLASH_WRITE_ERROR = 7094,
GOS_FLASH_ERASE_ERROR = 7095,
GOS_FLASH_ERROR = 7096,
GOS_NESTED_COMMAND = 7097,
GOS_LOG_FILE_OVERFLOW = 7098,
GOS_UNTERMINATED_CRITICAL_SECTION = 7099,
GOS_I2C_BUS_ERROR = 7100,
GOS_ZERO_LENGTH_BUFFER = 7101,
GOS_INTERFACE_NOT_INIT = 7102,
GOS_BUFFER_UNDERFLOW = 7103,
GOS_DUPLICATE = 7104,
GOS_ID_INUSE = 7105,
GOS_BAD_STATE = 7106,
GOS_PARSE_ERROR = 7107,
GOS_WRONG_STATE = 7108,
GOS_CRYPTO_ERROR = 7109,
GOS_UNALIGNED_ADDRESS = 7110,
GOS_MISSING_CMD_RESPONSE = 7111,
GOS_FILE_CORRUPT = 7112,
GOS_FILE_BAD_TYPE = 7113,
GOS_FILE_BAD_FLAGS = 7114,
GOS_FILE_BAD_FILENAME = 7115,
GOS_FILE_BAD_SIZE = 7116,
GOS_FILE_BAD_OWNER = 7117,
GOS_FILE_BAD_LOCATION = 7118,
GOS_FILE_INVALID_CHECKSUM = 7119,
GOS_FILE_INVALID_MAC = 7120,
GOS_FILE_OWNED_BY_KERNEL = 7121,
GOS_FILE_NO_PERMISSION = 7122,
GOS_FILE_WRITE_ONLY = 7123,
GOS_FILE_READ_ONLY = 7124,
GOS_FILE_INVALID = 7125,
GOS_NVM_CORRUPTION = 7126,
GOS_NVM_WRITE_ERROR = 7127,
GOS_NVM_READ_ERROR = 7128,
GOS_DMS_BAD_RESPONSE = 7129,
GOS_TCPIP_TX_NOT_ENABLED = 7130,
GOS_DEVICE_CERT_UUID_INVALID = 7131,
GOS_DEBUG_INTERFACE_LOCKED = 7132,
GOS_TOKEN_UNAUTHORIZED = 7133,
GOS_CORRUPT_CONTEXT = 7134,
GOS_COULD_NOT_SUBSCRIBE = 7135,
GOS_COULD_NOT_UNSUBSCRIBE = 7136,
GOS_COULD_NOT_PUBLISH = 7137,
GOS_UNAVAILABLE = 7138,
GOS_NO_IP_METHOD_ENABLED = 7139,
GOS_INVALID_DEVICE_CERT = 7140,
GOS_NO_RESOURCES_AVAILABLE = 7141,
GOS_MISSING_FIELD = 7142,
GOS_NOT_ALLOWED_FROM_THREAD = 7143,
GOS_HTTP_METHOD_NOT_ALLOWED = 7144,
GOS_SPI_LOCK_DEADLOCK = 7145,
GOS_NOT_DMS_PROVISIONED = 7146,
GOS_DMS_PROVISIONING_FAILED = 7147,
GOS_CMD_RESULT_CODES_START = 7300,
GOS_CMD_RESULT_FAILED = 7301,
GOS_CMD_RESULT_PARSE_ERROR = 7302,
GOS_CMD_RESULT_UNKNOWN = 7303,
GOS_CMD_RESULT_TOO_FEW_ARGS = 7304,
GOS_CMD_RESULT_TOO_MANY_ARGS = 7305,
GOS_CMD_RESULT_UNKNOWN_OPTION = 7306,
GOS_CMD_RESULT_BAD_ARGS = 7307,
GOS_CMD_RESULT_BUFFER_OVERFLOW = 7308,
GOS_CMD_RESULT_BOUNDS_ERROR = 7309,
GOS_CMD_RESULT_CODES_END = 7309,
GOS_DFU_INVALID_DEVICE_CREDENTIALS = 7408,
GOS_DFU_INVALID_SIGNATURE = 7409,
GOS_DFU_NO_DEVICE_CERTIFICATE = 7410,
GOS_DFU_INVALID_DMS_PRODUCT_AUTH_SIGNATURE = 7411,
GOS_DFU_INVALID_KERNEL_AUTH_SIGNATURE = 7412,
GOS_DFU_INVALID_PLUGINS_AUTH_SIGNATURE = 7413,
GOS_DFU_INVALID_FILE = 7414,
GOS_DFU_SIGNING_ERROR = 7415,
GOS_DFU_DEVICE_PRIVATE_KEY_INVALID = 7416,
GOS_DFU_DMS_CA_PARSE_VALID = 7417,
GOS_DFU_PACKAGE_FILE_WRITE_ERROR = 7418,
GOS_DFU_PACKAGE_FILE_READ_ERROR = 7419,
GOS_DFU_PACKAGE_FILE_ERASE_ERROR = 7420,
GOS_DFU_PACKAGE_FILE_WRITE_CRC_ERROR = 7421,
GOS_DFU_UPDATE_FILE_CRC_ERROR = 7422,
GOS_DFU_HASH_CALCULATION_ERROR = 7423,
GOS_DFU_DEVICE_CREDS_MISSING_REQUIRED_ENTRY = 7424,
GOS_DFU_DMS_SERVER_CERT_INVALID = 7425,
GOS_DFU_DMS_DEVICE_CERT_INVALID = 7426,
GOS_DFU_DMS_DEVICE_KEY_INVALID = 7427,
GOS_DFU_DMS_DEVICE_CERT_CN_INVALID = 7428,
GOS_DFU_BUNDLE_VERSION_INVALID = 7430,
GOS_DFU_PACKAGE_PROCESSING_COMPLETE = 7431,
GOS_DFU_INVALID_KERNEL_HEADER = 7432,
GOS_DFU_DFU_COUNTER_EXCEEDED = 7433,
GOS_DFU_MALFORMED_DER_CERT_CHAIN = 7434,
GOS_DFU_PRODUCT_KEY_SIG_INVALID = 7435,
GOS_DFU_PRODUCT_AES_KEY_INVALID = 7436,
GOS_DFU_PRODUCT_AES_KEY_MISSING = 7437,
GOS_DFU_PACKAGE_CODES_START = 7450,
GOS_DFU_MALFORMED_PACKAGE = 7450,
GOS_DFU_INVALID_PACKAGE_SIGNATURE = 7451,
GOS_DFU_INVALID_PACKAGE_CRC = 7452,
GOS_DFU_MALFORMED_PACKAGE_MANIFEST = 7453,
GOS_DFU_IS_PRODUCTION_DEVICE = 7454,
GOS_DFU_IS_DEVELOPMENT_DEVICE = 7455,
GOS_DFU_PACKAGE_VERSION_NOT_ALLOWED = 7456,
GOS_DFU_PACKAGE_PRODUCT_NOT_ALLOWED = 7457,
GOS_DFU_PACKAGE_INTERFACE_NOT_ALLOWED = 7458,
GOS_DFU_PACKAGE_UUID_NOT_ALLOWED = 7459,
GOS_DFU_BULK_FS_NOT_ENABLED = 7460,
GOS_DFU_BULK_FS_INIT_FAILED = 7461,
GOS_DFU_NO_ROOM = 7462,
GOS_DFU_NO_MULTI_PASS_UPDATES = 7463,
GOS_DFU_PACKAGE_DATA_OVERFLOW = 7464,
GOS_DFU_PACKAGE_HEADER_INVALID = 7465,
GOS_DFU_PACKAGE_INVALID_PRODUCT_AES_KEY = 7466,
GOS_DFU_PACKAGE_BAD_FILE_ATTRIBUTE = 7467,
GOS_DFU_PACKAGE_CODES_END = 7470,
GOS_RTOS_MUTEX_ERROR = 7501,
GOS_RTOS_QUEUE_ERROR = 7502,
GOS_RTOS_TIMER_ERROR = 7503,
GOS_RTOS_FLAGS_ERROR = 7504,
GOS_RTOS_THREAD_ERROR = 7505,
GOS_RTOS_SEMAPHORE_ERROR = 7506,
GOS_RTOS_MUTEX_INVALID = 7507,
GOS_RTOS_QUEUE_INVALID = 7508,
GOS_RTOS_TIMER_INVALID = 7509,
GOS_RTOS_FLAGS_INVALID = 7510,
GOS_RTOS_THREAD_INVALID = 7511,
GOS_RTOS_SEMAPHORE_INVALID = 7512,
GOS_RTOS_THREAD_CREATE_FAILED = 7513,
GOS_RTOS_THREAD_DELETE_FAILED = 7514,
GOS_RTOS_THREAD_SLEEP_FAILED = 7515,
GOS_RTOS_NOT_ALLOWED_FROM_IRQ = 7516,
GOS_RTOS_NOT_ALLOWED_WITH_INT_DISABLED = 7517,
GOS_TLS_RECEIVE_FAILED = 7601,
GOS_TLS_ERROR = 7602,
GOS_TLS_ERROR_OUT_OF_MEMORY = 7603,
GOS_TLS_ERROR_FEATURE_UNAVAILABLE = 7604,
GOS_TLS_ERROR_BAD_INPUT_DATA = 7605,
GOS_TLS_ERROR_INVALID_MAC = 7606,
GOS_TLS_ERROR_INVALID_RECORD = 7607,
GOS_TLS_ERROR_UNKNOWN_CIPHER = 7609,
GOS_TLS_ERROR_NO_CIPHER_CHOSEN = 7610,
GOS_TLS_ERROR_NO_CLIENT_CERTIFICATE = 7612,
GOS_TLS_ERROR_CERTIFICATE_TOO_LARGE = 7613,
GOS_TLS_ERROR_CERTIFICATE_REQUIRED = 7614,
GOS_TLS_ERROR_PRIVATE_KEY_REQUIRED = 7615,
GOS_TLS_ERROR_CA_CHAIN_REQUIRED = 7616,
GOS_TLS_ERROR_UNEXPECTED_MESSAGE = 7617,
GOS_TLS_ERROR_FATAL_ALERT_MESSAGE = 7618,
GOS_TLS_ERROR_PEER_VERIFY_FAILED = 7619,
GOS_TLS_ERROR_PEER_CLOSE_NOTIFY = 7620,
GOS_TLS_ERROR_BAD_HS_CLIENT_HELLO = 7621,
GOS_TLS_ERROR_BAD_HS_SERVER_HELLO = 7622,
GOS_TLS_ERROR_BAD_HS_CERTIFICATE = 7623,
GOS_TLS_ERROR_BAD_HS_CERTIFICATE_REQUEST = 7624,
GOS_TLS_ERROR_BAD_HS_SERVER_KEY_EXCHANGE = 7625,
GOS_TLS_ERROR_BAD_HS_SERVER_HELLO_DONE = 7626,
GOS_TLS_ERROR_BAD_HS_CLIENT_KEY_EXCHANGE = 7627,
GOS_TLS_ERROR_BAD_HS_CERTIFICATE_VERIFY = 7628,
GOS_TLS_ERROR_BAD_HS_CHANGE_CIPHER_SPEC = 7629,
GOS_TLS_ERROR_BAD_HS_FINISHED = 7630,
GOS_TLS_HANDSHAKE_TIMEOUT = 7631,
GOS_TLS_HANDSHAKE_ERROR = 7632,
GOS_TLS_CERT_UNKNOWN_OID = 7633,
GOS_TLS_CERT_INVALID_FORMAT = 7634,
GOS_TLS_CERT_INVALID_VERSION = 7635,
GOS_TLS_CERT_INVALID_SERIAL = 7636,
GOS_TLS_CERT_INVALID_ALG = 7637,
GOS_TLS_CERT_INVALID_NAME = 7638,
GOS_TLS_CERT_INVALID_DATE = 7639,
GOS_TLS_CERT_INVALID_SIGNATURE = 7640,
GOS_TLS_CERT_INVALID_EXTENSIONS = 7641,
GOS_TLS_CERT_UNKNOWN_VERSION = 7642,
GOS_TLS_CERT_UNKNOWN_SIG_ALG = 7643,
GOS_TLS_CERT_VERIFY_FAILED = 7644,
GOS_TLS_CERT_UNKNOWN_FORMAT = 7645,
GOS_TLS_CERT_ERROR = 7646,
GOS_TLS_CERT_DATE_IN_FUTRUE = 7647,
GOS_TLS_CERT_DATE_EXPIRED = 7648,
GOS_TLS_CERT_REVOKED = 7649,
GOS_TLS_CERT_CN_MISMATCH = 7650,
GOS_TLS_CERT_KEY_USAGE = 7651,
GOS_TLS_CERT_NOT_TRUSTED = 7652,
GOS_TLS_ENCRYPTION_FAILED = 7653,
GOS_TLS_MALFORMED_DER_CERT_CHAIN = 7654
}
Result codes for API calls. More...

Detailed Description

API core data types.

Typedef Documentation

â—† gos_handle_t

â—† gos_handler_noarg_t

typedef void(* gos_handler_noarg_t) (void)

Event handler/callback with no arguments

â—† gos_handler_t

typedef void(* gos_handler_t) (void *arg)

Event handler/callback

Parameters
arg Argument supplied to registering API
Examples:
hurricane/gps/main.c , hurricane/security_camera/sensor.c , network/uart_tcp_client/main.c , and utility/profiler/main.c .

â—† gos_network_handler_t

typedef void(* gos_network_handler_t) (bool is_up)

Network event handler/callback

Parameters
is_up indicates network up/down
Examples:
wifi/web_setup/main.c .

â—† gos_stream_event_handler_t

typedef void(* gos_stream_event_handler_t) ( gos_handle_t handle)

Data stream event handler prototype.

Parameters
handle The handle of the data stream

Enumeration Type Documentation

â—† gos_app_flag_t

Gecko OS application flags.

Enumerator
GOS_APP_FLAG_NONE

No flags, Gecko OS will reboot on app exit.

GOS_APP_FLAG_SLEEP_ON_EXIT

Gecko OS will sleep on app exit.

GOS_APP_FLAG_DISABLE_CMD_CONSOLE

Disable the Gecko OS serial command console.

â—† gos_app_priority_t

Gecko OS application priority.

Enumerator
GOS_APP_PRIORITY_HIGHEST

GOS_PRIORITY_HIGHEST.

GOS_APP_PRIORITY_HIGH

GOS_PRIORITY_HIGH.

GOS_APP_PRIORITY_MEDIUM

GOS_PRIORITY_MEDIUM.

GOS_APP_PRIORITY_LOW

GOS_PRIORITY_LOW.

GOS_APP_PRIORITY_LOWEST

GOS_PRIORITY_LOWEST.

â—† gos_app_type_t

Gecko OS application type.

Enumerator
GOS_APP_TYPE_DAEMON

Application runs as a background process.

GOS_APP_TYPE_COMMAND

Application only registers additional commands.

â—† gos_result_t

Result codes for API calls.

Enumerator
GOS_SUCCESS

0 : GOS_SUCCESS

GOS_RTOS_SUCCESS

0 : Success

GOS_TLS_SUCCESS

0 : GOS_TLS_SUCCESS

GOS_CMD_RESULT_SUCCESS

0 : GOS_CMD_RESULT_SUCCESS

GOS_PENDING

1 : GOS_PENDING

GOS_TIMEOUT

2 : GOS_TIMEOUT

GOS_TLS_TIMEOUT

2 : GOS_TLS_TIMEOUT

GOS_PARTIAL_RESULTS

3 : GOS_PARTIAL_RESULTS

GOS_ERROR

4 : GOS_ERROR

GOS_BAD_ARG

5 : GOS_BAD_ARG

GOS_BAD_OPTION

6 : GOS_BAD_OPTION

GOS_UNSUPPORTED

7 : GOS_UNSUPPORTED

GOS_ERROR_OUT_OF_BUFFERS

8 : GOS_ERROR_OUT_OF_BUFFERS

GOS_ERROR_OUT_OF_HEAP

9 : GOS_ERROR_OUT_OF_HEAP

GOS_WIFI_INVALID_KEY

1004 : Invalid key

GOS_WIFI_DOES_NOT_EXIST

1005 : Does not exist

GOS_WIFI_NOT_AUTHENTICATED

1006 : Not authenticated

GOS_WIFI_NOT_KEYED

1007 : Not keyed

GOS_WIFI_IOCTL_FAIL

1008 : IOCTL fail

GOS_WIFI_BUFFER_UNAVAILABLE_TEMPORARY

1009 : Buffer unavailable temporarily

GOS_WIFI_BUFFER_UNAVAILABLE_PERMANENT

1010 : Buffer unavailable permanently

GOS_WIFI_WPS_PBC_OVERLAP

1011 : WPS PBC overlap

GOS_WIFI_CONNECTION_LOST

1012 : Connection lost

GOS_WIFI_OUT_OF_EVENT_HANDLER_SPACE

1013 : Cannot add extra event handler

GOS_WIFI_SEMAPHORE_ERROR

1014 : Error manipulating a semaphore

GOS_WIFI_FLOW_CONTROLLED

1015 : Packet retrieval cancelled due to flow control

GOS_WIFI_NO_CREDITS

1016 : Packet retrieval cancelled due to lack of bus credits

GOS_WIFI_NO_PACKET_TO_SEND

1017 : Packet retrieval cancelled due to no pending packets

GOS_WIFI_CORE_CLOCK_NOT_ENABLED

1018 : Core disabled due to no clock

GOS_WIFI_CORE_IN_RESET

1019 : Core disabled - in reset

GOS_WIFI_UNSUPPORTED

1020 : Unsupported function

GOS_WIFI_BUS_WRITE_REGISTER_ERROR

1021 : Error writing to WLAN register

GOS_WIFI_SDIO_BUS_UP_FAIL

1022 : SDIO bus failed to come up

GOS_WIFI_JOIN_IN_PROGRESS

1023 : Join not finished yet

GOS_WIFI_NETWORK_NOT_FOUND

1024 : Specified network was not found

GOS_WIFI_INVALID_JOIN_STATUS

1025 : Join status error

GOS_WIFI_UNKNOWN_INTERFACE

1026 : Unknown interface specified

GOS_WIFI_SDIO_RX_FAIL

1027 : Error during SDIO receive

GOS_WIFI_HWTAG_MISMATCH

1028 : Hardware tag header corrupt

GOS_WIFI_RX_BUFFER_ALLOC_FAIL

1029 : Failed to allocate a buffer to receive into

GOS_WIFI_BUS_READ_REGISTER_ERROR

1030 : Error reading a bus hardware register

GOS_WIFI_THREAD_CREATE_FAILED

1031 : Failed to create a new thread

GOS_WIFI_QUEUE_ERROR

1032 : Error manipulating a queue

GOS_WIFI_BUFFER_POINTER_MOVE_ERROR

1033 : Error moving the current pointer of a packet buffer

GOS_WIFI_BUFFER_SIZE_SET_ERROR

1034 : Error setting size of packet buffer

GOS_WIFI_THREAD_STACK_NULL

1035 : Null stack pointer passed when non null was reqired

GOS_WIFI_THREAD_DELETE_FAIL

1036 : Error deleting a thread

GOS_WIFI_SLEEP_ERROR

1037 : Error sleeping a thread

GOS_WIFI_BUFFER_ALLOC_FAIL

1038 : Failed to allocate a packet buffer

GOS_WIFI_NO_PACKET_TO_RECEIVE

1039 : No Packets waiting to be received

GOS_WIFI_INTERFACE_NOT_UP

1040 : Requested interface is not active

GOS_WIFI_DELAY_TOO_LONG

1041 : Requested delay is too long

GOS_WIFI_INVALID_DUTY_CYCLE

1042 : Duty cycle is outside limit 0 to 0

GOS_WIFI_PMK_WRONG_LENGTH

1043 : Returned pmk was the wrong length

GOS_WIFI_UNKNOWN_SECURITY_TYPE

1044 : AP security type was unknown

GOS_WIFI_WEP_NOT_ALLOWED

1045 : AP not allowed to use WEP - it is not secure - use Open instead

GOS_WIFI_WPA_KEYLEN_BAD

1046 : WPA / WPA2 key length must be between 8 & 64 bytes

GOS_WIFI_FILTER_NOT_FOUND

1047 : Specified filter id not found

GOS_WIFI_SPI_ID_READ_FAIL

1048 : Failed to read 0xfeedbead SPI id from chip

GOS_WIFI_SPI_SIZE_MISMATCH

1049 : Mismatch in sizes between SPI header and SDPCM header

GOS_WIFI_ADDRESS_ALREADY_REGISTERED

1050 : Attempt to register a multicast address twice

GOS_WIFI_SDIO_RETRIES_EXCEEDED

1051 : SDIO transfer failed too many times.

GOS_WIFI_NULL_PTR_ARG

1052 : Null Pointer argument passed to function.

GOS_WIFI_THREAD_FINISH_FAIL

1053 : Error deleting a thread

GOS_WIFI_WAIT_ABORTED

1054 : Semaphore/mutex wait has been aborted

GOS_WIFI_QUEUE_MESSAGE_UNALIGNED

1055 : Message is not word aligned

GOS_WIFI_MUTEX_ERROR

1056 : Semaphore/mutex error

GOS_WIFI_FIRMWARE_DOWNLOAD_TIMEOUT

1057 : Wifi firmware download not completed with allocated time

GOS_WIFI_SECURE_LINK_MAC_KEY_ERROR

1058 : Error in MAC Key required for establishing Secure Link

GOS_WIFI_SECURE_LINK_EXCHANGE_FAILED

1059 : Key exchange failed while establishing secure link

GOS_WIFI_PLATFORM_INIT_ERROR

1060 : Initialisation failed for Wifi

GOS_WIFI_SDIO_HARDWARE_INIT_FAILED

1061 : SDIO hardware peripheral initialisation failed

GOS_WIFI_SPI_HARDWARE_INIT_FAILED

1062 : SPI hardware peripheral initialisation failed

GOS_WIFI_SDIO_HOST_INIT_FAILED

1063 : Failed during SDIO host configuration

GOS_WIFI_INEO_CONFIG_REG_ID_INCORRECT

1064 : Unexpected Ineo configuration register ID

GOS_WIFI_THREAD_INIT_FAILED

1065 : Wifi thread initialisation failed

GOS_WIFI_INEO_INIT_CHIP_FAILED

1066 : Ineo chip initialisation failed

GOS_WIFI_INEO_BOOTLOADER_FAILED

1067 : Ineo bootloader setting failed

GOS_WIFI_INEO_STARTUP_INIDICATION_MISSING

1068 : Unable to detect Ineo startup inidication

GOS_WIFI_FIRMWARE_IMAGE_READ_ERROR

1069 : Unable to read the firmware image

GOS_WIFI_HOST_STATE_ERROR

1070 : Wifi host error

GOS_WIFI_ERROR_SETTING_FIRMWARE_SIZE

1071 : Error setting Ineo firmware size

GOS_WIFI_ERROR_SETTING_FIRMWARE_SIGNATURE

1072 : Error setting Ineo firmware signature

GOS_WIFI_ERROR_SETTING_FIRMWARE_HASH

1073 : Error setting Ineo firmware hash

GOS_WIFI_FIRMWARE_UPLOAD_FAILED

1074 : Firmware upload to Ineo failed

GOS_WIFI_IRQ_ENABLE_FAILED

1075 : SDIO Interrupt enable failed

GOS_WIFI_ACCESS_MODE_SET_FAILED

1076 : Setting Ineo message mode failed

GOS_WIFI_INEO_CONFIGURATION_FAILED

1077 : Failed setting Ineo configuration

GOS_WIFI_JOIN_REQUEST_FAILED

1078 : Wifi join request failed

GOS_WIFI_DISCONNNECT_REQUEST_FAILED

1079 : Wifi disconnnect request failed

GOS_WIFI_SOFT_AP_INVALID_AUTH_TYPE

1080 : Unsupported Soft AP authentication method

GOS_WIFI_SOFT_AP_START_REQUEST_FAILED

1081 : Soft AP start rquired failed

GOS_WIFI_SOFT_AP_STOP_REQUEST_FAILED

1082 : Soft AP stop rquired failed

GOS_WIFI_POWER_SAVE_MODE_SET_FAILED

1083 : Request to Ineo to go to power save mode failed

GOS_WIFI_WAKEUP_PROCESS_FAILED

1084 : Wake-up failed

GOS_WIFI_SECURE_LINK_MAC_GENERATION_FAILED

1085 : Secure Link MAC Key generation failed

GOS_WIFI_SECURE_LINK_MAC_NOT_BLANK

1086 : Secure Link MAC Key field in meta data is not blank

GOS_WIFI_SECURE_LINK_KEY_RENEGOTIATION_ERROR

1087 : Error in Secure Link Key re-negotiation

GOS_WIFI_SECURE_LINK_NO_MEMORY_CRYPTOGRAPHY

1088 : Memory allocation failed for cryptography

GOS_WIFI_CANNOT_POWERSAVE_WHILE_SOFTAP_UP

1089 : Powersave must be disabled while softap is active

GOS_WIFI_ERROR_REGULATORY_LIMITATIONS

1090 : A regulatory limitation has prevented this option (eg tx power or channel)

GOS_WIFI_JOIN_ERROR_STA_AFTER_SOFTAP_BUG

1091 : Temporary Bugfix, must start STA before SoftAP when using both simultaneously

GOS_WIFI_CANNOT_DISABLE_POWERSAVE_SOFTAP_UP

1092 : Powersave cannot be disabled while softap is active

GOS_WIFI_RETRY_EXCEEDED

1093 : The request failed because the retry limit was exceeded.

GOS_WIFI_TX_LIFETIME_EXCEEDED

1094 : The request failed because the MSDU life time was exceeded.

GOS_WIFI_WRONG_STATE

1095 : The request cannot be performed because the device is in an inappropriate state.

GOS_WIFI_GPIO_DRIVE_WARNING

1096 : Warning : the GPIO cmd is successful but the read value is not as expected (likely a drive conflict on the line)

GOS_TCPIP_INVALID_PACKET

2008 : Invalid packet

GOS_TCPIP_INVALID_SOCKET

2009 : Invalid socket

GOS_TCPIP_WAIT_ABORTED

2010 : Wait aborted

GOS_TCPIP_PORT_UNAVAILABLE

2011 : Port unavailable

GOS_TCPIP_IN_PROGRESS

2012 : Action in progress

GOS_TCPIP_NULL_STREAM

2013 : GOS_TCPIP_NULL_STREAM

GOS_TCPIP_RX_ERROR

2014 : GOS_TCPIP_RX_ERROR

GOS_TCPIP_TX_ERROR

2015 : GOS_TCPIP_TX_ERROR

GOS_TCPIP_BAD_NEWLINE

2016 : GOS_TCPIP_BAD_NEWLINE

GOS_TCPIP_NULL_RX_PACKET

2017 : GOS_TCPIP_NULL_RX_PACKET

GOS_TCPIP_PACKET_DATA_ERROR

2019 : GOS_TCPIP_PACKET_DATA_ERROR

GOS_TCPIP_PACKET_BAD_END

2020 : GOS_TCPIP_PACKET_BAD_END

GOS_TCPIP_PACKET_BAD_START

2021 : GOS_TCPIP_PACKET_BAD_START

GOS_TCPIP_CONNECT_ERROR

2022 : GOS_TCPIP_CONNECT_ERROR

GOS_TCPIP_TLS_ERROR

2023 : GOS_TCPIP_TLS_ERROR

GOS_TCPIP_TRANSMIT_DISABLED

2024 : GOS_TCPIP_TRANSMIT_DISABLED

GOS_TCPIP_BIND_ERROR

2025 : GOS_TCPIP_BIND_ERROR

GOS_TCPIP_HOST_NOTFOUND

2026 : GOS_TCPIP_HOST_NOTFOUND

GOS_TCPIP_NULL_SOCKET

2027 : GOS_TCPIP_NULL_SOCKET

GOS_TCPIP_HTTP_RESPONSE

2028 : GOS_TCPIP_HTTP_RESPONSE

GOS_TCPIP_REMOTE_CLOSED

2029 : GOS_TCPIP_REMOTE_CLOSED

GOS_TCPIP_PACKET_ALLOC_FAILED

2030 : GOS_TCPIP_PACKET_ALLOC_FAILED

GOS_TCPIP_SOCKET_CLOSE_FAILED

2031 : GOS_TCPIP_SOCKET_CLOSE_FAILED

GOS_TCPIP_SOCKET_OPEN_FAILED

2032 : GOS_TCPIP_SOCKET_OPEN_FAILED

GOS_TCPIP_HW_ADDR_RESOLVE_FAILED

2033 : GOS_TCPIP_HW_ADDR_RESOLVE_FAILED

GOS_BADARG

7005 : Bad Arguments

GOS_INVALID_ARG

7005 : Bad Arguments

GOS_BADOPTION

7006 : Mode not supported

GOS_OUT_OF_HEAP_SPACE

7008 : Dynamic memory space exhausted

GOS_NOTUP

7009 : Interface is not currently Up

GOS_UNFINISHED

7010 : Operation not finished yet

GOS_UNIMPLEMENTED

7010 : Unsupported function

GOS_CONNECTION_LOST

7011 : Connection to server lost

GOS_NOT_FOUND

7012 : Item not found

GOS_PACKET_BUFFER_CORRUPT

7013 : GOS_PACKET_BUFFER_CORRUPT

GOS_ROUTING_ERROR

7014 : GOS_ROUTING_ERROR

GOS_BADVALUE

7015 : GOS_BADVALUE

GOS_WOULD_BLOCK

7016 : GOS_WOULD_BLOCK

GOS_ABORTED

7017 : GOS_ABORTED

GOS_CONNECTION_RESET

7018 : GOS_CONNECTION_RESET

GOS_CONNECTION_CLOSED

7019 : GOS_CONNECTION_CLOSED

GOS_NOT_CONNECTED

7020 : GOS_NOT_CONNECTED

GOS_ADDRESS_IN_USE

7021 : GOS_ADDRESS_IN_USE

GOS_NETWORK_INTERFACE_ERROR

7022 : GOS_NETWORK_INTERFACE_ERROR

GOS_ALREADY_CONNECTED

7023 : GOS_ALREADY_CONNECTED

GOS_INVALID_INTERFACE

7024 : GOS_INVALID_INTERFACE

GOS_SOCKET_CREATE_FAIL

7025 : GOS_SOCKET_CREATE_FAIL

GOS_INVALID_SOCKET

7026 : GOS_INVALID_SOCKET

GOS_CORRUPT_PACKET_BUFFER

7027 : GOS_CORRUPT_PACKET_BUFFER

GOS_UNKNOWN_NETWORK_STACK_ERROR

7028 : GOS_UNKNOWN_NETWORK_STACK_ERROR

GOS_NO_STORED_AP_IN_DCT

7029 : GOS_NO_STORED_AP_IN_DCT

GOS_STA_JOIN_FAILED

7030 : GOS_STA_JOIN_FAILED

GOS_INVALID_HANDLE

7031 : GOS_INVALID_HANDLE

GOS_NO_MEM

7032 : GOS_NO_MEM

GOS_BAD_MEM_ALIGN

7033 : GOS_BAD_MEM_ALIGN

GOS_NO_ROOM

7034 : GOS_NO_ROOM

GOS_MEM_INVALID

7035 : GOS_MEM_INVALID

GOS_MEM_INIT_ERR

7036 : GOS_MEM_INIT_ERR

GOS_MEM_READ_ERR

7037 : GOS_MEM_READ_ERR

GOS_MEM_WRITE_ERR

7038 : GOS_MEM_WRITE_ERR

GOS_MEM_ERASE_ERR

7039 : GOS_MEM_ERASE_ERR

GOS_INVALID_CHECKSUM

7040 : GOS_INVALID_CHECKSUM

GOS_NO_IP

7041 : GOS_NO_IP

GOS_DECRYPT_ERR

7042 : GOS_DECRYPT_ERR

GOS_IN_USE

7043 : GOS_IN_USE

GOS_NO_CHANGE

7044 : GOS_NO_CHANGE

GOS_SERVER_ERROR

7045 : GOS_SERVER_ERROR

GOS_CONNECTION_ESTABLISHED

7046 : GOS_CONNECTION_ESTABLISHED

GOS_BAD_CHUNK_HEADER

7047 : GOS_BAD_CHUNK_HEADER

GOS_BAD_OFFSET

7048 : GOS_BAD_OFFSET

GOS_HTTP_READ_ERROR

7049 : GOS_HTTP_READ_ERROR

GOS_NON_CHUNKED_ENCODING

7050 : GOS_NON_CHUNKED_ENCODING

GOS_BUFFER_OVERFLOW

7051 : GOS_BUFFER_OVERFLOW

GOS_HTTP_HEADER_NEWLINE

7052 : GOS_HTTP_HEADER_NEWLINE

GOS_HTTP_HEADER_NO_VERSION

7053 : GOS_HTTP_HEADER_NO_VERSION

GOS_HTTP_HEADER_VERSION

7054 : GOS_HTTP_HEADER_VERSION

GOS_HTTP_CODE

7055 : GOS_HTTP_CODE

GOS_HTTP_HEADER_ERROR

7056 : GOS_HTTP_HEADER_ERROR

GOS_MUTEX_FAILED

7057 : GOS_MUTEX_FAILED

GOS_COMMAND_FAILED

7058 : GOS_COMMAND_FAILED

GOS_OVERFLOW

7059 : GOS_OVERFLOW

GOS_BAD_CHECKSUM

7060 : GOS_BAD_CHECKSUM

GOS_NULL_PTR

7061 : GOS_NULL_PTR

GOS_UNINITIALIZED

7062 : GOS_UNINITIALIZED

GOS_READ_COMPLETE

7063 : GOS_READ_COMPLETE

GOS_NEVER_SET

7064 : GOS_NEVER_SET

GOS_BAD_EVENT_PERIOD

7065 : GOS_BAD_EVENT_PERIOD

GOS_DUPLICATE_EVENT

7066 : GOS_DUPLICATE_EVENT

GOS_SHUTTING_DOWN

7067 : GOS_SHUTTING_DOWN

GOS_SFLASH_WRITE_ERROR

7068 : GOS_SFLASH_WRITE_ERROR

GOS_SFLASH_WRITE_NOT_ENABLED

7069 : GOS_SFLASH_WRITE_NOT_ENABLED

GOS_INVALID_HEADER

7070 : GOS_INVALID_HEADER

GOS_INTERNAL_FLASH_NOT_ERASED

7071 : GOS_INTERNAL_FLASH_NOT_ERASED

GOS_INTERNAL_FLASH_BAD_ADDR

7072 : GOS_INTERNAL_FLASH_BAD_ADDR

GOS_LOCKED

7073 : GOS_LOCKED

GOS_HEAP_TRUNCATE_ERROR

7074 : GOS_HEAP_TRUNCATE_ERROR

GOS_LOAD_FAILED

7075 : GOS_LOAD_FAILED

GOS_NETWORK_NOT_DOWN

7076 : GOS_NETWORK_NOT_DOWN

GOS_NOT_ALLOWED

7078 : GOS_NOT_ALLOWED

GOS_BASE64_ENCODE_ERROR

7079 : GOS_BASE64_ENCODE_ERROR

GOS_UNDERFLOW

7080 : GOS_UNDERFLOW

GOS_HTTP_UNAUTHORIZED

7081 : GOS_HTTP_UNAUTHORIZED

GOS_HTTP_SERVER_ERROR

7082 : GOS_HTTP_SERVER_ERROR

GOS_HTTP_NOT_FOUND

7083 : GOS_HTTP_NOT_FOUND

GOS_HTTP_BAD_REQUEST

7084 : GOS_HTTP_BAD_REQUEST

GOS_NO_SSID

7085 : GOS_NO_SSID

GOS_NO_PASSKEY

7086 : GOS_NO_PASSKEY

GOS_TRANSMIT_FAILED

7087 : GOS_TRANSMIT_FAILED

GOS_WAIT_ABORTED

7088 : GOS_WAIT_ABORTED

GOS_BASE64_DECODE_ERROR

7089 : GOS_BASE64_DECODE_ERROR

GOS_I2C_TX_NACK

7090 : GOS_I2C_TX_NACK

GOS_I2C_RX_NACK

7091 : GOS_I2C_RX_NACK

GOS_FLASH_TIMEOUT

7092 : GOS_FLASH_TIMEOUT

GOS_FLASH_LOCKED

7093 : GOS_FLASH_LOCKED

GOS_FLASH_WRITE_ERROR

7094 : GOS_FLASH_WRITE_ERROR

GOS_FLASH_ERASE_ERROR

7095 : GOS_FLASH_ERASE_ERROR

GOS_FLASH_ERROR

7096 : GOS_FLASH_ERROR

GOS_NESTED_COMMAND

7097 : GOS_NESTED_COMMAND

GOS_LOG_FILE_OVERFLOW

7098 : GOS_LOG_FILE_OVERFLOW

GOS_UNTERMINATED_CRITICAL_SECTION

7099 : GOS_UNTERMINATED_CRITICAL_SECTION

GOS_I2C_BUS_ERROR

7100 : GOS_I2C_BUS_ERROR

GOS_ZERO_LENGTH_BUFFER

7101 : GOS_ZERO_LENGTH_BUFFER

GOS_INTERFACE_NOT_INIT

7102 : GOS_INTERFACE_NOT_INIT

GOS_BUFFER_UNDERFLOW

7103 : GOS_BUFFER_UNDERFLOW

GOS_DUPLICATE

7104 : GOS_DUPLICATE

GOS_ID_INUSE

7105 : GOS_ID_INUSE

GOS_BAD_STATE

7106 : GOS_BAD_STATE

GOS_PARSE_ERROR

7107 : GOS_PARSE_ERROR

GOS_WRONG_STATE

7108 : GOS_WRONG_STATE

GOS_CRYPTO_ERROR

7109 : GOS_CRYPTO_ERROR

GOS_UNALIGNED_ADDRESS

7110 : GOS_UNALIGNED_ADDRESS

GOS_MISSING_CMD_RESPONSE

7111 : GOS_MISSING_CMD_RESPONSE

GOS_FILE_CORRUPT

7112 : GOS_FILE_CORRUPT

GOS_FILE_BAD_TYPE

7113 : GOS_FILE_BAD_TYPE

GOS_FILE_BAD_FLAGS

7114 : GOS_FILE_BAD_FLAGS

GOS_FILE_BAD_FILENAME

7115 : GOS_FILE_BAD_FILENAME

GOS_FILE_BAD_SIZE

7116 : GOS_FILE_BAD_SIZE

GOS_FILE_BAD_OWNER

7117 : GOS_FILE_BAD_OWNER

GOS_FILE_BAD_LOCATION

7118 : GOS_FILE_BAD_LOCATION

GOS_FILE_INVALID_CHECKSUM

7119 : GOS_FILE_INVALID_CHECKSUM

GOS_FILE_INVALID_MAC

7120 : GOS_FILE_INVALID_MAC

GOS_FILE_OWNED_BY_KERNEL

7121 : GOS_FILE_OWNED_BY_KERNEL

GOS_FILE_NO_PERMISSION

7122 : GOS_FILE_NO_PERMISSION

GOS_FILE_WRITE_ONLY

7123 : GOS_FILE_WRITE_ONLY

GOS_FILE_READ_ONLY

7124 : GOS_FILE_READ_ONLY

GOS_FILE_INVALID

7125 : GOS_FILE_INVALID

GOS_NVM_CORRUPTION

7126 : GOS_NVM_CORRUPTION

GOS_NVM_WRITE_ERROR

7127 : GOS_NVM_WRITE_ERROR

GOS_NVM_READ_ERROR

7128 : GOS_NVM_READ_ERROR

GOS_DMS_BAD_RESPONSE

7129 : GOS_DMS_BAD_RESPONSE

GOS_TCPIP_TX_NOT_ENABLED

7130 : GOS_TCPIP_TX_NOT_ENABLED

GOS_DEVICE_CERT_UUID_INVALID

7131 : GOS_DEVICE_CERT_UUID_INVALID

GOS_DEBUG_INTERFACE_LOCKED

7132 : GOS_DEBUG_INTERFACE_LOCKED

GOS_TOKEN_UNAUTHORIZED

7133 : GOS_TOKEN_UNAUTHORIZED

GOS_CORRUPT_CONTEXT

7134 : GOS_CORRUPT_CONTEXT

GOS_COULD_NOT_SUBSCRIBE

7135 : GOS_COULD_NOT_SUBSCRIBE

GOS_COULD_NOT_UNSUBSCRIBE

7136 : GOS_COULD_NOT_UNSUBSCRIBE

GOS_COULD_NOT_PUBLISH

7137 : GOS_COULD_NOT_PUBLISH

GOS_UNAVAILABLE

7138 : GOS_UNAVAILABLE

GOS_NO_IP_METHOD_ENABLED

7139 : GOS_NO_IP_METHOD_ENABLED

GOS_INVALID_DEVICE_CERT

7140 : GOS_INVALID_DEVICE_CERT

GOS_NO_RESOURCES_AVAILABLE

7141 : GOS_NO_RESOURCES_AVAILABLE

GOS_MISSING_FIELD

7142 : GOS_MISSING_FIELD

GOS_NOT_ALLOWED_FROM_THREAD

7143 : GOS_NOT_ALLOWED_FROM_THREAD

GOS_HTTP_METHOD_NOT_ALLOWED

7144 : GOS_HTTP_METHOD_NOT_ALLOWED

GOS_SPI_LOCK_DEADLOCK

7145 : GOS_SPI_LOCK_DEADLOCK

GOS_NOT_DMS_PROVISIONED

7146 : GOS_NOT_DMS_PROVISIONED

GOS_DMS_PROVISIONING_FAILED

7147 : GOS_DMS_PROVISIONING_FAILED

GOS_CMD_RESULT_CODES_START

7300 : GOS_CMD_RESULT_CODES_START

GOS_CMD_RESULT_FAILED

7301 : The command failed, probably in the firmware somewhere

GOS_CMD_RESULT_PARSE_ERROR

7302 : Failed to parse the command

GOS_CMD_RESULT_UNKNOWN

7303 : Unknown command

GOS_CMD_RESULT_TOO_FEW_ARGS

7304 : Not enough command arguments

GOS_CMD_RESULT_TOO_MANY_ARGS

7305 : Too many command arguments

GOS_CMD_RESULT_UNKNOWN_OPTION

7306 : Unknown option (e.g. unknown 'set' command option)

GOS_CMD_RESULT_BAD_ARGS

7307 : Invalid command arguments

GOS_CMD_RESULT_BUFFER_OVERFLOW

7308 : Serial command line buffer overflow

GOS_CMD_RESULT_BOUNDS_ERROR

7309 : ommand specific, the parameters of the command were exceeded

GOS_CMD_RESULT_CODES_END

7309 : GOS_CMD_RESULT_CODES_END

GOS_DFU_INVALID_DEVICE_CREDENTIALS

7408 : GOS_DFU_INVALID_DEVICE_CREDENTIALS

GOS_DFU_INVALID_SIGNATURE

7409 : GOS_DFU_INVALID_SIGNATURE

GOS_DFU_NO_DEVICE_CERTIFICATE

7410 : GOS_DFU_NO_DEVICE_CERTIFICATE

GOS_DFU_INVALID_DMS_PRODUCT_AUTH_SIGNATURE

7411 : GOS_DFU_INVALID_DMS_PRODUCT_AUTH_SIGNATURE

GOS_DFU_INVALID_KERNEL_AUTH_SIGNATURE

7412 : GOS_DFU_INVALID_KERNEL_AUTH_SIGNATURE

GOS_DFU_INVALID_PLUGINS_AUTH_SIGNATURE

7413 : GOS_DFU_INVALID_PLUGINS_AUTH_SIGNATURE

GOS_DFU_INVALID_FILE

7414 : GOS_DFU_INVALID_FILE

GOS_DFU_SIGNING_ERROR

7415 : GOS_DFU_SIGNING_ERROR

GOS_DFU_DEVICE_PRIVATE_KEY_INVALID

7416 : GOS_DFU_DEVICE_PRIVATE_KEY_INVALID

GOS_DFU_DMS_CA_PARSE_VALID

7417 : GOS_DFU_DMS_CA_PARSE_VALID

GOS_DFU_PACKAGE_FILE_WRITE_ERROR

7418 : GOS_DFU_PACKAGE_FILE_WRITE_ERROR

GOS_DFU_PACKAGE_FILE_READ_ERROR

7419 : GOS_DFU_PACKAGE_FILE_READ_ERROR

GOS_DFU_PACKAGE_FILE_ERASE_ERROR

7420 : GOS_DFU_PACKAGE_FILE_ERASE_ERROR

GOS_DFU_PACKAGE_FILE_WRITE_CRC_ERROR

7421 : GOS_DFU_PACKAGE_FILE_WRITE_CRC_ERROR

GOS_DFU_UPDATE_FILE_CRC_ERROR

7422 : GOS_DFU_UPDATE_FILE_CRC_ERROR

GOS_DFU_HASH_CALCULATION_ERROR

7423 : GOS_DFU_HASH_CALCULATION_ERROR

GOS_DFU_DEVICE_CREDS_MISSING_REQUIRED_ENTRY

7424 : GOS_DFU_DEVICE_CREDS_MISSING_REQUIRED_ENTRY

GOS_DFU_DMS_SERVER_CERT_INVALID

7425 : GOS_DFU_DMS_SERVER_CERT_INVALID

GOS_DFU_DMS_DEVICE_CERT_INVALID

7426 : GOS_DFU_DMS_DEVICE_CERT_INVALID

GOS_DFU_DMS_DEVICE_KEY_INVALID

7427 : GOS_DFU_DMS_DEVICE_KEY_INVALID

GOS_DFU_DMS_DEVICE_CERT_CN_INVALID

7428 : GOS_DFU_DMS_DEVICE_CERT_CN_INVALID

GOS_DFU_BUNDLE_VERSION_INVALID

7430 : GOS_DFU_BUNDLE_VERSION_INVALID

GOS_DFU_PACKAGE_PROCESSING_COMPLETE

7431 : GOS_DFU_PACKAGE_PROCESSING_COMPLETE

GOS_DFU_INVALID_KERNEL_HEADER

7432 : GOS_DFU_INVALID_KERNEL_HEADER

GOS_DFU_DFU_COUNTER_EXCEEDED

7433 : GOS_DFU_DFU_COUNTER_EXCEEDED

GOS_DFU_MALFORMED_DER_CERT_CHAIN

7434 : GOS_DFU_MALFORMED_DER_CERT_CHAIN

GOS_DFU_PRODUCT_KEY_SIG_INVALID

7435 : GOS_DFU_PRODUCT_KEY_SIG_INVALID

GOS_DFU_PRODUCT_AES_KEY_INVALID

7436 : GOS_DFU_PRODUCT_AES_KEY_INVALID

GOS_DFU_PRODUCT_AES_KEY_MISSING

7437 : GOS_DFU_PRODUCT_AES_KEY_MISSING

GOS_DFU_PACKAGE_CODES_START

7450 : GOS_DFU_PACKAGE_CODES_START

GOS_DFU_MALFORMED_PACKAGE

7450 : GOS_DFU_MALFORMED_PACKAGE

GOS_DFU_INVALID_PACKAGE_SIGNATURE

7451 : GOS_DFU_INVALID_PACKAGE_SIGNATURE

GOS_DFU_INVALID_PACKAGE_CRC

7452 : GOS_DFU_INVALID_PACKAGE_CRC

GOS_DFU_MALFORMED_PACKAGE_MANIFEST

7453 : GOS_DFU_MALFORMED_PACKAGE_MANIFEST

GOS_DFU_IS_PRODUCTION_DEVICE

7454 : GOS_DFU_IS_PRODUCTION_DEVICE

GOS_DFU_IS_DEVELOPMENT_DEVICE

7455 : GOS_DFU_IS_DEVELOPMENT_DEVICE

GOS_DFU_PACKAGE_VERSION_NOT_ALLOWED

7456 : GOS_DFU_PACKAGE_VERSION_NOT_ALLOWED

GOS_DFU_PACKAGE_PRODUCT_NOT_ALLOWED

7457 : GOS_DFU_PACKAGE_PRODUCT_NOT_ALLOWED

GOS_DFU_PACKAGE_INTERFACE_NOT_ALLOWED

7458 : GOS_DFU_PACKAGE_INTERFACE_NOT_ALLOWED

GOS_DFU_PACKAGE_UUID_NOT_ALLOWED

7459 : GOS_DFU_PACKAGE_UUID_NOT_ALLOWED

GOS_DFU_BULK_FS_NOT_ENABLED

7460 : GOS_DFU_BULK_FS_NOT_ENABLED

GOS_DFU_BULK_FS_INIT_FAILED

7461 : GOS_DFU_BULK_FS_INIT_FAILED

GOS_DFU_NO_ROOM

7462 : GOS_DFU_NO_ROOM

GOS_DFU_NO_MULTI_PASS_UPDATES

7463 : GOS_DFU_NO_MULTI_PASS_UPDATES

GOS_DFU_PACKAGE_DATA_OVERFLOW

7464 : GOS_DFU_PACKAGE_DATA_OVERFLOW

GOS_DFU_PACKAGE_HEADER_INVALID

7465 : GOS_DFU_PACKAGE_HEADER_INVALID

GOS_DFU_PACKAGE_INVALID_PRODUCT_AES_KEY

7466 : GOS_DFU_PACKAGE_INVALID_PRODUCT_AES_KEY

GOS_DFU_PACKAGE_BAD_FILE_ATTRIBUTE

7467 : GOS_DFU_PACKAGE_BAD_FILE_ATTRIBUTE

GOS_DFU_PACKAGE_CODES_END

7470 : GOS_DFU_PACKAGE_CODES_END

GOS_RTOS_MUTEX_ERROR

7501 : GOS_RTOS_MUTEX_ERROR

GOS_RTOS_QUEUE_ERROR

7502 : GOS_RTOS_QUEUE_ERROR

GOS_RTOS_TIMER_ERROR

7503 : GOS_RTOS_TIMER_ERROR

GOS_RTOS_FLAGS_ERROR

7504 : GOS_RTOS_FLAGS_ERROR

GOS_RTOS_THREAD_ERROR

7505 : GOS_RTOS_THREAD_ERROR

GOS_RTOS_SEMAPHORE_ERROR

7506 : GOS_RTOS_SEMAPHORE_ERROR

GOS_RTOS_MUTEX_INVALID

7507 : GOS_RTOS_MUTEX_INVALID

GOS_RTOS_QUEUE_INVALID

7508 : GOS_RTOS_QUEUE_INVALID

GOS_RTOS_TIMER_INVALID

7509 : GOS_RTOS_TIMER_INVALID

GOS_RTOS_FLAGS_INVALID

7510 : GOS_RTOS_FLAGS_INVALID

GOS_RTOS_THREAD_INVALID

7511 : GOS_RTOS_THREAD_INVALID

GOS_RTOS_SEMAPHORE_INVALID

7512 : GOS_RTOS_SEMAPHORE_INVALID

GOS_RTOS_THREAD_CREATE_FAILED

7513 : GOS_RTOS_THREAD_CREATE_FAILED

GOS_RTOS_THREAD_DELETE_FAILED

7514 : GOS_RTOS_THREAD_DELETE_FAILED

GOS_RTOS_THREAD_SLEEP_FAILED

7515 : GOS_RTOS_THREAD_SLEEP_FAILED

GOS_RTOS_NOT_ALLOWED_FROM_IRQ

7516 : GOS_RTOS_NOT_ALLOWED_FROM_IRQ

GOS_RTOS_NOT_ALLOWED_WITH_INT_DISABLED

7517 : GOS_RTOS_NOT_ALLOWED_WITH_INT_DISABLED

GOS_TLS_RECEIVE_FAILED

7601 : GOS_TLS_RECEIVE_FAILED

GOS_TLS_ERROR

7602 : GOS_TLS_ERROR

GOS_TLS_ERROR_OUT_OF_MEMORY

7603 : GOS_TLS_ERROR_OUT_OF_MEMORY

GOS_TLS_ERROR_FEATURE_UNAVAILABLE

7604 : GOS_TLS_ERROR_FEATURE_UNAVAILABLE

GOS_TLS_ERROR_BAD_INPUT_DATA

7605 : GOS_TLS_ERROR_BAD_INPUT_DATA

GOS_TLS_ERROR_INVALID_MAC

7606 : GOS_TLS_ERROR_INVALID_MAC

GOS_TLS_ERROR_INVALID_RECORD

7607 : GOS_TLS_ERROR_INVALID_RECORD

GOS_TLS_ERROR_UNKNOWN_CIPHER

7609 : GOS_TLS_ERROR_UNKNOWN_CIPHER

GOS_TLS_ERROR_NO_CIPHER_CHOSEN

7610 : GOS_TLS_ERROR_NO_CIPHER_CHOSEN

GOS_TLS_ERROR_NO_CLIENT_CERTIFICATE

7612 : GOS_TLS_ERROR_NO_CLIENT_CERTIFICATE

GOS_TLS_ERROR_CERTIFICATE_TOO_LARGE

7613 : GOS_TLS_ERROR_CERTIFICATE_TOO_LARGE

GOS_TLS_ERROR_CERTIFICATE_REQUIRED

7614 : GOS_TLS_ERROR_CERTIFICATE_REQUIRED

GOS_TLS_ERROR_PRIVATE_KEY_REQUIRED

7615 : GOS_TLS_ERROR_PRIVATE_KEY_REQUIRED

GOS_TLS_ERROR_CA_CHAIN_REQUIRED

7616 : GOS_TLS_ERROR_CA_CHAIN_REQUIRED

GOS_TLS_ERROR_UNEXPECTED_MESSAGE

7617 : GOS_TLS_ERROR_UNEXPECTED_MESSAGE

GOS_TLS_ERROR_FATAL_ALERT_MESSAGE

7618 : GOS_TLS_ERROR_FATAL_ALERT_MESSAGE

GOS_TLS_ERROR_PEER_VERIFY_FAILED

7619 : GOS_TLS_ERROR_PEER_VERIFY_FAILED

GOS_TLS_ERROR_PEER_CLOSE_NOTIFY

7620 : GOS_TLS_ERROR_PEER_CLOSE_NOTIFY

GOS_TLS_ERROR_BAD_HS_CLIENT_HELLO

7621 : GOS_TLS_ERROR_BAD_HS_CLIENT_HELLO

GOS_TLS_ERROR_BAD_HS_SERVER_HELLO

7622 : GOS_TLS_ERROR_BAD_HS_SERVER_HELLO

GOS_TLS_ERROR_BAD_HS_CERTIFICATE

7623 : GOS_TLS_ERROR_BAD_HS_CERTIFICATE

GOS_TLS_ERROR_BAD_HS_CERTIFICATE_REQUEST

7624 : GOS_TLS_ERROR_BAD_HS_CERTIFICATE_REQUEST

GOS_TLS_ERROR_BAD_HS_SERVER_KEY_EXCHANGE

7625 : GOS_TLS_ERROR_BAD_HS_SERVER_KEY_EXCHANGE

GOS_TLS_ERROR_BAD_HS_SERVER_HELLO_DONE

7626 : GOS_TLS_ERROR_BAD_HS_SERVER_HELLO_DONE

GOS_TLS_ERROR_BAD_HS_CLIENT_KEY_EXCHANGE

7627 : GOS_TLS_ERROR_BAD_HS_CLIENT_KEY_EXCHANGE

GOS_TLS_ERROR_BAD_HS_CERTIFICATE_VERIFY

7628 : GOS_TLS_ERROR_BAD_HS_CERTIFICATE_VERIFY

GOS_TLS_ERROR_BAD_HS_CHANGE_CIPHER_SPEC

7629 : GOS_TLS_ERROR_BAD_HS_CHANGE_CIPHER_SPEC

GOS_TLS_ERROR_BAD_HS_FINISHED

7630 : GOS_TLS_ERROR_BAD_HS_FINISHED

GOS_TLS_HANDSHAKE_TIMEOUT

7631 : GOS_TLS_HANDSHAKE_TIMEOUT

GOS_TLS_HANDSHAKE_ERROR

7632 : GOS_TLS_HANDSHAKE_ERROR

GOS_TLS_CERT_UNKNOWN_OID

7633 : GOS_TLS_CERT_UNKNOWN_OID

GOS_TLS_CERT_INVALID_FORMAT

7634 : GOS_TLS_CERT_INVALID_FORMAT

GOS_TLS_CERT_INVALID_VERSION

7635 : GOS_TLS_CERT_INVALID_VERSION

GOS_TLS_CERT_INVALID_SERIAL

7636 : GOS_TLS_CERT_INVALID_SERIAL

GOS_TLS_CERT_INVALID_ALG

7637 : GOS_TLS_CERT_INVALID_ALG

GOS_TLS_CERT_INVALID_NAME

7638 : GOS_TLS_CERT_INVALID_NAME

GOS_TLS_CERT_INVALID_DATE

7639 : GOS_TLS_CERT_INVALID_DATE

GOS_TLS_CERT_INVALID_SIGNATURE

7640 : GOS_TLS_CERT_INVALID_SIGNATURE

GOS_TLS_CERT_INVALID_EXTENSIONS

7641 : GOS_TLS_CERT_INVALID_EXTENSIONS

GOS_TLS_CERT_UNKNOWN_VERSION

7642 : GOS_TLS_CERT_UNKNOWN_VERSION

GOS_TLS_CERT_UNKNOWN_SIG_ALG

7643 : GOS_TLS_CERT_UNKNOWN_SIG_ALG

GOS_TLS_CERT_VERIFY_FAILED

7644 : GOS_TLS_CERT_VERIFY_FAILED

GOS_TLS_CERT_UNKNOWN_FORMAT

7645 : GOS_TLS_CERT_UNKNOWN_FORMAT

GOS_TLS_CERT_ERROR

7646 : GOS_TLS_CERT_ERROR

GOS_TLS_CERT_DATE_IN_FUTRUE

7647 : GOS_TLS_CERT_DATE_IN_FUTRUE

GOS_TLS_CERT_DATE_EXPIRED

7648 : GOS_TLS_CERT_DATE_EXPIRED

GOS_TLS_CERT_REVOKED

7649 : GOS_TLS_CERT_REVOKED

GOS_TLS_CERT_CN_MISMATCH

7650 : GOS_TLS_CERT_CN_MISMATCH

GOS_TLS_CERT_KEY_USAGE

7651 : GOS_TLS_CERT_KEY_USAGE

GOS_TLS_CERT_NOT_TRUSTED

7652 : GOS_TLS_CERT_NOT_TRUSTED

GOS_TLS_ENCRYPTION_FAILED

7653 : GOS_TLS_ENCRYPTION_FAILED

GOS_TLS_MALFORMED_DER_CERT_CHAIN

7654 : GOS_TLS_MALFORMED_DER_CERT_CHAIN