Home
last modified time | relevance | path

Searched refs:error_code (Results 1 – 13 of 13) sorted by relevance

/btstack/src/classic/
H A Davdtp_acceptor.c116 connection->error_code = AVDTP_ERROR_CODE_SEP_IN_USE; in avdtp_acceptor_handle_configuration_command()
121 if (connection->error_code == 0){ in avdtp_acceptor_handle_configuration_command()
124 …uint8_t error_code = avdtp_validate_media_configuration(stream_endpoint, connection->avdtp_cid, 0,… in avdtp_acceptor_handle_configuration_command() local
125 if (error_code != 0){ in avdtp_acceptor_handle_configuration_command()
126 log_info("media codec rejected by validator, error 0x%02x", error_code); in avdtp_acceptor_handle_configuration_command()
128 connection->error_code = error_code; in avdtp_acceptor_handle_configuration_command()
133 if (connection->error_code){ in avdtp_acceptor_handle_configuration_command()
147 connection->error_code = AVDTP_ERROR_CODE_SEP_IN_USE; in avdtp_acceptor_handle_configuration_command()
192 connection->error_code = AVDTP_ERROR_CODE_BAD_LENGTH; in avdtp_acceptor_stream_config_subsm()
224 connection->error_code = AVDTP_ERROR_CODE_BAD_ACP_SEID; in avdtp_acceptor_stream_config_subsm()
[all …]
H A Davdtp_util.c300 connection->error_code = 0; in avdtp_unpack_service_capabilities_has_errors()
305 connection->error_code = AVDTP_ERROR_CODE_BAD_SERV_CATEGORY; in avdtp_unpack_service_capabilities_has_errors()
313 connection->error_code = AVDTP_ERROR_CODE_INVALID_CAPABILITIES; in avdtp_unpack_service_capabilities_has_errors()
323 connection->error_code = AVDTP_ERROR_CODE_BAD_MEDIA_TRANSPORT_FORMAT; in avdtp_unpack_service_capabilities_has_errors()
332 connection->error_code = AVDTP_ERROR_CODE_BAD_LENGTH; in avdtp_unpack_service_capabilities_has_errors()
340 connection->error_code = AVDTP_ERROR_CODE_BAD_RECOVERY_FORMAT; in avdtp_unpack_service_capabilities_has_errors()
348 connection->error_code = AVDTP_ERROR_CODE_BAD_CP_FORMAT; in avdtp_unpack_service_capabilities_has_errors()
357 connection->error_code = AVDTP_ERROR_CODE_BAD_RECOVERY_FORMAT; in avdtp_unpack_service_capabilities_has_errors()
387 connection->error_code = AVDTP_ERROR_CODE_BAD_LENGTH; in avdtp_unpack_service_capabilities()
H A Dsdp_server.c182 static int sdp_create_error_response(uint16_t transaction_id, uint16_t error_code){ in sdp_create_error_response() argument
186 big_endian_store_16(sdp_response_buffer, 5, error_code); // invalid syntax in sdp_create_error_response()
H A Davdtp.h585 uint8_t error_code; member
/btstack/src/ble/
H A Datt_db.c291 static void att_prepare_write_update_errors(uint8_t error_code, uint16_t handle){ in att_prepare_write_update_errors() argument
293 …if ((error_code == (uint8_t)ATT_ERROR_INVALID_ATTRIBUTE_VALUE_LENGTH) && (error_code != (uint8_t)a… in att_prepare_write_update_errors()
294 att_prepare_write_error_code = error_code; in att_prepare_write_update_errors()
299 if ((error_code == (uint8_t)ATT_ERROR_INVALID_OFFSET) && (att_prepare_write_error_code == 0)){ in att_prepare_write_update_errors()
300 att_prepare_write_error_code = error_code; in att_prepare_write_update_errors()
306 …etup_error(uint8_t * response_buffer, uint8_t request_opcode, uint16_t handle, uint8_t error_code){ in setup_error() argument
310 response_buffer[4] = error_code; in setup_error()
628 uint8_t error_code = 0; in handle_read_by_type_request2() local
652 error_code = att_validate_security(att_connection, ATT_READ, &it); in handle_read_by_type_request2()
653 if (error_code != 0u){ in handle_read_by_type_request2()
[all …]
H A Datt_server.c1228 …uint8_t error_code = (*handler->write_callback)(con_handle, 0, ATT_TRANSACTION_MODE_VALIDATE, 0, N… in att_validate_prepared_write() local
1229 if (error_code != 0u) return error_code; in att_validate_prepared_write()
/btstack/port/nrf5-cinnamon/port/
H A Dll_nrf5.c298 volatile uint8_t error_code; member
736 static void ll_connected_terminate(uint8_t error_code){ in ll_connected_terminate() argument
759 ctx.error_code = error_code; in ll_connected_terminate()
1358 uint8_t error_code = ctx.error_code; in ll_execute_once() local
1359 ctx.error_code = ERROR_CODE_SUCCESS; in ll_execute_once()
1360 …_emit_hci_event(&hci_event_disconnection_complete, ERROR_CODE_SUCCESS, HCI_CON_HANDLE, error_code); in ll_execute_once()
/btstack/chipset/cinnamon/
H A Dcontroller.c182 uint8_t error_code = send_hardware_error; in transport_run() local
184 transport_emit_hci_event(&hci_event_hardware_error, error_code); in transport_run()
/btstack/port/stm32-l451-miromico-sx1280/Drivers/STM32L4xx_HAL_Driver/Src/
H A Dstm32l4xx_hal_gfxmmu.c734 uint32_t error_code; in HAL_GFXMMU_GetError() local
740 error_code = hgfxmmu->ErrorCode; in HAL_GFXMMU_GetError()
747 return error_code; in HAL_GFXMMU_GetError()
/btstack/port/stm32-wb55xx-nucleo-freertos/port/
H A Dbtstack_port.c361 static void transport_send_hardware_error(uint8_t error_code){
362 uint8_t event[] = { HCI_EVENT_HARDWARE_ERROR, 1, error_code};
/btstack/port/zephyr/src/
H A Dmain.c87 static void send_hardware_error(uint8_t error_code){ in send_hardware_error() argument
/btstack/src/mesh/
H A Dprovisioning_provisioner.c330 static void provisioning_handle_provisioning_error(uint8_t error_code){ in provisioning_handle_provisioning_error() argument
332 prov_error_code = error_code; in provisioning_handle_provisioning_error()
H A Dprovisioning_device.c439 static void provisioning_handle_provisioning_error(uint8_t error_code){ in provisioning_handle_provisioning_error() argument
442 prov_error_code = error_code; in provisioning_handle_provisioning_error()