docs.silabs.com
docs.silabs.com
Search in:
docs
Standard 4.2 - Application SDK
Gecko OS 4
Key Topics
Introduction
Command API
Native C API and App SDK
Hardware Support
Release Notes
Application Development
Introduction
Gecko OS API
Highlights
System & Core Libraries
Utilities
API Details
API Version
Access to Command APIs
Customizing the Command API
Dynamic HTTP URLs
Gecko OS Studio (GSS) Quickstart
Tutorial
Application SDK Development
Create a Project in GSS
Device Setup
Build and Debug Your App
Output to Serial Port
Networked Application
Intro to the Makefile
Gecko OS Components
Use a Sensor
Create events
Add the Webapp
Wi-Fi setup using the Webapp
Preserve NVM during Development
Configure default App Settings
Add files to the File System
Deploy your App to the DMS
Wireless Firmware Updates
Share your Product
Go to Production
Advanced Topics
Development vs Production
Create a Cloud Connector
Customize the Webapp
Developing Applications
Development Workflow
App Size Limits and Optimization
File Size Limit
API Features
What is a Gecko OS App?
Loading and Executing an App
Structure, Memory and Execution Contexts
Compiler
Optimization
Access to MCU Registers
Structure
App Functions
gos_app_init
gos_app_deinit
gos_app_idle
App Operation
Example
tcp_disconnect_handler
tcp_receive_handler
tcp_transmit_handler
Memory Sections
Events
Events and Contexts
Special Context Considerations
System Event Context
Command Context
Native API Event Types
Commands
Issued Events
Timed Events
File System Events
Hardware IRQ Events
UART Events
HTTP/S Server Events
Network Events
Periodic Broadcast Events
System
TCP Events
UDP Events
Button Events
Web Setup Events
WebSocket Events
Timed Events
Using the Event API
Using the RTOS timer API
Events with Finer Resolution
Execution Contexts
Context Attributes
Stack Space
Priority
Non-Blocking
Initialized
Invoked
Summary of Context Attributes
Available Contexts
App Thread
Network Thread
System Event Thread
HTTP Server Thread
Command Thread
Hardware IRQ
RTOS Timer
Static Functions
HTTP App Memory Constraints
Using EMLIB
Native C API Reference
Core
Types
gos_buffer_t
data
size
gos_version_details_t
customer_code
license
platform
product_code
sdk_number
tag
version
version_str
gos_handle_t
gos_handler_noarg_t
gos_handler_t
gos_network_handler_t
gos_stream_event_handler_t
gos_app_flag_t
GOS_APP_FLAG_NONE
GOS_APP_FLAG_SLEEP_ON_EXIT
GOS_APP_FLAG_DISABLE_CMD_CONSOLE
gos_app_priority_t
GOS_APP_PRIORITY_HIGHEST
GOS_APP_PRIORITY_HIGH
GOS_APP_PRIORITY_MEDIUM
GOS_APP_PRIORITY_LOW
GOS_APP_PRIORITY_LOWEST
gos_app_type_t
GOS_APP_TYPE_DAEMON
GOS_APP_TYPE_COMMAND
gos_result_t
GOS_SUCCESS
GOS_RTOS_SUCCESS
GOS_TLS_SUCCESS
GOS_CMD_RESULT_SUCCESS
GOS_PENDING
GOS_TIMEOUT
GOS_TLS_TIMEOUT
GOS_PARTIAL_RESULTS
GOS_ERROR
GOS_BAD_ARG
GOS_BAD_OPTION
GOS_UNSUPPORTED
GOS_ERROR_OUT_OF_BUFFERS
GOS_ERROR_OUT_OF_HEAP
GOS_WIFI_INVALID_KEY
GOS_WIFI_DOES_NOT_EXIST
GOS_WIFI_NOT_AUTHENTICATED
GOS_WIFI_NOT_KEYED
GOS_WIFI_IOCTL_FAIL
GOS_WIFI_BUFFER_UNAVAILABLE_TEMPORARY
GOS_WIFI_BUFFER_UNAVAILABLE_PERMANENT
GOS_WIFI_WPS_PBC_OVERLAP
GOS_WIFI_CONNECTION_LOST
GOS_WIFI_OUT_OF_EVENT_HANDLER_SPACE
GOS_WIFI_SEMAPHORE_ERROR
GOS_WIFI_FLOW_CONTROLLED
GOS_WIFI_NO_CREDITS
GOS_WIFI_NO_PACKET_TO_SEND
GOS_WIFI_CORE_CLOCK_NOT_ENABLED
GOS_WIFI_CORE_IN_RESET
GOS_WIFI_UNSUPPORTED
GOS_WIFI_BUS_WRITE_REGISTER_ERROR
GOS_WIFI_SDIO_BUS_UP_FAIL
GOS_WIFI_JOIN_IN_PROGRESS
GOS_WIFI_NETWORK_NOT_FOUND
GOS_WIFI_INVALID_JOIN_STATUS
GOS_WIFI_UNKNOWN_INTERFACE
GOS_WIFI_SDIO_RX_FAIL
GOS_WIFI_HWTAG_MISMATCH
GOS_WIFI_RX_BUFFER_ALLOC_FAIL
GOS_WIFI_BUS_READ_REGISTER_ERROR
GOS_WIFI_THREAD_CREATE_FAILED
GOS_WIFI_QUEUE_ERROR
GOS_WIFI_BUFFER_POINTER_MOVE_ERROR
GOS_WIFI_BUFFER_SIZE_SET_ERROR
GOS_WIFI_THREAD_STACK_NULL
GOS_WIFI_THREAD_DELETE_FAIL
GOS_WIFI_SLEEP_ERROR
GOS_WIFI_BUFFER_ALLOC_FAIL
GOS_WIFI_NO_PACKET_TO_RECEIVE
GOS_WIFI_INTERFACE_NOT_UP
GOS_WIFI_DELAY_TOO_LONG
GOS_WIFI_INVALID_DUTY_CYCLE
GOS_WIFI_PMK_WRONG_LENGTH
GOS_WIFI_UNKNOWN_SECURITY_TYPE
GOS_WIFI_WEP_NOT_ALLOWED
GOS_WIFI_WPA_KEYLEN_BAD
GOS_WIFI_FILTER_NOT_FOUND
GOS_WIFI_SPI_ID_READ_FAIL
GOS_WIFI_SPI_SIZE_MISMATCH
GOS_WIFI_ADDRESS_ALREADY_REGISTERED
GOS_WIFI_SDIO_RETRIES_EXCEEDED
GOS_WIFI_NULL_PTR_ARG
GOS_WIFI_THREAD_FINISH_FAIL
GOS_WIFI_WAIT_ABORTED
GOS_WIFI_QUEUE_MESSAGE_UNALIGNED
GOS_WIFI_MUTEX_ERROR
GOS_WIFI_FIRMWARE_DOWNLOAD_TIMEOUT
GOS_WIFI_SECURE_LINK_MAC_KEY_ERROR
GOS_WIFI_SECURE_LINK_EXCHANGE_FAILED
GOS_WIFI_PLATFORM_INIT_ERROR
GOS_WIFI_SDIO_HARDWARE_INIT_FAILED
GOS_WIFI_SPI_HARDWARE_INIT_FAILED
GOS_WIFI_SDIO_HOST_INIT_FAILED
GOS_WIFI_INEO_CONFIG_REG_ID_INCORRECT
GOS_WIFI_THREAD_INIT_FAILED
GOS_WIFI_INEO_INIT_CHIP_FAILED
GOS_WIFI_INEO_BOOTLOADER_FAILED
GOS_WIFI_INEO_STARTUP_INIDICATION_MISSING
GOS_WIFI_FIRMWARE_IMAGE_READ_ERROR
GOS_WIFI_HOST_STATE_ERROR
GOS_WIFI_ERROR_SETTING_FIRMWARE_SIZE
GOS_WIFI_ERROR_SETTING_FIRMWARE_SIGNATURE
GOS_WIFI_ERROR_SETTING_FIRMWARE_HASH
GOS_WIFI_FIRMWARE_UPLOAD_FAILED
GOS_WIFI_IRQ_ENABLE_FAILED
GOS_WIFI_ACCESS_MODE_SET_FAILED
GOS_WIFI_INEO_CONFIGURATION_FAILED
GOS_WIFI_JOIN_REQUEST_FAILED
GOS_WIFI_DISCONNNECT_REQUEST_FAILED
GOS_WIFI_SOFT_AP_INVALID_AUTH_TYPE
GOS_WIFI_SOFT_AP_START_REQUEST_FAILED
GOS_WIFI_SOFT_AP_STOP_REQUEST_FAILED
GOS_WIFI_POWER_SAVE_MODE_SET_FAILED
GOS_WIFI_WAKEUP_PROCESS_FAILED
GOS_WIFI_SECURE_LINK_MAC_GENERATION_FAILED
GOS_WIFI_SECURE_LINK_MAC_NOT_BLANK
GOS_WIFI_SECURE_LINK_KEY_RENEGOTIATION_ERROR
GOS_WIFI_SECURE_LINK_NO_MEMORY_CRYPTOGRAPHY
GOS_WIFI_CANNOT_POWERSAVE_WHILE_SOFTAP_UP
GOS_WIFI_ERROR_REGULATORY_LIMITATIONS
GOS_WIFI_JOIN_ERROR_STA_AFTER_SOFTAP_BUG
GOS_WIFI_CANNOT_DISABLE_POWERSAVE_SOFTAP_UP
GOS_WIFI_RETRY_EXCEEDED
GOS_WIFI_TX_LIFETIME_EXCEEDED
GOS_WIFI_WRONG_STATE
GOS_WIFI_GPIO_DRIVE_WARNING
GOS_TCPIP_INVALID_PACKET
GOS_TCPIP_INVALID_SOCKET
GOS_TCPIP_WAIT_ABORTED
GOS_TCPIP_PORT_UNAVAILABLE
GOS_TCPIP_IN_PROGRESS
GOS_TCPIP_NULL_STREAM
GOS_TCPIP_RX_ERROR
GOS_TCPIP_TX_ERROR
GOS_TCPIP_BAD_NEWLINE
GOS_TCPIP_NULL_RX_PACKET
GOS_TCPIP_PACKET_DATA_ERROR
GOS_TCPIP_PACKET_BAD_END
GOS_TCPIP_PACKET_BAD_START
GOS_TCPIP_CONNECT_ERROR
GOS_TCPIP_TLS_ERROR
GOS_TCPIP_TRANSMIT_DISABLED
GOS_TCPIP_BIND_ERROR
GOS_TCPIP_HOST_NOTFOUND
GOS_TCPIP_NULL_SOCKET
GOS_TCPIP_HTTP_RESPONSE
GOS_TCPIP_REMOTE_CLOSED
GOS_TCPIP_PACKET_ALLOC_FAILED
GOS_TCPIP_SOCKET_CLOSE_FAILED
GOS_TCPIP_SOCKET_OPEN_FAILED
GOS_TCPIP_HW_ADDR_RESOLVE_FAILED
GOS_BADARG
GOS_INVALID_ARG
GOS_BADOPTION
GOS_OUT_OF_HEAP_SPACE
GOS_NOTUP
GOS_UNFINISHED
GOS_UNIMPLEMENTED
GOS_CONNECTION_LOST
GOS_NOT_FOUND
GOS_PACKET_BUFFER_CORRUPT
GOS_ROUTING_ERROR
GOS_BADVALUE
GOS_WOULD_BLOCK
GOS_ABORTED
GOS_CONNECTION_RESET
GOS_CONNECTION_CLOSED
GOS_NOT_CONNECTED
GOS_ADDRESS_IN_USE
GOS_NETWORK_INTERFACE_ERROR
GOS_ALREADY_CONNECTED
GOS_INVALID_INTERFACE
GOS_SOCKET_CREATE_FAIL
GOS_INVALID_SOCKET
GOS_CORRUPT_PACKET_BUFFER
GOS_UNKNOWN_NETWORK_STACK_ERROR
GOS_NO_STORED_AP_IN_DCT
GOS_STA_JOIN_FAILED
GOS_INVALID_HANDLE
GOS_NO_MEM
GOS_BAD_MEM_ALIGN
GOS_NO_ROOM
GOS_MEM_INVALID
GOS_MEM_INIT_ERR
GOS_MEM_READ_ERR
GOS_MEM_WRITE_ERR
GOS_MEM_ERASE_ERR
GOS_INVALID_CHECKSUM
GOS_NO_IP
GOS_DECRYPT_ERR
GOS_IN_USE
GOS_NO_CHANGE
GOS_SERVER_ERROR
GOS_CONNECTION_ESTABLISHED
GOS_BAD_CHUNK_HEADER
GOS_BAD_OFFSET
GOS_HTTP_READ_ERROR
GOS_NON_CHUNKED_ENCODING
GOS_BUFFER_OVERFLOW
GOS_HTTP_HEADER_NEWLINE
GOS_HTTP_HEADER_NO_VERSION
GOS_HTTP_HEADER_VERSION
GOS_HTTP_CODE
GOS_HTTP_HEADER_ERROR
GOS_MUTEX_FAILED
GOS_COMMAND_FAILED
GOS_OVERFLOW
GOS_BAD_CHECKSUM
GOS_NULL_PTR
GOS_UNINITIALIZED
GOS_READ_COMPLETE
GOS_NEVER_SET
GOS_BAD_EVENT_PERIOD
GOS_DUPLICATE_EVENT
GOS_SHUTTING_DOWN
GOS_SFLASH_WRITE_ERROR
GOS_SFLASH_WRITE_NOT_ENABLED
GOS_INVALID_HEADER
GOS_INTERNAL_FLASH_NOT_ERASED
GOS_INTERNAL_FLASH_BAD_ADDR
GOS_LOCKED
GOS_HEAP_TRUNCATE_ERROR
GOS_LOAD_FAILED
GOS_NETWORK_NOT_DOWN
GOS_NOT_ALLOWED
GOS_BASE64_ENCODE_ERROR
GOS_UNDERFLOW
GOS_HTTP_UNAUTHORIZED
GOS_HTTP_SERVER_ERROR
GOS_HTTP_NOT_FOUND
GOS_HTTP_BAD_REQUEST
GOS_NO_SSID
GOS_NO_PASSKEY
GOS_TRANSMIT_FAILED
GOS_WAIT_ABORTED
GOS_BASE64_DECODE_ERROR
GOS_I2C_TX_NACK
GOS_I2C_RX_NACK
GOS_FLASH_TIMEOUT
GOS_FLASH_LOCKED
GOS_FLASH_WRITE_ERROR
GOS_FLASH_ERASE_ERROR
GOS_FLASH_ERROR
GOS_NESTED_COMMAND
GOS_LOG_FILE_OVERFLOW
GOS_UNTERMINATED_CRITICAL_SECTION
GOS_I2C_BUS_ERROR
GOS_ZERO_LENGTH_BUFFER
GOS_INTERFACE_NOT_INIT
GOS_BUFFER_UNDERFLOW
GOS_DUPLICATE
GOS_ID_INUSE
GOS_BAD_STATE
GOS_PARSE_ERROR
GOS_WRONG_STATE
GOS_CRYPTO_ERROR
GOS_UNALIGNED_ADDRESS
GOS_MISSING_CMD_RESPONSE
GOS_FILE_CORRUPT
GOS_FILE_BAD_TYPE
GOS_FILE_BAD_FLAGS
GOS_FILE_BAD_FILENAME
GOS_FILE_BAD_SIZE
GOS_FILE_BAD_OWNER
GOS_FILE_BAD_LOCATION
GOS_FILE_INVALID_CHECKSUM
GOS_FILE_INVALID_MAC
GOS_FILE_OWNED_BY_KERNEL
GOS_FILE_NO_PERMISSION
GOS_FILE_WRITE_ONLY
GOS_FILE_READ_ONLY
GOS_FILE_INVALID
GOS_NVM_CORRUPTION
GOS_NVM_WRITE_ERROR
GOS_NVM_READ_ERROR
GOS_DMS_BAD_RESPONSE
GOS_TCPIP_TX_NOT_ENABLED
GOS_DEVICE_CERT_UUID_INVALID
GOS_DEBUG_INTERFACE_LOCKED
GOS_TOKEN_UNAUTHORIZED
GOS_CORRUPT_CONTEXT
GOS_COULD_NOT_SUBSCRIBE
GOS_COULD_NOT_UNSUBSCRIBE
GOS_COULD_NOT_PUBLISH
GOS_UNAVAILABLE
GOS_NO_IP_METHOD_ENABLED
GOS_INVALID_DEVICE_CERT
GOS_NO_RESOURCES_AVAILABLE
GOS_MISSING_FIELD
GOS_NOT_ALLOWED_FROM_THREAD
GOS_HTTP_METHOD_NOT_ALLOWED
GOS_SPI_LOCK_DEADLOCK
GOS_NOT_DMS_PROVISIONED
GOS_DMS_PROVISIONING_FAILED
GOS_CMD_RESULT_CODES_START
GOS_CMD_RESULT_FAILED
GOS_CMD_RESULT_PARSE_ERROR
GOS_CMD_RESULT_UNKNOWN
GOS_CMD_RESULT_TOO_FEW_ARGS
GOS_CMD_RESULT_TOO_MANY_ARGS
GOS_CMD_RESULT_UNKNOWN_OPTION
GOS_CMD_RESULT_BAD_ARGS
GOS_CMD_RESULT_BUFFER_OVERFLOW
GOS_CMD_RESULT_BOUNDS_ERROR
GOS_CMD_RESULT_CODES_END
GOS_DFU_INVALID_DEVICE_CREDENTIALS
GOS_DFU_INVALID_SIGNATURE
GOS_DFU_NO_DEVICE_CERTIFICATE
GOS_DFU_INVALID_DMS_PRODUCT_AUTH_SIGNATURE
GOS_DFU_INVALID_KERNEL_AUTH_SIGNATURE
GOS_DFU_INVALID_PLUGINS_AUTH_SIGNATURE
GOS_DFU_INVALID_FILE
GOS_DFU_SIGNING_ERROR
GOS_DFU_DEVICE_PRIVATE_KEY_INVALID
GOS_DFU_DMS_CA_PARSE_VALID
GOS_DFU_PACKAGE_FILE_WRITE_ERROR
GOS_DFU_PACKAGE_FILE_READ_ERROR
GOS_DFU_PACKAGE_FILE_ERASE_ERROR
GOS_DFU_PACKAGE_FILE_WRITE_CRC_ERROR
GOS_DFU_UPDATE_FILE_CRC_ERROR
GOS_DFU_HASH_CALCULATION_ERROR
GOS_DFU_DEVICE_CREDS_MISSING_REQUIRED_ENTRY
GOS_DFU_DMS_SERVER_CERT_INVALID
GOS_DFU_DMS_DEVICE_CERT_INVALID
GOS_DFU_DMS_DEVICE_KEY_INVALID
GOS_DFU_DMS_DEVICE_CERT_CN_INVALID
GOS_DFU_BUNDLE_VERSION_INVALID
GOS_DFU_PACKAGE_PROCESSING_COMPLETE
GOS_DFU_INVALID_KERNEL_HEADER
GOS_DFU_DFU_COUNTER_EXCEEDED
GOS_DFU_MALFORMED_DER_CERT_CHAIN
GOS_DFU_PRODUCT_KEY_SIG_INVALID
GOS_DFU_PRODUCT_AES_KEY_INVALID
GOS_DFU_PRODUCT_AES_KEY_MISSING
GOS_DFU_PACKAGE_CODES_START
GOS_DFU_MALFORMED_PACKAGE
GOS_DFU_INVALID_PACKAGE_SIGNATURE
GOS_DFU_INVALID_PACKAGE_CRC
GOS_DFU_MALFORMED_PACKAGE_MANIFEST
GOS_DFU_IS_PRODUCTION_DEVICE
GOS_DFU_IS_DEVELOPMENT_DEVICE
GOS_DFU_PACKAGE_VERSION_NOT_ALLOWED
GOS_DFU_PACKAGE_PRODUCT_NOT_ALLOWED
GOS_DFU_PACKAGE_INTERFACE_NOT_ALLOWED
GOS_DFU_PACKAGE_UUID_NOT_ALLOWED
GOS_DFU_BULK_FS_NOT_ENABLED
GOS_DFU_BULK_FS_INIT_FAILED
GOS_DFU_NO_ROOM
GOS_DFU_NO_MULTI_PASS_UPDATES
GOS_DFU_PACKAGE_DATA_OVERFLOW
GOS_DFU_PACKAGE_HEADER_INVALID
GOS_DFU_PACKAGE_INVALID_PRODUCT_AES_KEY
GOS_DFU_PACKAGE_BAD_FILE_ATTRIBUTE
GOS_DFU_PACKAGE_CODES_END
GOS_RTOS_MUTEX_ERROR
GOS_RTOS_QUEUE_ERROR
GOS_RTOS_TIMER_ERROR
GOS_RTOS_FLAGS_ERROR
GOS_RTOS_THREAD_ERROR
GOS_RTOS_SEMAPHORE_ERROR
GOS_RTOS_MUTEX_INVALID
GOS_RTOS_QUEUE_INVALID
GOS_RTOS_TIMER_INVALID
GOS_RTOS_FLAGS_INVALID
GOS_RTOS_THREAD_INVALID
GOS_RTOS_SEMAPHORE_INVALID
GOS_RTOS_THREAD_CREATE_FAILED
GOS_RTOS_THREAD_DELETE_FAILED
GOS_RTOS_THREAD_SLEEP_FAILED
GOS_RTOS_NOT_ALLOWED_FROM_IRQ
GOS_RTOS_NOT_ALLOWED_WITH_INT_DISABLED
GOS_TLS_RECEIVE_FAILED
GOS_TLS_ERROR
GOS_TLS_ERROR_OUT_OF_MEMORY
GOS_TLS_ERROR_FEATURE_UNAVAILABLE
GOS_TLS_ERROR_BAD_INPUT_DATA
GOS_TLS_ERROR_INVALID_MAC
GOS_TLS_ERROR_INVALID_RECORD
GOS_TLS_ERROR_UNKNOWN_CIPHER
GOS_TLS_ERROR_NO_CIPHER_CHOSEN
GOS_TLS_ERROR_NO_CLIENT_CERTIFICATE
GOS_TLS_ERROR_CERTIFICATE_TOO_LARGE
GOS_TLS_ERROR_CERTIFICATE_REQUIRED
GOS_TLS_ERROR_PRIVATE_KEY_REQUIRED
GOS_TLS_ERROR_CA_CHAIN_REQUIRED
GOS_TLS_ERROR_UNEXPECTED_MESSAGE
GOS_TLS_ERROR_FATAL_ALERT_MESSAGE
GOS_TLS_ERROR_PEER_VERIFY_FAILED
GOS_TLS_ERROR_PEER_CLOSE_NOTIFY
GOS_TLS_ERROR_BAD_HS_CLIENT_HELLO
GOS_TLS_ERROR_BAD_HS_SERVER_HELLO
GOS_TLS_ERROR_BAD_HS_CERTIFICATE
GOS_TLS_ERROR_BAD_HS_CERTIFICATE_REQUEST
GOS_TLS_ERROR_BAD_HS_SERVER_KEY_EXCHANGE
GOS_TLS_ERROR_BAD_HS_SERVER_HELLO_DONE
GOS_TLS_ERROR_BAD_HS_CLIENT_KEY_EXCHANGE
GOS_TLS_ERROR_BAD_HS_CERTIFICATE_VERIFY
GOS_TLS_ERROR_BAD_HS_CHANGE_CIPHER_SPEC
GOS_TLS_ERROR_BAD_HS_FINISHED
GOS_TLS_HANDSHAKE_TIMEOUT
GOS_TLS_HANDSHAKE_ERROR
GOS_TLS_CERT_UNKNOWN_OID
GOS_TLS_CERT_INVALID_FORMAT
GOS_TLS_CERT_INVALID_VERSION
GOS_TLS_CERT_INVALID_SERIAL
GOS_TLS_CERT_INVALID_ALG
GOS_TLS_CERT_INVALID_NAME
GOS_TLS_CERT_INVALID_DATE
GOS_TLS_CERT_INVALID_SIGNATURE
GOS_TLS_CERT_INVALID_EXTENSIONS
GOS_TLS_CERT_UNKNOWN_VERSION
GOS_TLS_CERT_UNKNOWN_SIG_ALG
GOS_TLS_CERT_VERIFY_FAILED
GOS_TLS_CERT_UNKNOWN_FORMAT
GOS_TLS_CERT_ERROR
GOS_TLS_CERT_DATE_IN_FUTRUE
GOS_TLS_CERT_DATE_EXPIRED
GOS_TLS_CERT_REVOKED
GOS_TLS_CERT_CN_MISMATCH
GOS_TLS_CERT_KEY_USAGE
GOS_TLS_CERT_NOT_TRUSTED
GOS_TLS_ENCRYPTION_FAILED
GOS_TLS_MALFORMED_DER_CERT_CHAIN
Macros
ALIGN_4
ALIGN_8
ALIGN_n
ARRAY_COUNT
BUILD_ASSERTION
DIV_ROUND_UP
GOS_CREATE_OBJECT
GOS_DESTROY_OBJECT
GOS_DEVICE_UUID_LEN
GOS_FAILED
GOS_IS_NULL_ARG
GOS_LOG
GOS_MAX_STREAMS
GOS_NEVER_TIMEOUT
GOS_NO_WAIT
GOS_NULL_HANDLE
GOS_URL_MAX_LENGTH
GOS_VERIFY
GOS_VLOG
GOS_WAIT_FOREVER
MAX
MIN
OFFSETOF
ROUND_UP
UNUSED_PARAMETER
Memory
gos_malloc
gos_malloc_named
gos_free
gos_free_linked_list
Commands
Types
gos_cmd_operation_config_t
callback
dst
len
logs_enabled
wait_timeout_ms
gos_cmd_operation_callback_t
gos_cmd_issue
gos_cmd_issue_return_data
gos_cmd_issue_return_str
gos_cmd_issue_return_uint32
gos_cmd_issue_with_callback
gos_cmd_issue_with_config
gos_cmd_issue_with_data
gos_cmd_issue_with_vconfig
Data Streams
gos_close
gos_poll
gos_read
gos_read_with_buffer
gos_write
Logging
Macros
GOS_DUMP_DEFAULT_FLAGS
GOS_DUMP_FLAGS
GOS_DUMP_UINT8_BUFFER
GOS_LOG
GOS_VLOG
gos_dump_flags_t
GOS_DUMP_ROW_LEN_2
GOS_DUMP_ROW_LEN_4
GOS_DUMP_ROW_LEN_8
GOS_DUMP_ROW_LEN_16
GOS_DUMP_ROW_LEN_32
GOS_DUMP_WORD_LEN_1
GOS_DUMP_WORD_LEN_2
GOS_DUMP_WORD_LEN_4
GOS_DUMP_ENDIAN_LITTLE
GOS_DUMP_ENDIAN_BIG
GOS_DUMP_NO_SPACE
GOS_DUMP_ADD_SPACE
GOS_DUMP_NO_ADDRESSES
GOS_DUMP_PRINT_ADDRESSES
GOS_DUMP_NO_ASCII
GOS_DUMP_PRINT_ASCII
gos_dump_buffer
gos_log
gos_vlog
gos_write_log
Kernel Callbacks
gos_app_deinit
gos_app_idle
gos_app_init
gos_app_preinit
gos_app_sram_init
Settings and NVM
Gecko OS Settings
Macros
GOS_GET_SETTING_STR
GOS_VERIFY_SETTING_STR
GOS_VERIFY_SETTING_UINT32
gos_load_app_settings
gos_load_app_settings_once
gos_settings_factory_reset
gos_settings_get_print_str
gos_settings_get_str
gos_settings_get_uint32
gos_settings_load_from_file
gos_settings_save
gos_settings_save_to_file
gos_settings_set_int32
gos_settings_set_str
gos_settings_set_uint32
Application NVM
Macros
GOS_NVM_CREATE_DEFAULT_ARRAY
GOS_NVM_CREATE_DEFAULT_ENTRY
GOS_NVM_DEFINE_ENTRY
GOS_NVM_DEFINE_SUBTYPE
GOS_NVM_DEFINE_TYPE
GOS_NVM_ENTRY_MAX_LENGTH
GOS_NVM_GET
GOS_NVM_KEY
GOS_NVM_MEMORY_SECTION_SIZE
GOS_NVM_SUBTYPE_MAX_VALUE
GOS_NVM_TYPE_MAX_VALUE
GOS_NVM_UPDATE
GOS_NVM_UPDATE_FORCED
gos_factory_reset_t
GOS_NVM_RESET_BACKUP
GOS_NVM_RESET_FACTORY
GOS_NVM_RESET_CACHE_ONLY
gos_nvm_factory_reset
gos_nvm_retrieve
gos_nvm_save
gos_nvm_update
Device Management Server (DMS)
Types
gos_dms_messsage_config_t
handler
is_response
length
timeout_ms
gos_dms_telemetry_callback_t
gos_dfu_status_t
GOS_DFU_STATUS_NONE
GOS_DFU_STATUS_SUCCESS
GOS_DFU_STATUS_FIRST_PASS_SUCCESS
GOS_DFU_STATUS_UP_TO_DATE
GOS_DFU_STATUS_PENDING
GOS_DFU_STATUS_ERRORS_START
GOS_DFU_STATUS_RECOVERABLE_ERRORS_START
GOS_DFU_STATUS_DMS_CONNECTION_ERROR
GOS_DFU_STATUS_DMS_READ_TIMEOUT_ERROR
GOS_DFU_STATUS_NETWORK_NOT_FOUND
GOS_DFU_STATUS_NETWORK_JOIN_FAILED
GOS_DFU_STATUS_MAX_REQUEST_ATTEMPTS
GOS_DFU_STATUS_XMODEM_INIT_TIMEOUT
GOS_DFU_STATUS_XMODEM_READ_TIMEOUT
GOS_DFU_STATUS_XMODEM_MAX_RETRIES
GOS_DFU_STATUS_MAX_FAULTS
GOS_DFU_STATUS_RECOVERABLE_ERRORS_END
GOS_DFU_STATUS_KERNEL_ERROR
GOS_DFU_STATUS_APPLICATION_FILE_INVALID
GOS_DFU_STATUS_DMS_PRODUCT_AUTH_KEY_SIG_INVALID
GOS_DFU_STATUS_APPLICATION_SIGNATURE_INVALID
GOS_DFU_STATUS_NETWORK_SSID_NOT_SET
GOS_DFU_STATUS_NETWORK_PASSKEY_NOT_SET
GOS_DFU_STATUS_NETWORK_SECURITY_NOT_SUPPORTED
GOS_DFU_STATUS_MAX_UPDATE_ATTEMPTS
GOS_DFU_STATUS_NO_DEVICE_CERTIFICATE
GOS_DFU_STATUS_DEVCREDS_FINALIZE_FAILED
GOS_DFU_STATUS_DMS_NO_AUTHORIZATION
GOS_DFU_STATUS_APPLICATION_SIGNATURE_CHECK_FAILED
GOS_DFU_STATUS_DFU_COUNTER_EXCEEDED
GOS_DFU_STATUS_DEVCREDS_CORRUPT
GOS_DFU_STATUS_SECOND_STAGE_BOOTLOADER_ERROR
GOS_DFU_STATUS_EXTENDED_FLASH_INIT_FAILED
GOS_DFU_STATUS_EXTENDED_FLASH_NOT_ENABLED
GOS_DFU_STATUS_FLASH_ERASE_ERROR
GOS_DFU_STATUS_FLASH_WRITE_ERROR
GOS_DFU_STATUS_FLASH_READ_ERROR
GOS_DFU_STATUS_CACHE_VERIFY_FAILED
GOS_DFU_STATUS_DECRYPT_VERIFY_FAILED
GOS_DFU_STATUS_DMS_BUNDLE_NOT_FOUND
GOS_DFU_STATUS_UPDATE_DEVCREDS_COPY_FAILED
GOS_DFU_STATUS_UPDATE_DEVCREDS_SIG_INVALID
GOS_DFU_STATUS_UPDATE_DEVCREDS_CRC_SIG_INVALID
GOS_DFU_STATUS_UPDATE_DEVCREDS_DMS_SERVER_CERT_INVALID
GOS_DFU_STATUS_UPDATE_DEVCREDS_DMS_DEVICE_CERT_INVALID
GOS_DFU_STATUS_UPDATE_DEVCREDS_DMS_DEVICE_KEY_INVALID
GOS_DFU_STATUS_UPDATE_DEVCREDS_BUNDLE_VERSION_INVALID
GOS_DFU_STATUS_UPDATE_DEVCREDS_PRODUCT_KEY_SIG_INVALID
GOS_DFU_STATUS_UPDATE_DEVCREDS_MISSING_ENTRY
GOS_DFU_STATUS_UPDATE_KERNEL_SIG_INVALID
GOS_DFU_STATUS_UPDATE_KERNEL_COPY_FAILED
GOS_DFU_STATUS_UPDATE_SSB_CRC_INVALID
GOS_DFU_STATUS_UPDATE_SSB_SIG_INVALID
GOS_DFU_STATUS_UPDATE_SSB_COPY_FAILED
GOS_DFU_STATUS_UPDATE_APPLICATION_SIG_INVALID
GOS_DFU_STATUS_UPDATE_APPLICATION_COPY_FAILED
GOS_DFU_STATUS_PACKAGE_PROCESSING_ERROR
GOS_DFU_STATUS_NOT_PROVISIONED
GOS_DFU_STATUS_PROVISIONING_FAILED
GOS_DFU_STATUS_NO_PRODUCT_AES_KEY
GOS_DFU_STATUS_PACKAGE_CODES_START
GOS_DFU_STATUS_MALFORMED_PACKAGE
GOS_DFU_STATUS_INVALID_PACKAGE_SIGNATURE
GOS_DFU_STATUS_INVALID_PACKAGE_CRC
GOS_DFU_STATUS_MALFORMED_PACKAGE_MANIFEST
GOS_DFU_STATUS_MALFORMED_PACKAGE_METADATA
GOS_DFU_STATUS_IS_PRODUCTION_DEVICE
GOS_DFU_STATUS_IS_DEVELOPMENT_DEVICE
GOS_DFU_STATUS_PACKAGE_VERSION_NOT_ALLOWED
GOS_DFU_STATUS_PACKAGE_PRODUCT_NOT_ALLOWED
GOS_DFU_STATUS_PACKAGE_UUID_NOT_ALLOWED
GOS_DFU_STATUS_BULK_FS_NOT_ENABLED
GOS_DFU_STATUS_BULK_FS_INIT_FAILED
GOS_DFU_STATUS_NO_ROOM
GOS_DFU_STATUS_NO_MULTI_PASS_UPDATES
GOS_DFU_STATUS_PACKAGE_DATA_OVERFLOW
GOS_DFU_STATUS_PACKAGE_HEADER_INVALID
GOS_DFU_STATUS_PACKAGE_INVALID_PRODUCT_AES_KEY
GOS_DFU_STATUS_PACKAGE_BAD_FILE_ATTRIBUTE
gos_dms_query_status_t
GOS_DMS_QUERY_STATUS_ERROR
GOS_DMS_QUERY_STATUS_AVAILABLE
GOS_DMS_QUERY_STATUS_UP_TO_DATE
Macros
GOS_DMS_UPDATE_LATEST
Telemetry
gos_dms_post_telemetry
gos_dms_set_telemetry_callback
Message
gos_dms_message_context_destroy
gos_dms_message_register_action_listener
gos_dms_message_unregister_action_listener
gos_dms_message_write_buffer
gos_dms_message_write_flush
gos_dms_message_write_init
gos_dms_message_write_raw
gos_dms_set_message_fallback_handler
gos_dms_set_message_stream_state_handler
Firmware Update
gos_dms_clear_dfu_status
gos_dms_dfu_query
gos_dms_get_dfu_status
gos_dms_ota_update
Activation
gos_dms_provision_status_t
GOS_PROVISION_STATUS_INCOMPLETE_AND_NO_TOKEN
GOS_PROVISION_STATUS_INCOMPLETE_AND_HAVE_TOKEN
GOS_PROVISION_STATUS_COMPLETE_BUT_NO_ACK
GOS_PROVISION_STATUS_COMPLETE
gos_dms_activate
gos_dms_get_provision_status
gos_dms_provision
Network
Interface
Types
gos_ip_address_t
version
gos_ip_setting_t
gateway
ip_address
netmask
static_ipv6
gos_mac_t
gos_ssid_t
length
value
gos_softap_client_t
ipv4_address
mac
reserved
valid
gos_softap_event_handler_t
gos_deauth_reason_t
GOS_DEAUTH_REASON_RESERVED
GOS_DEAUTH_REASON_UNSPECIFIED
GOS_DEAUTH_REASON_INACTIVITY
gos_interface_mask_t
GOS_INTERFACE_MASK_NONE
GOS_INTERFACE_MASK_WLAN
GOS_INTERFACE_MASK_SOFTAP
GOS_INTERFACE_MASK_ETHERNET
GOS_INTERFACE_MASK_DEFAULT
gos_interface_t
GOS_INTERFACE_WLAN
GOS_INTERFACE_SOFTAP
GOS_INTERFACE_ETHERNET
GOS_INTERFACE_COUNT
GOS_INTERFACE_DEFAULT
GOS_INTERFACE_NONE
GOS_INTERFACE_ANY
gos_ip_version_t
GOS_IPV4
GOS_IPV6
GOS_INVALID_IP
gos_network_status_t
GOS_NETWORK_STATUS_DOWN
GOS_NETWORK_STATUS_UP
GOS_NETWORK_STATUS_IP
gos_wlan_result_t
GOS_WLAN_STATUS_UNKNOWN
GOS_WLAN_STATUS_SUCCESS
GOS_WLAN_STATUS_JOINING
GOS_WLAN_STATUS_SSID_NOT_SET
GOS_WLAN_STATUS_PASSWORD_NOT_SET
GOS_WLAN_STATUS_SECURITY_NOT_SUPPORTED
GOS_WLAN_STATUS_NOT_FOUND
GOS_WLAN_STATUS_FAILED
GOS_WLAN_STATUS_ABORTED
Macros
GOS_ANY_PORT
GOS_MAC_ADDRESS_LEN
gos_network_close_all_streams
gos_network_down
gos_network_get_credentials
gos_network_get_default_interface
gos_network_get_security
gos_network_get_status
gos_network_get_wlan_join_result
gos_network_get_wlan_join_result_str
gos_network_is_permanent_down
gos_network_is_up
gos_network_register_event_handler
gos_network_register_softap_event_handler
gos_network_restart
gos_network_set_credentials
gos_network_set_default_interface
gos_network_set_softap_domain_list
gos_network_softap_client_list
gos_network_softap_deauth_client
gos_network_up
Web Setup
Types
gos_setup_client_event_t
gos_setup_os_type_t
GOS_SETUP_OS_INVALID
GOS_SETUP_OS_UNKNOWN
GOS_SETUP_OS_WINDOWS
GOS_SETUP_OS_WINDOWS_MOBILE
GOS_SETUP_OS_ANDROID
GOS_SETUP_OS_LINUX
GOS_SETUP_OS_CHROME
GOS_SETUP_OS_IPHONE
GOS_SETUP_OS_IPOD
GOS_SETUP_OS_IPAD
GOS_SETUP_OS_MAC
GOS_SETUP_OS_BLACKBERRY
GOS_SETUP_OS_SYMBIAN
gos_setup_ble_start
gos_setup_get_client_os_str
gos_setup_register_client_event_handler
gos_setup_register_finished_event_handler
gos_setup_start
gos_setup_stop
Utility
Types
gos_scan_result_t
band
bss_type
BSSID
channel
max_data_rate
next
on_channel
security
signal_strength
SSID
gos_tls_certificates_t
ca
cert
key
gos_802_11_band_t
GOS_802_11_BAND_5GHZ
GOS_802_11_BAND_2_4GHZ
gos_bss_type_t
GOS_BSS_TYPE_INFRASTRUCTURE
GOS_BSS_TYPE_ADHOC
GOS_BSS_TYPE_ANY
GOS_BSS_TYPE_UNKNOWN
gos_security_t
GOS_SECURITY_OPEN
GOS_SECURITY_WEP_PSK
GOS_SECURITY_WEP_SHARED
GOS_SECURITY_WPA_TKIP_PSK
GOS_SECURITY_WPA_AES_PSK
GOS_SECURITY_WPA2_AES_PSK
GOS_SECURITY_WPA2_TKIP_PSK
GOS_SECURITY_WPA2_MIXED_PSK
GOS_SECURITY_WPS_OPEN
GOS_SECURITY_WPS_SECURE
GOS_SECURITY_UNKNOWN
GOS_SECURITY_FORCE_32_BIT
gos_network_get_mac
gos_network_get_rssi
gos_network_lookup
gos_network_ping
gos_network_scan
gos_network_scan_destroy_results
gos_network_softap_get_rssi
gos_network_verify
Protocols
TCP/TLS Client/Server
Types
gos_tcp_config_t
certs
gpio
host
interface
local_port
remote_port
use_secure_element
use_tls
gos_tcp_connect
gos_tcp_connect_with_config
gos_tcp_disconnect
gos_tcp_get_client_info
gos_tcp_listen
gos_tcp_poll
gos_tcp_read
gos_tcp_read_with_buffer
gos_tcp_register_client_event_handlers
gos_tcp_register_server_event_handlers
gos_tcp_stop_listening
gos_tcp_trigger_server_event_handlers
gos_tcp_write
gos_tls_connect
gos_tls_listen
gos_tls_stop_listening
UDP Client/Server
Types
gos_udp_client_config_t
gpio
host
interface
local_port
remote_port
gos_udp_close
gos_udp_connect
gos_udp_connect_with_config
gos_udp_listen
gos_udp_poll
gos_udp_query
gos_udp_read
gos_udp_read_with_buffer
gos_udp_receivefrom
gos_udp_register_receive_event_handler
gos_udp_sendto
gos_udp_stop_listening
gos_udp_write
HTTP Client
Types
gos_http_request_t
certs
content_length
content_type
interface
method
url
use_secure_element
gos_http_response_header_t
key
next
value
gos_http_response_t
buffer
code
content_length
header_list
headers
version
gos_http_response_config_t
buffer
flags
max_size
timeout
gos_http_basic_header_t
GOS_HTTP_CONTENT_TYPE
GOS_HTTP_CONTENT_LENGTH
GOS_HTTP_TRANSFER_ENCODING
GOS_HTTP_LOCATION
gos_http_method_t
GOS_HTTP_GET
GOS_HTTP_POST
GOS_HTTP_HEAD
GOS_HTTP_PUT
GOS_HTTP_DELETE
gos_http_response_flags_t
GOS_HTTP_RESPONSE_ALL_HEADERS
gos_http_status_code_t
GOS_HTTP_STATUS_SWITCHING_PROTOCOLS
GOS_HTTP_STATUS_RESPONSE_OK
GOS_HTTP_STATUS_CREATED
GOS_HTTP_STATUS_ACCEPTED
GOS_HTTP_STATUS_NONAUTHORITATIVE
GOS_HTTP_STATUS_NO_CONTENT
GOS_HTTP_STATUS_RESET_CONTENT
GOS_HTTP_STATUS_PARTIAL_CONTENT
GOS_HTTP_STATUS_MULTIPLE_CHOICES
GOS_HTTP_STATUS_MOVED_PERMANENTLY
GOS_HTTP_STATUS_FOUND
GOS_HTTP_STATUS_SEE_OTHER
GOS_HTTP_STATUS_NOT_MODIFIED
GOS_HTTP_STATUS_USEPROXY
GOS_HTTP_STATUS_TEMPORARY_REDIRECT
GOS_HTTP_STATUS_BAD_REQUEST
GOS_HTTP_STATUS_UNAUTHORIZED
GOS_HTTP_STATUS_PAYMENT_REQUIRED
GOS_HTTP_STATUS_FORBIDDEN
GOS_HTTP_STATUS_NOT_FOUND
GOS_HTTP_STATUS_METHOD_NOT_ALLOWED
GOS_HTTP_STATUS_NOT_ACCEPTABLE
GOS_HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED
GOS_HTTP_STATUS_REQUEST_TIMEOUT
GOS_HTTP_STATUS_CONFLICT
GOS_HTTP_STATUS_GONE
GOS_HTTP_STATUS_LENGTH_REQUIRED
GOS_HTTP_STATUS_PRECONDITION_FAILED
GOS_HTTP_STATUS_REQUESTENTITYTOOLARGE
GOS_HTTP_STATUS_REQUESTURITOOLONG
GOS_HTTP_STATUS_UNSUPPORTEDMEDIATYPE
GOS_HTTP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE
GOS_HTTP_STATUS_EXPECTATION_FAILED
GOS_HTTP_STATUS_INTERNAL_SERVER_ERROR
GOS_HTTP_STATUS_NOT_IMPLEMENTED
GOS_HTTP_STATUS_BAD_GATEWAY
GOS_HTTP_STATUS_SERVICE_UNAVAILABLE
GOS_HTTP_STATUS_GATEWAY_TIMEOUT
GOS_HTTP_STATUS_VERSION_NOT_SUPPORTED
gos_http_add_header
gos_http_close
gos_http_get
gos_http_open_request
gos_http_poll
gos_http_post
gos_http_read
gos_http_read_status
gos_http_read_with_buffer
gos_http_receive_response
gos_http_receive_response_with_config
gos_http_response_cleanup
gos_http_write
HTTP Server
Types
gos_hs_param_t
key
next
value
gos_hs_header_t
key
next
value
gos_hs_dynamic_page_t
next
path
processor
gos_hs_tls_client_t
common_name
next
timestamp
gos_hs_reply_config_t
cors_origin
flags
headers
length
mime_type
status_code
gos_hs_authorize_callback_t
gos_hs_custom_header_callback_t
gos_hs_direct_receive_callback_t
gos_hs_event_processing_callback_t
gos_hs_keepalive_callback_t
gos_hs_not_found_callback_t
gos_hs_request_processor_t
gos_hs_request_t
gos_hs_method_t
GOS_HTTP_METHOD_GET
GOS_HTTP_METHOD_POST
GOS_HTTP_METHOD_HEAD
GOS_HTTP_METHOD_DELETE
GOS_HTTP_METHOD_OPTIONS
GOS_HTTP_METHOD_PUT
gos_hs_request_header_t
GOS_HTTP_REQUEST_USER_AGENT
GOS_HTTP_REQUEST_TRANSFER_ENCODING
GOS_HTTP_REQUEST_CONTENT_TYPE
GOS_HTTP_REQUEST_AUTHORIZATION
GOS_HTTP_REQUEST_WS_KEY
GOS_HTTP_REQUEST_CONTENT_LENGTH
GOS_HTTP_REQUEST_CONNECTION
GOS_HTTP_REQUEST_ORIGIN
gos_hs_response_flag_t
GOS_HS_RESPONSE_FLAG_NONE
GOS_HS_RESPONSE_FLAG_GZIP
GOS_HS_RESPONSE_FLAG_CACHE
GOS_HS_RESPONSE_FLAG_KEEPALIVE
Macros
GOS_HTTP_SERVER_DYNAMIC_PAGE
GOS_HTTP_SERVER_DYNAMIC_PAGES_END
GOS_HTTP_SERVER_DYNAMIC_PAGES_START
GOS_HTTP_SERVER_REGISTER_DYNAMIC_PAGES
gos_hs_authorize_user
gos_hs_destroy_tls_client_list
gos_hs_get_tls_client_list
gos_hs_is_running
gos_hs_read_post_data
gos_hs_register_authorize_callback
gos_hs_register_dynamic_page
gos_hs_register_header_callback
gos_hs_register_not_found_callback
gos_hs_request_get_content_length
gos_hs_request_get_header
gos_hs_request_get_method
gos_hs_request_get_param
gos_hs_return_status_code
gos_hs_url_decode
gos_hs_write_chunked_data
gos_hs_write_data
gos_hs_write_not_found_response
gos_hs_write_reply_header
gos_hs_write_reply_header_with_config
gos_hs_write_unauthorized_response
HTTP File Transfer
Types
gos_http_download_t
certs
checksum
delete_duplicate
flags
interface
local_filename
location
owner
permissions
type
url
version
gos_http_upload_t
certs
content_type
decrypt
form_name
interface
local_filename
remote_filename
url
gos_http_download
gos_http_upload
HTTP Server Data Stream
Types
GOS_HS_STREAM_WRITE_ALL
gos_hs_stream_handler_t
gos_hs_stream_ws_accept_callback_t
gos_hs_stream_ws_client_t
gos_hs_stream_permissions_t
GOS_HS_STREAM_PERMISSION_NONE
GOS_HS_STREAM_PERMISSION_READ
GOS_HS_STREAM_PERMISSION_WRITE
GOS_HS_STREAM_PERMISSION_ALL
General API
gos_hs_stream_flush
gos_hs_stream_register
gos_hs_stream_unregister
gos_hs_stream_write_direct
Websocket API
gos_hs_stream_ws_abort_write
gos_hs_stream_ws_close
gos_hs_stream_ws_list
gos_hs_stream_ws_read
gos_hs_stream_ws_set_accept_callback
gos_hs_stream_ws_set_handlers
gos_hs_stream_ws_write
WebSocket Client/Server
Types
gos_websocket_header_t
key
next
value
gos_websocket_config_t
buffer_size
certs
frame_type
gpio
host
interface
gos_websocket_frame_t
final_frame
payload
payload_length
payload_type
gos_websocket_frame_type_t
GOS_WEBSOCKET_CONTINUATION_FRAME
GOS_WEBSOCKET_TEXT_FRAME
GOS_WEBSOCKET_BINARY_FRAME
gos_websocket_client_read_frame
gos_websocket_connect
gos_websocket_connect_with_config
gos_websocket_disconnect
gos_websocket_get_client_info
gos_websocket_poll
gos_websocket_read
gos_websocket_read_with_buffer
gos_websocket_register_client_event_handlers
gos_websocket_register_server_event_handlers
gos_websocket_send_ping
gos_websocket_write
SMTP
Types
gos_smtp_config_t
content
content_length
content_reader
subject
to_address
user
gos_smtp_content_reader_t
gos_smtp_send
gos_smtp_send_with_config
NTP
Types
ntp_packet_t
gos_ntp_update_event_t
gos_ntp_update
Network Discovery
mDNS
Types
mdns_service_info_t
mdns_service_details_t
gos_mdns_service_details_t
gos_mdns_service_info_t
mdns_service_handle_t
mdns_txt_record_callback_t
gos_mdns_service_register
gos_mdns_service_unregister
gos_mdns_setup_service_details
Periodic Broadcast
Types
gos_broadcast_callback_t
gos_broadcast_set_callback
Peripherals
GPIO
Types
gos_gpio_config_t
GOS_GPIO_INPUT_PULL_UP
GOS_GPIO_INPUT_PULL_DOWN
GOS_GPIO_INPUT_HIGH_IMPEDANCE
GOS_GPIO_OUTPUT_PUSH_PULL
GOS_GPIO_OUTPUT_OPEN_DRAIN_NO_PULL
GOS_GPIO_OUTPUT_OPEN_DRAIN_PULL_UP
GOS_GPIO_CONFIG_NONE
gos_gpio_irq_trigger_t
GOS_GPIO_TRIGGER_RISING_EDGE
GOS_GPIO_TRIGGER_FALLING_EDGE
GOS_GPIO_TRIGGER_BOTH_EDGES
gos_gpio_t
GOS_GPIO_0
GOS_GPIO_MAX
GOS_GPIO_INVALID
gos_gpio_deinit
gos_gpio_direct_init
gos_gpio_direct_set
gos_gpio_get
gos_gpio_init
gos_gpio_irq_disable
gos_gpio_irq_enable
gos_gpio_mask_clear
gos_gpio_mask_get
gos_gpio_mask_set
gos_gpio_set
ADC
Types
gos_adc_config_t
resolution
gos_adc_lut_t
gos_adc_sample_type_t
GOS_ADC_SAMPLE_TYPE_RAW
GOS_ADC_SAMPLE_TYPE_VOLTAGE
gos_adc_deinit
gos_adc_destroy_lut
gos_adc_init
gos_adc_prepare_lut
gos_adc_sample
gos_adc_sample_and_convert
gos_adc_sample_stream
PWM
gos_pwm_stop
gos_pwm_update
I2C Master
Types
gos_i2c_message_t
buffer
flags
length
gos_i2c_device_t
address
address_width
flags
port
read_timeout
retries
speed
gos_i2c_address_width_t
GOS_I2C_7BIT
GOS_I2C_10BIT
GOS_I2C_16BIT
gos_i2c_flag_t
GOS_I2C_MSG_WRITE
GOS_I2C_MSG_READ
GOS_I2C_MSG_NO_STOP_SEQ
GOS_I2C_MSG_STOP_SEQ
GOS_I2C_MSG_READ_AFTER_WRITE
GOS_I2C_MSG_NO_READ_AFTER_WRITE
GOS_I2C_MSG_NO_START_SEQ
GOS_I2C_MSG_START_SEQ
gos_i2c_speed_t
GOS_I2C_CLOCK_LOW_SPEED
GOS_I2C_CLOCK_STANDARD_SPEED
GOS_I2C_CLOCK_HIGH_SPEED
gos_i2c_stream_flag_t
GOS_I2C_FLAG_STREAM_HEXIFY
gos_i2c_stream_write_flag_t
GOS_I2C_FLAG_STREAM_CONTINUED_WRITE
gos_i2c_t
GOS_I2C_0
GOS_GPIO_MAX
Macros
gos_i2c_init
gos_i2c_master_read_reg
gos_i2c_master_read_reg8
gos_i2c_master_write_reg
gos_i2c_master_write_reg8
gos_i2c_stream_close
gos_i2c_stream_configure
gos_i2c_stream_open
gos_i2c_stream_read
gos_i2c_stream_read_reg
gos_i2c_stream_read_reg8
gos_i2c_stream_set_slave_address
gos_i2c_stream_write
gos_i2c_stream_write_reg
gos_i2c_stream_write_reg8
gos_i2c_transfer
SPI Master
Types
gos_spi_message_t
length
rx_buffer
tx_buffer
gos_spi_device_t
bits
chip_select
cs_callback
cs_callback_arg
flags
lcd_bit8
port
speed
gos_spi_cs_callback_t
gos_spi_flag_t
GOS_SPI_CLOCK_RISING_EDGE
GOS_SPI_CLOCK_FALLING_EDGE
GOS_SPI_CLOCK_IDLE_HIGH
GOS_SPI_CLOCK_IDLE_LOW
GOS_SPI_MSB_FIRST
GOS_SPI_LSB_FIRST
GOS_SPI_READ_AFTER_WRITE
GOS_SPI_NO_READ_AFTER_WRITE
GOS_SPI_KEEP_ASSERTED
GOS_SPI_DONT_KEEP_ASSERTED
GOS_SPI_HEXIFY
GOS_SPI_NO_HEXIFY
GOS_SPI_SLAVE_HW_NSS
GOS_SPI_SLAVE_NO_HW_NSS
GOS_SPI_QUAD_ENABLED
GOS_SPI_QUAD_DISABLED
GOS_SPI_MASTER_MODE
GOS_SPI_SLAVE_MODE
GOS_SPI_LOOPBACK_MODE
GOS_SPI_LCD_9BIT_MODE
GOS_SPI_CS_ACTIVE_HIGH
GOS_SPI_CS_ACTIVE_LOW
gos_spi_t
GOS_SPI_0
GOS_SPI_MAX
Macros
Stream APIs
gos_spi_stream_close
gos_spi_stream_configure
gos_spi_stream_open
gos_spi_stream_read
gos_spi_stream_read_with_buffer
gos_spi_stream_set_slave_select
gos_spi_stream_write
Direct APIs
gos_spi_master_deassert
gos_spi_master_deinit
gos_spi_master_init
gos_spi_master_lock_bus
gos_spi_master_transfer
gos_spi_master_unlock_bus
UART
Types
gos_uart_powersave_config_t
mode
gos_uart_config_t
baud_rate
data_width
flow_control
parity
stop_bits
gos_uart_callback_t
gos_uart_flow_control_t
GOS_UART_FLOW_CONTROL_DISABLED
GOS_UART_FLOW_CONTROL_CTSRTS
gos_uart_parity_t
GOS_UART_NO_PARITY
GOS_UART_ODD_PARITY
GOS_UART_EVEN_PARITY
gos_uart_powersave_mode_t
GOS_UART_POWERSAVE_DISABLED
GOS_UART_POWERSAVE_WAKE_EXTERNAL
gos_uart_stop_bits_t
GOS_UART_STOP_BITS_1
GOS_UART_STOP_BITS_2
gos_uart_t
GOS_UART_0
GOS_UART_MAX
gos_uart_width_t
GOS_UART_WIDTH_4BIT
GOS_UART_WIDTH_5BIT
GOS_UART_WIDTH_6BIT
GOS_UART_WIDTH_7BIT
GOS_UART_WIDTH_8BIT
GOS_UART_WIDTH_9BIT
GOS_UART_WIDTH_10BIT
GOS_UART_WIDTH_11BIT
GOS_UART_WIDTH_12BIT
GOS_UART_WIDTH_13BIT
GOS_UART_WIDTH_14BIT
GOS_UART_WIDTH_15BIT
GOS_UART_WIDTH_16BIT
gos_uart_clear_rx_callback
gos_uart_clear_tx_processor
gos_uart_configure
gos_uart_get_configuration
gos_uart_peek_bytes
gos_uart_receive_bytes
gos_uart_set_rx_callback
gos_uart_set_tx_processor
gos_uart_transmit_bytes
gos_uart_update_baud
Button
Types
gos_button_config_t
changing
click
click_time
debounce
event_handler
execution_context
flags
press_time
toggle
gos_button_active_level_t
GOS_BUTTON_ACTIVE_HIGH
GOS_BUTTON_ACTIVE_LOW
gos_button_execution_context_t
GOS_BUTTON_CONTEXT_DEFAULT
GOS_BUTTON_CONTEXT_EVENT_THREAD
GOS_BUTTON_CONTEXT_IRQ
GOS_BUTTON_CONTEXT_NETWORK_WORKER
gos_button_flag_t
GOS_BUTTON_FLAG_NONE
GOS_BUTTON_FLAG_SKIP_REGISTRATION
gos_button_deinit
gos_button_init
gos_button_is_active
gos_button_update_config
CRC
Types
gos_crc_config_t
gos_crc_context_t
gos_crc_flag_t
GOS_CRC_FLAG_NONE
gos_crc_type_t
GOS_CRC_TYPE_CRC32
gos_crc_calculate
gos_crc_deinit
gos_crc_direct_crc32
gos_crc_get_result
gos_crc_init
gos_crc_reset
DMA
Types
gos_dma_channel_t
gos_dma_alloc
gos_dma_free
Custom Commands
Types
gos_cmd_write_poller_t
gos_cmd_writer_t
gos_cmd_result_t
GOS_CMD_SUCCESS
GOS_CMD_FAILED
GOS_CMD_PARSE_ERROR
GOS_CMD_UNKNOWN
GOS_CMD_TOO_FEW_ARGS
GOS_CMD_TOO_MANY_ARGS
GOS_CMD_UNKNOWN_OPTION
GOS_CMD_BAD_ARGS
GOS_CMD_BUFFER_OVERFLOW
GOS_CMD_BOUNDS_ERROR
GOS_CMD_SET_OK
GOS_CMD_EXECUTE_AOK
GOS_CMD_STOPPED
GOS_CMD_IN_PROGRESS
GOS_CMD_TIMEOUT
GOS_CMD_INVALID_RESPONSE
Macros
GOS_CMD_CREATE_COMMAND
GOS_CMD_CREATE_GETTER
GOS_CMD_CREATE_GETTER_SETTER
GOS_CMD_CREATE_SETTER
GOS_CMD_EXECUTE_OK
GOS_CMD_FAILED
GOS_CMD_PARSE_HEX_ARG
GOS_CMD_PARSE_HEX_ARG_WITH_VAR
GOS_CMD_PARSE_INT_ARG
GOS_CMD_PARSE_INT_ARG_WITH_VAR
GOS_CMD_RESULT
GOS_CMD_SET_FAILED
GOS_CMD_VERIFY
GOS_DEFINE_COMMAND
GOS_DEFINE_GETTER
GOS_DEFINE_SETTER
SC2
SC3
gos_cmd_convert_cmd_result
gos_cmd_format_response
gos_cmd_format_vresponse
gos_cmd_print_gpio_response
gos_cmd_print_hex_uint32_response
gos_cmd_print_int32_response
gos_cmd_print_ip_address_response
gos_cmd_print_ipv4_address_response
gos_cmd_print_str_response
gos_cmd_print_uint32_response
gos_cmd_read_data
gos_cmd_read_write_data
gos_cmd_set_bool
gos_cmd_set_console_enabled
gos_cmd_set_encoded_str
gos_cmd_set_flag
gos_cmd_set_hex
gos_cmd_set_int
gos_cmd_set_ip_address
gos_cmd_set_str
gos_cmd_start_response
gos_cmd_update_system_monitor
gos_cmd_write_continued_response
gos_cmd_write_data
gos_cmd_write_response
Event Handling
Types
gos_event_flag_t
GOS_EVENT_FLAG_NONE
GOS_EVENT_FLAG_RUN_NOW
GOS_EVENT_FLAG_ALLOW_DUPLICATE
GOS_EVENT_FLAG_REQUIRE_WLAN
GOS_EVENT_FLAG_REQUIRE_SOFTAP
GOS_EVENT_FLAG_REQUIRE_ETHERNET
GOS_EVENT_FLAG_IN_EVENT_THREAD
GOS_EVENT_FLAG_IN_NETWORK_WORKER
GOS_EVENT_FLAG_UPDATE_TIMEOUT
Macros
GOS_EVENT_FLAGS1
GOS_EVENT_FLAGS2
GOS_EVENT_FLAGS3
GOS_EVENT_FLAGS4
gos_event_disable_irq_events
gos_event_enable_irq_events
gos_event_irq_events_enabled
gos_event_is_registered
gos_event_issue
gos_event_register_failure_callback
gos_event_register_periodic
gos_event_register_timed
gos_event_restart
gos_event_trigger
gos_event_unregister
gos_event_unregister_all
gos_event_update_periodic
RTOS
Macros
GOS_DISABLE_INTERRUPTS
GOS_ENABLE_INTERRUPTS
GOS_INTERRUPT_CONTEXT
GOS_RTOS_DEFINE_ISR
GOS_RTOS_ISR
GOS_TRIGGER_BREAKPOINT
Types
gos_event_flags_wait_option_t
GOS_EVENT_FLAG_WAIT_FOR_ANY
GOS_EVENT_FLAG_WAIT_FOR_ALL
gos_thread_priority_t
GOS_THREAD_PRIORITY_REALTIME
GOS_THREAD_PRIORITY_HIGHEST
GOS_THREAD_PRIORITY_HIGHER
GOS_THREAD_PRIORITY_MEDIUM
GOS_THREAD_PRIORITY_LOWER
GOS_THREAD_PRIORITY_LOWEST
Mutex
gos_rtos_mutex_current_thread_owns
gos_rtos_mutex_deinit
gos_rtos_mutex_init
gos_rtos_mutex_lock
gos_rtos_mutex_trylock
gos_rtos_mutex_unlock
Semaphore
gos_rtos_semaphore_deinit
gos_rtos_semaphore_get
gos_rtos_semaphore_get_count
gos_rtos_semaphore_init
gos_rtos_semaphore_reset
gos_rtos_semaphore_set
Queue
gos_rtos_queue_deinit
gos_rtos_queue_flush
gos_rtos_queue_get_count
gos_rtos_queue_init
gos_rtos_queue_is_empty
gos_rtos_queue_is_full
gos_rtos_queue_pop
gos_rtos_queue_push
gos_rtos_queue_push_to_front
Timer
gos_rtos_timer_deinit
gos_rtos_timer_init
gos_rtos_timer_is_running
gos_rtos_timer_start
gos_rtos_timer_stop
gos_rtos_timer_update
Events
gos_rtos_event_flags_clear
gos_rtos_event_flags_deinit
gos_rtos_event_flags_init
gos_rtos_event_flags_set
gos_rtos_event_flags_wait
gos_rtos_event_flags_wait_for_all
gos_rtos_event_flags_wait_for_any
Miscellaneous
gos_rtos_delay_milliseconds
gos_rtos_get_time
File System
Types
gos_file_t
checksum
created_timestamp
flags
handle
location
name
next
owner
permissions
size
size_on_flash
type
version
gos_file_descriptor_t
crypto_context
current_sector
current_sector_position
data_start_address
handle
mode
position
size
user
gos_file_list_parameters_t
callback
flags
limit
location_mask
max_version
min_version
name
offset
type
gos_file_system_stats_t
bytes_available
bytes_used
file_count
total_size
gos_file_handle_t
gos_file_list_callback_t
gos_file_flag_t
GOS_FILE_FLAG_NONE
GOS_FILE_FLAG_VALID
GOS_FILE_FLAG_EXECUTABLE
GOS_FILE_FLAG_KERNEL_ONLY
GOS_FILE_FLAG_DFU_OUT_DATED
GOS_FILE_FLAG_DFU_ONLY
GOS_FILE_FLAG_DFU_COPY
GOS_FILE_FLAG_ENCRYPTED
GOS_FILE_FLAG_ESSENTIAL
GOS_FILE_FLAG_CHECKSUM_VALID
GOS_FILE_FLAG_PRE_ENCRYPTED
GOS_FILE_FLAG_SIGNED
gos_file_location_mask_t
GOS_FILE_LOCATION_MASK_NULL
GOS_FILE_LOCATION_MASK_INTERNAL
GOS_FILE_LOCATION_MASK_EXTENDED
GOS_FILE_LOCATION_MASK_BULK
GOS_FILE_LOCATION_MASK_NON_INTERNAL
GOS_FILE_LOCATION_MASK_ALL
gos_file_location_t
GOS_FILE_LOCATION_UNKNOWN
GOS_FILE_LOCATION_INTERNAL
GOS_FILE_LOCATION_EXTENDED
GOS_FILE_LOCATION_BULK
GOS_FILE_LOCATION_STANDARD_COUNT
GOS_FILE_LOCATION_BOOTLOADER
GOS_FILE_LOCATION_ONBOARD_DEVICE
GOS_FILE_LOCATION_ALL_WRITABLE
GOS_FILE_LOCATION_ANY
GOS_FILE_LOCATION_INVALID
gos_file_mode_t
GOS_FILE_MODE_READ
GOS_FILE_MODE_WRITE
GOS_FILE_MODE_READ_WRITE
gos_file_owner_t
GOS_FILE_OWNER_NONE
GOS_FILE_OWNER_PRODUCT
GOS_FILE_OWNER_DEVICE
GOS_FILE_OWNER_USER
GOS_FILE_OWNER_INVALID
gos_file_permission_t
GOS_FILE_PERMISSION_NONE
GOS_FILE_PERMISSION_SERIAL_BUS
GOS_FILE_PERMISSION_REMOTE_TERMINAL
GOS_FILE_PERMISSION_HTTP_API
GOS_FILE_PERMISSION_BLUETOOTH
GOS_FILE_PERMISSION_ZIGBEE
GOS_FILE_PERMISSION_ALL
gos_file_type_t
GOS_FILE_TYPE_UNKNOWN
GOS_FILE_TYPE_KERNEL
GOS_FILE_TYPE_WIFI_FW
GOS_FILE_TYPE_NVM_DEFAULTS
GOS_FILE_TYPE_WEAR_LEVELING_TABLE
GOS_FILE_TYPE_DEVICE_CREDENTIALS
GOS_FILE_TYPE_SAFEMODE_APP
GOS_FILE_TYPE_PLUGINS_APP
GOS_FILE_TYPE_USER_APP
GOS_FILE_TYPE_NVM_USER_DEFAULTS
GOS_FILE_TYPE_FIRST_STAGE_BOOTLOADER
GOS_FILE_TYPE_SECOND_STAGE_BOOTLOADER
GOS_FILE_TYPE_CORE_DUMP
GOS_FILE_TYPE_USER_TYPES_START
GOS_FILE_TYPE_LOG
GOS_FILE_TYPE_TLS_CERTIFICATE
GOS_FILE_TYPE_DEFAULT_CONFIG
GOS_FILE_TYPE_SETTINGS_CSV
GOS_FILE_TYPE_GENERAL
GOS_FILE_TYPE_WEB_APP
GOS_FILE_TYPE_CUSTOM_START
GOS_FILE_TYPE_CUSTOM_END
GOS_FILE_TYPE_USER_TYPES_END
GOS_FILE_TYPE_INVALID
GOS_FILE_TYPE_ANY
Macros
GOS_FILE_DEFAULT_USER_FILE_INFO
GOS_FILE_HANDLE_LOCATION
GOS_FILE_HANDLE_MAKE
GOS_FILE_HANDLE_SECTOR
GOS_FILE_LIST_DEFAULT_PARAMS
GOS_FILE_NO_LIMIT
GOS_FILE_SECTOR_LENGTH
GOS_FILE_VERSION_ARGS
GOS_FILE_VERSION_FMT
GOS_FILE_VERSION_MAKE
GOS_FILENAME_MAX_LENGTH
GOS_NULL_FILE_HANDLE
Log Files
Types
gos_log_file_stats_t
bytes_remaining
bytes_used
invalid_records
record_count
gos_log_file_header_t
Macros
GOS_LOG_FILE_GET_LENGTH
GOS_LOG_FILE_GET_NEXT
GOS_LOG_FILE_IS_VALID
GOS_LOG_FILE_RECORD_VALID_FLAG
gos_log_file_append
gos_log_file_get_stats
gos_log_file_open
gos_log_file_read
gos_file_close
gos_file_create
gos_file_delete
gos_file_destroy_list
gos_file_get_descriptor
gos_file_list
gos_file_open
gos_file_poll
gos_file_read
gos_file_stat
gos_file_system_get_stats
gos_file_version_str
gos_file_version_uint32
gos_file_write
System
Time
Types
gos_iso8601_t
day
hour
minute
month
number_of_leap_years
second
sub_second
timezone
year
gos_iso8601_str_t
colon1
colon2
colon3
dash1
dash2
day
hour
minute
month
null_terminator
second
T
timezone
timezone_hour
timezone_minute
year
gos_time_t
gos_timezone_offset_t
gos_utc_ms_t
gos_utc_seconds_t
gos_time_get_current_utc_as_iso8601
gos_time_get_current_utc_as_iso8601_str
gos_time_get_current_utc_ms
gos_time_get_current_utc_seconds
gos_time_get_ms_since_time_set
gos_time_get_timezone_offset
gos_time_get_uptime
gos_time_iso8601_to_str
gos_time_iso8601_to_utc_ms
gos_time_set_current_utc_ms
gos_time_set_timezone_offset
gos_time_utc_ms_to_iso8601
gos_time_utc_ms_to_iso8601_str
Indicator
Types
gos_system_indicator_callback_info_t
arg
indicator
operation
state
gos_system_indicator_callback_t
gos_system_indicator_operation_t
GOS_SYSTEM_INDICATOR_STATIC_OFF
GOS_SYSTEM_INDICATOR_STATIC_ON
GOS_SYSTEM_INDICATOR_SLOW_BLINK
GOS_SYSTEM_INDICATOR_MEDIUM_BLINK
GOS_SYSTEM_INDICATOR_FAST_BLINK
GOS_SYSTEM_INDICATOR_OPERATION_COUNT
GOS_SYSTEM_INDICATOR_OPERATION_INVALID
gos_system_indicator_state_t
GOS_SYSTEM_INDICATOR_STATE_0
GOS_SYSTEM_INDICATOR_STATE_1
GOS_SYSTEM_INDICATOR_STATE_2
GOS_SYSTEM_INDICATOR_STATE_3
GOS_SYSTEM_INDICATOR_STATE_COUNT
GOS_SYSTEM_INDICATOR_STATE_INVALID
gos_system_indicator_t
GOS_SYSTEM_INDICATOR_NETWORK
GOS_SYSTEM_INDICATOR_SOFTAP
GOS_SYSTEM_INDICATOR_WLAN
GOS_SYSTEM_INDICATOR_COUNT
gos_system_indicator_set_callback
Powersave
Backup Registers
gos_backup_register_read
gos_backup_register_write
Monitor
gos_system_monitor_t
last_update
longest_permitted_delay
gos_register_system_monitor
gos_unregister_system_monitor
gos_update_system_monitor
Miscellaneous
Types
gos_reset_cause_t
GOS_RESET_CAUSE_UNKNOWN
GOS_RESET_CAUSE_POWER_UP
GOS_RESET_CAUSE_WAKEUP
GOS_RESET_CAUSE_SOFTWARE
GOS_RESET_CAUSE_EXTERNAL
gos_startup_type_t
GOS_STARTUP_TYPE_UNKNOWN
GOS_STARTUP_TYPE_POWERUP
GOS_STARTUP_TYPE_DFU_UPDATE_TO_DATE
GOS_STARTUP_TYPE_DFU_SUCCESS
GOS_STARTUP_TYPE_DFU_FAILED
GOS_STARTUP_TYPE_REBOOT
GOS_STARTUP_TYPE_WAKEUP
GOS_STARTUP_TYPE_SILABS_FACTORY_RESET
GOS_STARTUP_TYPE_PRODUCT_FACTORY_RESET
GOS_STARTUP_TYPE_FORCED_SAFEMODE
gos_system_get_factory_reset_gpio
gos_system_get_faults_count
gos_system_get_reset_cause
gos_system_get_safemode_app_counters
gos_system_get_startup_type
gos_system_get_uuid_str
gos_system_get_version_details
gos_system_get_version_str
gos_system_kick_watchdog
gos_system_reboot
gos_system_reset_faults
gos_system_reset_safemode_app_counters
gos_system_retrieve_faults
gos_system_set_factory_reset_gpio
gos_system_set_irq_callback
gos_system_set_system_tick_callback
Utilities
String
bool_to_str
float_to_str
int32_to_str
ip_to_str
ipv4_to_str
ipv6_to_str
mac_to_str
ssid_to_str
str_binary_to_hex
str_binary_to_hex_buffer
str_buffer_pool_add
str_buffer_pool_add_with_len
str_buffer_pool_remove
str_byte_to_hex
str_chop
str_hex_to_binary
str_hex_to_byte
str_hex_to_uint32
str_isempty
str_isnum
str_isprint
str_isspace
str_lstrip
str_parse_base
str_parse_bool
str_parse_hex
str_parse_int
str_replace_all
str_reverse
str_rstrip
str_strip
str_to_float
str_to_ip
str_to_ipv4
str_to_ipv6
str_to_mac
str_to_uint32
str_to_uint64
str_tolower
str_toupper
strnstr
strtok_r
uint32_to_padded_str
uint32_to_str
uint64_to_str
Bitstring
Types
gos_bitstring_t
bits
bits_set
total_bits
gos_bitstring_iterator_t
bits
current_index
max_index
gos_bitstring_alloc
gos_bitstring_bit_is_set
gos_bitstring_clear_bit
gos_bitstring_get_count
gos_bitstring_get_index
gos_bitstring_init
gos_bitstring_iterator_current
gos_bitstring_iterator_init
gos_bitstring_iterator_next
gos_bitstring_merge
gos_bitstring_reset
gos_bitstring_set_bit
JSON
Types
gos_json_tok_t
boolean
buffer
data
int32
int64
next
ptr
str
type
uint32
uint64
gos_json_parse_config_t
buffer
buffer_len
flags
reader
token_callback
gos_json_parse_context_t
gos_json_parse_reader_t
gos_json_token_callback_t
gos_json_parse_flag_t
JSON_FLAG_STRINGS_INLINE
gos_json_type_t
GOS_JSON_TYPE_ARRAY
GOS_JSON_TYPE_OBJECT
GOS_JSON_TYPE_STRING
GOS_JSON_TYPE_BOOLEAN
GOS_JSON_TYPE_INTEGER
GOS_JSON_TYPE_INTEGER64
GOS_JSON_TYPE_FLOAT
GOS_JSON_TYPE_NULL
Macros
JSON_BOOL
JSON_GET_VALUE
JSON_GET_VALUE_WITH
JSON_INT32
JSON_INT64
JSON_STR
JSON_UINT32
JSON_UINT64
gos_json_context_get_current_parent
gos_json_context_get_token
gos_json_context_get_value
gos_json_context_get_value_with_limit
gos_json_context_skip_tokens
gos_json_decode_buffer
gos_json_encode_buffer
gos_json_parse_chunked
gos_json_parse_context_deinit
gos_json_parse_context_init
MessagePack
Types
gos_msgpack_object_t
flags
type
gos_msgpack_data8_t
gos_msgpack_object8_t
gos_msgpack_data16_t
gos_msgpack_object16_t
gos_msgpack_data32_t
gos_msgpack_object32_t
gos_msgpack_data64_t
gos_msgpack_object64_t
gos_msgpack_object_str_t
gos_msgpack_object_bin_t
gos_msgpack_dict_entry_t
gos_msgpack_object_dict_t
gos_msgpack_object_array_t
gos_msgpack_context_t
buffer
end
flags
ptr
user
writer
gos_msgpack_iterator_t
gos_msgpack_writer_t
gos_msgpack_flag_t
MSGPACK_FLAGS_NONE
MSGPACK_DESERIALIZE_WITH_PERSISTENT_STRINGS
MSGPACK_PACK_16BIT_DICTS
gos_msgpack_object_flag_t
MSGPACK_OBJECT_FLAG_NONE
MSGPACK_OBJECT_FLAG_WAS_ALLOCATED
MSGPACK_OBJECT_FLAG_AUTO_FREE_USER
gos_msgpack_type_t
MSGPACK_TYPE_NIL
MSGPACK_TYPE_BOOL
MSGPACK_TYPE_INT8
MSGPACK_TYPE_UINT8
MSGPACK_TYPE_INT16
MSGPACK_TYPE_UINT16
MSGPACK_TYPE_INT32
MSGPACK_TYPE_UINT32
MSGPACK_TYPE_FLOAT
MSGPACK_TYPE_INT64
MSGPACK_TYPE_UINT64
MSGPACK_TYPE_DOUBLE
MSGPACK_TYPE_STR
MSGPACK_TYPE_BIN
MSGPACK_TYPE_DICT
MSGPACK_TYPE_ARRAY
MSGPACK_TYPE_ANY
MSGPACK_TYPE_INT
MSGPACK_TYPE_UINT
MSGPACK_TYPE_INT_OR_UINT
Macros
MSGPACK_ARRAY
MSGPACK_ARRAY_ARRAY
MSGPACK_ARRAY_BIN
MSGPACK_ARRAY_DICT
MSGPACK_ARRAY_GET_OBJECT
MSGPACK_ARRAY_INT
MSGPACK_ARRAY_LENGTH
MSGPACK_ARRAY_STR
MSGPACK_ARRAY_TYPE
MSGPACK_ARRAY_UINT
MSGPACK_BIN
MSGPACK_BIN_CMP
MSGPACK_BIN_LENGTH
MSGPACK_BIN_VALUE
MSGPACK_BOOL
MSGPACK_BUFFER_REMAINING
MSGPACK_BUFFER_USED
MSGPACK_DICT
MSGPACK_DICT_ARRAY
MSGPACK_DICT_BIN
MSGPACK_DICT_DICT
MSGPACK_DICT_GET_OBJECT
MSGPACK_DICT_INT
MSGPACK_DICT_STR
MSGPACK_DICT_TYPE
MSGPACK_DICT_UINT
MSGPACK_DOUBLE
MSGPACK_FALSE
MSGPACK_FLOAT
MSGPACK_FOREACH
MSGPACK_FOREACH_RECURSIVE
MSGPACK_FREE_OBJECTS
MSGPACK_INIT_CONTEXT_WITH_BUFFER
MSGPACK_INIT_WITH_BUFFER
MSGPACK_INIT_WITH_WRITER
MSGPACK_INT
MSGPACK_INT16
MSGPACK_INT32
MSGPACK_INT64
MSGPACK_INT8
MSGPACK_IS_ARRAY
MSGPACK_IS_BIN
MSGPACK_IS_BOOL
MSGPACK_IS_DICT
MSGPACK_IS_DOUBLE
MSGPACK_IS_FLOAT
MSGPACK_IS_INT
MSGPACK_IS_INT16
MSGPACK_IS_INT32
MSGPACK_IS_INT64
MSGPACK_IS_INT8
MSGPACK_IS_NIL
MSGPACK_IS_STR
MSGPACK_IS_UINT
MSGPACK_IS_UINT16
MSGPACK_IS_UINT32
MSGPACK_IS_UINT64
MSGPACK_IS_UINT8
MSGPACK_LONG
MSGPACK_NIL
MSGPACK_SET_WRITER
MSGPACK_STR
MSGPACK_STR_CMP
MSGPACK_STR_LENGTH
MSGPACK_STR_VALUE
MSGPACK_TO_STR
MSGPACK_TRUE
MSGPACK_UINT
MSGPACK_UINT16
MSGPACK_UINT32
MSGPACK_UINT64
MSGPACK_UINT8
MSGPACK_ULONG
Read
gos_msgpack_deserialize_with_buffer
gos_msgpack_foreach
gos_msgpack_free_objects
gos_msgpack_get_array_object
gos_msgpack_get_dict_object
gos_msgpack_get_int
gos_msgpack_get_long
gos_msgpack_get_str
gos_msgpack_get_uint
gos_msgpack_get_ulong
gos_msgpack_get_user_context
gos_msgpack_object_is_type
gos_msgpack_remove_dict_object
gos_msgpack_set_user_context
gos_msgpack_str_cmp
gos_msgpack_to_str
Write
gos_msgpack_write_array_marker
gos_msgpack_write_bin
gos_msgpack_write_bin_marker
gos_msgpack_write_bool
gos_msgpack_write_context
gos_msgpack_write_dict_array
gos_msgpack_write_dict_bin
gos_msgpack_write_dict_bool
gos_msgpack_write_dict_context
gos_msgpack_write_dict_dict
gos_msgpack_write_dict_double
gos_msgpack_write_dict_float
gos_msgpack_write_dict_int
gos_msgpack_write_dict_long
gos_msgpack_write_dict_marker
gos_msgpack_write_dict_nil
gos_msgpack_write_dict_str
gos_msgpack_write_dict_uint
gos_msgpack_write_dict_ulong
gos_msgpack_write_double
gos_msgpack_write_float
gos_msgpack_write_int
gos_msgpack_write_long
gos_msgpack_write_nil
gos_msgpack_write_str
gos_msgpack_write_str_marker
gos_msgpack_write_uint
gos_msgpack_write_ulong
Buffered Writer
gos_msgpack_buffered_writer_deinit
gos_msgpack_buffered_writer_get_buffer
gos_msgpack_buffered_writer_init
CSV
Types
gos_csv_context_t
gos_csv_deinit
gos_csv_get_delimited_data
gos_csv_init
gos_csv_read_line
Base64
Decode Stream
gos_base64_decode_stream_t
gos_base64_reader_t
gos_base64_stream_decode
gos_base64_stream_decode_init
gos_base64_stream_decode_reset
Encode Stream
gos_base64_encode_stream_t
gos_base64_writer_t
gos_base64_stream_destroy
gos_base64_stream_encode
gos_base64_stream_encode_init
gos_base64_stream_encode_reset
gos_base64_decode
gos_base64_encode
Sorting
gos_sort_compare_callback_t
gos_bubble_sort_linked_list
gos_bubble_sort_ptr_list
Table/Lookup
Macros
TABLE_LOOKUP
TABLE_LOOKUP_LINEAR
TABLE_REVERSE_LOOKUP
gos_table_linear_lookup
gos_table_lookup
gos_table_reverse_lookup
Cryptography
AES
Types
gos_aes128_iv_t
buf
counter
iv
nonce
gos_aes128_crypt_context_t
aes
iv_decrypt
iv_encrypt
gos_aes_context_t
gos_aes128_buffer_decrypt
gos_aes128_buffer_decrypt_init
gos_aes128_buffer_encrypt
gos_aes128_buffer_encrypt_init
gos_aes_decrypt_cbc
gos_aes_decrypt_ecb
gos_aes_encrypt_cbc
gos_aes_encrypt_ecb
gos_aes_setkey_dec
gos_aes_setkey_enc
MD5
Types
gos_md5_hmac_context_t
gos_md5_context_t
gos_md5
gos_md5_finish
gos_md5_hmac
gos_md5_hmac_finish
gos_md5_hmac_starts
gos_md5_hmac_update
gos_md5_starts
gos_md5_update
SHA1
Types
gos_sha1_hmac_context_t
gos_sha1_context_t
gos_sha1
gos_sha1_finish
gos_sha1_hmac
gos_sha1_hmac_finish
gos_sha1_hmac_starts
gos_sha1_hmac_update
gos_sha1_starts
gos_sha1_update
SHA256
Types
gos_sha256_hmac_context_t
gos_sha256_context_t
gos_sha256
gos_sha256_finish
gos_sha256_hmac
gos_sha256_hmac_finish
gos_sha256_hmac_starts
gos_sha256_hmac_update
gos_sha256_starts
gos_sha256_update
SHA512
Types
gos_sha512_context_t
Secure Element (SE)
Types
gos_se_load_certificate_callback_t
gos_se_operation_callback_t
gos_certificate_type_t
GOS_CERTIFICATE_CA_CERT
GOS_CERTIFICATE_CLIENT_CERT
GOS_CERTIFICATE_CLIENT_KEY
GOS_CERTIFICATE_TYPE_COUNT
gos_se_operation_t
GOS_SE_OPERATION_ECDH_COMPUTE_SHARED
GOS_SE_OPERATION_ECDH_GEN_PUBLIC
GOS_SE_OPERATION_ECDSA_SIGN
GOS_SE_OPERATION_ECDSA_VERIFY
GOS_SE_OPERATION_COUNT
gos_se_state_t
GOS_SE_STATE_UNKNOWN
GOS_SE_STATE_CLIENT_CERT_SIGN
GOS_SE_STATE_CLIENT_KEY_EXCHANGE
GOS_SE_STATE_SERVER_CERT_VERIFY
gos_se_set_load_certificate_callback
gos_se_set_operation_callback
gos_get_random_buffer
gos_get_random_uint32
Fixed-Point Integer
Types
gos_fpi_str_buffer_t
gos_fpi_uword_t
gos_fpi_word_t
Macros
fpi_abs
fpi_add
fpi_div
FPI_E
fpi_fracpart
fpi_fromint
fpi_int_to_str
fpi_int_to_str2
fpi_mul
FPI_ONE
FPI_ONE_HALF
FPI_PI
fpi_rconst
fpi_sub
fpi_to_str
fpi_toint
FPI_TWO
gos_fpi_divide
gos_fpi_from_str
gos_fpi_multiply
gos_fpi_to_str_with_padding
Delay
gos_microsecond_timer_t
gos_microsecond_timer_expired
gos_microsecond_timer_init
gos_wait_microseconds
gos_wait_milliseconds
Thread-Safe Objects
Singly-Linked List
Types
gos_safe_slinked_list_entry_t
next
gos_safe_slinked_list_t
count
head
max_count
tail
gos_safe_slinked_list_callback_t
Macros
GOS_SAFE_SLINKED_LIST_FIRST
GOS_SAFE_SLINKED_LIST_HEADER
GOS_SAFE_SLINKED_LIST_LAST
GOS_SAFE_SLINKED_LIST_UNLIMITED
gos_safe_slinked_list_add_at_index
gos_safe_slinked_list_find_by
gos_safe_slinked_list_flush
gos_safe_slinked_list_get_count
gos_safe_slinked_list_get_free_space_count
gos_safe_slinked_list_init
gos_safe_slinked_list_is_empty
gos_safe_slinked_list_is_full
gos_safe_slinked_list_pop
gos_safe_slinked_list_pop_multiple
gos_safe_slinked_list_push
gos_safe_slinked_list_push_check_duplicate
gos_safe_slinked_list_push_multiple
gos_safe_slinked_list_remove
gos_safe_slinked_list_remove_at_index
gos_safe_slinked_list_remove_by
Circular Queue
Types
gos_safe_circular_queue_t
capacity
count
end
entry_size
head
start
tail
gos_safe_circular_queue_flush_callback_t
gos_safe_circular_queue_flush
gos_safe_circular_queue_get_count
gos_safe_circular_queue_get_free_space_count
gos_safe_circular_queue_get_head
gos_safe_circular_queue_get_tail
gos_safe_circular_queue_init
gos_safe_circular_queue_is_empty
gos_safe_circular_queue_is_full
gos_safe_circular_queue_pop
gos_safe_circular_queue_push
gos_safe_circular_queue_tail_is_last_entry
Dynamic Buffer
Types
gos_dynamic_buffer_t
append
buffer
buffer_end
prepend
gos_dynamic_buffer_adjust_data_end
gos_dynamic_buffer_adjust_data_start
gos_dynamic_buffer_alloc
gos_dynamic_buffer_copy
gos_dynamic_buffer_free
gos_dynamic_buffer_get_buffer
gos_dynamic_buffer_get_length
gos_dynamic_buffer_get_remaining_length
gos_dynamic_buffer_get_total_size
gos_dynamic_buffer_realloc
gos_dynamic_buffer_reset
gos_dynamic_buffer_vwrite
gos_dynamic_buffer_write
gos_dynamic_buffer_writef
SDK Utilities and Components
Example App Utilities
example_app_util_get_network_interface_ip_address_str
example_app_util_network_up
Board-Specific
gos_board_hardware_init
Secure Element
Microchip ATCA
Types
gos_atca_config_t
ca_public_key_slot
cert_def
clock_rate
key_slot
port
slave_address
slot_count
slots
wake_delay_us
Key Pair
gos_atca_calculate_public_key
gos_atca_generate_keypair
gos_atca_get_public_key
gos_atca_write_public_key
Certificates
gos_atca_generate_csr
gos_atca_get_cert_public_key
gos_atca_read_cert
gos_atca_verify_cert
gos_atca_write_cert
Configuration
gos_atca_compare_config_zone
gos_atca_config_zone_is_locked
gos_atca_data_zone_is_locked
gos_atca_lock_config_zone
gos_atca_lock_data_zone
gos_atca_read_config_zone
gos_atca_read_data_zone
gos_atca_write_config_zone
gos_atca_write_data_zone
gos_atca_get_revision_str
gos_atca_get_serial_number_str
gos_atca_init
gos_atca_register_mbedtls_ec_callbacks
gos_atca_run_self_test
gos_atca_sleep
gos_atca_wakeup
Profiler
Types
profiler_config_t
ave_window_size
profiler_status_t
ave_overall
ave_window
count
max
min
Macros
DEFINE_PROFILER
PROFILER_BEGIN
PROFILER_END
PROFILER_GET_STATUS
PROFILER_MARK
PROFILER_PRINT_ALL_STATUSES
PROFILER_PRINT_STATUS
PROFILER_REGISTER
PROFILER_REGISTER_ALL
PROFILER_RESET
PROFILER_RESET_ALL
PROFILER_SET_PARENT
PROFILER_UNREGISTER
profiler_begin
profiler_end
profiler_get_status
profiler_print_status
profiler_register
profiler_register_all
profiler_reset
profiler_set_parent
profiler_unregister
Api_network_ethernet_types
gos_ethernet_link_info_t
duplex_mode
speed
gos_ethernet_duplex_mode_t
GOS_ETHERNET_DUPLEX_MODE_AUTO
GOS_ETHERNET_DUPLEX_MODE_HALF
GOS_ETHERNET_DUPLEX_MODE_FULL
GOS_ETHERNET_DUPLEX_MODE_UNKNOWN
gos_ethernet_speed_t
GOS_ETHERNET_SPEED_AUTO
GOS_ETHERNET_SPEED_10_MBPS
GOS_ETHERNET_SPEED_100_MBPS
GOS_ETHERNET_SPEED_1000_MBPS
GOS_ETHERNET_SPEED_UNKNOWN
Api_network_ethernet_bridge
gos_ethernet_bridge_start
gos_ethernet_bridge_stop
Api_network_ethernet
gos_ethernet_get_link_information
Api_network_mac_filter
gos_softap_mac_filter_add
gos_softap_mac_filter_clear
gos_softap_mac_filter_remove
Api_system_shutdown
gos_shutdown_options_t
gpio_level_mask
gpio_mask
time
gos_shutdown
Example Applications
Gecko OS Editions
Standard
Gecko OS 4 - Wi-Fi and Ethernet
Xpress
Gecko OS 2 - Wi-Fi Xpress
Gecko OS 1 - Bluetooth Xpress
Macros
Peripherals
>
I2C Master
Hardware I2C macros.
More...
Hardware I2C macros.