From 5d649641bdac5b023632eab4698e8956d2af1333 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Sun, 5 Oct 2025 02:29:53 +0200 Subject: [PATCH 01/12] Support for legacy Arduino libraries w/o src --- ArduinoLibrary.cmake | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/ArduinoLibrary.cmake b/ArduinoLibrary.cmake index 665b371..2152cd5 100644 --- a/ArduinoLibrary.cmake +++ b/ArduinoLibrary.cmake @@ -31,11 +31,20 @@ function(arduino_library LIB_NAME LIB_PATH) endif() set(LIB_PATH "${CLONE_DIR}") endif() - set(INC_DIR "${LIB_PATH}/src") - file(GLOB SRC_FILES - "${LIB_PATH}/src/*.c" - "${LIB_PATH}/src/*.cpp" - ) + if(EXISTS "${LIB_PATH}/src") + set(INC_DIR "${LIB_PATH}/src") + file(GLOB_RECURSE SRC_FILES + "${LIB_PATH}/src/*.c" + "${LIB_PATH}/src/*.cpp" + ) + else() + # Legacy libraries without src folder + set(INC_DIR "${LIB_PATH}") + file(GLOB_RECURSE SRC_FILES + "${LIB_PATH}/*.c" + "${LIB_PATH}/*.cpp" + ) + endif() # Only create library if there are source files if(SRC_FILES) add_library(${LIB_NAME} STATIC ${SRC_FILES}) From a34eb03e28ad4861ba34f71aa736adec5ab6f0ef Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Sun, 5 Oct 2025 03:01:33 +0200 Subject: [PATCH 02/12] bmp280 examples --- ArduinoCore-Linux/cores/arduino/WProgram.h | 22 +++++++++++++++ examples/CMakeLists.txt | 4 +++ examples/bme280-i2c/CMakeLists.txt | 1 + examples/bme280-i2c/bme280-i2c.ino | 32 ++++++++++++++++++++++ examples/bme280-spi/CMakeLists.txt | 1 + examples/bme280-spi/bme280-spi.ino | 32 ++++++++++++++++++++++ 6 files changed, 92 insertions(+) create mode 100644 ArduinoCore-Linux/cores/arduino/WProgram.h create mode 100644 examples/bme280-i2c/CMakeLists.txt create mode 100644 examples/bme280-i2c/bme280-i2c.ino create mode 100644 examples/bme280-spi/CMakeLists.txt create mode 100644 examples/bme280-spi/bme280-spi.ino diff --git a/ArduinoCore-Linux/cores/arduino/WProgram.h b/ArduinoCore-Linux/cores/arduino/WProgram.h new file mode 100644 index 0000000..4efcac3 --- /dev/null +++ b/ArduinoCore-Linux/cores/arduino/WProgram.h @@ -0,0 +1,22 @@ +/* + WProgram.h - Legacy Main include file for the Arduino SDK + Copyright (c) 2025 Phil Schatzmann. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ +#pragma once +// This is for compatibility with older Arduino libraries that still include WProgram.h +// It is recommended to use Arduino.h instead of WProgram.h in new code +#include "Arduino.h" diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 3632a49..5c190d7 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -5,6 +5,10 @@ add_subdirectory("i2c") add_subdirectory("spi") add_subdirectory("serial2") add_subdirectory("using-arduino-library") +# BME280 Sensor Examples +arduino_library(SparkFunBME280 "https://github.com/sparkfun/SparkFun_BME280_Arduino_Library" ) +add_subdirectory("bme280-i2c") +add_subdirectory("bme280-spi") if(USE_HTTPS) add_subdirectory("wifi-secure") diff --git a/examples/bme280-i2c/CMakeLists.txt b/examples/bme280-i2c/CMakeLists.txt new file mode 100644 index 0000000..0d3a8e8 --- /dev/null +++ b/examples/bme280-i2c/CMakeLists.txt @@ -0,0 +1 @@ +arduino_sketch(bme280-i2c bme280-i2c.ino LIBRARIES SparkFunBME280) diff --git a/examples/bme280-i2c/bme280-i2c.ino b/examples/bme280-i2c/bme280-i2c.ino new file mode 100644 index 0000000..499a8e8 --- /dev/null +++ b/examples/bme280-i2c/bme280-i2c.ino @@ -0,0 +1,32 @@ +// Example sketch for the BME280 combined humidity and pressure sensor +// Using I2C communication with the SparkFun BME280 Arduino Library + +#include +#include +#include "SparkFunBME280.h" + +BME280 mySensor; + +void setup() { + Serial.begin(115200); + Serial.println("Reading basic values from BME280"); + // Begin communication over I2C + Wire.begin(); + if (mySensor.beginI2C() == false) { + Serial.println("The sensor did not respond. Please check wiring."); + while (1); // Freeze + } +} + +void loop() { + Serial.print("Humidity: "); + Serial.print(mySensor.readFloatHumidity(), 0); + Serial.print(" Pressure: "); + Serial.print(mySensor.readFloatPressure(), 0); + Serial.print(" Alt: "); + Serial.print(mySensor.readFloatAltitudeMeters(), 1); + Serial.print(" Temp: "); + Serial.println(mySensor.readTempC(), 2); + + delay(1000); +} diff --git a/examples/bme280-spi/CMakeLists.txt b/examples/bme280-spi/CMakeLists.txt new file mode 100644 index 0000000..2082640 --- /dev/null +++ b/examples/bme280-spi/CMakeLists.txt @@ -0,0 +1 @@ +arduino_sketch(bme280-spi bme280-spi.ino LIBRARIES SparkFunBME280) diff --git a/examples/bme280-spi/bme280-spi.ino b/examples/bme280-spi/bme280-spi.ino new file mode 100644 index 0000000..4ee7e8c --- /dev/null +++ b/examples/bme280-spi/bme280-spi.ino @@ -0,0 +1,32 @@ +// Example sketch for the BME280 combined humidity and pressure sensor +// Using SPI communication with the SparkFun BME280 Arduino Library + +#include +#include +#include "SparkFunBME280.h" + +const int csPin = 13; // Chip select pin for SPI +BME280 mySensor; + +void setup() { + Serial.begin(9600); + Serial.println("Reading basic values from BME280"); + // Begin communication over SPI. Use pin 10 as CS. + if (mySensor.beginSPI(csPin) == false) { + Serial.println("The sensor did not respond. Please check wiring."); + while (1); // Freeze + } +} + +void loop() { + Serial.print("Humidity: "); + Serial.print(mySensor.readFloatHumidity(), 0); + Serial.print(" Pressure: "); + Serial.print(mySensor.readFloatPressure(), 0); + Serial.print(" Alt: "); + Serial.print(mySensor.readFloatAltitudeMeters(), 1); + Serial.print(" Temp: "); + Serial.println(mySensor.readTempC(), 2); + + delay(1000); +} From 7e80091dea6847c69beb3a25ab26e74642f6635e Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Sun, 5 Oct 2025 09:41:29 +0200 Subject: [PATCH 03/12] rename to Arduino.cmake --- ArduinoLibrary.cmake => Arduino.cmake | 6 +++--- CMakeLists.txt | 2 +- examples/bme280-i2c/bme280-i2c.ino | 2 +- examples/bme280-spi/bme280-spi.ino | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) rename ArduinoLibrary.cmake => Arduino.cmake (96%) diff --git a/ArduinoLibrary.cmake b/Arduino.cmake similarity index 96% rename from ArduinoLibrary.cmake rename to Arduino.cmake index 2152cd5..841a2e2 100644 --- a/ArduinoLibrary.cmake +++ b/Arduino.cmake @@ -1,10 +1,10 @@ -# ArduinoLibrary.cmake +# Arduino.cmake # Defines a function to easily add Arduino-style libraries to your CMake project. # # Example usage for arduino-SAM library from GitHub -# Place this in your CMakeLists.txt after including ArduinoLibrary.cmake +# Place this in your CMakeLists.txt after including Arduino.cmake # -# include(${CMAKE_SOURCE_DIR}/ArduinoLibrary.cmake) +# include(${CMAKE_SOURCE_DIR}/Arduino.cmake) # arduino_library(arduino-SAM "https://github.com/pschatzmann/arduino-SAM") # target_link_libraries(your_target PRIVATE arduino-SAM) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b76b0f..82013c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,7 @@ target_compile_features(arduino_emulator PUBLIC cxx_std_17) target_compile_options(arduino_emulator PRIVATE -Wno-nonportable-include-path) # Include Arduino library functions -include(${CMAKE_CURRENT_SOURCE_DIR}/ArduinoLibrary.cmake) +include(${CMAKE_CURRENT_SOURCE_DIR}/Arduino.cmake) if (USE_RPI) target_compile_options(arduino_emulator PUBLIC -DUSE_RPI) diff --git a/examples/bme280-i2c/bme280-i2c.ino b/examples/bme280-i2c/bme280-i2c.ino index 499a8e8..e1d431f 100644 --- a/examples/bme280-i2c/bme280-i2c.ino +++ b/examples/bme280-i2c/bme280-i2c.ino @@ -12,7 +12,7 @@ void setup() { Serial.println("Reading basic values from BME280"); // Begin communication over I2C Wire.begin(); - if (mySensor.beginI2C() == false) { + if (!mySensor.beginI2C(Wire)) { Serial.println("The sensor did not respond. Please check wiring."); while (1); // Freeze } diff --git a/examples/bme280-spi/bme280-spi.ino b/examples/bme280-spi/bme280-spi.ino index 4ee7e8c..4755f89 100644 --- a/examples/bme280-spi/bme280-spi.ino +++ b/examples/bme280-spi/bme280-spi.ino @@ -11,8 +11,8 @@ BME280 mySensor; void setup() { Serial.begin(9600); Serial.println("Reading basic values from BME280"); - // Begin communication over SPI. Use pin 10 as CS. - if (mySensor.beginSPI(csPin) == false) { + // Begin communication over SPI. Use pin 13 as CS. + if (!mySensor.beginSPI(csPin)) { Serial.println("The sensor did not respond. Please check wiring."); while (1); // Freeze } From 00006b90d0f657712df588eb25bfe2c6d9d04705 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Sun, 5 Oct 2025 11:40:22 +0200 Subject: [PATCH 04/12] Arduino.cmake --- Arduino.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Arduino.cmake b/Arduino.cmake index 841a2e2..dad4ed5 100644 --- a/Arduino.cmake +++ b/Arduino.cmake @@ -51,11 +51,12 @@ function(arduino_library LIB_NAME LIB_PATH) target_compile_options(${LIB_NAME} PRIVATE -DPROGMEM=) # Ensure C files are compiled as C, not C++ set_target_properties(${LIB_NAME} PROPERTIES LINKER_LANGUAGE C) + target_include_directories(${LIB_NAME} PUBLIC ${INC_DIR}) else() # Create a header-only interface library if no source files add_library(${LIB_NAME} INTERFACE) + target_include_directories(${LIB_NAME} INTERFACE ${INC_DIR}) endif() - target_include_directories(${LIB_NAME} PUBLIC ${INC_DIR}) # Link arduino_emulator to propagate its include directories if(TARGET arduino_emulator) if(SRC_FILES) From 1eeb424bf1f91ec0888e8373cee136eaaee221a9 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Sun, 5 Oct 2025 11:53:45 +0200 Subject: [PATCH 05/12] remove doxygen html --- .github/workflows/doxygen-gh-pages.yml | 16 + docs/html/_arduino_8h_source.html | 134 -- docs/html/_arduino_a_p_i_8h_source.html | 147 -- docs/html/_arduino_logger_8h_source.html | 170 -- docs/html/_binary_8h_source.html | 642 ------ docs/html/_can_msg_8h_source.html | 252 -- docs/html/_can_msg_ringbuffer_8h_source.html | 167 -- docs/html/_client_8h_source.html | 142 -- docs/html/_common_8h_source.html | 280 --- docs/html/_compat_8h_source.html | 126 - docs/html/_d_m_a_pool_8h_source.html | 416 ---- docs/html/_ethernet_8h_source.html | 405 ---- docs/html/_ethernet_server_8h_source.html | 268 --- docs/html/_ethernet_u_d_p_8h_source.html | 204 -- docs/html/_file_stream_8h_source.html | 178 -- docs/html/_g_p_i_o_wrapper_8h_source.html | 165 -- docs/html/_hardware_c_a_n_8h_source.html | 177 -- docs/html/_hardware_g_p_i_o_8h_source.html | 138 -- .../_hardware_g_p_i_o___r_p_i_8h_source.html | 166 -- docs/html/_hardware_i2_c_8h_source.html | 144 -- .../_hardware_i2_c___r_p_i_8h_source.html | 149 -- docs/html/_hardware_s_p_i_8h_source.html | 243 -- .../_hardware_s_p_i___r_p_i_8h_source.html | 143 -- docs/html/_hardware_serial_8h_source.html | 202 -- docs/html/_hardware_service_8h_source.html | 314 --- docs/html/_hardware_setup_8h_source.html | 95 - .../html/_hardware_setup_r_p_i_8h_source.html | 174 -- .../_hardware_setup_remote_8h_source.html | 237 -- docs/html/_i2_c_wrapper_8h_source.html | 160 -- docs/html/_i_p_address_8h_source.html | 223 -- docs/html/_interrupts_8h_source.html | 158 -- docs/html/_millis_fake_8h_source.html | 122 - .../_network_client_secure_8h_source.html | 259 --- docs/html/_pluggable_u_s_b_8h_source.html | 176 -- docs/html/_print_8h_source.html | 194 -- docs/html/_print_mock_8h_source.html | 124 - docs/html/_printable_8h_source.html | 129 -- docs/html/_printable_mock_8h_source.html | 130 -- docs/html/_remote_g_p_i_o_8h_source.html | 223 -- docs/html/_remote_i2_c_8h_source.html | 198 -- docs/html/_remote_s_p_i_8h_source.html | 188 -- docs/html/_remote_serial_8h_source.html | 230 -- docs/html/_ring_buffer_8h_source.html | 237 -- docs/html/_ring_buffer_ext_8h_source.html | 186 -- docs/html/_s_d_8h.html | 125 - docs/html/_s_d_8h_source.html | 337 --- docs/html/_s_p_i_wrapper_8h_source.html | 154 -- docs/html/_sd_fat_8h.html | 111 - docs/html/_sd_fat_8h_source.html | 236 -- docs/html/_serial_8h_source.html | 178 -- docs/html/_server_8h_source.html | 126 - docs/html/_signal_handler_8h_source.html | 128 -- docs/html/_socket_impl_8h_source.html | 146 -- docs/html/_sources_8h_source.html | 127 - docs/html/_stdio_device_8h_source.html | 209 -- docs/html/_stream_8h_source.html | 232 -- docs/html/_stream_mock_8h_source.html | 132 -- docs/html/_string_8h_source.html | 353 --- docs/html/_string_printer_8h_source.html | 116 - docs/html/_u_s_b_a_p_i_8h_source.html | 155 -- docs/html/_udp_8h_source.html | 189 -- docs/html/_w_character_8h_source.html | 262 --- docs/html/_w_string_8h_source.html | 114 - docs/html/_wi_fi_8h_source.html | 138 -- docs/html/_wi_fi_client_8h_source.html | 104 - docs/html/_wi_fi_client_secure_8h_source.html | 106 - docs/html/_wi_fi_server_8h_source.html | 100 - docs/html/_wi_fi_u_d_p_8h_source.html | 100 - docs/html/_wi_fi_udp_stream_8h_source.html | 173 -- docs/html/_wire_8h_source.html | 92 - docs/html/annotated.html | 154 -- docs/html/avr_2pins__arduino_8h_source.html | 149 -- docs/html/bc_s.png | Bin 676 -> 0 bytes docs/html/bc_sd.png | Bin 635 -> 0 bytes docs/html/bdwn.png | Bin 147 -> 0 bytes docs/html/class_file-members.html | 119 - docs/html/class_file.html | 217 -- docs/html/class_file.png | Bin 330 -> 0 bytes docs/html/class_print_mock-members.html | 88 - docs/html/class_print_mock.html | 114 - docs/html/class_print_mock.png | Bin 377 -> 0 bytes docs/html/class_printable_mock-members.html | 86 - docs/html/class_printable_mock.html | 138 -- docs/html/class_printable_mock.png | Bin 524 -> 0 bytes docs/html/class_s_p_i_class-members.html | 97 - docs/html/class_s_p_i_class.html | 137 -- docs/html/class_s_p_i_class.png | Bin 431 -> 0 bytes docs/html/class_sd_fat-members.html | 102 - docs/html/class_sd_fat.html | 153 -- docs/html/class_sd_file-members.html | 108 - docs/html/class_sd_file.html | 180 -- docs/html/class_sd_file.png | Bin 346 -> 0 bytes docs/html/class_sd_spi_config-members.html | 83 - docs/html/class_sd_spi_config.html | 94 - docs/html/class_signal_handler-members.html | 86 - docs/html/class_signal_handler.html | 101 - docs/html/class_stream_mock-members.html | 153 -- docs/html/class_stream_mock.html | 420 ---- docs/html/class_stream_mock.png | Bin 710 -> 0 bytes ...assarduino_1_1_arduino_logger-members.html | 104 - .../html/classarduino_1_1_arduino_logger.html | 151 -- .../classarduino_1_1_can_msg-members.html | 105 - docs/html/classarduino_1_1_can_msg.html | 186 -- docs/html/classarduino_1_1_can_msg.png | Bin 562 -> 0 bytes ...rduino_1_1_can_msg_ringbuffer-members.html | 95 - .../classarduino_1_1_can_msg_ringbuffer.html | 118 - .../html/classarduino_1_1_client-members.html | 163 -- docs/html/classarduino_1_1_client.html | 507 ---- docs/html/classarduino_1_1_client.png | Bin 1501 -> 0 bytes ...classarduino_1_1_d_m_a_buffer-members.html | 104 - docs/html/classarduino_1_1_d_m_a_buffer.html | 143 -- .../classarduino_1_1_d_m_a_pool-members.html | 95 - docs/html/classarduino_1_1_d_m_a_pool.html | 113 - ...ssarduino_1_1_ethernet_client-members.html | 187 -- .../classarduino_1_1_ethernet_client.html | 774 ------- .../html/classarduino_1_1_ethernet_client.png | Bin 1495 -> 0 bytes ...lassarduino_1_1_ethernet_impl-members.html | 90 - docs/html/classarduino_1_1_ethernet_impl.html | 105 - ...ssarduino_1_1_ethernet_server-members.html | 138 -- .../classarduino_1_1_ethernet_server.html | 420 ---- .../html/classarduino_1_1_ethernet_server.png | Bin 868 -> 0 bytes ...assarduino_1_1_ethernet_u_d_p-members.html | 174 -- .../html/classarduino_1_1_ethernet_u_d_p.html | 882 ------- docs/html/classarduino_1_1_ethernet_u_d_p.png | Bin 1376 -> 0 bytes .../classarduino_1_1_file_stream-members.html | 169 -- docs/html/classarduino_1_1_file_stream.html | 494 ---- docs/html/classarduino_1_1_file_stream.png | Bin 767 -> 0 bytes ...assarduino_1_1_g_p_i_o_source-members.html | 89 - .../html/classarduino_1_1_g_p_i_o_source.html | 119 - docs/html/classarduino_1_1_g_p_i_o_source.png | Bin 1003 -> 0 bytes ...ssarduino_1_1_g_p_i_o_wrapper-members.html | 109 - .../classarduino_1_1_g_p_i_o_wrapper.html | 642 ------ .../html/classarduino_1_1_g_p_i_o_wrapper.png | Bin 652 -> 0 bytes ...assarduino_1_1_hardware_c_a_n-members.html | 94 - .../html/classarduino_1_1_hardware_c_a_n.html | 260 --- ...sarduino_1_1_hardware_g_p_i_o-members.html | 100 - .../classarduino_1_1_hardware_g_p_i_o.html | 609 ----- .../classarduino_1_1_hardware_g_p_i_o.png | Bin 1316 -> 0 bytes ..._1_1_hardware_g_p_i_o___r_p_i-members.html | 106 - ...sarduino_1_1_hardware_g_p_i_o___r_p_i.html | 624 ----- ...ssarduino_1_1_hardware_g_p_i_o___r_p_i.png | Bin 693 -> 0 bytes ...lassarduino_1_1_hardware_i2_c-members.html | 167 -- docs/html/classarduino_1_1_hardware_i2_c.html | 347 --- docs/html/classarduino_1_1_hardware_i2_c.png | Bin 2013 -> 0 bytes ...ino_1_1_hardware_i2_c___r_p_i-members.html | 170 -- ...lassarduino_1_1_hardware_i2_c___r_p_i.html | 855 ------- ...classarduino_1_1_hardware_i2_c___r_p_i.png | Bin 1175 -> 0 bytes ...assarduino_1_1_hardware_s_p_i-members.html | 100 - .../html/classarduino_1_1_hardware_s_p_i.html | 139 -- docs/html/classarduino_1_1_hardware_s_p_i.png | Bin 1225 -> 0 bytes ...no_1_1_hardware_s_p_i___r_p_i-members.html | 109 - ...assarduino_1_1_hardware_s_p_i___r_p_i.html | 479 ---- ...lassarduino_1_1_hardware_s_p_i___r_p_i.png | Bin 668 -> 0 bytes ...ssarduino_1_1_hardware_serial-members.html | 161 -- .../classarduino_1_1_hardware_serial.html | 533 ----- .../html/classarduino_1_1_hardware_serial.png | Bin 1157 -> 0 bytes ...sarduino_1_1_hardware_service-members.html | 117 - .../classarduino_1_1_hardware_service.html | 212 -- ...uino_1_1_hardware_setup_r_p_i-members.html | 99 - ...classarduino_1_1_hardware_setup_r_p_i.html | 233 -- .../classarduino_1_1_hardware_setup_r_p_i.png | Bin 1180 -> 0 bytes ...ino_1_1_hardware_setup_remote-members.html | 106 - ...lassarduino_1_1_hardware_setup_remote.html | 274 --- ...classarduino_1_1_hardware_setup_remote.png | Bin 1268 -> 0 bytes ...1_hardware_setup_remote_class-members.html | 99 - ...duino_1_1_hardware_setup_remote_class.html | 171 -- ...rduino_1_1_hardware_setup_remote_class.png | Bin 1312 -> 0 bytes .../classarduino_1_1_i2_c_source-members.html | 89 - docs/html/classarduino_1_1_i2_c_source.html | 119 - docs/html/classarduino_1_1_i2_c_source.png | Bin 992 -> 0 bytes ...classarduino_1_1_i2_c_wrapper-members.html | 176 -- docs/html/classarduino_1_1_i2_c_wrapper.html | 828 ------- docs/html/classarduino_1_1_i2_c_wrapper.png | Bin 1104 -> 0 bytes .../classarduino_1_1_i_p_address-members.html | 119 - docs/html/classarduino_1_1_i_p_address.html | 225 -- docs/html/classarduino_1_1_i_p_address.png | Bin 554 -> 0 bytes ...ino_1_1_network_client_secure-members.html | 188 -- ...lassarduino_1_1_network_client_secure.html | 462 ---- ...classarduino_1_1_network_client_secure.png | Bin 1488 -> 0 bytes ...arduino_1_1_pluggable_u_s_b__-members.html | 94 - .../classarduino_1_1_pluggable_u_s_b__.html | 112 - ...no_1_1_pluggable_u_s_b_module-members.html | 100 - ...assarduino_1_1_pluggable_u_s_b_module.html | 143 -- docs/html/classarduino_1_1_print-members.html | 125 - docs/html/classarduino_1_1_print.html | 227 -- docs/html/classarduino_1_1_print.png | Bin 4551 -> 0 bytes .../classarduino_1_1_printable-members.html | 89 - docs/html/classarduino_1_1_printable.html | 113 - docs/html/classarduino_1_1_printable.png | Bin 1021 -> 0 bytes ...assarduino_1_1_remote_g_p_i_o-members.html | 105 - .../html/classarduino_1_1_remote_g_p_i_o.html | 625 ----- docs/html/classarduino_1_1_remote_g_p_i_o.png | Bin 652 -> 0 bytes .../classarduino_1_1_remote_i2_c-members.html | 172 -- docs/html/classarduino_1_1_remote_i2_c.html | 812 ------- docs/html/classarduino_1_1_remote_i2_c.png | Bin 1098 -> 0 bytes ...classarduino_1_1_remote_s_p_i-members.html | 105 - docs/html/classarduino_1_1_remote_s_p_i.html | 481 ---- docs/html/classarduino_1_1_remote_s_p_i.png | Bin 617 -> 0 bytes ...duino_1_1_remote_serial_class-members.html | 168 -- .../classarduino_1_1_remote_serial_class.html | 517 ----- .../classarduino_1_1_remote_serial_class.png | Bin 914 -> 0 bytes ...ssarduino_1_1_ring_buffer_ext-members.html | 103 - .../classarduino_1_1_ring_buffer_ext.html | 151 -- ...lassarduino_1_1_ring_buffer_n-members.html | 100 - docs/html/classarduino_1_1_ring_buffer_n.html | 132 -- ...assarduino_1_1_s_p_i_settings-members.html | 98 - .../html/classarduino_1_1_s_p_i_settings.html | 126 - ...classarduino_1_1_s_p_i_source-members.html | 89 - docs/html/classarduino_1_1_s_p_i_source.html | 119 - docs/html/classarduino_1_1_s_p_i_source.png | Bin 979 -> 0 bytes ...lassarduino_1_1_s_p_i_wrapper-members.html | 109 - docs/html/classarduino_1_1_s_p_i_wrapper.html | 499 ---- docs/html/classarduino_1_1_s_p_i_wrapper.png | Bin 620 -> 0 bytes ...lassarduino_1_1_s_p_s_c_queue-members.html | 94 - docs/html/classarduino_1_1_s_p_s_c_queue.html | 113 - .../classarduino_1_1_serial_impl-members.html | 167 -- docs/html/classarduino_1_1_serial_impl.html | 615 ----- docs/html/classarduino_1_1_serial_impl.png | Bin 1155 -> 0 bytes .../html/classarduino_1_1_server-members.html | 126 - docs/html/classarduino_1_1_server.html | 221 -- docs/html/classarduino_1_1_server.png | Bin 877 -> 0 bytes .../classarduino_1_1_socket_impl-members.html | 107 - docs/html/classarduino_1_1_socket_impl.html | 163 -- docs/html/classarduino_1_1_socket_impl.png | Bin 719 -> 0 bytes ...rduino_1_1_socket_impl_secure-members.html | 111 - .../classarduino_1_1_socket_impl_secure.html | 342 --- .../classarduino_1_1_socket_impl_secure.png | Bin 712 -> 0 bytes ...classarduino_1_1_stdio_device-members.html | 169 -- docs/html/classarduino_1_1_stdio_device.html | 548 ----- docs/html/classarduino_1_1_stdio_device.png | Bin 733 -> 0 bytes .../html/classarduino_1_1_stream-members.html | 156 -- docs/html/classarduino_1_1_stream.html | 327 --- docs/html/classarduino_1_1_stream.png | Bin 3844 -> 0 bytes .../html/classarduino_1_1_string-members.html | 213 -- docs/html/classarduino_1_1_string.html | 489 ---- docs/html/classarduino_1_1_string.png | Bin 678 -> 0 bytes ...arduino_1_1_string_sum_helper-members.html | 193 -- .../classarduino_1_1_string_sum_helper.html | 422 ---- .../classarduino_1_1_string_sum_helper.png | Bin 672 -> 0 bytes docs/html/classarduino_1_1_u_d_p-members.html | 168 -- docs/html/classarduino_1_1_u_d_p.html | 522 ----- docs/html/classarduino_1_1_u_d_p.png | Bin 1388 -> 0 bytes ...rduino_1_1_wi_fi_u_d_p_stream-members.html | 182 -- .../classarduino_1_1_wi_fi_u_d_p_stream.html | 453 ---- .../classarduino_1_1_wi_fi_u_d_p_stream.png | Bin 1373 -> 0 bytes .../classarduino_1_1_wifi_mock-members.html | 97 - docs/html/classarduino_1_1_wifi_mock.html | 126 - docs/html/classes.html | 135 -- docs/html/classserialib-members.html | 108 - docs/html/classserialib.html | 812 ------- docs/html/classtime_out-members.html | 87 - docs/html/classtime_out.html | 131 -- docs/html/closed.png | Bin 132 -> 0 bytes .../cores_2arduino_2_s_p_i_8h_source.html | 92 - docs/html/deprecated_2_client_8h_source.html | 115 - ...eprecated_2_hardware_serial_8h_source.html | 115 - .../deprecated_2_i_p_address_8h_source.html | 115 - docs/html/deprecated_2_print_8h_source.html | 114 - .../deprecated_2_printable_8h_source.html | 114 - docs/html/deprecated_2_server_8h_source.html | 115 - docs/html/deprecated_2_stream_8h_source.html | 115 - docs/html/deprecated_2_udp_8h_source.html | 115 - .../dir_003636776c31d8d3d98ec36a2ef93f8d.html | 91 - .../dir_08e6408c2be0588ccd1f72f005fa1d13.html | 85 - .../dir_1493e53abac0e6bf8b661d0a9f51f4b1.html | 99 - .../dir_172a2df5bcefead855c386f653873ed6.html | 107 - .../dir_1cb87cd7e91a52ac83e841db90a87493.html | 97 - .../dir_28cc55446563df5a015bdfdafa319bb2.html | 85 - .../dir_2ba506666022b9e33e4ecc950aca3a7c.html | 159 -- .../dir_2cca4b4e19fc60062d5bd4d6ebfdb1a0.html | 91 - .../dir_3ab4fc018861724598989e8298b2f15a.html | 93 - .../dir_545f08dfc4fc1da15e2fdcad7887aefd.html | 85 - .../dir_5e0f52f1d37fd883ed7d12deeca0b8bf.html | 91 - .../dir_675771fc8bb55899657590d83ea2e7fa.html | 97 - .../dir_72b5c6a539c3080a02bc17e85e292ae1.html | 91 - .../dir_8960f4941a66020b00d3f073ecd78e2b.html | 85 - .../dir_8d9fc4d15c79b33ee2846ed1c5ab9791.html | 85 - .../dir_9e49f3b13e30306266f7920d40ece3b6.html | 107 - .../dir_a1d53a571a5419d4e6067cbbae405b93.html | 95 - .../dir_b074d1b1aa70f3c10763fb8f33d8f4cb.html | 91 - .../dir_b6f1a12a6c71929bbf113e74a9b81305.html | 144 -- .../dir_b85ee9f09a3ff1d7d01590c4db171083.html | 91 - .../dir_bde93be90b18866d5c3c461eb8a7941b.html | 97 - .../dir_c30b687a999e0b32ea4d8e0403705692.html | 85 - .../dir_d23751650123521b31f29a723923c402.html | 85 - .../dir_dff48a7d0ae0c8296c1f49f9e31985b1.html | 91 - .../dir_e348cc18a5c4a65747adb39f55fe4c7b.html | 85 - docs/html/doc.png | Bin 746 -> 0 bytes docs/html/doc.svg | 12 - docs/html/docd.svg | 12 - docs/html/doxygen.css | 2045 ----------------- docs/html/doxygen.svg | 28 - docs/html/dtostrf_8h_source.html | 124 - docs/html/dynsections.js | 192 -- docs/html/esp32_2pins__arduino_8h_source.html | 152 -- .../esp8266_2pins__arduino_8h_source.html | 136 -- docs/html/files.html | 188 -- docs/html/folderclosed.png | Bin 616 -> 0 bytes docs/html/folderclosed.svg | 11 - docs/html/folderclosedd.svg | 11 - docs/html/folderopen.png | Bin 597 -> 0 bytes docs/html/folderopen.svg | 17 - docs/html/folderopend.svg | 12 - docs/html/functions.html | 202 -- docs/html/functions_enum.html | 81 - docs/html/functions_func.html | 197 -- docs/html/hierarchy.html | 161 -- docs/html/index.html | 145 -- docs/html/interrupt_8h_source.html | 113 - docs/html/itoa_8h_source.html | 128 -- docs/html/jquery.js | 34 - docs/html/libraries_2_s_p_i_8h_source.html | 121 - docs/html/menu.js | 136 -- docs/html/menudata.js | 78 - docs/html/minus.svg | 8 - docs/html/minusd.svg | 8 - docs/html/namespacearduino.html | 672 ------ docs/html/namespacemembers.html | 92 - docs/html/namespacemembers_enum.html | 81 - docs/html/namespacemembers_func.html | 82 - docs/html/namespacemembers_type.html | 85 - docs/html/namespacemembers_vars.html | 84 - docs/html/namespaces.html | 141 -- docs/html/nav_f.png | Bin 153 -> 0 bytes docs/html/nav_fd.png | Bin 169 -> 0 bytes docs/html/nav_g.png | Bin 95 -> 0 bytes docs/html/nav_h.png | Bin 98 -> 0 bytes docs/html/nav_hd.png | Bin 114 -> 0 bytes docs/html/open.png | Bin 123 -> 0 bytes docs/html/pages.html | 86 - docs/html/pgmspace_8h_source.html | 214 -- docs/html/plus.svg | 9 - docs/html/plusd.svg | 9 - docs/html/search/all_0.html | 37 - docs/html/search/all_0.js | 4 - docs/html/search/all_1.html | 37 - docs/html/search/all_1.js | 18 - docs/html/search/all_10.html | 37 - docs/html/search/all_10.js | 17 - docs/html/search/all_11.html | 37 - docs/html/search/all_11.js | 45 - docs/html/search/all_12.html | 37 - docs/html/search/all_12.js | 11 - docs/html/search/all_13.html | 37 - docs/html/search/all_13.js | 8 - docs/html/search/all_14.html | 37 - docs/html/search/all_14.js | 16 - docs/html/search/all_15.js | 6 - docs/html/search/all_2.html | 37 - docs/html/search/all_2.js | 7 - docs/html/search/all_3.html | 37 - docs/html/search/all_3.js | 13 - docs/html/search/all_4.html | 37 - docs/html/search/all_4.js | 13 - docs/html/search/all_5.html | 37 - docs/html/search/all_5.js | 10 - docs/html/search/all_6.html | 37 - docs/html/search/all_6.js | 7 - docs/html/search/all_7.html | 37 - docs/html/search/all_7.js | 7 - docs/html/search/all_8.html | 37 - docs/html/search/all_8.js | 15 - docs/html/search/all_9.html | 37 - docs/html/search/all_9.js | 18 - docs/html/search/all_a.html | 37 - docs/html/search/all_a.js | 4 - docs/html/search/all_b.html | 37 - docs/html/search/all_b.js | 7 - docs/html/search/all_c.html | 37 - docs/html/search/all_c.js | 4 - docs/html/search/all_d.html | 37 - docs/html/search/all_d.js | 6 - docs/html/search/all_e.html | 37 - docs/html/search/all_e.js | 5 - docs/html/search/all_f.html | 37 - docs/html/search/all_f.js | 14 - docs/html/search/classes_0.html | 37 - docs/html/search/classes_0.js | 4 - docs/html/search/classes_1.html | 37 - docs/html/search/classes_1.js | 4 - docs/html/search/classes_10.html | 37 - docs/html/search/classes_10.js | 5 - docs/html/search/classes_2.html | 37 - docs/html/search/classes_2.js | 6 - docs/html/search/classes_3.html | 37 - docs/html/search/classes_3.js | 6 - docs/html/search/classes_4.html | 37 - docs/html/search/classes_4.js | 7 - docs/html/search/classes_5.html | 37 - docs/html/search/classes_5.js | 5 - docs/html/search/classes_6.html | 37 - docs/html/search/classes_6.js | 5 - docs/html/search/classes_7.html | 37 - docs/html/search/classes_7.js | 14 - docs/html/search/classes_8.html | 37 - docs/html/search/classes_8.js | 6 - docs/html/search/classes_9.html | 37 - docs/html/search/classes_9.js | 4 - docs/html/search/classes_a.html | 37 - docs/html/search/classes_a.js | 4 - docs/html/search/classes_b.html | 37 - docs/html/search/classes_b.js | 9 - docs/html/search/classes_c.html | 37 - docs/html/search/classes_c.js | 9 - docs/html/search/classes_d.html | 37 - docs/html/search/classes_d.js | 24 - docs/html/search/classes_e.html | 37 - docs/html/search/classes_e.js | 4 - docs/html/search/classes_f.html | 37 - docs/html/search/classes_f.js | 4 - docs/html/search/close.svg | 18 - docs/html/search/enums_0.html | 37 - docs/html/search/enums_0.js | 4 - docs/html/search/enums_1.html | 37 - docs/html/search/enums_1.js | 4 - docs/html/search/files_0.html | 37 - docs/html/search/files_0.js | 7 - docs/html/search/functions_0.html | 37 - docs/html/search/functions_0.js | 8 - docs/html/search/functions_1.html | 37 - docs/html/search/functions_1.js | 4 - docs/html/search/functions_2.html | 37 - docs/html/search/functions_2.js | 6 - docs/html/search/functions_3.html | 37 - docs/html/search/functions_3.js | 6 - docs/html/search/functions_4.html | 37 - docs/html/search/functions_4.js | 5 - docs/html/search/functions_5.html | 37 - docs/html/search/functions_5.js | 4 - docs/html/search/functions_6.html | 37 - docs/html/search/functions_6.js | 6 - docs/html/search/functions_7.html | 37 - docs/html/search/functions_7.js | 10 - docs/html/search/functions_8.html | 37 - docs/html/search/functions_8.js | 4 - docs/html/search/functions_9.html | 37 - docs/html/search/functions_9.js | 4 - docs/html/search/functions_a.html | 37 - docs/html/search/functions_a.js | 6 - docs/html/search/functions_b.html | 37 - docs/html/search/functions_b.js | 8 - docs/html/search/functions_c.html | 37 - docs/html/search/functions_c.js | 16 - docs/html/search/functions_d.html | 37 - docs/html/search/functions_d.js | 5 - docs/html/search/functions_e.html | 37 - docs/html/search/functions_e.js | 7 - docs/html/search/functions_f.html | 37 - docs/html/search/functions_f.js | 6 - docs/html/search/mag.svg | 24 - docs/html/search/mag_d.svg | 24 - docs/html/search/mag_sel.svg | 31 - docs/html/search/mag_seld.svg | 31 - docs/html/search/namespaces_0.html | 37 - docs/html/search/namespaces_0.js | 4 - docs/html/search/nomatches.html | 13 - docs/html/search/pages_0.html | 37 - docs/html/search/pages_0.js | 5 - docs/html/search/pages_1.html | 37 - docs/html/search/pages_1.js | 4 - docs/html/search/pages_2.js | 4 - docs/html/search/pages_3.js | 5 - docs/html/search/pages_4.js | 4 - docs/html/search/search.css | 291 --- docs/html/search/search.js | 840 ------- docs/html/search/search_l.png | Bin 567 -> 0 bytes docs/html/search/search_m.png | Bin 158 -> 0 bytes docs/html/search/search_r.png | Bin 553 -> 0 bytes docs/html/search/searchdata.js | 39 - docs/html/search/typedefs_0.html | 37 - docs/html/search/typedefs_0.js | 4 - docs/html/search/typedefs_1.html | 37 - docs/html/search/typedefs_1.js | 7 - docs/html/search/variables_0.html | 37 - docs/html/search/variables_0.js | 4 - docs/html/search/variables_1.html | 37 - docs/html/search/variables_1.js | 4 - docs/html/search/variables_2.html | 37 - docs/html/search/variables_2.js | 4 - docs/html/search/variables_3.html | 37 - docs/html/search/variables_3.js | 4 - docs/html/serialib_8cpp.html | 93 - docs/html/serialib_8h.html | 107 - docs/html/serialib_8h_source.html | 315 --- docs/html/splitbar.png | Bin 314 -> 0 bytes docs/html/splitbard.png | Bin 282 -> 0 bytes ...r_3_01arduino_1_1_string_01_4-members.html | 89 - ...ing_maker_3_01arduino_1_1_string_01_4.html | 103 - ...tarduino_1_1____container____-members.html | 90 - .../structarduino_1_1____container____.html | 101 - ...o_1_1_stream_1_1_multi_target-members.html | 91 - ...ctarduino_1_1_stream_1_1_multi_target.html | 104 - docs/html/sync_off.png | Bin 853 -> 0 bytes docs/html/sync_on.png | Bin 845 -> 0 bytes docs/html/tab_a.png | Bin 142 -> 0 bytes docs/html/tab_ad.png | Bin 135 -> 0 bytes docs/html/tab_b.png | Bin 169 -> 0 bytes docs/html/tab_bd.png | Bin 173 -> 0 bytes docs/html/tab_h.png | Bin 177 -> 0 bytes docs/html/tab_hd.png | Bin 180 -> 0 bytes docs/html/tab_s.png | Bin 184 -> 0 bytes docs/html/tab_sd.png | Bin 188 -> 0 bytes docs/html/tabs.css | 1 - docs/html/todo.html | 86 - 504 files changed, 16 insertions(+), 58204 deletions(-) create mode 100644 .github/workflows/doxygen-gh-pages.yml delete mode 100644 docs/html/_arduino_8h_source.html delete mode 100644 docs/html/_arduino_a_p_i_8h_source.html delete mode 100644 docs/html/_arduino_logger_8h_source.html delete mode 100644 docs/html/_binary_8h_source.html delete mode 100644 docs/html/_can_msg_8h_source.html delete mode 100644 docs/html/_can_msg_ringbuffer_8h_source.html delete mode 100644 docs/html/_client_8h_source.html delete mode 100644 docs/html/_common_8h_source.html delete mode 100644 docs/html/_compat_8h_source.html delete mode 100644 docs/html/_d_m_a_pool_8h_source.html delete mode 100644 docs/html/_ethernet_8h_source.html delete mode 100644 docs/html/_ethernet_server_8h_source.html delete mode 100644 docs/html/_ethernet_u_d_p_8h_source.html delete mode 100644 docs/html/_file_stream_8h_source.html delete mode 100644 docs/html/_g_p_i_o_wrapper_8h_source.html delete mode 100644 docs/html/_hardware_c_a_n_8h_source.html delete mode 100644 docs/html/_hardware_g_p_i_o_8h_source.html delete mode 100644 docs/html/_hardware_g_p_i_o___r_p_i_8h_source.html delete mode 100644 docs/html/_hardware_i2_c_8h_source.html delete mode 100644 docs/html/_hardware_i2_c___r_p_i_8h_source.html delete mode 100644 docs/html/_hardware_s_p_i_8h_source.html delete mode 100644 docs/html/_hardware_s_p_i___r_p_i_8h_source.html delete mode 100644 docs/html/_hardware_serial_8h_source.html delete mode 100644 docs/html/_hardware_service_8h_source.html delete mode 100644 docs/html/_hardware_setup_8h_source.html delete mode 100644 docs/html/_hardware_setup_r_p_i_8h_source.html delete mode 100644 docs/html/_hardware_setup_remote_8h_source.html delete mode 100644 docs/html/_i2_c_wrapper_8h_source.html delete mode 100644 docs/html/_i_p_address_8h_source.html delete mode 100644 docs/html/_interrupts_8h_source.html delete mode 100644 docs/html/_millis_fake_8h_source.html delete mode 100644 docs/html/_network_client_secure_8h_source.html delete mode 100644 docs/html/_pluggable_u_s_b_8h_source.html delete mode 100644 docs/html/_print_8h_source.html delete mode 100644 docs/html/_print_mock_8h_source.html delete mode 100644 docs/html/_printable_8h_source.html delete mode 100644 docs/html/_printable_mock_8h_source.html delete mode 100644 docs/html/_remote_g_p_i_o_8h_source.html delete mode 100644 docs/html/_remote_i2_c_8h_source.html delete mode 100644 docs/html/_remote_s_p_i_8h_source.html delete mode 100644 docs/html/_remote_serial_8h_source.html delete mode 100644 docs/html/_ring_buffer_8h_source.html delete mode 100644 docs/html/_ring_buffer_ext_8h_source.html delete mode 100644 docs/html/_s_d_8h.html delete mode 100644 docs/html/_s_d_8h_source.html delete mode 100644 docs/html/_s_p_i_wrapper_8h_source.html delete mode 100644 docs/html/_sd_fat_8h.html delete mode 100644 docs/html/_sd_fat_8h_source.html delete mode 100644 docs/html/_serial_8h_source.html delete mode 100644 docs/html/_server_8h_source.html delete mode 100644 docs/html/_signal_handler_8h_source.html delete mode 100644 docs/html/_socket_impl_8h_source.html delete mode 100644 docs/html/_sources_8h_source.html delete mode 100644 docs/html/_stdio_device_8h_source.html delete mode 100644 docs/html/_stream_8h_source.html delete mode 100644 docs/html/_stream_mock_8h_source.html delete mode 100644 docs/html/_string_8h_source.html delete mode 100644 docs/html/_string_printer_8h_source.html delete mode 100644 docs/html/_u_s_b_a_p_i_8h_source.html delete mode 100644 docs/html/_udp_8h_source.html delete mode 100644 docs/html/_w_character_8h_source.html delete mode 100644 docs/html/_w_string_8h_source.html delete mode 100644 docs/html/_wi_fi_8h_source.html delete mode 100644 docs/html/_wi_fi_client_8h_source.html delete mode 100644 docs/html/_wi_fi_client_secure_8h_source.html delete mode 100644 docs/html/_wi_fi_server_8h_source.html delete mode 100644 docs/html/_wi_fi_u_d_p_8h_source.html delete mode 100644 docs/html/_wi_fi_udp_stream_8h_source.html delete mode 100644 docs/html/_wire_8h_source.html delete mode 100644 docs/html/annotated.html delete mode 100644 docs/html/avr_2pins__arduino_8h_source.html delete mode 100644 docs/html/bc_s.png delete mode 100644 docs/html/bc_sd.png delete mode 100644 docs/html/bdwn.png delete mode 100644 docs/html/class_file-members.html delete mode 100644 docs/html/class_file.html delete mode 100644 docs/html/class_file.png delete mode 100644 docs/html/class_print_mock-members.html delete mode 100644 docs/html/class_print_mock.html delete mode 100644 docs/html/class_print_mock.png delete mode 100644 docs/html/class_printable_mock-members.html delete mode 100644 docs/html/class_printable_mock.html delete mode 100644 docs/html/class_printable_mock.png delete mode 100644 docs/html/class_s_p_i_class-members.html delete mode 100644 docs/html/class_s_p_i_class.html delete mode 100644 docs/html/class_s_p_i_class.png delete mode 100644 docs/html/class_sd_fat-members.html delete mode 100644 docs/html/class_sd_fat.html delete mode 100644 docs/html/class_sd_file-members.html delete mode 100644 docs/html/class_sd_file.html delete mode 100644 docs/html/class_sd_file.png delete mode 100644 docs/html/class_sd_spi_config-members.html delete mode 100644 docs/html/class_sd_spi_config.html delete mode 100644 docs/html/class_signal_handler-members.html delete mode 100644 docs/html/class_signal_handler.html delete mode 100644 docs/html/class_stream_mock-members.html delete mode 100644 docs/html/class_stream_mock.html delete mode 100644 docs/html/class_stream_mock.png delete mode 100644 docs/html/classarduino_1_1_arduino_logger-members.html delete mode 100644 docs/html/classarduino_1_1_arduino_logger.html delete mode 100644 docs/html/classarduino_1_1_can_msg-members.html delete mode 100644 docs/html/classarduino_1_1_can_msg.html delete mode 100644 docs/html/classarduino_1_1_can_msg.png delete mode 100644 docs/html/classarduino_1_1_can_msg_ringbuffer-members.html delete mode 100644 docs/html/classarduino_1_1_can_msg_ringbuffer.html delete mode 100644 docs/html/classarduino_1_1_client-members.html delete mode 100644 docs/html/classarduino_1_1_client.html delete mode 100644 docs/html/classarduino_1_1_client.png delete mode 100644 docs/html/classarduino_1_1_d_m_a_buffer-members.html delete mode 100644 docs/html/classarduino_1_1_d_m_a_buffer.html delete mode 100644 docs/html/classarduino_1_1_d_m_a_pool-members.html delete mode 100644 docs/html/classarduino_1_1_d_m_a_pool.html delete mode 100644 docs/html/classarduino_1_1_ethernet_client-members.html delete mode 100644 docs/html/classarduino_1_1_ethernet_client.html delete mode 100644 docs/html/classarduino_1_1_ethernet_client.png delete mode 100644 docs/html/classarduino_1_1_ethernet_impl-members.html delete mode 100644 docs/html/classarduino_1_1_ethernet_impl.html delete mode 100644 docs/html/classarduino_1_1_ethernet_server-members.html delete mode 100644 docs/html/classarduino_1_1_ethernet_server.html delete mode 100644 docs/html/classarduino_1_1_ethernet_server.png delete mode 100644 docs/html/classarduino_1_1_ethernet_u_d_p-members.html delete mode 100644 docs/html/classarduino_1_1_ethernet_u_d_p.html delete mode 100644 docs/html/classarduino_1_1_ethernet_u_d_p.png delete mode 100644 docs/html/classarduino_1_1_file_stream-members.html delete mode 100644 docs/html/classarduino_1_1_file_stream.html delete mode 100644 docs/html/classarduino_1_1_file_stream.png delete mode 100644 docs/html/classarduino_1_1_g_p_i_o_source-members.html delete mode 100644 docs/html/classarduino_1_1_g_p_i_o_source.html delete mode 100644 docs/html/classarduino_1_1_g_p_i_o_source.png delete mode 100644 docs/html/classarduino_1_1_g_p_i_o_wrapper-members.html delete mode 100644 docs/html/classarduino_1_1_g_p_i_o_wrapper.html delete mode 100644 docs/html/classarduino_1_1_g_p_i_o_wrapper.png delete mode 100644 docs/html/classarduino_1_1_hardware_c_a_n-members.html delete mode 100644 docs/html/classarduino_1_1_hardware_c_a_n.html delete mode 100644 docs/html/classarduino_1_1_hardware_g_p_i_o-members.html delete mode 100644 docs/html/classarduino_1_1_hardware_g_p_i_o.html delete mode 100644 docs/html/classarduino_1_1_hardware_g_p_i_o.png delete mode 100644 docs/html/classarduino_1_1_hardware_g_p_i_o___r_p_i-members.html delete mode 100644 docs/html/classarduino_1_1_hardware_g_p_i_o___r_p_i.html delete mode 100644 docs/html/classarduino_1_1_hardware_g_p_i_o___r_p_i.png delete mode 100644 docs/html/classarduino_1_1_hardware_i2_c-members.html delete mode 100644 docs/html/classarduino_1_1_hardware_i2_c.html delete mode 100644 docs/html/classarduino_1_1_hardware_i2_c.png delete mode 100644 docs/html/classarduino_1_1_hardware_i2_c___r_p_i-members.html delete mode 100644 docs/html/classarduino_1_1_hardware_i2_c___r_p_i.html delete mode 100644 docs/html/classarduino_1_1_hardware_i2_c___r_p_i.png delete mode 100644 docs/html/classarduino_1_1_hardware_s_p_i-members.html delete mode 100644 docs/html/classarduino_1_1_hardware_s_p_i.html delete mode 100644 docs/html/classarduino_1_1_hardware_s_p_i.png delete mode 100644 docs/html/classarduino_1_1_hardware_s_p_i___r_p_i-members.html delete mode 100644 docs/html/classarduino_1_1_hardware_s_p_i___r_p_i.html delete mode 100644 docs/html/classarduino_1_1_hardware_s_p_i___r_p_i.png delete mode 100644 docs/html/classarduino_1_1_hardware_serial-members.html delete mode 100644 docs/html/classarduino_1_1_hardware_serial.html delete mode 100644 docs/html/classarduino_1_1_hardware_serial.png delete mode 100644 docs/html/classarduino_1_1_hardware_service-members.html delete mode 100644 docs/html/classarduino_1_1_hardware_service.html delete mode 100644 docs/html/classarduino_1_1_hardware_setup_r_p_i-members.html delete mode 100644 docs/html/classarduino_1_1_hardware_setup_r_p_i.html delete mode 100644 docs/html/classarduino_1_1_hardware_setup_r_p_i.png delete mode 100644 docs/html/classarduino_1_1_hardware_setup_remote-members.html delete mode 100644 docs/html/classarduino_1_1_hardware_setup_remote.html delete mode 100644 docs/html/classarduino_1_1_hardware_setup_remote.png delete mode 100644 docs/html/classarduino_1_1_hardware_setup_remote_class-members.html delete mode 100644 docs/html/classarduino_1_1_hardware_setup_remote_class.html delete mode 100644 docs/html/classarduino_1_1_hardware_setup_remote_class.png delete mode 100644 docs/html/classarduino_1_1_i2_c_source-members.html delete mode 100644 docs/html/classarduino_1_1_i2_c_source.html delete mode 100644 docs/html/classarduino_1_1_i2_c_source.png delete mode 100644 docs/html/classarduino_1_1_i2_c_wrapper-members.html delete mode 100644 docs/html/classarduino_1_1_i2_c_wrapper.html delete mode 100644 docs/html/classarduino_1_1_i2_c_wrapper.png delete mode 100644 docs/html/classarduino_1_1_i_p_address-members.html delete mode 100644 docs/html/classarduino_1_1_i_p_address.html delete mode 100644 docs/html/classarduino_1_1_i_p_address.png delete mode 100644 docs/html/classarduino_1_1_network_client_secure-members.html delete mode 100644 docs/html/classarduino_1_1_network_client_secure.html delete mode 100644 docs/html/classarduino_1_1_network_client_secure.png delete mode 100644 docs/html/classarduino_1_1_pluggable_u_s_b__-members.html delete mode 100644 docs/html/classarduino_1_1_pluggable_u_s_b__.html delete mode 100644 docs/html/classarduino_1_1_pluggable_u_s_b_module-members.html delete mode 100644 docs/html/classarduino_1_1_pluggable_u_s_b_module.html delete mode 100644 docs/html/classarduino_1_1_print-members.html delete mode 100644 docs/html/classarduino_1_1_print.html delete mode 100644 docs/html/classarduino_1_1_print.png delete mode 100644 docs/html/classarduino_1_1_printable-members.html delete mode 100644 docs/html/classarduino_1_1_printable.html delete mode 100644 docs/html/classarduino_1_1_printable.png delete mode 100644 docs/html/classarduino_1_1_remote_g_p_i_o-members.html delete mode 100644 docs/html/classarduino_1_1_remote_g_p_i_o.html delete mode 100644 docs/html/classarduino_1_1_remote_g_p_i_o.png delete mode 100644 docs/html/classarduino_1_1_remote_i2_c-members.html delete mode 100644 docs/html/classarduino_1_1_remote_i2_c.html delete mode 100644 docs/html/classarduino_1_1_remote_i2_c.png delete mode 100644 docs/html/classarduino_1_1_remote_s_p_i-members.html delete mode 100644 docs/html/classarduino_1_1_remote_s_p_i.html delete mode 100644 docs/html/classarduino_1_1_remote_s_p_i.png delete mode 100644 docs/html/classarduino_1_1_remote_serial_class-members.html delete mode 100644 docs/html/classarduino_1_1_remote_serial_class.html delete mode 100644 docs/html/classarduino_1_1_remote_serial_class.png delete mode 100644 docs/html/classarduino_1_1_ring_buffer_ext-members.html delete mode 100644 docs/html/classarduino_1_1_ring_buffer_ext.html delete mode 100644 docs/html/classarduino_1_1_ring_buffer_n-members.html delete mode 100644 docs/html/classarduino_1_1_ring_buffer_n.html delete mode 100644 docs/html/classarduino_1_1_s_p_i_settings-members.html delete mode 100644 docs/html/classarduino_1_1_s_p_i_settings.html delete mode 100644 docs/html/classarduino_1_1_s_p_i_source-members.html delete mode 100644 docs/html/classarduino_1_1_s_p_i_source.html delete mode 100644 docs/html/classarduino_1_1_s_p_i_source.png delete mode 100644 docs/html/classarduino_1_1_s_p_i_wrapper-members.html delete mode 100644 docs/html/classarduino_1_1_s_p_i_wrapper.html delete mode 100644 docs/html/classarduino_1_1_s_p_i_wrapper.png delete mode 100644 docs/html/classarduino_1_1_s_p_s_c_queue-members.html delete mode 100644 docs/html/classarduino_1_1_s_p_s_c_queue.html delete mode 100644 docs/html/classarduino_1_1_serial_impl-members.html delete mode 100644 docs/html/classarduino_1_1_serial_impl.html delete mode 100644 docs/html/classarduino_1_1_serial_impl.png delete mode 100644 docs/html/classarduino_1_1_server-members.html delete mode 100644 docs/html/classarduino_1_1_server.html delete mode 100644 docs/html/classarduino_1_1_server.png delete mode 100644 docs/html/classarduino_1_1_socket_impl-members.html delete mode 100644 docs/html/classarduino_1_1_socket_impl.html delete mode 100644 docs/html/classarduino_1_1_socket_impl.png delete mode 100644 docs/html/classarduino_1_1_socket_impl_secure-members.html delete mode 100644 docs/html/classarduino_1_1_socket_impl_secure.html delete mode 100644 docs/html/classarduino_1_1_socket_impl_secure.png delete mode 100644 docs/html/classarduino_1_1_stdio_device-members.html delete mode 100644 docs/html/classarduino_1_1_stdio_device.html delete mode 100644 docs/html/classarduino_1_1_stdio_device.png delete mode 100644 docs/html/classarduino_1_1_stream-members.html delete mode 100644 docs/html/classarduino_1_1_stream.html delete mode 100644 docs/html/classarduino_1_1_stream.png delete mode 100644 docs/html/classarduino_1_1_string-members.html delete mode 100644 docs/html/classarduino_1_1_string.html delete mode 100644 docs/html/classarduino_1_1_string.png delete mode 100644 docs/html/classarduino_1_1_string_sum_helper-members.html delete mode 100644 docs/html/classarduino_1_1_string_sum_helper.html delete mode 100644 docs/html/classarduino_1_1_string_sum_helper.png delete mode 100644 docs/html/classarduino_1_1_u_d_p-members.html delete mode 100644 docs/html/classarduino_1_1_u_d_p.html delete mode 100644 docs/html/classarduino_1_1_u_d_p.png delete mode 100644 docs/html/classarduino_1_1_wi_fi_u_d_p_stream-members.html delete mode 100644 docs/html/classarduino_1_1_wi_fi_u_d_p_stream.html delete mode 100644 docs/html/classarduino_1_1_wi_fi_u_d_p_stream.png delete mode 100644 docs/html/classarduino_1_1_wifi_mock-members.html delete mode 100644 docs/html/classarduino_1_1_wifi_mock.html delete mode 100644 docs/html/classes.html delete mode 100644 docs/html/classserialib-members.html delete mode 100644 docs/html/classserialib.html delete mode 100644 docs/html/classtime_out-members.html delete mode 100644 docs/html/classtime_out.html delete mode 100644 docs/html/closed.png delete mode 100644 docs/html/cores_2arduino_2_s_p_i_8h_source.html delete mode 100644 docs/html/deprecated_2_client_8h_source.html delete mode 100644 docs/html/deprecated_2_hardware_serial_8h_source.html delete mode 100644 docs/html/deprecated_2_i_p_address_8h_source.html delete mode 100644 docs/html/deprecated_2_print_8h_source.html delete mode 100644 docs/html/deprecated_2_printable_8h_source.html delete mode 100644 docs/html/deprecated_2_server_8h_source.html delete mode 100644 docs/html/deprecated_2_stream_8h_source.html delete mode 100644 docs/html/deprecated_2_udp_8h_source.html delete mode 100644 docs/html/dir_003636776c31d8d3d98ec36a2ef93f8d.html delete mode 100644 docs/html/dir_08e6408c2be0588ccd1f72f005fa1d13.html delete mode 100644 docs/html/dir_1493e53abac0e6bf8b661d0a9f51f4b1.html delete mode 100644 docs/html/dir_172a2df5bcefead855c386f653873ed6.html delete mode 100644 docs/html/dir_1cb87cd7e91a52ac83e841db90a87493.html delete mode 100644 docs/html/dir_28cc55446563df5a015bdfdafa319bb2.html delete mode 100644 docs/html/dir_2ba506666022b9e33e4ecc950aca3a7c.html delete mode 100644 docs/html/dir_2cca4b4e19fc60062d5bd4d6ebfdb1a0.html delete mode 100644 docs/html/dir_3ab4fc018861724598989e8298b2f15a.html delete mode 100644 docs/html/dir_545f08dfc4fc1da15e2fdcad7887aefd.html delete mode 100644 docs/html/dir_5e0f52f1d37fd883ed7d12deeca0b8bf.html delete mode 100644 docs/html/dir_675771fc8bb55899657590d83ea2e7fa.html delete mode 100644 docs/html/dir_72b5c6a539c3080a02bc17e85e292ae1.html delete mode 100644 docs/html/dir_8960f4941a66020b00d3f073ecd78e2b.html delete mode 100644 docs/html/dir_8d9fc4d15c79b33ee2846ed1c5ab9791.html delete mode 100644 docs/html/dir_9e49f3b13e30306266f7920d40ece3b6.html delete mode 100644 docs/html/dir_a1d53a571a5419d4e6067cbbae405b93.html delete mode 100644 docs/html/dir_b074d1b1aa70f3c10763fb8f33d8f4cb.html delete mode 100644 docs/html/dir_b6f1a12a6c71929bbf113e74a9b81305.html delete mode 100644 docs/html/dir_b85ee9f09a3ff1d7d01590c4db171083.html delete mode 100644 docs/html/dir_bde93be90b18866d5c3c461eb8a7941b.html delete mode 100644 docs/html/dir_c30b687a999e0b32ea4d8e0403705692.html delete mode 100644 docs/html/dir_d23751650123521b31f29a723923c402.html delete mode 100644 docs/html/dir_dff48a7d0ae0c8296c1f49f9e31985b1.html delete mode 100644 docs/html/dir_e348cc18a5c4a65747adb39f55fe4c7b.html delete mode 100644 docs/html/doc.png delete mode 100644 docs/html/doc.svg delete mode 100644 docs/html/docd.svg delete mode 100644 docs/html/doxygen.css delete mode 100644 docs/html/doxygen.svg delete mode 100644 docs/html/dtostrf_8h_source.html delete mode 100644 docs/html/dynsections.js delete mode 100644 docs/html/esp32_2pins__arduino_8h_source.html delete mode 100644 docs/html/esp8266_2pins__arduino_8h_source.html delete mode 100644 docs/html/files.html delete mode 100644 docs/html/folderclosed.png delete mode 100644 docs/html/folderclosed.svg delete mode 100644 docs/html/folderclosedd.svg delete mode 100644 docs/html/folderopen.png delete mode 100644 docs/html/folderopen.svg delete mode 100644 docs/html/folderopend.svg delete mode 100644 docs/html/functions.html delete mode 100644 docs/html/functions_enum.html delete mode 100644 docs/html/functions_func.html delete mode 100644 docs/html/hierarchy.html delete mode 100644 docs/html/index.html delete mode 100644 docs/html/interrupt_8h_source.html delete mode 100644 docs/html/itoa_8h_source.html delete mode 100644 docs/html/jquery.js delete mode 100644 docs/html/libraries_2_s_p_i_8h_source.html delete mode 100644 docs/html/menu.js delete mode 100644 docs/html/menudata.js delete mode 100644 docs/html/minus.svg delete mode 100644 docs/html/minusd.svg delete mode 100644 docs/html/namespacearduino.html delete mode 100644 docs/html/namespacemembers.html delete mode 100644 docs/html/namespacemembers_enum.html delete mode 100644 docs/html/namespacemembers_func.html delete mode 100644 docs/html/namespacemembers_type.html delete mode 100644 docs/html/namespacemembers_vars.html delete mode 100644 docs/html/namespaces.html delete mode 100644 docs/html/nav_f.png delete mode 100644 docs/html/nav_fd.png delete mode 100644 docs/html/nav_g.png delete mode 100644 docs/html/nav_h.png delete mode 100644 docs/html/nav_hd.png delete mode 100644 docs/html/open.png delete mode 100644 docs/html/pages.html delete mode 100644 docs/html/pgmspace_8h_source.html delete mode 100644 docs/html/plus.svg delete mode 100644 docs/html/plusd.svg delete mode 100644 docs/html/search/all_0.html delete mode 100644 docs/html/search/all_0.js delete mode 100644 docs/html/search/all_1.html delete mode 100644 docs/html/search/all_1.js delete mode 100644 docs/html/search/all_10.html delete mode 100644 docs/html/search/all_10.js delete mode 100644 docs/html/search/all_11.html delete mode 100644 docs/html/search/all_11.js delete mode 100644 docs/html/search/all_12.html delete mode 100644 docs/html/search/all_12.js delete mode 100644 docs/html/search/all_13.html delete mode 100644 docs/html/search/all_13.js delete mode 100644 docs/html/search/all_14.html delete mode 100644 docs/html/search/all_14.js delete mode 100644 docs/html/search/all_15.js delete mode 100644 docs/html/search/all_2.html delete mode 100644 docs/html/search/all_2.js delete mode 100644 docs/html/search/all_3.html delete mode 100644 docs/html/search/all_3.js delete mode 100644 docs/html/search/all_4.html delete mode 100644 docs/html/search/all_4.js delete mode 100644 docs/html/search/all_5.html delete mode 100644 docs/html/search/all_5.js delete mode 100644 docs/html/search/all_6.html delete mode 100644 docs/html/search/all_6.js delete mode 100644 docs/html/search/all_7.html delete mode 100644 docs/html/search/all_7.js delete mode 100644 docs/html/search/all_8.html delete mode 100644 docs/html/search/all_8.js delete mode 100644 docs/html/search/all_9.html delete mode 100644 docs/html/search/all_9.js delete mode 100644 docs/html/search/all_a.html delete mode 100644 docs/html/search/all_a.js delete mode 100644 docs/html/search/all_b.html delete mode 100644 docs/html/search/all_b.js delete mode 100644 docs/html/search/all_c.html delete mode 100644 docs/html/search/all_c.js delete mode 100644 docs/html/search/all_d.html delete mode 100644 docs/html/search/all_d.js delete mode 100644 docs/html/search/all_e.html delete mode 100644 docs/html/search/all_e.js delete mode 100644 docs/html/search/all_f.html delete mode 100644 docs/html/search/all_f.js delete mode 100644 docs/html/search/classes_0.html delete mode 100644 docs/html/search/classes_0.js delete mode 100644 docs/html/search/classes_1.html delete mode 100644 docs/html/search/classes_1.js delete mode 100644 docs/html/search/classes_10.html delete mode 100644 docs/html/search/classes_10.js delete mode 100644 docs/html/search/classes_2.html delete mode 100644 docs/html/search/classes_2.js delete mode 100644 docs/html/search/classes_3.html delete mode 100644 docs/html/search/classes_3.js delete mode 100644 docs/html/search/classes_4.html delete mode 100644 docs/html/search/classes_4.js delete mode 100644 docs/html/search/classes_5.html delete mode 100644 docs/html/search/classes_5.js delete mode 100644 docs/html/search/classes_6.html delete mode 100644 docs/html/search/classes_6.js delete mode 100644 docs/html/search/classes_7.html delete mode 100644 docs/html/search/classes_7.js delete mode 100644 docs/html/search/classes_8.html delete mode 100644 docs/html/search/classes_8.js delete mode 100644 docs/html/search/classes_9.html delete mode 100644 docs/html/search/classes_9.js delete mode 100644 docs/html/search/classes_a.html delete mode 100644 docs/html/search/classes_a.js delete mode 100644 docs/html/search/classes_b.html delete mode 100644 docs/html/search/classes_b.js delete mode 100644 docs/html/search/classes_c.html delete mode 100644 docs/html/search/classes_c.js delete mode 100644 docs/html/search/classes_d.html delete mode 100644 docs/html/search/classes_d.js delete mode 100644 docs/html/search/classes_e.html delete mode 100644 docs/html/search/classes_e.js delete mode 100644 docs/html/search/classes_f.html delete mode 100644 docs/html/search/classes_f.js delete mode 100644 docs/html/search/close.svg delete mode 100644 docs/html/search/enums_0.html delete mode 100644 docs/html/search/enums_0.js delete mode 100644 docs/html/search/enums_1.html delete mode 100644 docs/html/search/enums_1.js delete mode 100644 docs/html/search/files_0.html delete mode 100644 docs/html/search/files_0.js delete mode 100644 docs/html/search/functions_0.html delete mode 100644 docs/html/search/functions_0.js delete mode 100644 docs/html/search/functions_1.html delete mode 100644 docs/html/search/functions_1.js delete mode 100644 docs/html/search/functions_2.html delete mode 100644 docs/html/search/functions_2.js delete mode 100644 docs/html/search/functions_3.html delete mode 100644 docs/html/search/functions_3.js delete mode 100644 docs/html/search/functions_4.html delete mode 100644 docs/html/search/functions_4.js delete mode 100644 docs/html/search/functions_5.html delete mode 100644 docs/html/search/functions_5.js delete mode 100644 docs/html/search/functions_6.html delete mode 100644 docs/html/search/functions_6.js delete mode 100644 docs/html/search/functions_7.html delete mode 100644 docs/html/search/functions_7.js delete mode 100644 docs/html/search/functions_8.html delete mode 100644 docs/html/search/functions_8.js delete mode 100644 docs/html/search/functions_9.html delete mode 100644 docs/html/search/functions_9.js delete mode 100644 docs/html/search/functions_a.html delete mode 100644 docs/html/search/functions_a.js delete mode 100644 docs/html/search/functions_b.html delete mode 100644 docs/html/search/functions_b.js delete mode 100644 docs/html/search/functions_c.html delete mode 100644 docs/html/search/functions_c.js delete mode 100644 docs/html/search/functions_d.html delete mode 100644 docs/html/search/functions_d.js delete mode 100644 docs/html/search/functions_e.html delete mode 100644 docs/html/search/functions_e.js delete mode 100644 docs/html/search/functions_f.html delete mode 100644 docs/html/search/functions_f.js delete mode 100644 docs/html/search/mag.svg delete mode 100644 docs/html/search/mag_d.svg delete mode 100644 docs/html/search/mag_sel.svg delete mode 100644 docs/html/search/mag_seld.svg delete mode 100644 docs/html/search/namespaces_0.html delete mode 100644 docs/html/search/namespaces_0.js delete mode 100644 docs/html/search/nomatches.html delete mode 100644 docs/html/search/pages_0.html delete mode 100644 docs/html/search/pages_0.js delete mode 100644 docs/html/search/pages_1.html delete mode 100644 docs/html/search/pages_1.js delete mode 100644 docs/html/search/pages_2.js delete mode 100644 docs/html/search/pages_3.js delete mode 100644 docs/html/search/pages_4.js delete mode 100644 docs/html/search/search.css delete mode 100644 docs/html/search/search.js delete mode 100644 docs/html/search/search_l.png delete mode 100644 docs/html/search/search_m.png delete mode 100644 docs/html/search/search_r.png delete mode 100644 docs/html/search/searchdata.js delete mode 100644 docs/html/search/typedefs_0.html delete mode 100644 docs/html/search/typedefs_0.js delete mode 100644 docs/html/search/typedefs_1.html delete mode 100644 docs/html/search/typedefs_1.js delete mode 100644 docs/html/search/variables_0.html delete mode 100644 docs/html/search/variables_0.js delete mode 100644 docs/html/search/variables_1.html delete mode 100644 docs/html/search/variables_1.js delete mode 100644 docs/html/search/variables_2.html delete mode 100644 docs/html/search/variables_2.js delete mode 100644 docs/html/search/variables_3.html delete mode 100644 docs/html/search/variables_3.js delete mode 100644 docs/html/serialib_8cpp.html delete mode 100644 docs/html/serialib_8h.html delete mode 100644 docs/html/serialib_8h_source.html delete mode 100644 docs/html/splitbar.png delete mode 100644 docs/html/splitbard.png delete mode 100644 docs/html/struct_catch_1_1_string_maker_3_01arduino_1_1_string_01_4-members.html delete mode 100644 docs/html/struct_catch_1_1_string_maker_3_01arduino_1_1_string_01_4.html delete mode 100644 docs/html/structarduino_1_1____container____-members.html delete mode 100644 docs/html/structarduino_1_1____container____.html delete mode 100644 docs/html/structarduino_1_1_stream_1_1_multi_target-members.html delete mode 100644 docs/html/structarduino_1_1_stream_1_1_multi_target.html delete mode 100644 docs/html/sync_off.png delete mode 100644 docs/html/sync_on.png delete mode 100644 docs/html/tab_a.png delete mode 100644 docs/html/tab_ad.png delete mode 100644 docs/html/tab_b.png delete mode 100644 docs/html/tab_bd.png delete mode 100644 docs/html/tab_h.png delete mode 100644 docs/html/tab_hd.png delete mode 100644 docs/html/tab_s.png delete mode 100644 docs/html/tab_sd.png delete mode 100644 docs/html/tabs.css delete mode 100644 docs/html/todo.html diff --git a/.github/workflows/doxygen-gh-pages.yml b/.github/workflows/doxygen-gh-pages.yml new file mode 100644 index 0000000..b3a60a2 --- /dev/null +++ b/.github/workflows/doxygen-gh-pages.yml @@ -0,0 +1,16 @@ +name: Doxygen GitHub Pages Deploy Action + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: DenverCoder1/doxygen-github-pages-action@v1.2.0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + folder: docs/html + branch: doxygen \ No newline at end of file diff --git a/docs/html/_arduino_8h_source.html b/docs/html/_arduino_8h_source.html deleted file mode 100644 index ae9dbcf..0000000 --- a/docs/html/_arduino_8h_source.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/Arduino.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Arduino.h
-
-
-
1#pragma once
-
2
-
3/*
-
4 Arduino.h - Main include file for the Arduino SDK
-
5 Copyright (c) 2005-2013 Arduino Team. All right reserved.
-
6 This library is free software; you can redistribute it and/or
-
7 modify it under the terms of the GNU Lesser General Public
-
8 License as published by the Free Software Foundation; either
-
9 version 2.1 of the License, or (at your option) any later version.
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14 You should have received a copy of the GNU Lesser General Public
-
15 License along with this library; if not, write to the Free Software
-
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
17*/
-
18
-
19#ifndef HOST
-
20# define HOST
-
21#endif
-
22
-
23#if defined(_MSC_VER) && !defined(M_PI) && !defined(_USE_MATH_DEFINES)
-
24#define _USE_MATH_DEFINES // to provide const like M_PI via <math.h>
-
25#endif
-
26
-
27#if defined(_MSC_VER)
-
28// Not available under MSVC
-
29#define __attribute__(x) // nothing
-
30#define __builtin_constant_p(x) (0) // non-constant
-
31// Temporary unsupported under Win/MSVC
-
32#define SKIP_HARDWARE_SETUP
-
33#define SKIP_HARDWARE_WIFI
-
34#endif
-
35
-
36#include "Serial.h"
-
37#include "StdioDevice.h"
-
38#include "ArduinoLogger.h"
-
39#include "api/ArduinoAPI.h"
-
40#include "RemoteSerial.h"
-
41#include "HardwareSetup.h"
-
42
-
43using namespace arduino;
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_arduino_a_p_i_8h_source.html b/docs/html/_arduino_a_p_i_8h_source.html deleted file mode 100644 index 4a34585..0000000 --- a/docs/html/_arduino_a_p_i_8h_source.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/ArduinoAPI.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
ArduinoAPI.h
-
-
-
1/*
-
2 Arduino API main include
-
3 Copyright (c) 2016 Arduino LLC. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#ifndef ARDUINO_API_H
-
21#define ARDUINO_API_H
-
22
-
23// version 1.5.2
-
24#define ARDUINO_API_VERSION 10502
-
25
-
26#include "Binary.h"
-
27
-
28#ifdef __cplusplus
-
29#include "Interrupts.h"
-
30#include "IPAddress.h"
-
31#include "Print.h"
-
32#include "Printable.h"
-
33#include "PluggableUSB.h"
-
34#include "Server.h"
-
35#include "String.h"
-
36#include "Stream.h"
-
37#include "Udp.h"
-
38#include "USBAPI.h"
-
39#include "WCharacter.h"
-
40#endif
-
41
-
42/* Standard C library includes */
-
43#include <stdlib.h>
-
44#include <stdint.h>
-
45#include <stdbool.h>
-
46#include <string.h>
-
47#include <math.h>
-
48
-
49// Misc Arduino core functions
-
50#include "Common.h"
-
51
-
52#ifdef __cplusplus
-
53// Compatibility layer for older code
-
54#include "Compat.h"
-
55#endif
-
56
-
57#endif
-
- - - - diff --git a/docs/html/_arduino_logger_8h_source.html b/docs/html/_arduino_logger_8h_source.html deleted file mode 100644 index 2e3e994..0000000 --- a/docs/html/_arduino_logger_8h_source.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/ArduinoLogger.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
ArduinoLogger.h
-
-
-
1#pragma once
-
2
-
3#include "StdioDevice.h"
-
4#include "api/Stream.h"
-
5
-
6namespace arduino {
-
7
-
- -
14 public:
-
15 ArduinoLogger() = default;
-
16
-
21 enum LogLevel { Debug, Info, Warning, Error };
-
22
-
23 const char* LogLevelTxt[4] = {"Debug", "Info", "Warning", "Error"};
-
24
-
25 // activate the logging
-
26 void begin(Stream& out, LogLevel level = Warning) {
-
27 this->log_stream_ptr = &out;
-
28 this->log_level = level;
-
29 }
-
30
-
31 // checks if the logging is active
-
32 bool isLogging() { return log_stream_ptr != nullptr; }
-
33
-
34 void error(const char* str, const char* str1 = nullptr,
-
35 const char* str2 = nullptr) {
-
36 log(Error, str, str1, str2);
-
37 }
-
38
-
39 void info(const char* str, const char* str1 = nullptr,
-
40 const char* str2 = nullptr) {
-
41 log(Info, str, str1, str2);
-
42 }
-
43
-
44 void warning(const char* str, const char* str1 = nullptr,
-
45 const char* str2 = nullptr) {
-
46 log(Warning, str, str1, str2);
-
47 }
-
48
-
49 void debug(const char* str, const char* str1 = nullptr,
-
50 const char* str2 = nullptr) {
-
51 log(Debug, str, str1, str2);
-
52 }
-
53
-
54 // write an message to the log
-
55 void log(LogLevel current_level, const char* str, const char* str1 = nullptr,
-
56 const char* str2 = nullptr) {
-
57 if (log_stream_ptr != nullptr) {
-
58 if (current_level >= log_level) {
-
59 log_stream_ptr->print("Emulator - ");
-
60 log_stream_ptr->print((char*)LogLevelTxt[current_level]);
-
61 log_stream_ptr->print(": ");
-
62 log_stream_ptr->print((char*)str);
-
63 if (str1 != nullptr) {
-
64 log_stream_ptr->print(" ");
-
65 log_stream_ptr->print((char*)str1);
-
66 }
-
67 if (str2 != nullptr) {
-
68 log_stream_ptr->print(" ");
-
69 log_stream_ptr->print((char*)str2);
-
70 }
-
71 log_stream_ptr->println();
-
72 log_stream_ptr->flush();
-
73 }
-
74 }
-
75 }
-
76
-
77 protected:
-
78 Stream* log_stream_ptr = &Serial;
-
79 LogLevel log_level = Warning;
-
80};
-
-
81
-
82static ArduinoLogger Logger;
-
83
-
84} // namespace arduino
-
A simple Logger that writes messages dependent on the log level.
Definition ArduinoLogger.h:13
-
LogLevel
Supported log levels.
Definition ArduinoLogger.h:21
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_binary_8h_source.html b/docs/html/_binary_8h_source.html deleted file mode 100644 index b770e11..0000000 --- a/docs/html/_binary_8h_source.html +++ /dev/null @@ -1,642 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/Binary.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Binary.h
-
-
-
1/*
-
2 binary.h - Definitions for binary constants
-
3 Deprecated -- use 0b binary literals instead
-
4 Copyright (c) 2006 David A. Mellis. All right reserved.
-
5
-
6 This library is free software; you can redistribute it and/or
-
7 modify it under the terms of the GNU Lesser General Public
-
8 License as published by the Free Software Foundation; either
-
9 version 2.1 of the License, or (at your option) any later version.
-
10
-
11 This library is distributed in the hope that it will be useful,
-
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
14 Lesser General Public License for more details.
-
15
-
16 You should have received a copy of the GNU Lesser General Public
-
17 License along with this library; if not, write to the Free Software
-
18 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
19*/
-
20
-
21#ifndef Binary_h
-
22#define Binary_h
-
23
-
24/* If supported, 0b binary literals are preferable to these constants.
-
25 * In that case, warn the user about these being deprecated (if possible). */
-
26#if __cplusplus >= 201402L
-
27 /* C++14 introduces binary literals; C++11 introduces [[deprecated()]] */
-
28 #define DEPRECATED(x) [[deprecated("use " #x " instead")]]
-
29#elif __GNUC__ >= 6
-
30 /* GCC 4.3 supports binary literals; GCC 6 supports __deprecated__ on enums*/
-
31 #define DEPRECATED(x) __attribute__ ((__deprecated__ ("use " #x " instead")))
-
32#else
-
33 /* binary literals not supported, or "deprecated" warning not displayable */
-
34 #define DEPRECATED(x)
-
35#endif
-
36
-
37enum {
-
38 B0 DEPRECATED(0b0 ) = 0,
-
39 B00 DEPRECATED(0b00 ) = 0,
-
40 B000 DEPRECATED(0b000 ) = 0,
-
41 B0000 DEPRECATED(0b0000 ) = 0,
-
42 B00000 DEPRECATED(0b00000 ) = 0,
-
43 B000000 DEPRECATED(0b000000 ) = 0,
-
44 B0000000 DEPRECATED(0b0000000 ) = 0,
-
45 B00000000 DEPRECATED(0b00000000) = 0,
-
46 B1 DEPRECATED(0b1 ) = 1,
-
47 B01 DEPRECATED(0b01 ) = 1,
-
48 B001 DEPRECATED(0b001 ) = 1,
-
49 B0001 DEPRECATED(0b0001 ) = 1,
-
50 B00001 DEPRECATED(0b00001 ) = 1,
-
51 B000001 DEPRECATED(0b000001 ) = 1,
-
52 B0000001 DEPRECATED(0b0000001 ) = 1,
-
53 B00000001 DEPRECATED(0b00000001) = 1,
-
54 B10 DEPRECATED(0b10 ) = 2,
-
55 B010 DEPRECATED(0b010 ) = 2,
-
56 B0010 DEPRECATED(0b0010 ) = 2,
-
57 B00010 DEPRECATED(0b00010 ) = 2,
-
58 B000010 DEPRECATED(0b000010 ) = 2,
-
59 B0000010 DEPRECATED(0b0000010 ) = 2,
-
60 B00000010 DEPRECATED(0b00000010) = 2,
-
61 B11 DEPRECATED(0b11 ) = 3,
-
62 B011 DEPRECATED(0b011 ) = 3,
-
63 B0011 DEPRECATED(0b0011 ) = 3,
-
64 B00011 DEPRECATED(0b00011 ) = 3,
-
65 B000011 DEPRECATED(0b000011 ) = 3,
-
66 B0000011 DEPRECATED(0b0000011 ) = 3,
-
67 B00000011 DEPRECATED(0b00000011) = 3,
-
68 B100 DEPRECATED(0b100 ) = 4,
-
69 B0100 DEPRECATED(0b0100 ) = 4,
-
70 B00100 DEPRECATED(0b00100 ) = 4,
-
71 B000100 DEPRECATED(0b000100 ) = 4,
-
72 B0000100 DEPRECATED(0b0000100 ) = 4,
-
73 B00000100 DEPRECATED(0b00000100) = 4,
-
74 B101 DEPRECATED(0b101 ) = 5,
-
75 B0101 DEPRECATED(0b0101 ) = 5,
-
76 B00101 DEPRECATED(0b00101 ) = 5,
-
77 B000101 DEPRECATED(0b000101 ) = 5,
-
78 B0000101 DEPRECATED(0b0000101 ) = 5,
-
79 B00000101 DEPRECATED(0b00000101) = 5,
-
80 B110 DEPRECATED(0b110 ) = 6,
-
81 B0110 DEPRECATED(0b0110 ) = 6,
-
82 B00110 DEPRECATED(0b00110 ) = 6,
-
83 B000110 DEPRECATED(0b000110 ) = 6,
-
84 B0000110 DEPRECATED(0b0000110 ) = 6,
-
85 B00000110 DEPRECATED(0b00000110) = 6,
-
86 B111 DEPRECATED(0b111 ) = 7,
-
87 B0111 DEPRECATED(0b0111 ) = 7,
-
88 B00111 DEPRECATED(0b00111 ) = 7,
-
89 B000111 DEPRECATED(0b000111 ) = 7,
-
90 B0000111 DEPRECATED(0b0000111 ) = 7,
-
91 B00000111 DEPRECATED(0b00000111) = 7,
-
92 B1000 DEPRECATED(0b1000 ) = 8,
-
93 B01000 DEPRECATED(0b01000 ) = 8,
-
94 B001000 DEPRECATED(0b001000 ) = 8,
-
95 B0001000 DEPRECATED(0b0001000 ) = 8,
-
96 B00001000 DEPRECATED(0b00001000) = 8,
-
97 B1001 DEPRECATED(0b1001 ) = 9,
-
98 B01001 DEPRECATED(0b01001 ) = 9,
-
99 B001001 DEPRECATED(0b001001 ) = 9,
-
100 B0001001 DEPRECATED(0b0001001 ) = 9,
-
101 B00001001 DEPRECATED(0b00001001) = 9,
-
102 B1010 DEPRECATED(0b1010 ) = 10,
-
103 B01010 DEPRECATED(0b01010 ) = 10,
-
104 B001010 DEPRECATED(0b001010 ) = 10,
-
105 B0001010 DEPRECATED(0b0001010 ) = 10,
-
106 B00001010 DEPRECATED(0b00001010) = 10,
-
107 B1011 DEPRECATED(0b1011 ) = 11,
-
108 B01011 DEPRECATED(0b01011 ) = 11,
-
109 B001011 DEPRECATED(0b001011 ) = 11,
-
110 B0001011 DEPRECATED(0b0001011 ) = 11,
-
111 B00001011 DEPRECATED(0b00001011) = 11,
-
112 B1100 DEPRECATED(0b1100 ) = 12,
-
113 B01100 DEPRECATED(0b01100 ) = 12,
-
114 B001100 DEPRECATED(0b001100 ) = 12,
-
115 B0001100 DEPRECATED(0b0001100 ) = 12,
-
116 B00001100 DEPRECATED(0b00001100) = 12,
-
117 B1101 DEPRECATED(0b1101 ) = 13,
-
118 B01101 DEPRECATED(0b01101 ) = 13,
-
119 B001101 DEPRECATED(0b001101 ) = 13,
-
120 B0001101 DEPRECATED(0b0001101 ) = 13,
-
121 B00001101 DEPRECATED(0b00001101) = 13,
-
122 B1110 DEPRECATED(0b1110 ) = 14,
-
123 B01110 DEPRECATED(0b01110 ) = 14,
-
124 B001110 DEPRECATED(0b001110 ) = 14,
-
125 B0001110 DEPRECATED(0b0001110 ) = 14,
-
126 B00001110 DEPRECATED(0b00001110) = 14,
-
127 B1111 DEPRECATED(0b1111 ) = 15,
-
128 B01111 DEPRECATED(0b01111 ) = 15,
-
129 B001111 DEPRECATED(0b001111 ) = 15,
-
130 B0001111 DEPRECATED(0b0001111 ) = 15,
-
131 B00001111 DEPRECATED(0b00001111) = 15,
-
132 B10000 DEPRECATED(0b10000 ) = 16,
-
133 B010000 DEPRECATED(0b010000 ) = 16,
-
134 B0010000 DEPRECATED(0b0010000 ) = 16,
-
135 B00010000 DEPRECATED(0b00010000) = 16,
-
136 B10001 DEPRECATED(0b10001 ) = 17,
-
137 B010001 DEPRECATED(0b010001 ) = 17,
-
138 B0010001 DEPRECATED(0b0010001 ) = 17,
-
139 B00010001 DEPRECATED(0b00010001) = 17,
-
140 B10010 DEPRECATED(0b10010 ) = 18,
-
141 B010010 DEPRECATED(0b010010 ) = 18,
-
142 B0010010 DEPRECATED(0b0010010 ) = 18,
-
143 B00010010 DEPRECATED(0b00010010) = 18,
-
144 B10011 DEPRECATED(0b10011 ) = 19,
-
145 B010011 DEPRECATED(0b010011 ) = 19,
-
146 B0010011 DEPRECATED(0b0010011 ) = 19,
-
147 B00010011 DEPRECATED(0b00010011) = 19,
-
148 B10100 DEPRECATED(0b10100 ) = 20,
-
149 B010100 DEPRECATED(0b010100 ) = 20,
-
150 B0010100 DEPRECATED(0b0010100 ) = 20,
-
151 B00010100 DEPRECATED(0b00010100) = 20,
-
152 B10101 DEPRECATED(0b10101 ) = 21,
-
153 B010101 DEPRECATED(0b010101 ) = 21,
-
154 B0010101 DEPRECATED(0b0010101 ) = 21,
-
155 B00010101 DEPRECATED(0b00010101) = 21,
-
156 B10110 DEPRECATED(0b10110 ) = 22,
-
157 B010110 DEPRECATED(0b010110 ) = 22,
-
158 B0010110 DEPRECATED(0b0010110 ) = 22,
-
159 B00010110 DEPRECATED(0b00010110) = 22,
-
160 B10111 DEPRECATED(0b10111 ) = 23,
-
161 B010111 DEPRECATED(0b010111 ) = 23,
-
162 B0010111 DEPRECATED(0b0010111 ) = 23,
-
163 B00010111 DEPRECATED(0b00010111) = 23,
-
164 B11000 DEPRECATED(0b11000 ) = 24,
-
165 B011000 DEPRECATED(0b011000 ) = 24,
-
166 B0011000 DEPRECATED(0b0011000 ) = 24,
-
167 B00011000 DEPRECATED(0b00011000) = 24,
-
168 B11001 DEPRECATED(0b11001 ) = 25,
-
169 B011001 DEPRECATED(0b011001 ) = 25,
-
170 B0011001 DEPRECATED(0b0011001 ) = 25,
-
171 B00011001 DEPRECATED(0b00011001) = 25,
-
172 B11010 DEPRECATED(0b11010 ) = 26,
-
173 B011010 DEPRECATED(0b011010 ) = 26,
-
174 B0011010 DEPRECATED(0b0011010 ) = 26,
-
175 B00011010 DEPRECATED(0b00011010) = 26,
-
176 B11011 DEPRECATED(0b11011 ) = 27,
-
177 B011011 DEPRECATED(0b011011 ) = 27,
-
178 B0011011 DEPRECATED(0b0011011 ) = 27,
-
179 B00011011 DEPRECATED(0b00011011) = 27,
-
180 B11100 DEPRECATED(0b11100 ) = 28,
-
181 B011100 DEPRECATED(0b011100 ) = 28,
-
182 B0011100 DEPRECATED(0b0011100 ) = 28,
-
183 B00011100 DEPRECATED(0b00011100) = 28,
-
184 B11101 DEPRECATED(0b11101 ) = 29,
-
185 B011101 DEPRECATED(0b011101 ) = 29,
-
186 B0011101 DEPRECATED(0b0011101 ) = 29,
-
187 B00011101 DEPRECATED(0b00011101) = 29,
-
188 B11110 DEPRECATED(0b11110 ) = 30,
-
189 B011110 DEPRECATED(0b011110 ) = 30,
-
190 B0011110 DEPRECATED(0b0011110 ) = 30,
-
191 B00011110 DEPRECATED(0b00011110) = 30,
-
192 B11111 DEPRECATED(0b11111 ) = 31,
-
193 B011111 DEPRECATED(0b011111 ) = 31,
-
194 B0011111 DEPRECATED(0b0011111 ) = 31,
-
195 B00011111 DEPRECATED(0b00011111) = 31,
-
196 B100000 DEPRECATED(0b100000 ) = 32,
-
197 B0100000 DEPRECATED(0b0100000 ) = 32,
-
198 B00100000 DEPRECATED(0b00100000) = 32,
-
199 B100001 DEPRECATED(0b100001 ) = 33,
-
200 B0100001 DEPRECATED(0b0100001 ) = 33,
-
201 B00100001 DEPRECATED(0b00100001) = 33,
-
202 B100010 DEPRECATED(0b100010 ) = 34,
-
203 B0100010 DEPRECATED(0b0100010 ) = 34,
-
204 B00100010 DEPRECATED(0b00100010) = 34,
-
205 B100011 DEPRECATED(0b100011 ) = 35,
-
206 B0100011 DEPRECATED(0b0100011 ) = 35,
-
207 B00100011 DEPRECATED(0b00100011) = 35,
-
208 B100100 DEPRECATED(0b100100 ) = 36,
-
209 B0100100 DEPRECATED(0b0100100 ) = 36,
-
210 B00100100 DEPRECATED(0b00100100) = 36,
-
211 B100101 DEPRECATED(0b100101 ) = 37,
-
212 B0100101 DEPRECATED(0b0100101 ) = 37,
-
213 B00100101 DEPRECATED(0b00100101) = 37,
-
214 B100110 DEPRECATED(0b100110 ) = 38,
-
215 B0100110 DEPRECATED(0b0100110 ) = 38,
-
216 B00100110 DEPRECATED(0b00100110) = 38,
-
217 B100111 DEPRECATED(0b100111 ) = 39,
-
218 B0100111 DEPRECATED(0b0100111 ) = 39,
-
219 B00100111 DEPRECATED(0b00100111) = 39,
-
220 B101000 DEPRECATED(0b101000 ) = 40,
-
221 B0101000 DEPRECATED(0b0101000 ) = 40,
-
222 B00101000 DEPRECATED(0b00101000) = 40,
-
223 B101001 DEPRECATED(0b101001 ) = 41,
-
224 B0101001 DEPRECATED(0b0101001 ) = 41,
-
225 B00101001 DEPRECATED(0b00101001) = 41,
-
226 B101010 DEPRECATED(0b101010 ) = 42,
-
227 B0101010 DEPRECATED(0b0101010 ) = 42,
-
228 B00101010 DEPRECATED(0b00101010) = 42,
-
229 B101011 DEPRECATED(0b101011 ) = 43,
-
230 B0101011 DEPRECATED(0b0101011 ) = 43,
-
231 B00101011 DEPRECATED(0b00101011) = 43,
-
232 B101100 DEPRECATED(0b101100 ) = 44,
-
233 B0101100 DEPRECATED(0b0101100 ) = 44,
-
234 B00101100 DEPRECATED(0b00101100) = 44,
-
235 B101101 DEPRECATED(0b101101 ) = 45,
-
236 B0101101 DEPRECATED(0b0101101 ) = 45,
-
237 B00101101 DEPRECATED(0b00101101) = 45,
-
238 B101110 DEPRECATED(0b101110 ) = 46,
-
239 B0101110 DEPRECATED(0b0101110 ) = 46,
-
240 B00101110 DEPRECATED(0b00101110) = 46,
-
241 B101111 DEPRECATED(0b101111 ) = 47,
-
242 B0101111 DEPRECATED(0b0101111 ) = 47,
-
243 B00101111 DEPRECATED(0b00101111) = 47,
-
244 B110000 DEPRECATED(0b110000 ) = 48,
-
245 B0110000 DEPRECATED(0b0110000 ) = 48,
-
246 B00110000 DEPRECATED(0b00110000) = 48,
-
247 B110001 DEPRECATED(0b110001 ) = 49,
-
248 B0110001 DEPRECATED(0b0110001 ) = 49,
-
249 B00110001 DEPRECATED(0b00110001) = 49,
-
250 B110010 DEPRECATED(0b110010 ) = 50,
-
251 B0110010 DEPRECATED(0b0110010 ) = 50,
-
252 B00110010 DEPRECATED(0b00110010) = 50,
-
253 B110011 DEPRECATED(0b110011 ) = 51,
-
254 B0110011 DEPRECATED(0b0110011 ) = 51,
-
255 B00110011 DEPRECATED(0b00110011) = 51,
-
256 B110100 DEPRECATED(0b110100 ) = 52,
-
257 B0110100 DEPRECATED(0b0110100 ) = 52,
-
258 B00110100 DEPRECATED(0b00110100) = 52,
-
259 B110101 DEPRECATED(0b110101 ) = 53,
-
260 B0110101 DEPRECATED(0b0110101 ) = 53,
-
261 B00110101 DEPRECATED(0b00110101) = 53,
-
262 B110110 DEPRECATED(0b110110 ) = 54,
-
263 B0110110 DEPRECATED(0b0110110 ) = 54,
-
264 B00110110 DEPRECATED(0b00110110) = 54,
-
265 B110111 DEPRECATED(0b110111 ) = 55,
-
266 B0110111 DEPRECATED(0b0110111 ) = 55,
-
267 B00110111 DEPRECATED(0b00110111) = 55,
-
268 B111000 DEPRECATED(0b111000 ) = 56,
-
269 B0111000 DEPRECATED(0b0111000 ) = 56,
-
270 B00111000 DEPRECATED(0b00111000) = 56,
-
271 B111001 DEPRECATED(0b111001 ) = 57,
-
272 B0111001 DEPRECATED(0b0111001 ) = 57,
-
273 B00111001 DEPRECATED(0b00111001) = 57,
-
274 B111010 DEPRECATED(0b111010 ) = 58,
-
275 B0111010 DEPRECATED(0b0111010 ) = 58,
-
276 B00111010 DEPRECATED(0b00111010) = 58,
-
277 B111011 DEPRECATED(0b111011 ) = 59,
-
278 B0111011 DEPRECATED(0b0111011 ) = 59,
-
279 B00111011 DEPRECATED(0b00111011) = 59,
-
280 B111100 DEPRECATED(0b111100 ) = 60,
-
281 B0111100 DEPRECATED(0b0111100 ) = 60,
-
282 B00111100 DEPRECATED(0b00111100) = 60,
-
283 B111101 DEPRECATED(0b111101 ) = 61,
-
284 B0111101 DEPRECATED(0b0111101 ) = 61,
-
285 B00111101 DEPRECATED(0b00111101) = 61,
-
286 B111110 DEPRECATED(0b111110 ) = 62,
-
287 B0111110 DEPRECATED(0b0111110 ) = 62,
-
288 B00111110 DEPRECATED(0b00111110) = 62,
-
289 B111111 DEPRECATED(0b111111 ) = 63,
-
290 B0111111 DEPRECATED(0b0111111 ) = 63,
-
291 B00111111 DEPRECATED(0b00111111) = 63,
-
292 B1000000 DEPRECATED(0b1000000 ) = 64,
-
293 B01000000 DEPRECATED(0b01000000) = 64,
-
294 B1000001 DEPRECATED(0b1000001 ) = 65,
-
295 B01000001 DEPRECATED(0b01000001) = 65,
-
296 B1000010 DEPRECATED(0b1000010 ) = 66,
-
297 B01000010 DEPRECATED(0b01000010) = 66,
-
298 B1000011 DEPRECATED(0b1000011 ) = 67,
-
299 B01000011 DEPRECATED(0b01000011) = 67,
-
300 B1000100 DEPRECATED(0b1000100 ) = 68,
-
301 B01000100 DEPRECATED(0b01000100) = 68,
-
302 B1000101 DEPRECATED(0b1000101 ) = 69,
-
303 B01000101 DEPRECATED(0b01000101) = 69,
-
304 B1000110 DEPRECATED(0b1000110 ) = 70,
-
305 B01000110 DEPRECATED(0b01000110) = 70,
-
306 B1000111 DEPRECATED(0b1000111 ) = 71,
-
307 B01000111 DEPRECATED(0b01000111) = 71,
-
308 B1001000 DEPRECATED(0b1001000 ) = 72,
-
309 B01001000 DEPRECATED(0b01001000) = 72,
-
310 B1001001 DEPRECATED(0b1001001 ) = 73,
-
311 B01001001 DEPRECATED(0b01001001) = 73,
-
312 B1001010 DEPRECATED(0b1001010 ) = 74,
-
313 B01001010 DEPRECATED(0b01001010) = 74,
-
314 B1001011 DEPRECATED(0b1001011 ) = 75,
-
315 B01001011 DEPRECATED(0b01001011) = 75,
-
316 B1001100 DEPRECATED(0b1001100 ) = 76,
-
317 B01001100 DEPRECATED(0b01001100) = 76,
-
318 B1001101 DEPRECATED(0b1001101 ) = 77,
-
319 B01001101 DEPRECATED(0b01001101) = 77,
-
320 B1001110 DEPRECATED(0b1001110 ) = 78,
-
321 B01001110 DEPRECATED(0b01001110) = 78,
-
322 B1001111 DEPRECATED(0b1001111 ) = 79,
-
323 B01001111 DEPRECATED(0b01001111) = 79,
-
324 B1010000 DEPRECATED(0b1010000 ) = 80,
-
325 B01010000 DEPRECATED(0b01010000) = 80,
-
326 B1010001 DEPRECATED(0b1010001 ) = 81,
-
327 B01010001 DEPRECATED(0b01010001) = 81,
-
328 B1010010 DEPRECATED(0b1010010 ) = 82,
-
329 B01010010 DEPRECATED(0b01010010) = 82,
-
330 B1010011 DEPRECATED(0b1010011 ) = 83,
-
331 B01010011 DEPRECATED(0b01010011) = 83,
-
332 B1010100 DEPRECATED(0b1010100 ) = 84,
-
333 B01010100 DEPRECATED(0b01010100) = 84,
-
334 B1010101 DEPRECATED(0b1010101 ) = 85,
-
335 B01010101 DEPRECATED(0b01010101) = 85,
-
336 B1010110 DEPRECATED(0b1010110 ) = 86,
-
337 B01010110 DEPRECATED(0b01010110) = 86,
-
338 B1010111 DEPRECATED(0b1010111 ) = 87,
-
339 B01010111 DEPRECATED(0b01010111) = 87,
-
340 B1011000 DEPRECATED(0b1011000 ) = 88,
-
341 B01011000 DEPRECATED(0b01011000) = 88,
-
342 B1011001 DEPRECATED(0b1011001 ) = 89,
-
343 B01011001 DEPRECATED(0b01011001) = 89,
-
344 B1011010 DEPRECATED(0b1011010 ) = 90,
-
345 B01011010 DEPRECATED(0b01011010) = 90,
-
346 B1011011 DEPRECATED(0b1011011 ) = 91,
-
347 B01011011 DEPRECATED(0b01011011) = 91,
-
348 B1011100 DEPRECATED(0b1011100 ) = 92,
-
349 B01011100 DEPRECATED(0b01011100) = 92,
-
350 B1011101 DEPRECATED(0b1011101 ) = 93,
-
351 B01011101 DEPRECATED(0b01011101) = 93,
-
352 B1011110 DEPRECATED(0b1011110 ) = 94,
-
353 B01011110 DEPRECATED(0b01011110) = 94,
-
354 B1011111 DEPRECATED(0b1011111 ) = 95,
-
355 B01011111 DEPRECATED(0b01011111) = 95,
-
356 B1100000 DEPRECATED(0b1100000 ) = 96,
-
357 B01100000 DEPRECATED(0b01100000) = 96,
-
358 B1100001 DEPRECATED(0b1100001 ) = 97,
-
359 B01100001 DEPRECATED(0b01100001) = 97,
-
360 B1100010 DEPRECATED(0b1100010 ) = 98,
-
361 B01100010 DEPRECATED(0b01100010) = 98,
-
362 B1100011 DEPRECATED(0b1100011 ) = 99,
-
363 B01100011 DEPRECATED(0b01100011) = 99,
-
364 B1100100 DEPRECATED(0b1100100 ) = 100,
-
365 B01100100 DEPRECATED(0b01100100) = 100,
-
366 B1100101 DEPRECATED(0b1100101 ) = 101,
-
367 B01100101 DEPRECATED(0b01100101) = 101,
-
368 B1100110 DEPRECATED(0b1100110 ) = 102,
-
369 B01100110 DEPRECATED(0b01100110) = 102,
-
370 B1100111 DEPRECATED(0b1100111 ) = 103,
-
371 B01100111 DEPRECATED(0b01100111) = 103,
-
372 B1101000 DEPRECATED(0b1101000 ) = 104,
-
373 B01101000 DEPRECATED(0b01101000) = 104,
-
374 B1101001 DEPRECATED(0b1101001 ) = 105,
-
375 B01101001 DEPRECATED(0b01101001) = 105,
-
376 B1101010 DEPRECATED(0b1101010 ) = 106,
-
377 B01101010 DEPRECATED(0b01101010) = 106,
-
378 B1101011 DEPRECATED(0b1101011 ) = 107,
-
379 B01101011 DEPRECATED(0b01101011) = 107,
-
380 B1101100 DEPRECATED(0b1101100 ) = 108,
-
381 B01101100 DEPRECATED(0b01101100) = 108,
-
382 B1101101 DEPRECATED(0b1101101 ) = 109,
-
383 B01101101 DEPRECATED(0b01101101) = 109,
-
384 B1101110 DEPRECATED(0b1101110 ) = 110,
-
385 B01101110 DEPRECATED(0b01101110) = 110,
-
386 B1101111 DEPRECATED(0b1101111 ) = 111,
-
387 B01101111 DEPRECATED(0b01101111) = 111,
-
388 B1110000 DEPRECATED(0b1110000 ) = 112,
-
389 B01110000 DEPRECATED(0b01110000) = 112,
-
390 B1110001 DEPRECATED(0b1110001 ) = 113,
-
391 B01110001 DEPRECATED(0b01110001) = 113,
-
392 B1110010 DEPRECATED(0b1110010 ) = 114,
-
393 B01110010 DEPRECATED(0b01110010) = 114,
-
394 B1110011 DEPRECATED(0b1110011 ) = 115,
-
395 B01110011 DEPRECATED(0b01110011) = 115,
-
396 B1110100 DEPRECATED(0b1110100 ) = 116,
-
397 B01110100 DEPRECATED(0b01110100) = 116,
-
398 B1110101 DEPRECATED(0b1110101 ) = 117,
-
399 B01110101 DEPRECATED(0b01110101) = 117,
-
400 B1110110 DEPRECATED(0b1110110 ) = 118,
-
401 B01110110 DEPRECATED(0b01110110) = 118,
-
402 B1110111 DEPRECATED(0b1110111 ) = 119,
-
403 B01110111 DEPRECATED(0b01110111) = 119,
-
404 B1111000 DEPRECATED(0b1111000 ) = 120,
-
405 B01111000 DEPRECATED(0b01111000) = 120,
-
406 B1111001 DEPRECATED(0b1111001 ) = 121,
-
407 B01111001 DEPRECATED(0b01111001) = 121,
-
408 B1111010 DEPRECATED(0b1111010 ) = 122,
-
409 B01111010 DEPRECATED(0b01111010) = 122,
-
410 B1111011 DEPRECATED(0b1111011 ) = 123,
-
411 B01111011 DEPRECATED(0b01111011) = 123,
-
412 B1111100 DEPRECATED(0b1111100 ) = 124,
-
413 B01111100 DEPRECATED(0b01111100) = 124,
-
414 B1111101 DEPRECATED(0b1111101 ) = 125,
-
415 B01111101 DEPRECATED(0b01111101) = 125,
-
416 B1111110 DEPRECATED(0b1111110 ) = 126,
-
417 B01111110 DEPRECATED(0b01111110) = 126,
-
418 B1111111 DEPRECATED(0b1111111 ) = 127,
-
419 B01111111 DEPRECATED(0b01111111) = 127,
-
420 B10000000 DEPRECATED(0b10000000) = 128,
-
421 B10000001 DEPRECATED(0b10000001) = 129,
-
422 B10000010 DEPRECATED(0b10000010) = 130,
-
423 B10000011 DEPRECATED(0b10000011) = 131,
-
424 B10000100 DEPRECATED(0b10000100) = 132,
-
425 B10000101 DEPRECATED(0b10000101) = 133,
-
426 B10000110 DEPRECATED(0b10000110) = 134,
-
427 B10000111 DEPRECATED(0b10000111) = 135,
-
428 B10001000 DEPRECATED(0b10001000) = 136,
-
429 B10001001 DEPRECATED(0b10001001) = 137,
-
430 B10001010 DEPRECATED(0b10001010) = 138,
-
431 B10001011 DEPRECATED(0b10001011) = 139,
-
432 B10001100 DEPRECATED(0b10001100) = 140,
-
433 B10001101 DEPRECATED(0b10001101) = 141,
-
434 B10001110 DEPRECATED(0b10001110) = 142,
-
435 B10001111 DEPRECATED(0b10001111) = 143,
-
436 B10010000 DEPRECATED(0b10010000) = 144,
-
437 B10010001 DEPRECATED(0b10010001) = 145,
-
438 B10010010 DEPRECATED(0b10010010) = 146,
-
439 B10010011 DEPRECATED(0b10010011) = 147,
-
440 B10010100 DEPRECATED(0b10010100) = 148,
-
441 B10010101 DEPRECATED(0b10010101) = 149,
-
442 B10010110 DEPRECATED(0b10010110) = 150,
-
443 B10010111 DEPRECATED(0b10010111) = 151,
-
444 B10011000 DEPRECATED(0b10011000) = 152,
-
445 B10011001 DEPRECATED(0b10011001) = 153,
-
446 B10011010 DEPRECATED(0b10011010) = 154,
-
447 B10011011 DEPRECATED(0b10011011) = 155,
-
448 B10011100 DEPRECATED(0b10011100) = 156,
-
449 B10011101 DEPRECATED(0b10011101) = 157,
-
450 B10011110 DEPRECATED(0b10011110) = 158,
-
451 B10011111 DEPRECATED(0b10011111) = 159,
-
452 B10100000 DEPRECATED(0b10100000) = 160,
-
453 B10100001 DEPRECATED(0b10100001) = 161,
-
454 B10100010 DEPRECATED(0b10100010) = 162,
-
455 B10100011 DEPRECATED(0b10100011) = 163,
-
456 B10100100 DEPRECATED(0b10100100) = 164,
-
457 B10100101 DEPRECATED(0b10100101) = 165,
-
458 B10100110 DEPRECATED(0b10100110) = 166,
-
459 B10100111 DEPRECATED(0b10100111) = 167,
-
460 B10101000 DEPRECATED(0b10101000) = 168,
-
461 B10101001 DEPRECATED(0b10101001) = 169,
-
462 B10101010 DEPRECATED(0b10101010) = 170,
-
463 B10101011 DEPRECATED(0b10101011) = 171,
-
464 B10101100 DEPRECATED(0b10101100) = 172,
-
465 B10101101 DEPRECATED(0b10101101) = 173,
-
466 B10101110 DEPRECATED(0b10101110) = 174,
-
467 B10101111 DEPRECATED(0b10101111) = 175,
-
468 B10110000 DEPRECATED(0b10110000) = 176,
-
469 B10110001 DEPRECATED(0b10110001) = 177,
-
470 B10110010 DEPRECATED(0b10110010) = 178,
-
471 B10110011 DEPRECATED(0b10110011) = 179,
-
472 B10110100 DEPRECATED(0b10110100) = 180,
-
473 B10110101 DEPRECATED(0b10110101) = 181,
-
474 B10110110 DEPRECATED(0b10110110) = 182,
-
475 B10110111 DEPRECATED(0b10110111) = 183,
-
476 B10111000 DEPRECATED(0b10111000) = 184,
-
477 B10111001 DEPRECATED(0b10111001) = 185,
-
478 B10111010 DEPRECATED(0b10111010) = 186,
-
479 B10111011 DEPRECATED(0b10111011) = 187,
-
480 B10111100 DEPRECATED(0b10111100) = 188,
-
481 B10111101 DEPRECATED(0b10111101) = 189,
-
482 B10111110 DEPRECATED(0b10111110) = 190,
-
483 B10111111 DEPRECATED(0b10111111) = 191,
-
484 B11000000 DEPRECATED(0b11000000) = 192,
-
485 B11000001 DEPRECATED(0b11000001) = 193,
-
486 B11000010 DEPRECATED(0b11000010) = 194,
-
487 B11000011 DEPRECATED(0b11000011) = 195,
-
488 B11000100 DEPRECATED(0b11000100) = 196,
-
489 B11000101 DEPRECATED(0b11000101) = 197,
-
490 B11000110 DEPRECATED(0b11000110) = 198,
-
491 B11000111 DEPRECATED(0b11000111) = 199,
-
492 B11001000 DEPRECATED(0b11001000) = 200,
-
493 B11001001 DEPRECATED(0b11001001) = 201,
-
494 B11001010 DEPRECATED(0b11001010) = 202,
-
495 B11001011 DEPRECATED(0b11001011) = 203,
-
496 B11001100 DEPRECATED(0b11001100) = 204,
-
497 B11001101 DEPRECATED(0b11001101) = 205,
-
498 B11001110 DEPRECATED(0b11001110) = 206,
-
499 B11001111 DEPRECATED(0b11001111) = 207,
-
500 B11010000 DEPRECATED(0b11010000) = 208,
-
501 B11010001 DEPRECATED(0b11010001) = 209,
-
502 B11010010 DEPRECATED(0b11010010) = 210,
-
503 B11010011 DEPRECATED(0b11010011) = 211,
-
504 B11010100 DEPRECATED(0b11010100) = 212,
-
505 B11010101 DEPRECATED(0b11010101) = 213,
-
506 B11010110 DEPRECATED(0b11010110) = 214,
-
507 B11010111 DEPRECATED(0b11010111) = 215,
-
508 B11011000 DEPRECATED(0b11011000) = 216,
-
509 B11011001 DEPRECATED(0b11011001) = 217,
-
510 B11011010 DEPRECATED(0b11011010) = 218,
-
511 B11011011 DEPRECATED(0b11011011) = 219,
-
512 B11011100 DEPRECATED(0b11011100) = 220,
-
513 B11011101 DEPRECATED(0b11011101) = 221,
-
514 B11011110 DEPRECATED(0b11011110) = 222,
-
515 B11011111 DEPRECATED(0b11011111) = 223,
-
516 B11100000 DEPRECATED(0b11100000) = 224,
-
517 B11100001 DEPRECATED(0b11100001) = 225,
-
518 B11100010 DEPRECATED(0b11100010) = 226,
-
519 B11100011 DEPRECATED(0b11100011) = 227,
-
520 B11100100 DEPRECATED(0b11100100) = 228,
-
521 B11100101 DEPRECATED(0b11100101) = 229,
-
522 B11100110 DEPRECATED(0b11100110) = 230,
-
523 B11100111 DEPRECATED(0b11100111) = 231,
-
524 B11101000 DEPRECATED(0b11101000) = 232,
-
525 B11101001 DEPRECATED(0b11101001) = 233,
-
526 B11101010 DEPRECATED(0b11101010) = 234,
-
527 B11101011 DEPRECATED(0b11101011) = 235,
-
528 B11101100 DEPRECATED(0b11101100) = 236,
-
529 B11101101 DEPRECATED(0b11101101) = 237,
-
530 B11101110 DEPRECATED(0b11101110) = 238,
-
531 B11101111 DEPRECATED(0b11101111) = 239,
-
532 B11110000 DEPRECATED(0b11110000) = 240,
-
533 B11110001 DEPRECATED(0b11110001) = 241,
-
534 B11110010 DEPRECATED(0b11110010) = 242,
-
535 B11110011 DEPRECATED(0b11110011) = 243,
-
536 B11110100 DEPRECATED(0b11110100) = 244,
-
537 B11110101 DEPRECATED(0b11110101) = 245,
-
538 B11110110 DEPRECATED(0b11110110) = 246,
-
539 B11110111 DEPRECATED(0b11110111) = 247,
-
540 B11111000 DEPRECATED(0b11111000) = 248,
-
541 B11111001 DEPRECATED(0b11111001) = 249,
-
542 B11111010 DEPRECATED(0b11111010) = 250,
-
543 B11111011 DEPRECATED(0b11111011) = 251,
-
544 B11111100 DEPRECATED(0b11111100) = 252,
-
545 B11111101 DEPRECATED(0b11111101) = 253,
-
546 B11111110 DEPRECATED(0b11111110) = 254,
-
547 B11111111 DEPRECATED(0b11111111) = 255
-
548};
-
549
-
550#undef DEPRECATED
-
551
-
552#endif
-
- - - - diff --git a/docs/html/_can_msg_8h_source.html b/docs/html/_can_msg_8h_source.html deleted file mode 100644 index 34b911f..0000000 --- a/docs/html/_can_msg_8h_source.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/CanMsg.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
CanMsg.h
-
-
-
1/*
-
2 CanMsg.h - Library for CAN message handling
-
3 Copyright (c) 2023 Arduino. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#ifndef ARDUINOCORE_API_CAN_MSG_H_
-
21#define ARDUINOCORE_API_CAN_MSG_H_
-
22
-
23/**************************************************************************************
-
24 * INCLUDE
-
25 **************************************************************************************/
-
26
-
27#include <inttypes.h>
-
28#include <string.h>
-
29
-
30#include "Print.h"
-
31#include "Printable.h"
-
32#include "Common.h"
-
33
-
34/**************************************************************************************
-
35 * NAMESPACE
-
36 **************************************************************************************/
-
37
-
38namespace arduino
-
39{
-
40
-
41/**************************************************************************************
-
42 * CLASS DECLARATION
-
43 **************************************************************************************/
-
44
-
-
45class CanMsg : public Printable
-
46{
-
47public:
-
48 static uint8_t constexpr MAX_DATA_LENGTH = 8;
-
49
-
50 static uint32_t constexpr CAN_EFF_FLAG = 0x80000000U;
-
51 static uint32_t constexpr CAN_SFF_MASK = 0x000007FFU; /* standard frame format (SFF) */
-
52 static uint32_t constexpr CAN_EFF_MASK = 0x1FFFFFFFU; /* extended frame format (EFF) */
-
53
-
54
-
55 CanMsg(uint32_t const can_id, uint8_t const can_data_len, uint8_t const * can_data_ptr)
-
56 : id{can_id}
-
57 , data_length{min(can_data_len, MAX_DATA_LENGTH)}
-
58 , data{0}
-
59 {
-
60 if (data_length && can_data_ptr)
-
61 memcpy(data, can_data_ptr, data_length);
-
62 }
-
63
-
64 CanMsg() : CanMsg(0, 0, nullptr) { }
-
65
-
66 CanMsg(CanMsg const & other)
-
67 {
-
68 id = other.id;
-
69 data_length = other.data_length;
-
70 if (data_length > 0)
-
71 memcpy(data, other.data, data_length);
-
72 }
-
73
-
74 virtual ~CanMsg() { }
-
75
-
76 CanMsg & operator = (CanMsg const & other)
-
77 {
-
78 if (this != &other)
-
79 {
-
80 id = other.id;
-
81 data_length = other.data_length;
-
82 if (data_length > 0)
-
83 memcpy(data, other.data, data_length);
-
84 }
-
85 return (*this);
-
86 }
-
87
-
88 virtual size_t printTo(Print & p) const override
-
89 {
-
90 char buf[20] = {0};
-
91 size_t len = 0;
-
92
-
93 /* Print the header. */
-
94 if (isStandardId())
-
95 len = snprintf(buf, sizeof(buf), "[%03" PRIX32 "] (%d) : ", getStandardId(), data_length);
-
96 else
-
97 len = snprintf(buf, sizeof(buf), "[%08" PRIX32 "] (%d) : ", getExtendedId(), data_length);
-
98 size_t n = p.write(buf, len);
-
99
-
100 /* Print the data. */
-
101 for (size_t d = 0; d < data_length; d++)
-
102 {
-
103 len = snprintf(buf, sizeof(buf), "%02X", data[d]);
-
104 n += p.write(buf, len);
-
105 }
-
106
-
107 /* Wrap up. */
-
108 return n;
-
109 }
-
110
-
111
-
112 uint32_t getStandardId() const {
-
113 return (id & CAN_SFF_MASK);
-
114 }
-
115 uint32_t getExtendedId() const {
-
116 return (id & CAN_EFF_MASK);
-
117 }
-
118 bool isStandardId() const {
-
119 return ((id & CAN_EFF_FLAG) == 0);
-
120 }
-
121 bool isExtendedId() const {
-
122 return ((id & CAN_EFF_FLAG) == CAN_EFF_FLAG);
-
123 }
-
124
-
125
-
126 /*
-
127 * CAN ID semantics (mirroring definition by linux/can.h):
-
128 * |- Bit 31 : frame format flag (0 = standard 11 bit, 1 = extended 29 bit)
-
129 * |- Bit 30 : reserved (future remote transmission request flag)
-
130 * |- Bit 29 : reserved (future error frame flag)
-
131 * |- Bit 0-28 : CAN identifier (11/29 bit)
-
132 */
-
133 uint32_t id;
-
134 uint8_t data_length;
-
135 uint8_t data[MAX_DATA_LENGTH];
-
136};
-
-
137
-
138/**************************************************************************************
-
139 * FREE FUNCTIONS
-
140 **************************************************************************************/
-
141
-
142inline uint32_t CanStandardId(uint32_t const id) {
-
143 return (id & CanMsg::CAN_SFF_MASK);
-
144}
-
145
-
146inline uint32_t CanExtendedId(uint32_t const id) {
-
147 return (CanMsg::CAN_EFF_FLAG | (id & CanMsg::CAN_EFF_MASK));
-
148}
-
149
-
150/**************************************************************************************
-
151 * NAMESPACE
-
152 **************************************************************************************/
-
153
-
154} /* arduino */
-
155
-
156#endif /* ARDUINOCORE_API_CAN_MSG_H_ */
-
Definition CanMsg.h:46
-
Definition Print.h:36
-
Definition Printable.h:35
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_can_msg_ringbuffer_8h_source.html b/docs/html/_can_msg_ringbuffer_8h_source.html deleted file mode 100644 index c7c4016..0000000 --- a/docs/html/_can_msg_ringbuffer_8h_source.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/CanMsgRingbuffer.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
CanMsgRingbuffer.h
-
-
-
1/*
-
2 CanMsgRingbuffer.h - Library for CAN message handling
-
3 Copyright (c) 2023 Arduino. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#ifndef ARDUINOCORE_API_CAN_MSG_RING_BUFFER_H_
-
21#define ARDUINOCORE_API_CAN_MSG_RING_BUFFER_H_
-
22
-
23/**************************************************************************************
-
24 * INCLUDE
-
25 **************************************************************************************/
-
26
-
27#include <stdint.h>
-
28
-
29#include "CanMsg.h"
-
30
-
31/**************************************************************************************
-
32 * NAMESPACE
-
33 **************************************************************************************/
-
34
-
35namespace arduino
-
36{
-
37
-
38/**************************************************************************************
-
39 * CLASS DECLARATION
-
40 **************************************************************************************/
-
41
-
- -
43{
-
44public:
-
45 static size_t constexpr RING_BUFFER_SIZE = 32U;
-
46
- -
48
-
49 inline bool isFull() const { return (_num_elems == RING_BUFFER_SIZE); }
-
50 void enqueue(CanMsg const & msg);
-
51
-
52 inline bool isEmpty() const { return (_num_elems == 0); }
-
53 CanMsg dequeue();
-
54
-
55 inline size_t available() const { return _num_elems; }
-
56
-
57private:
-
58 CanMsg _buf[RING_BUFFER_SIZE];
-
59 volatile size_t _head;
-
60 volatile size_t _tail;
-
61 volatile size_t _num_elems;
-
62
-
63 inline size_t next(size_t const idx) const { return ((idx + 1) % RING_BUFFER_SIZE); }
-
64};
-
-
65
-
66/**************************************************************************************
-
67 * NAMESPACE
-
68 **************************************************************************************/
-
69
-
70} /* arduino */
-
71
-
72#endif /* ARDUINOCORE_API_CAN_MSG_RING_BUFFER_H_ */
-
Definition CanMsg.h:46
-
Definition CanMsgRingbuffer.h:43
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_client_8h_source.html b/docs/html/_client_8h_source.html deleted file mode 100644 index 5ac3eac..0000000 --- a/docs/html/_client_8h_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/Client.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Client.h
-
-
-
1/*
-
2 Client.h - Base class that provides Client
-
3 Copyright (c) 2011 Adrian McEwen. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#pragma once
-
21
-
22#include "Stream.h"
-
23#include "IPAddress.h"
-
24
-
25namespace arduino {
-
26
-
-
27class Client : public Stream {
-
28
-
29public:
-
30 virtual int connect(IPAddress ip, uint16_t port) =0;
-
31 virtual int connect(const char *host, uint16_t port) =0;
-
32 virtual size_t write(uint8_t) =0;
-
33 virtual size_t write(const uint8_t *buf, size_t size) =0;
-
34 virtual int available() = 0;
-
35 virtual int read() = 0;
-
36 virtual int read(uint8_t *buf, size_t size) = 0;
-
37 virtual int peek() = 0;
-
38 virtual void flush() = 0;
-
39 virtual void stop() = 0;
-
40 virtual uint8_t connected() = 0;
-
41 virtual operator bool() = 0;
-
42protected:
-
43 uint8_t* rawIPAddress(IPAddress& addr) { return addr.raw_address(); };
-
44};
-
-
45
-
46}
-
Definition Client.h:27
-
Definition IPAddress.h:43
-
Definition Stream.h:51
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_common_8h_source.html b/docs/html/_common_8h_source.html deleted file mode 100644 index 52f097b..0000000 --- a/docs/html/_common_8h_source.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/Common.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Common.h
-
-
-
1/*
-
2 Common.h - Common definitions for Arduino core
-
3 Copyright (c) 2017 Arduino LLC. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#pragma once
-
21#include <stdint.h>
-
22#include <stdbool.h>
-
23
-
24#ifdef __cplusplus
-
25extern "C"{
-
26#endif
-
27
-
28void yield(void);
-
29
-
30typedef enum {
-
31 LOW = 0,
-
32 HIGH = 1,
-
33 CHANGE = 2,
-
34 FALLING = 3,
-
35 RISING = 4,
-
36} PinStatus;
-
37
-
38typedef enum {
-
39 INPUT = 0x0,
-
40 OUTPUT = 0x1,
-
41 INPUT_PULLUP = 0x2,
-
42 INPUT_PULLDOWN = 0x3,
-
43 OUTPUT_OPENDRAIN = 0x4,
-
44} PinMode;
-
45
-
46typedef enum {
-
47 LSBFIRST = 0,
-
48 MSBFIRST = 1,
-
49} BitOrder;
-
50
-
51#define PI 3.1415926535897932384626433832795
-
52#define HALF_PI 1.5707963267948966192313216916398
-
53#define TWO_PI 6.283185307179586476925286766559
-
54#define DEG_TO_RAD 0.017453292519943295769236907684886
-
55#define RAD_TO_DEG 57.295779513082320876798154814105
-
56#define EULER 2.718281828459045235360287471352
-
57
-
58#define SERIAL 0x0
-
59#define DISPLAY 0x1
-
60
-
61#ifndef constrain
-
62#define constrain(amt,low,high) ((amt)<(low)?(low):((amt)>(high)?(high):(amt)))
-
63#endif
-
64
-
65#ifndef radians
-
66#define radians(deg) ((deg)*DEG_TO_RAD)
-
67#endif
-
68
-
69#ifndef degrees
-
70#define degrees(rad) ((rad)*RAD_TO_DEG)
-
71#endif
-
72
-
73#ifndef sq
-
74#define sq(x) ((x)*(x))
-
75#endif
-
76
-
77typedef void (*voidFuncPtr)(void);
-
78typedef void (*voidFuncPtrParam)(void*);
-
79
-
80// interrupts() / noInterrupts() must be defined by the core
-
81
-
82#define lowByte(w) ((uint8_t) ((w) & 0xff))
-
83#define highByte(w) ((uint8_t) ((w) >> 8))
-
84
-
85#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
-
86#define bitSet(value, bit) ((value) |= (1UL << (bit)))
-
87#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
-
88#define bitToggle(value, bit) ((value) ^= (1UL << (bit)))
-
89#define bitWrite(value, bit, bitvalue) ((bitvalue) ? bitSet((value), (bit)) : bitClear((value), (bit)))
-
90
-
91#ifndef bit
-
92#define bit(b) (1UL << (b))
-
93#endif
-
94
-
95/* TODO: request for removal */
-
96typedef bool boolean;
-
97typedef uint8_t byte;
-
98typedef uint16_t word;
-
99
-
100void init(void);
-
101void initVariant(void);
-
102
-
103#ifndef HOST
-
104int atexit(void (*func)()) __attribute__((weak));
-
105#endif
-
106int main() __attribute__((weak));
-
107
-
108#ifdef EXTENDED_PIN_MODE
-
109// Platforms who want to declare more than 256 pins need to define EXTENDED_PIN_MODE globally
-
110typedef uint32_t pin_size_t;
-
111#else
-
112typedef uint8_t pin_size_t;
-
113#endif
-
114
-
115void pinMode(pin_size_t pinNumber, PinMode pinMode);
-
116void digitalWrite(pin_size_t pinNumber, PinStatus status);
-
117PinStatus digitalRead(pin_size_t pinNumber);
-
118int analogRead(pin_size_t pinNumber);
-
119void analogReference(uint8_t mode);
-
120void analogWrite(pin_size_t pinNumber, int value);
-
121
-
122unsigned long millis(void);
-
123unsigned long micros(void);
-
124void delay(unsigned long);
-
125void delayMicroseconds(unsigned int us);
-
126unsigned long pulseIn(pin_size_t pin, uint8_t state, unsigned long timeout);
-
127unsigned long pulseInLong(pin_size_t pin, uint8_t state, unsigned long timeout);
-
128
-
129void shiftOut(pin_size_t dataPin, pin_size_t clockPin, BitOrder bitOrder, uint8_t val);
-
130uint8_t shiftIn(pin_size_t dataPin, pin_size_t clockPin, BitOrder bitOrder);
-
131
-
132void attachInterrupt(pin_size_t interruptNumber, voidFuncPtr callback, PinStatus mode);
-
133void attachInterruptParam(pin_size_t interruptNumber, voidFuncPtrParam callback, PinStatus mode, void* param);
-
134void detachInterrupt(pin_size_t interruptNumber);
-
135
-
136void setup(void);
-
137void loop(void);
-
138
-
139#ifdef __cplusplus
-
140} // extern "C"
-
141#endif
-
142
-
143#ifdef __cplusplus
-
144 template<class T, class L>
-
145 auto min(const T& a, const L& b) -> decltype((b < a) ? b : a)
-
146 {
-
147 return (b < a) ? b : a;
-
148 }
-
149
-
150 template<class T, class L>
-
151 auto max(const T& a, const L& b) -> decltype((b < a) ? b : a)
-
152 {
-
153 return (a < b) ? b : a;
-
154 }
-
155#else
-
156#ifndef min
-
157#define min(a,b) \
-
158 ({ __typeof__ (a) _a = (a); \
-
159 __typeof__ (b) _b = (b); \
-
160 _a < _b ? _a : _b; })
-
161#endif
-
162#ifndef max
-
163#define max(a,b) \
-
164 ({ __typeof__ (a) _a = (a); \
-
165 __typeof__ (b) _b = (b); \
-
166 _a > _b ? _a : _b; })
-
167#endif
-
168#endif
-
169
-
170#ifdef __cplusplus
-
171
-
172/* C++ prototypes */
-
173uint16_t makeWord(uint16_t w);
-
174uint16_t makeWord(byte h, byte l);
-
175
-
176#define word(...) makeWord(__VA_ARGS__)
-
177
-
178unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L);
-
179unsigned long pulseInLong(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L);
-
180
-
181void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0);
-
182void noTone(uint8_t _pin);
-
183
-
184// WMath prototypes
-
185long random(long);
-
186long random(long, long);
-
187void randomSeed(unsigned long);
-
188long map(long, long, long, long, long);
-
189
-
190#endif // __cplusplus
-
- - - - diff --git a/docs/html/_compat_8h_source.html b/docs/html/_compat_8h_source.html deleted file mode 100644 index b16a7cf..0000000 --- a/docs/html/_compat_8h_source.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/Compat.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Compat.h
-
-
-
1/*
-
2 Compat.h - Compatibility layer for Arduino API
-
3 Copyright (c) 2018 Arduino LLC. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#ifndef __COMPAT_H__
-
21#define __COMPAT_H__
-
22
-
23namespace arduino {
-
24
-
25inline void pinMode(pin_size_t pinNumber, int mode) {
-
26 pinMode(pinNumber, (PinMode)mode);
-
27};
-
28
-
29inline void digitalWrite(pin_size_t pinNumber, int status) {
-
30 digitalWrite(pinNumber, (PinStatus)status);
-
31};
-
32
-
33}
-
34
-
35#endif
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_d_m_a_pool_8h_source.html b/docs/html/_d_m_a_pool_8h_source.html deleted file mode 100644 index 4fb764a..0000000 --- a/docs/html/_d_m_a_pool_8h_source.html +++ /dev/null @@ -1,416 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/DMAPool.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
DMAPool.h
-
-
-
1/*
-
2 This file is part of the Arduino_AdvancedAnalog library.
-
3 Copyright (c) 2023-2024 Arduino SA. All rights reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#ifndef __DMA_POOL_H__
-
21#define __DMA_POOL_H__
-
22
-
23#include <atomic>
-
24#include <memory>
-
25
-
26namespace arduino {
-
27
-
28#if defined(__DCACHE_PRESENT)
-
29#define __CACHE_LINE_SIZE__ __SCB_DCACHE_LINE_SIZE
-
30#elif defined(__cpp_lib_hardware_interference_size)
-
31#define __CACHE_LINE_SIZE__ std::hardware_constructive_interference_size
-
32#else // No cache.
-
33#define __CACHE_LINE_SIZE__ alignof(int)
-
34#endif
-
35
-
36// Single-producer, single-consumer, lock-free bounded Queue.
-
-
37template <class T> class SPSCQueue {
-
38 private:
-
39 size_t capacity;
-
40 std::atomic<size_t> head;
-
41 std::atomic<size_t> tail;
-
42 std::unique_ptr<T[]> buff;
-
43
-
44 public:
-
45 SPSCQueue(size_t size=0):
-
46 capacity(0), tail(0), head(0), buff(nullptr) {
-
47 if (size) {
-
48 T *mem = new T[size + 1];
-
49 if (mem) {
-
50 buff.reset(mem);
-
51 capacity = size + 1;
-
52 }
-
53 }
-
54 }
-
55
-
56 void reset() {
-
57 tail = head = 0;
-
58 }
-
59
-
60 size_t empty() {
-
61 return tail == head;
-
62 }
-
63
-
64 operator bool() const {
-
65 return buff.get() != nullptr;
-
66 }
-
67
-
68 bool push(T data) {
-
69 size_t curr = head.load(std::memory_order_relaxed);
-
70 size_t next = (curr + 1) % capacity;
-
71 if (!buff || (next == tail.load(std::memory_order_acquire))) {
-
72 return false;
-
73 }
-
74 buff[curr] = data;
-
75 head.store(next, std::memory_order_release);
-
76 return true;
-
77 }
-
78
-
79 T pop(bool peek=false) {
-
80 size_t curr = tail.load(std::memory_order_relaxed);
-
81 if (!buff || (curr == head.load(std::memory_order_acquire))) {
-
82 return nullptr;
-
83 }
-
84 T data = buff[curr];
-
85 if (!peek) {
-
86 size_t next = (curr + 1) % capacity;
-
87 tail.store(next, std::memory_order_release);
-
88 }
-
89 return data;
-
90 }
-
91};
-
-
92
-
93enum {
-
94 DMA_BUFFER_READ = (1 << 0),
-
95 DMA_BUFFER_WRITE = (1 << 1),
-
96 DMA_BUFFER_DISCONT = (1 << 2),
-
97 DMA_BUFFER_INTRLVD = (1 << 3),
-
98} DMABufferFlags;
-
99
-
100// Forward declaration of DMAPool class.
-
101template <class, size_t> class DMAPool;
-
102
-
-
103template <class T, size_t A=__CACHE_LINE_SIZE__> class DMABuffer {
-
104 private:
-
105 DMAPool<T, A> *pool;
-
106 size_t n_samples;
-
107 size_t n_channels;
-
108 T *ptr;
-
109 uint32_t ts;
-
110 uint32_t flags;
-
111
-
112 public:
-
113 DMABuffer(DMAPool<T, A> *pool=nullptr, size_t samples=0, size_t channels=0, T *mem=nullptr):
-
114 pool(pool), n_samples(samples), n_channels(channels), ptr(mem), ts(0), flags(0) {
-
115 }
-
116
-
117 T *data() {
-
118 return ptr;
-
119 }
-
120
-
121 size_t size() {
-
122 return n_samples * n_channels;
-
123 }
-
124
-
125 size_t bytes() {
-
126 return n_samples * n_channels * sizeof(T);
-
127 }
-
128
-
129 void flush() {
-
130 #if __DCACHE_PRESENT
-
131 if (ptr) {
-
132 SCB_CleanDCache_by_Addr(data(), bytes());
-
133 }
-
134 #endif
-
135 }
-
136
-
137 void invalidate() {
-
138 #if __DCACHE_PRESENT
-
139 if (ptr) {
-
140 SCB_InvalidateDCache_by_Addr(data(), bytes());
-
141 }
-
142 #endif
-
143 }
-
144
-
145 uint32_t timestamp() {
-
146 return ts;
-
147 }
-
148
-
149 void timestamp(uint32_t ts) {
-
150 this->ts = ts;
-
151 }
-
152
-
153 uint32_t channels() {
-
154 return n_channels;
-
155 }
-
156
-
157 void release() {
-
158 if (pool && ptr) {
-
159 pool->free(this, flags);
-
160 }
-
161 }
-
162
-
163 void set_flags(uint32_t f) {
-
164 flags |= f;
-
165 }
-
166
-
167 bool get_flags(uint32_t f=0xFFFFFFFFU) {
-
168 return flags & f;
-
169 }
-
170
-
171 void clr_flags(uint32_t f=0xFFFFFFFFU) {
-
172 flags &= (~f);
-
173 }
-
174
-
175 T& operator[](size_t i) {
-
176 assert(ptr && i < size());
-
177 return ptr[i];
-
178 }
-
179
-
180 const T& operator[](size_t i) const {
-
181 assert(ptr && i < size());
-
182 return ptr[i];
-
183 }
-
184
-
185 operator bool() const {
-
186 return (ptr != nullptr);
-
187 }
-
188};
-
-
189
-
-
190template <class T, size_t A=__CACHE_LINE_SIZE__> class DMAPool {
-
191 private:
-
192 uint8_t *mem;
-
193 bool managed;
-
194 SPSCQueue<DMABuffer<T>*> wqueue;
-
195 SPSCQueue<DMABuffer<T>*> rqueue;
-
196
-
197 // Allocates dynamic aligned memory.
-
198 // Note this memory must be free'd with aligned_free.
-
199 static void *aligned_malloc(size_t size) {
-
200 void **ptr, *stashed;
-
201 size_t offset = A - 1 + sizeof(void *);
-
202 if ((A % 2) || !((stashed = ::malloc(size + offset)))) {
-
203 return nullptr;
-
204 }
-
205 ptr = (void **) (((uintptr_t) stashed + offset) & ~(A - 1));
-
206 ptr[-1] = stashed;
-
207 return ptr;
-
208 }
-
209
-
210 // Frees dynamic aligned memory allocated with aligned_malloc.
-
211 static void aligned_free(void *ptr) {
-
212 if (ptr != nullptr) {
-
213 ::free(((void **) ptr)[-1]);
-
214 }
-
215 }
-
216
-
217 public:
-
218 DMAPool(size_t n_samples, size_t n_channels, size_t n_buffers, void *mem_in=nullptr):
-
219 mem((uint8_t *) mem_in), managed(mem_in==nullptr), wqueue(n_buffers), rqueue(n_buffers) {
-
220 // Round up to the next multiple of the alignment.
-
221 size_t bufsize = (((n_samples * n_channels * sizeof(T)) + (A-1)) & ~(A-1));
-
222 if (bufsize && rqueue && wqueue) {
-
223 if (mem == nullptr) {
-
224 // Allocate an aligned memory block for the DMA buffers' memory.
-
225 mem = (uint8_t *) aligned_malloc(n_buffers * bufsize);
-
226 if (!mem) {
-
227 // Failed to allocate memory.
-
228 return;
-
229 }
-
230 }
-
231 // Allocate the DMA buffers, initialize them using aligned
-
232 // pointers from the pool, and add them to the write queue.
-
233 for (size_t i=0; i<n_buffers; i++) {
-
234 DMABuffer<T> *buf = new DMABuffer<T>(
-
235 this, n_samples, n_channels, (T *) &mem[i * bufsize]
-
236 );
-
237 if (buf == nullptr) {
-
238 break;
-
239 }
-
240 wqueue.push(buf);
-
241 }
-
242 }
-
243 }
-
244
-
245 ~DMAPool() {
-
246 while (readable()) {
-
247 delete alloc(DMA_BUFFER_READ);
-
248 }
-
249
-
250 while (writable()) {
-
251 delete alloc(DMA_BUFFER_WRITE);
-
252 }
-
253
-
254 if (mem && managed) {
-
255 aligned_free(mem);
-
256 }
-
257 }
-
258
-
259 bool writable() {
-
260 return !(wqueue.empty());
-
261 }
-
262
-
263 bool readable() {
-
264 return !(rqueue.empty());
-
265 }
-
266
-
267 void flush() {
-
268 while (readable()) {
-
269 DMABuffer<T> *buf = alloc(DMA_BUFFER_READ);
-
270 if (buf) {
-
271 buf->release();
-
272 }
-
273 }
-
274 }
-
275
-
276 DMABuffer<T> *alloc(uint32_t flags) {
-
277 DMABuffer<T> *buf = nullptr;
-
278 if (flags & DMA_BUFFER_READ) {
-
279 // Get a DMA buffer from the read/ready queue.
-
280 buf = rqueue.pop();
-
281 } else {
-
282 // Get a DMA buffer from the write/free queue.
-
283 buf = wqueue.pop();
-
284 }
-
285 if (buf) {
-
286 buf->clr_flags(DMA_BUFFER_READ | DMA_BUFFER_WRITE);
-
287 buf->set_flags(flags);
-
288 }
-
289 return buf;
-
290 }
-
291
-
292 void free(DMABuffer<T> *buf, uint32_t flags=0) {
-
293 if (buf == nullptr) {
-
294 return;
-
295 }
-
296 if (flags == 0) {
-
297 flags = buf->get_flags();
-
298 }
-
299 if (flags & DMA_BUFFER_READ) {
-
300 // Return the DMA buffer to the write/free queue.
-
301 buf->clr_flags();
-
302 wqueue.push(buf);
-
303 } else {
-
304 // Return the DMA buffer to the read/ready queue.
-
305 rqueue.push(buf);
-
306 }
-
307 }
-
308
-
309};
-
-
310
-
311} // namespace arduino
-
312
-
313using arduino::DMAPool;
- - -
316#endif //__DMA_POOL_H__
-
Definition DMAPool.h:103
-
Definition DMAPool.h:190
-
Definition DMAPool.h:37
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_ethernet_8h_source.html b/docs/html/_ethernet_8h_source.html deleted file mode 100644 index ac2a40a..0000000 --- a/docs/html/_ethernet_8h_source.html +++ /dev/null @@ -1,405 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/Ethernet.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Ethernet.h
-
-
-
1
-
2#pragma once
-
3
-
4#include <arpa/inet.h> // for inet_pton
-
5#include <netdb.h> // for gethostbyname, struct hostent
-
6#include <unistd.h> // for close
-
7
-
8#include "ArduinoLogger.h"
-
9#include "RingBufferExt.h"
-
10#include "SocketImpl.h"
-
11#include "api/Client.h"
-
12#include "api/Common.h"
-
13#include "api/IPAddress.h"
-
14
-
15namespace arduino {
-
16
-
17typedef enum {
-
18 WL_NO_SHIELD = 255,
-
19 WL_IDLE_STATUS = 0,
-
20 WL_NO_SSID_AVAIL,
-
21 WL_SCAN_COMPLETED,
-
22 WL_CONNECTED,
-
23 WL_CONNECT_FAILED,
-
24 WL_CONNECTION_LOST,
-
25 WL_DISCONNECTED
-
26} wl_status_t;
-
27
-
- -
29 public:
-
30 IPAddress& localIP() {
-
31 SocketImpl sock;
-
32 adress.fromString(sock.getIPAddress());
-
33 return adress;
-
34 }
-
35
-
36 protected:
-
37 IPAddress adress;
-
38};
-
-
39
-
40inline EthernetImpl Ethernet;
-
41
-
-
42class EthernetClient : public Client {
-
43 private:
-
44 static std::vector<EthernetClient*>& active_clients() {
-
45 static std::vector<EthernetClient*> clients;
-
46 return clients;
-
47 }
-
48 static void cleanupAll(int sig) {
-
49 for (auto* client : active_clients()) {
-
50 if (client) {
-
51 client->stop();
-
52 }
-
53 }
-
54 }
-
55
-
56 public:
- -
58 setTimeout(2000);
-
59 p_sock = new SocketImpl();
-
60 readBuffer = RingBufferExt(bufferSize);
-
61 writeBuffer = RingBufferExt(bufferSize);
-
62 registerCleanup();
-
63 active_clients().push_back(this);
-
64 }
-
65 EthernetClient(SocketImpl* sock, int bufferSize = 256, long timeout = 2000) {
-
66 setTimeout(timeout);
-
67 this->bufferSize = bufferSize;
-
68 readBuffer = RingBufferExt(bufferSize);
-
69 writeBuffer = RingBufferExt(bufferSize);
-
70 p_sock = sock;
-
71 is_connected = p_sock->connected();
-
72 registerCleanup();
-
73 active_clients().push_back(this);
-
74 }
- -
76 setTimeout(2000);
-
77 readBuffer = RingBufferExt(bufferSize);
-
78 writeBuffer = RingBufferExt(bufferSize);
-
79 p_sock = new SocketImpl(socket);
-
80 is_connected = p_sock->connected();
-
81 registerCleanup();
-
82 active_clients().push_back(this);
-
83 }
-
84
-
85 virtual ~EthernetClient() {
-
86 auto& clients = active_clients();
-
87 auto it = std::find(clients.begin(), clients.end(), this);
-
88 if (it != clients.end()) {
-
89 clients.erase(it);
-
90 }
-
91 if (p_sock) {
-
92 delete p_sock;
-
93 p_sock = nullptr;
-
94 }
-
95 }
-
96
-
97 // checks if we are connected - using a timeout
-
98 virtual uint8_t connected() override {
-
99 if (!is_connected) return false; // connect has failed
-
100 if (p_sock->connected()) return true; // check socket
-
101 long timeout = millis() + getTimeout();
-
102 uint8_t result = p_sock->connected();
-
103 while (result <= 0 && millis() < timeout) {
-
104 delay(200);
-
105 result = p_sock->connected();
-
106 }
-
107 return result;
-
108 }
-
109
-
110 // support conversion to bool
-
111 operator bool() override { return connected(); }
-
112
-
113 // opens a conection
-
114 virtual int connect(IPAddress ipAddress, uint16_t port) override {
-
115 String str = String(ipAddress[0]) + String(".") + String(ipAddress[1]) +
-
116 String(".") + String(ipAddress[2]) + String(".") +
-
117 String(ipAddress[3]);
-
118 this->address = ipAddress;
-
119 this->port = port;
-
120 return connect(str.c_str(), port);
-
121 }
-
122
-
123 // opens a connection
-
124 virtual int connect(const char* address, uint16_t port) override {
-
125 Logger.info(WIFICLIENT, "connect");
-
126 this->port = port;
-
127 if (connectedFast()) {
-
128 p_sock->close();
-
129 }
-
130 IPAddress adr = resolveAddress(address, port);
-
131 if (adr == IPAddress(0, 0, 0, 0)) {
-
132 is_connected = false;
-
133 return 0;
-
134 }
-
135 // performs the actual connection
-
136 String str = adr.toString();
-
137 Logger.info("Connecting to ", str.c_str());
-
138 p_sock->connect(str.c_str(), port);
-
139 is_connected = true;
-
140 return 1;
-
141 }
-
142
-
143 virtual size_t write(char c) { return write((uint8_t)c); }
-
144
-
145 // writes an individual character into the buffer. We flush the buffer when it
-
146 // is full
-
147 virtual size_t write(uint8_t c) override {
-
148 if (writeBuffer.availableToWrite() == 0) {
-
149 flush();
-
150 }
-
151 return writeBuffer.write(c);
-
152 }
-
153
-
154 virtual size_t write(const char* str, int len) {
-
155 return write((const uint8_t*)str, len);
-
156 }
-
157
-
158 // direct write - if we have anything in the buffer we write that out first
-
159 virtual size_t write(const uint8_t* str, size_t len) override {
-
160 flush();
-
161 return p_sock->write(str, len);
-
162 }
-
163
-
164 virtual int print(const char* str = "") {
-
165 int len = strlen(str);
-
166 return write(str, len);
-
167 }
-
168
-
169 virtual int println(const char* str = "") {
-
170 int len = strlen(str);
-
171 int result = write(str, len);
-
172 char eol[1];
-
173 eol[0] = '\n';
-
174 write(eol, 1);
-
175 return result;
-
176 }
-
177
-
178 // flush write buffer
-
179 virtual void flush() override {
-
180 Logger.debug(WIFICLIENT, "flush");
-
181
-
182 int flushSize = writeBuffer.available();
-
183 if (flushSize > 0) {
- -
185 writeBuffer.read(rbuffer, flushSize);
-
186 p_sock->write(rbuffer, flushSize);
-
187 }
-
188 }
-
189
-
190 // provides the available bytes from the read buffer or from the socket
-
191 virtual int available() override {
-
192 Logger.debug(WIFICLIENT, "available");
-
193 if (readBuffer.available() > 0) {
-
194 return readBuffer.available();
-
195 }
-
196 long timeout = millis() + getTimeout();
-
197 int result = p_sock->available();
-
198 while (result <= 0 && millis() < timeout) {
-
199 delay(200);
-
200 result = p_sock->available();
-
201 }
-
202 return result;
-
203 }
-
204
-
205 // read via ring buffer
-
206 virtual int read() override {
-
207 int result = -1;
-
208 uint8_t c;
-
209 if (readBytes(&c, 1) == 1) {
-
210 result = c;
-
211 }
-
212 return result;
-
213 }
-
214
-
215 virtual size_t readBytes(char* buffer, size_t len) {
-
216 return read((uint8_t*)buffer, len);
-
217 }
-
218
-
219 virtual size_t readBytes(uint8_t* buffer, size_t len) {
-
220 return read(buffer, len);
-
221 }
-
222
-
223 // peeks one character
-
224 virtual int peek() override {
-
225 return p_sock->peek();
-
226 return -1;
-
227 }
-
228
-
229 // close the connection
-
230 virtual void stop() override { p_sock->close(); }
-
231
-
232 virtual void setInsecure() {}
-
233
-
234 int fd() { return p_sock->fd(); }
-
235
-
236 uint16_t remotePort() { return port; }
-
237
-
238 IPAddress remoteIP() { return address; }
-
239
-
240 virtual void setCACert(const char* cert) {
-
241 Logger.error(WIFICLIENT, "setCACert not supported");
-
242 }
-
243
-
244 protected:
-
245 const char* WIFICLIENT = "EthernetClient";
-
246 SocketImpl* p_sock = nullptr;
-
247 int bufferSize = 256;
-
248 RingBufferExt readBuffer;
-
249 RingBufferExt writeBuffer;
-
250 bool is_connected = false;
-
251 IPAddress address{0, 0, 0, 0};
-
252 uint16_t port = 0;
-
253
-
254 // resolves the address and returns sockaddr_in
-
255 IPAddress resolveAddress(const char* address, uint16_t port) {
-
256 struct sockaddr_in serv_addr4;
-
257 memset(&serv_addr4, 0, sizeof(serv_addr4));
-
258 serv_addr4.sin_family = AF_INET;
-
259 serv_addr4.sin_port = htons(port);
-
260 if (::inet_pton(AF_INET, address, &serv_addr4.sin_addr) <= 0) {
-
261 // Not an IP, try to resolve hostname
-
262 struct hostent* he = ::gethostbyname(address);
-
263 if (he == nullptr || he->h_addr_list[0] == nullptr) {
-
264 Logger.error(WIFICLIENT, "Hostname resolution failed");
-
265 serv_addr4.sin_addr.s_addr = 0;
-
266 } else {
-
267 memcpy(&serv_addr4.sin_addr, he->h_addr_list[0], he->h_length);
-
268 }
-
269 }
-
270 return IPAddress(serv_addr4.sin_addr.s_addr);
-
271 }
-
272
-
273 void registerCleanup() {
-
274 static bool signal_registered = false;
-
275 if (!signal_registered) {
-
276 SignalHandler::registerHandler(SIGINT, cleanupAll);
-
277 SignalHandler::registerHandler(SIGTERM, cleanupAll);
-
278 signal_registered = true;
-
279 }
-
280 }
-
281
-
282 int read(uint8_t* buffer, size_t len) override {
-
283 Logger.debug(WIFICLIENT, "read");
-
284 int result = 0;
-
285 long timeout = millis() + getTimeout();
-
286 result = p_sock->read(buffer, len);
-
287 while (result <= 0 && millis() < timeout) {
-
288 delay(200);
-
289 result = p_sock->read(buffer, len);
-
290 }
-
291 //}
-
292 char lenStr[16];
-
293 sprintf(lenStr, "%d", result);
-
294 Logger.debug(WIFICLIENT, "read->", lenStr);
-
295
-
296 return result;
-
297 }
-
298
-
299 bool connectedFast() { return is_connected; }
-
300};
-
-
301
-
302} // namespace arduino
-
Definition Client.h:27
-
Definition DMAPool.h:103
-
Definition Ethernet.h:42
-
Definition Ethernet.h:28
-
Definition IPAddress.h:43
-
Implementation of a Simple Circular Buffer. Instead of comparing the position of the read and write p...
Definition RingBufferExt.h:17
-
Definition SocketImpl.h:11
-
Definition String.h:53
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_ethernet_server_8h_source.html b/docs/html/_ethernet_server_8h_source.html deleted file mode 100644 index 5f123bf..0000000 --- a/docs/html/_ethernet_server_8h_source.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/EthernetServer.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
EthernetServer.h
-
-
-
1#pragma once
-
2
-
3#include <poll.h>
-
4#include <unistd.h>
-
5
-
6#include "Ethernet.h"
-
7#include "api/Server.h"
-
8#include "SignalHandler.h"
-
9
-
10namespace arduino {
-
11
-
-
16class EthernetServer : public Server {
-
17 private:
-
18 uint16_t _port;
-
19 int server_fd = 0;
-
20 struct sockaddr_in server_addr;
-
21 int _status = wl_status_t::WL_DISCONNECTED;
-
22 bool is_blocking = false;
-
23 static std::vector<EthernetServer*>& active_servers() {
-
24 static std::vector<EthernetServer*> servers;
-
25 return servers;
-
26 }
-
27 static void cleanupAll(int sig) {
-
28 for (auto* server : active_servers()) {
-
29 if (server && server->server_fd > 0) {
-
30 shutdown(server->server_fd, SHUT_RDWR);
-
31 close(server->server_fd);
-
32 server->server_fd = 0;
-
33 }
-
34 }
-
35 }
-
36
-
37 public:
-
38 EthernetServer(int port = 80) {
-
39 _port = port;
-
40 // Register signal handler only once
-
41 static bool signal_registered = false;
-
42 if (!signal_registered) {
-
43 SignalHandler::registerHandler(SIGINT, cleanupAll);
-
44 SignalHandler::registerHandler(SIGTERM, cleanupAll);
-
45 signal_registered = true;
-
46 }
-
47 }
-
48
- -
50 stop();
-
51 // Remove from active servers list
-
52 auto& servers = active_servers();
-
53 auto it = std::find(servers.begin(), servers.end(), this);
-
54 if (it != servers.end()) {
-
55 servers.erase(it);
-
56 }
-
57 }
-
58 void begin() { begin(0); }
-
59 void begin(int port) { begin_(port); }
-
60 void stop() {
-
61 if (server_fd > 0) {
-
62 // Set SO_LINGER to force immediate close
-
63 struct linger linger_opt = {1, 0};
- -
65 sizeof(linger_opt));
-
66
-
67 shutdown(server_fd, SHUT_RDWR);
-
68 close(server_fd);
-
69 }
-
70 server_fd = 0;
-
71 _status = wl_status_t::WL_DISCONNECTED;
-
72 }
-
73 WiFiClient accept() { return available_(); }
-
74 WiFiClient available(uint8_t* status = NULL) { return available_(); }
-
75 virtual size_t write(uint8_t ch) { return write(&ch, 1); }
-
76 virtual size_t write(const uint8_t* buf, size_t size) {
-
77 int rc = ::write(server_fd, buf, size);
-
78 if (rc < 0) {
-
79 rc = 0;
-
80 }
-
81 return rc;
-
82 }
-
83 int status() { return _status; }
-
84
-
85 using Print::write;
-
86
-
87 protected:
-
88 bool begin_(int port = 0) {
-
89 if (port > 0) _port = port;
-
90 _status = wl_status_t::WL_DISCONNECTED;
-
91
-
92 // create server socket
-
93 if ((server_fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
-
94 // error("socket failed");
-
95 _status = wl_status_t::WL_CONNECT_FAILED;
-
96 return false;
-
97 }
-
98
-
99 // Reuse address after restart
-
100 int iSetOption = 1;
-
101 setsockopt(server_fd, SOL_SOCKET, SO_REUSEADDR, (char*)&iSetOption,
-
102 sizeof(iSetOption));
-
103
-
104 // Set SO_REUSEPORT for better port reuse
-
105 setsockopt(server_fd, SOL_SOCKET, SO_REUSEPORT, (char*)&iSetOption,
-
106 sizeof(iSetOption));
-
107
-
108 // config socket
-
109 server_addr.sin_family = AF_INET;
-
110 server_addr.sin_addr.s_addr = INADDR_ANY;
-
111 server_addr.sin_port = htons(_port);
-
112
-
113 // bind socket to port
-
114 while (::bind(server_fd, (struct sockaddr*)&server_addr,
-
115 sizeof(server_addr)) < 0) {
-
116 // error("bind failed");
-
117 //_status = wl_status_t::WL_CONNECT_FAILED;
-
118 Logger.error("bind failed");
-
119 // return false;
-
120 delay(1000);
-
121 }
-
122
-
123 // listen for connections
-
124 if (::listen(server_fd, 10) < 0) {
-
125 // error("listen failed");
-
126 _status = wl_status_t::WL_CONNECT_FAILED;
-
127 Logger.error("listen failed");
-
128 return false;
-
129 }
-
130
-
131 // Add to active servers list for signal handling
-
132 active_servers().push_back(this);
-
133 _status = wl_status_t::WL_CONNECTED;
-
134 return true;
-
135 }
-
136
-
137 void setBlocking(bool flag) { is_blocking = flag; }
-
138
-
139 EthernetClient available_() {
- - -
142 int client_fd;
-
143
-
144 if (_status == wl_status_t::WL_CONNECT_FAILED) {
-
145 begin(_port);
-
146 }
-
147
-
148 struct pollfd pfd;
-
149 pfd.fd = server_fd;
-
150 pfd.events = POLLIN;
-
151 int poll_rc = ::poll(&pfd, 1, 200);
-
152
-
153 // non blocking check if we have any request to accept
-
154 if (!is_blocking) {
-
155 if (poll_rc <= 0 || !(pfd.revents & POLLIN)) {
- -
157 return result;
-
158 }
-
159 }
-
160
-
161 // accept client connection (blocking call)
-
162 if ((client_fd = ::accept(server_fd, (struct sockaddr*)&client_addr,
-
163 &client_addr_len)) < 0) {
- -
165 Logger.error("accept failed");
-
166 return result;
-
167 }
- - -
170 return result;
-
171 }
-
172};
-
-
173
-
174} // namespace arduino
-
Definition DMAPool.h:103
-
Definition Ethernet.h:42
-
Definition EthernetServer.h:16
-
Definition Server.h:26
-
Definition SocketImpl.h:11
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_ethernet_u_d_p_8h_source.html b/docs/html/_ethernet_u_d_p_8h_source.html deleted file mode 100644 index 517cb58..0000000 --- a/docs/html/_ethernet_u_d_p_8h_source.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/EthernetUDP.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
EthernetUDP.h
-
-
-
1#pragma once
-
2/*
-
3 * Udp.cpp: Library to send/receive UDP packets.
-
4 *
-
5 * NOTE: UDP is fast, but has some important limitations (thanks to Warren Gray
-
6 * for mentioning these) 1) UDP does not guarantee the order in which assembled
-
7 * UDP packets are received. This might not happen often in practice, but in
-
8 * larger network topologies, a UDP packet can be received out of sequence. 2)
-
9 * UDP does not guard against lost packets - so packets *can* disappear without
-
10 * the sender being aware of it. Again, this may not be a concern in practice on
-
11 * small local networks. For more information, see
-
12 * http://www.cafeaulait.org/course/week12/35.html
-
13 *
-
14 * MIT License:
-
15 * Copyright (c) 2008 Bjoern Hartmann
-
16 * Permission is hereby granted, free of charge, to any person obtaining a copy
-
17 * of this software and associated documentation files (the "Software"), to deal
-
18 * in the Software without restriction, including without limitation the rights
-
19 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-
20 * copies of the Software, and to permit persons to whom the Software is
-
21 * furnished to do so, subject to the following conditions:
-
22 *
-
23 * The above copyright notice and this permission notice shall be included in
-
24 * all copies or substantial portions of the Software.
-
25 *
-
26 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-
27 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-
28 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-
29 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-
30 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-
31 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-
32 * THE SOFTWARE.
-
33 *
-
34 * bjoern@cs.stanford.edu 12/30/2008
-
35 */
-
36
-
37#include "api/IPAddress.h"
-
38#include "api/Udp.h"
-
39#include <RingBufferExt.h>
-
40#include "SignalHandler.h"
-
41#include "ArduinoLogger.h"
-
42
-
43namespace arduino {
-
44
-
45
-
-
46class EthernetUDP : public UDP {
-
47 private:
-
48 int udp_server;
-
49 IPAddress multicast_ip;
-
50 IPAddress remote_ip;
-
51 uint16_t server_port;
-
52 uint16_t remote_port;
-
53 char* tx_buffer;
-
54 size_t tx_buffer_len;
-
55 RingBufferExt* rx_buffer;
-
56 void log_e(const char* msg, int errorNo);
-
57
-
58 static std::vector<EthernetUDP*>& active_udp() {
-
59 static std::vector<EthernetUDP*> udp_list;
-
60 return udp_list;
-
61 }
-
62 static void cleanupAll(int sig) {
-
63 for (auto* udp : active_udp()) {
-
64 if (udp) {
-
65 udp->stop();
-
66 }
-
67 }
-
68 }
-
69
-
70 public:
- - - -
74 uint8_t begin(uint16_t p);
-
75 uint8_t beginMulticast(IPAddress a, uint16_t p);
-
76 void stop();
-
77 int beginMulticastPacket();
-
78 int beginPacket();
-
79 int beginPacket(IPAddress ip, uint16_t port);
-
80 int beginPacket(const char* host, uint16_t port);
-
81 int endPacket();
-
82 size_t write(uint8_t);
-
83 size_t write(const uint8_t* buffer, size_t size);
-
84 int parsePacket();
-
85 int available();
-
86 int read();
-
87 int read(unsigned char* buffer, size_t len);
-
88 int read(char* buffer, size_t len);
-
89 int peek();
-
90 void flush();
-
91 IPAddress remoteIP();
-
92 uint16_t remotePort();
-
93
-
94protected:
-
95 void registerCleanup() {
-
96 static bool signal_registered = false;
-
97 if (!signal_registered) {
-
98 SignalHandler::registerHandler(SIGINT, cleanupAll);
-
99 SignalHandler::registerHandler(SIGTERM, cleanupAll);
-
100 signal_registered = true;
-
101 }
-
102 }
-
103
-
104};
-
-
105
-
106} // namespace arduino
-
Definition DMAPool.h:103
-
Definition EthernetUDP.h:46
-
Definition IPAddress.h:43
-
Implementation of a Simple Circular Buffer. Instead of comparing the position of the read and write p...
Definition RingBufferExt.h:17
-
Definition Udp.h:42
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_file_stream_8h_source.html b/docs/html/_file_stream_8h_source.html deleted file mode 100644 index 30af1ef..0000000 --- a/docs/html/_file_stream_8h_source.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/FileStream.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
FileStream.h
-
-
-
1#pragma once
-
2
-
3#include <fstream>
-
4#include <iostream>
-
5#include "api/Stream.h"
-
6
-
7namespace arduino {
-
8
-
-
13class FileStream : public Stream {
-
14 public:
-
15 FileStream(const char* outDevice = "/dev/stdout",
-
16 const char* inDevice = "/dev/stdin") {
-
17 open(outDevice, inDevice);
-
18 }
-
19
-
20 ~FileStream() {
-
21 in.close();
-
22 out.close();
-
23 }
-
24
-
25 void open(const char* outDevice, const char* inDevice) {
-
26 if (outDevice != nullptr) out.open(outDevice, std::ios::out);
-
27 if (inDevice != nullptr) in.open(inDevice, std::ios::in);
-
28 }
-
29
-
30 virtual void begin(int speed) {
-
31 // nothing to be done
-
32 }
-
33
-
34 virtual void print(const char* str) {
-
35 out << str;
-
36 out.flush();
-
37 }
-
38
-
39 virtual void println(const char* str = "") {
-
40 out << str << "\n";
-
41 out.flush();
-
42 }
-
43
-
44 virtual void print(int str) {
-
45 out << str;
-
46 out.flush();
-
47 }
-
48
-
49 virtual void println(int str) {
-
50 out << str << "\n";
-
51 out.flush();
-
52 }
-
53
-
54 virtual void flush() { out.flush(); }
-
55
-
56 virtual void write(const char* str, int len) { out.write(str, len); }
-
57
-
58 virtual void write(uint8_t* str, int len) {
-
59 out.write((const char*)str, len);
-
60 }
-
61
-
62 virtual size_t write(int32_t value) {
-
63 out.put(value);
-
64 return 1;
-
65 }
-
66
-
67 virtual size_t write(uint8_t value) {
-
68 out.put(value);
-
69 return 1;
-
70 }
-
71
-
72 virtual int available() { return in.rdbuf()->in_avail(); };
-
73
-
74 virtual int read() { return in.get(); }
-
75
-
76 virtual int peek() { return in.peek(); }
-
77
-
78 protected:
-
79 std::fstream out;
-
80 std::fstream in;
-
81};
-
-
82
-
92static FileStream Serial1("/dev/ttyACM0");
-
93
-
94} // namespace arduino
-
Definition DMAPool.h:103
-
We use the FileStream class to be able to provide Serail, Serial1 and Serial2 outside of the Arduino ...
Definition FileStream.h:13
-
Definition Stream.h:51
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
static FileStream Serial1("/dev/ttyACM0")
Global Serial1 instance for secondary serial communication.
-
- - - - diff --git a/docs/html/_g_p_i_o_wrapper_8h_source.html b/docs/html/_g_p_i_o_wrapper_8h_source.html deleted file mode 100644 index 7478d1f..0000000 --- a/docs/html/_g_p_i_o_wrapper_8h_source.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/GPIOWrapper.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
GPIOWrapper.h
-
-
-
1#pragma once
-
2#include "HardwareGPIO.h"
-
3#include "HardwareService.h"
-
4#include "Sources.h"
-
5
-
6namespace arduino {
-
7
-
-
35class GPIOWrapper : public HardwareGPIO {
-
36 public:
-
37 GPIOWrapper() = default;
- -
39 GPIOWrapper(HardwareGPIO& gpio) { setGPIO(&gpio); }
-
40 ~GPIOWrapper() = default;
-
41 void pinMode(pin_size_t pinNumber, PinMode pinMode);
-
42 void digitalWrite(pin_size_t pinNumber, PinStatus status);
-
43 PinStatus digitalRead(pin_size_t pinNumber);
-
44 int analogRead(pin_size_t pinNumber);
- -
46 void analogWrite(pin_size_t pinNumber, int value);
-
47 void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0);
-
48 void noTone(uint8_t _pin);
-
49 unsigned long pulseIn(uint8_t pin, uint8_t state,
-
50 unsigned long timeout = 1000000L);
-
51 unsigned long pulseInLong(uint8_t pin, uint8_t state,
-
52 unsigned long timeout = 1000000L);
-
53
-
-
55 void setGPIO(HardwareGPIO* gpio) {
-
56 p_gpio = gpio;
-
57 p_source = nullptr;
-
58 }
-
-
- -
61 p_source = source;
-
62 p_gpio = nullptr;
-
63 }
-
-
64
-
65 protected:
-
66 HardwareGPIO* p_gpio = nullptr;
-
67 GPIOSource* p_source = nullptr;
-
68
-
69 HardwareGPIO* getGPIO() {
-
70 HardwareGPIO* result = p_gpio;
-
71 if (result == nullptr && p_source != nullptr) {
-
72 result = p_source->getGPIO();
-
73 }
-
74 return result;
-
75 }
-
76};
-
-
77
-
79extern GPIOWrapper GPIO;
-
80
-
81} // namespace arduino
-
Definition DMAPool.h:103
-
Abstract interface for providing GPIO hardware implementations.
Definition Sources.h:48
-
GPIO wrapper class that provides flexible hardware abstraction.
Definition GPIOWrapper.h:35
-
void digitalWrite(pin_size_t pinNumber, PinStatus status)
Write a HIGH or LOW value to a digital pin.
Definition GPIOWrapper.cpp:21
-
int analogRead(pin_size_t pinNumber)
Read the value from the specified analog pin.
Definition GPIOWrapper.cpp:37
-
void noTone(uint8_t _pin)
Stop the generation of a square wave triggered by tone()
Definition GPIOWrapper.cpp:68
-
unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout=1000000L)
Read a pulse (HIGH or LOW) on a pin.
Definition GPIOWrapper.cpp:75
-
PinStatus digitalRead(pin_size_t pinNumber)
Read the value from a specified digital pin.
Definition GPIOWrapper.cpp:28
-
void pinMode(pin_size_t pinNumber, PinMode pinMode)
Configure the specified pin to behave as an input or output.
Definition GPIOWrapper.cpp:14
-
void setSource(GPIOSource *source)
alternatively defines a class that provides the GPIO implementation
Definition GPIOWrapper.h:60
-
void tone(uint8_t _pin, unsigned int frequency, unsigned long duration=0)
Generate a square wave of the specified frequency on a pin.
Definition GPIOWrapper.cpp:60
-
void setGPIO(HardwareGPIO *gpio)
defines the gpio implementation: use nullptr to reset.
Definition GPIOWrapper.h:55
-
unsigned long pulseInLong(uint8_t pin, uint8_t state, unsigned long timeout=1000000L)
Alternative to pulseIn() which is better at handling long pulses.
Definition GPIOWrapper.cpp:85
-
void analogWrite(pin_size_t pinNumber, int value)
Write an analog value (PWM wave) to a pin.
Definition GPIOWrapper.cpp:53
-
void analogReference(uint8_t mode)
Configure the reference voltage used for analog input.
Definition GPIOWrapper.cpp:46
-
Abstract base class for GPIO (General Purpose Input/Output) functions.
Definition HardwareGPIO.h:33
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
GPIOWrapper GPIO
Global GPIO instance used by Arduino API functions and direct access.
Definition GPIOWrapper.cpp:12
-
- - - - diff --git a/docs/html/_hardware_c_a_n_8h_source.html b/docs/html/_hardware_c_a_n_8h_source.html deleted file mode 100644 index 122d8e6..0000000 --- a/docs/html/_hardware_c_a_n_8h_source.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/HardwareCAN.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
HardwareCAN.h
-
-
-
1/*
-
2 HardwareCAN.h - CAN bus interface for Arduino core
-
3 Copyright (c) 2023 Arduino. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#ifndef ARDUINOCORE_API_HARDWARECAN_H
-
21#define ARDUINOCORE_API_HARDWARECAN_H
-
22
-
23/**************************************************************************************
-
24 * INCLUDE
-
25 **************************************************************************************/
-
26
-
27#include "CanMsg.h"
-
28#include "CanMsgRingbuffer.h"
-
29
-
30/**************************************************************************************
-
31 * TYPEDEF
-
32 **************************************************************************************/
-
33
-
34enum class CanBitRate : int
-
35{
-
36 BR_125k = 125000,
-
37 BR_250k = 250000,
-
38 BR_500k = 500000,
-
39 BR_1000k = 1000000,
-
40};
-
41
-
42/**************************************************************************************
-
43 * NAMESPACE
-
44 **************************************************************************************/
-
45
-
46namespace arduino
-
47{
-
48
-
49/**************************************************************************************
-
50 * CLASS DECLARATION
-
51 **************************************************************************************/
-
52
-
- -
54{
-
55public:
-
56 virtual ~HardwareCAN() {}
-
57
-
58
-
65 virtual bool begin(CanBitRate const can_bitrate) = 0;
-
66
-
72 virtual void end() = 0;
-
73
-
93 virtual int write(CanMsg const &msg) = 0;
-
94
-
100 virtual size_t available() = 0;
-
101
-
109 virtual CanMsg read() = 0;
-
110};
-
-
111
-
112/**************************************************************************************
-
113 * NAMESPACE
-
114 **************************************************************************************/
-
115
-
116} /* arduino */
-
117
-
118#endif /* ARDUINOCORE_API_HARDWARECAN_H */
-
Definition CanMsg.h:46
-
Definition DMAPool.h:103
-
Definition HardwareCAN.h:54
-
virtual CanMsg read()=0
-
virtual size_t available()=0
-
virtual void end()=0
-
virtual bool begin(CanBitRate const can_bitrate)=0
-
virtual int write(CanMsg const &msg)=0
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_hardware_g_p_i_o_8h_source.html b/docs/html/_hardware_g_p_i_o_8h_source.html deleted file mode 100644 index 8e1ef1f..0000000 --- a/docs/html/_hardware_g_p_i_o_8h_source.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/HardwareGPIO.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
HardwareGPIO.h
-
-
-
1#pragma once
-
2
-
3#include "api/Common.h"
-
4
-
5namespace arduino {
-
6
-
- -
34 public:
-
35 HardwareGPIO() = default;
-
36 virtual ~HardwareGPIO() = default;
-
37
-
43 virtual void pinMode(pin_size_t pinNumber, PinMode pinMode) = 0;
-
44
-
50 virtual void digitalWrite(pin_size_t pinNumber, PinStatus status) = 0;
-
51
-
57 virtual PinStatus digitalRead(pin_size_t pinNumber) = 0;
-
58
-
64 virtual int analogRead(pin_size_t pinNumber) = 0;
-
65
-
70 virtual void analogReference(uint8_t mode) = 0;
-
71
-
77 virtual void analogWrite(pin_size_t pinNumber, int value) = 0;
-
78
-
85 virtual void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0) = 0;
-
86
-
91 virtual void noTone(uint8_t _pin) = 0;
-
92
-
100 virtual unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L) = 0;
-
101
-
109 virtual unsigned long pulseInLong(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L) = 0;
-
110};
-
-
111
-
112} // namespace arduino
-
Definition DMAPool.h:103
-
Abstract base class for GPIO (General Purpose Input/Output) functions.
Definition HardwareGPIO.h:33
-
virtual void analogReference(uint8_t mode)=0
Configure the reference voltage used for analog input.
-
virtual PinStatus digitalRead(pin_size_t pinNumber)=0
Read the value from a specified digital pin.
-
virtual void noTone(uint8_t _pin)=0
Stop the generation of a square wave triggered by tone()
-
virtual void analogWrite(pin_size_t pinNumber, int value)=0
Write an analog value (PWM wave) to a pin.
-
virtual unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout=1000000L)=0
Read a pulse (HIGH or LOW) on a pin.
-
virtual void pinMode(pin_size_t pinNumber, PinMode pinMode)=0
Configure the specified pin to behave as an input or output.
-
virtual void tone(uint8_t _pin, unsigned int frequency, unsigned long duration=0)=0
Generate a square wave of the specified frequency on a pin.
-
virtual int analogRead(pin_size_t pinNumber)=0
Read the value from the specified analog pin.
-
virtual unsigned long pulseInLong(uint8_t pin, uint8_t state, unsigned long timeout=1000000L)=0
Alternative to pulseIn() which is better at handling long pulses.
-
virtual void digitalWrite(pin_size_t pinNumber, PinStatus status)=0
Write a HIGH or LOW value to a digital pin.
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_hardware_g_p_i_o___r_p_i_8h_source.html b/docs/html/_hardware_g_p_i_o___r_p_i_8h_source.html deleted file mode 100644 index 7fa24c6..0000000 --- a/docs/html/_hardware_g_p_i_o___r_p_i_8h_source.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/rasperry_pi/HardwareGPIO_RPI.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
HardwareGPIO_RPI.h
-
-
-
1#pragma once
-
2#ifdef USE_RPI
-
3#include "HardwareGPIO.h"
-
4
-
5
-
6namespace arduino {
-
7
-
- -
23 public:
-
27 HardwareGPIO_RPI() = default;
-
28
-
33 HardwareGPIO_RPI(const char* devName) : device_name(devName) {}
-
34
- -
39
-
46 void begin();
-
47
-
51 void pinMode(pin_size_t pinNumber, PinMode pinMode) override;
-
52
-
56 void digitalWrite(pin_size_t pinNumber, PinStatus status) override;
-
57
-
61 PinStatus digitalRead(pin_size_t pinNumber) override;
-
62
-
66 int analogRead(pin_size_t pinNumber) override;
-
67
-
71 void analogReference(uint8_t mode) override;
-
72
-
76 void analogWrite(pin_size_t pinNumber, int value) override;
-
77
-
84 void tone(uint8_t _pin, unsigned int frequency,
-
85 unsigned long duration = 0) override;
-
86
-
90 void noTone(uint8_t _pin) override;
-
91
-
98 unsigned long pulseIn(uint8_t pin, uint8_t state,
-
99 unsigned long timeout = 1000000L) override;
-
100
-
107 unsigned long pulseInLong(uint8_t pin, uint8_t state,
-
108 unsigned long timeout = 1000000L) override;
-
109
- -
114
-
115 operator bool() { return is_open; }
-
116
-
117 private:
-
118 int m_analogReference = 0;
-
119 std::map<pin_size_t, uint32_t> gpio_frequencies;
-
120 int pwm_pins[4] = {12, 13, 18, 19};
-
121 bool is_open = false;
-
122 const char* device_name = "gpiochip0";
-
123};
-
-
124
-
125} // namespace arduino
-
126
-
127#endif
-
Definition DMAPool.h:103
-
GPIO hardware abstraction for Raspberry Pi in the Arduino emulator.
Definition HardwareGPIO_RPI.h:22
-
unsigned long pulseInLong(uint8_t pin, uint8_t state, unsigned long timeout=1000000L) override
Measure long pulse duration on a pin.
Definition HardwareGPIO_RPI.cpp:186
-
void analogWrite(pin_size_t pinNumber, int value) override
Write an analog value (PWM) to a pin.
Definition HardwareGPIO_RPI.cpp:99
-
void tone(uint8_t _pin, unsigned int frequency, unsigned long duration=0) override
Generate a tone on a pin.
Definition HardwareGPIO_RPI.cpp:171
-
void begin()
Initialize the GPIO hardware interface for Raspberry Pi.
Definition HardwareGPIO_RPI.cpp:15
-
void pinMode(pin_size_t pinNumber, PinMode pinMode) override
Set the mode of a GPIO pin (INPUT, OUTPUT, etc).
Definition HardwareGPIO_RPI.cpp:36
-
unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout=1000000L) override
Measure pulse duration on a pin.
Definition HardwareGPIO_RPI.cpp:180
-
HardwareGPIO_RPI(const char *devName)
Constructor for HardwareGPIO_RPI with custom device name.
Definition HardwareGPIO_RPI.h:33
-
~HardwareGPIO_RPI()
Destructor for HardwareGPIO_RPI.
Definition HardwareGPIO_RPI.cpp:25
-
void analogWriteFrequency(uint8_t pin, uint32_t freq)
Set PWM frequency for a pin.
Definition HardwareGPIO_RPI.cpp:192
-
int analogRead(pin_size_t pinNumber) override
Read an analog value from a pin (if supported).
Definition HardwareGPIO_RPI.cpp:89
-
PinStatus digitalRead(pin_size_t pinNumber) override
Read a digital value from a GPIO pin.
Definition HardwareGPIO_RPI.cpp:72
-
HardwareGPIO_RPI()=default
Constructor for HardwareGPIO_RPI.
-
void noTone(uint8_t _pin) override
Stop tone generation on a pin.
Definition HardwareGPIO_RPI.cpp:176
-
void analogReference(uint8_t mode) override
Set the analog reference mode.
Definition HardwareGPIO_RPI.cpp:95
-
void digitalWrite(pin_size_t pinNumber, PinStatus status) override
Write a digital value to a GPIO pin.
Definition HardwareGPIO_RPI.cpp:58
-
Abstract base class for GPIO (General Purpose Input/Output) functions.
Definition HardwareGPIO.h:33
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_hardware_i2_c_8h_source.html b/docs/html/_hardware_i2_c_8h_source.html deleted file mode 100644 index 72c09fa..0000000 --- a/docs/html/_hardware_i2_c_8h_source.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/HardwareI2C.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
HardwareI2C.h
-
-
-
1/*
-
2 HardwareI2C.h - Hardware I2C interface for Arduino
-
3 Copyright (c) 2016 Arduino LLC. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#pragma once
-
21
-
22#include <inttypes.h>
-
23#include "Stream.h"
-
24
-
25namespace arduino {
-
26
-
-
27class HardwareI2C : public Stream
-
28{
-
29 public:
-
30 virtual void begin() = 0;
-
31 virtual void begin(uint8_t address) = 0;
-
32 virtual void end() = 0;
-
33
-
34 virtual void setClock(uint32_t freq) = 0;
-
35
-
36 virtual void beginTransmission(uint8_t address) = 0;
-
37 virtual uint8_t endTransmission(bool stopBit) = 0;
-
38 virtual uint8_t endTransmission(void) = 0;
-
39
-
40 virtual size_t requestFrom(uint8_t address, size_t len, bool stopBit) = 0;
-
41 virtual size_t requestFrom(uint8_t address, size_t len) = 0;
-
42
-
43 virtual void onReceive(void(*)(int)) = 0;
-
44 virtual void onRequest(void(*)(void)) = 0;
-
45};
-
-
46
-
47}
-
48
-
Definition DMAPool.h:103
-
Definition HardwareI2C.h:28
-
Definition Stream.h:51
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_hardware_i2_c___r_p_i_8h_source.html b/docs/html/_hardware_i2_c___r_p_i_8h_source.html deleted file mode 100644 index 25a17d4..0000000 --- a/docs/html/_hardware_i2_c___r_p_i_8h_source.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/rasperry_pi/HardwareI2C_RPI.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
HardwareI2C_RPI.h
-
-
-
1#pragma once
-
2#ifdef USE_RPI
-
3
-
4#include <fcntl.h> // for O_RDWR
-
5#include <unistd.h> // for open(), close(), etc.
-
6#include <vector>
-
7#include "api/HardwareI2C.h"
-
8#include "ArduinoLogger.h"
-
9
-
10namespace arduino {
-
11
-
- -
23 public:
-
24 HardwareI2C_RPI(const char* device = "/dev/i2c-1") {
-
25 i2c_device = device;
-
26 }
- -
28 end();
-
29 }
-
30 void begin() override;
-
31 void begin(uint8_t address) override;
-
32 void end() override;
-
33 void setClock(uint32_t freq) override;
-
34 void beginTransmission(uint8_t address) override;
-
35 uint8_t endTransmission(bool stopBit) override;
-
36 uint8_t endTransmission(void) { return endTransmission(true);};
-
37 size_t requestFrom(uint8_t address, size_t len, bool stopBit) override;
-
38 size_t requestFrom(uint8_t address, size_t len) override;
-
39 void onReceive(void (*)(int)) override;
-
40 void onRequest(void (*)(void)) override;
-
41 size_t write(uint8_t) override;
-
42 size_t write(const uint8_t*, size_t) override;
-
43 int available() override;
-
44 int read() override;
-
45 int peek() override;
-
46 void flush() override { fsync(i2c_fd);}
-
47
-
48 operator bool() { return is_open; }
-
49
-
50 private:
-
51 int i2c_fd = -1;
-
52 uint8_t current_address = 0;
-
53 uint32_t i2c_clock = 100000; // default 100kHz
-
54 std::vector<uint8_t> i2c_rx_buffer;
-
55 std::vector<uint8_t> i2c_tx_buffer;
-
56 int i2c_rx_pos = 0;
-
57 const char* i2c_device;
-
58 bool is_open = false;
-
59};
-
-
60
-
61} // namespace arduino
-
62
-
63#endif
-
Definition DMAPool.h:103
-
Implementation of I2C communication for Raspberry Pi using Linux I2C device interface.
Definition HardwareI2C_RPI.h:22
-
Definition HardwareI2C.h:28
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_hardware_s_p_i_8h_source.html b/docs/html/_hardware_s_p_i_8h_source.html deleted file mode 100644 index 0a2d563..0000000 --- a/docs/html/_hardware_s_p_i_8h_source.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/HardwareSPI.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
HardwareSPI.h
-
-
-
1/*
-
2 HardwareSPI.h - Hardware SPI interface for Arduino
-
3 Copyright (c) 2018 Arduino LLC. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#pragma once
-
21
-
22#include "Common.h"
-
23#include <inttypes.h>
-
24#include "Stream.h"
-
25
-
26#define SPI_HAS_TRANSACTION
-
27
-
28namespace arduino {
-
29
-
30typedef enum {
-
31 SPI_MODE0 = 0,
-
32 SPI_MODE1 = 1,
-
33 SPI_MODE2 = 2,
-
34 SPI_MODE3 = 3,
-
35} SPIMode;
-
36
-
37// Platforms should define SPI_HAS_PERIPHERAL_MODE if SPI peripheral
-
38// mode is supported, to allow applications to check whether peripheral
-
39// mode is available or not.
-
40typedef enum {
-
41 SPI_CONTROLLER = 0,
-
42 SPI_PERIPHERAL = 1,
-
43} SPIBusMode;
-
44
-
45
-
- -
47 public:
-
48 SPISettings(uint32_t clock, BitOrder bitOrder, SPIMode dataMode, SPIBusMode busMode = SPI_CONTROLLER) {
- -
50 init_AlwaysInline(clock, bitOrder, dataMode, busMode);
-
51 } else {
-
52 init_MightInline(clock, bitOrder, dataMode, busMode);
-
53 }
-
54 }
-
55
-
56 SPISettings(uint32_t clock, BitOrder bitOrder, int dataMode, SPIBusMode busMode = SPI_CONTROLLER) {
- -
58 init_AlwaysInline(clock, bitOrder, (SPIMode)dataMode, busMode);
-
59 } else {
-
60 init_MightInline(clock, bitOrder, (SPIMode)dataMode, busMode);
-
61 }
-
62 }
-
63
-
64 // Default speed set to 4MHz, SPI mode set to MODE 0 and Bit order set to MSB first.
-
65 SPISettings() { init_AlwaysInline(4000000, MSBFIRST, SPI_MODE0, SPI_CONTROLLER); }
-
66
-
67 bool operator==(const SPISettings& rhs) const
-
68 {
-
69 if ((this->clockFreq == rhs.clockFreq) &&
-
70 (this->bitOrder == rhs.bitOrder) &&
-
71 (this->dataMode == rhs.dataMode) &&
-
72 (this->busMode == rhs.busMode)) {
-
73 return true;
-
74 }
-
75 return false;
-
76 }
-
77
-
78 bool operator!=(const SPISettings& rhs) const
-
79 {
-
80 return !(*this == rhs);
-
81 }
-
82
-
83 uint32_t getClockFreq() const {
-
84 return clockFreq;
-
85 }
-
86 SPIMode getDataMode() const {
-
87 return dataMode;
-
88 }
-
89 BitOrder getBitOrder() const {
-
90 return (bitOrder);
-
91 }
-
92 SPIBusMode getBusMode() const {
-
93 return busMode;
-
94 }
-
95
-
96 private:
-
97 void init_MightInline(uint32_t clock, BitOrder bitOrder, SPIMode dataMode, SPIBusMode busMode) {
-
98 init_AlwaysInline(clock, bitOrder, dataMode, busMode);
-
99 }
-
100
-
101 // Core developer MUST use an helper function in beginTransaction() to use this data
-
102 void init_AlwaysInline(uint32_t clock, BitOrder bitOrder, SPIMode dataMode, SPIBusMode busMode) __attribute__((__always_inline__)) {
-
103 this->clockFreq = clock;
-
104 this->dataMode = dataMode;
-
105 this->bitOrder = bitOrder;
-
106 this->busMode = busMode;
-
107 }
-
108
-
109 uint32_t clockFreq;
-
110 SPIMode dataMode;
-
111 BitOrder bitOrder;
-
112 SPIBusMode busMode;
-
113
-
114 friend class HardwareSPI;
-
115};
-
-
116
-
117const SPISettings DEFAULT_SPI_SETTINGS = SPISettings();
-
118
-
- -
120{
-
121 public:
-
122 virtual ~HardwareSPI() { }
-
123
-
124 virtual uint8_t transfer(uint8_t data) = 0;
-
125 virtual uint16_t transfer16(uint16_t data) = 0;
-
126 virtual void transfer(void *buf, size_t count) = 0;
-
127
-
128 // Transaction Functions
-
129 virtual void usingInterrupt(int interruptNumber) = 0;
-
130 virtual void notUsingInterrupt(int interruptNumber) = 0;
-
131 virtual void beginTransaction(SPISettings settings) = 0;
-
132 virtual void endTransaction(void) = 0;
-
133
-
134 // SPI Configuration methods
-
135 virtual void attachInterrupt() = 0;
-
136 virtual void detachInterrupt() = 0;
-
137
-
138 virtual void begin() = 0;
-
139 virtual void end() = 0;
-
140};
-
-
141
-
142// Alias SPIClass to HardwareSPI since it's already the defacto standard for SPI class name
-
143typedef HardwareSPI SPIClass;
-
144
-
145}
-
Definition DMAPool.h:103
-
Definition HardwareSPI.h:120
-
Definition HardwareSPI.h:46
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_hardware_s_p_i___r_p_i_8h_source.html b/docs/html/_hardware_s_p_i___r_p_i_8h_source.html deleted file mode 100644 index 712f831..0000000 --- a/docs/html/_hardware_s_p_i___r_p_i_8h_source.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/rasperry_pi/HardwareSPI_RPI.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
HardwareSPI_RPI.h
-
-
-
1#pragma once
-
2#ifdef USE_RPI
-
3#include <inttypes.h>
-
4
-
5#include "api/Common.h"
-
6#include "api/HardwareSPI.h"
-
7#include "api/Stream.h"
-
8
-
9namespace arduino {
-
10
-
- -
22 public:
-
23 HardwareSPI_RPI(const char* device = "/dev/spidev0.0");
-
24 ~HardwareSPI_RPI() override;
-
25
-
26 uint8_t transfer(uint8_t data) override;
-
27 uint16_t transfer16(uint16_t data) override;
-
28 void transfer(void* buf, size_t count) override;
-
29
-
30 // Transaction Functions
-
31 void usingInterrupt(int interruptNumber) override;
-
32 void notUsingInterrupt(int interruptNumber) override;
-
33 void beginTransaction(SPISettings settings) override;
-
34 void endTransaction(void) override;
-
35
-
36 // SPI Configuration methods
-
37 void attachInterrupt() override;
-
38 void detachInterrupt() override;
-
39
-
40 void begin() override;
-
41 void end() override;
-
42
-
43 operator bool() { return is_open; }
-
44
-
45 protected:
-
46 int spi_fd = -1;
-
47 const char* device = "/dev/spidev0.0";
-
48 uint32_t spi_speed = 500000; // Default to 500kHz
-
49 uint8_t spi_mode = 0; // Default to SPI mode 0
-
50 uint8_t spi_bits = 8; // Default to 8 bits per word
-
51 bool is_open = false;
-
52};
-
-
53
-
54} // namespace arduino
-
55
-
56#endif // USE_RPI
-
Definition DMAPool.h:103
-
Implementation of SPI communication for Raspberry Pi using Linux SPI device interface.
Definition HardwareSPI_RPI.h:21
-
Definition HardwareSPI.h:120
-
Definition HardwareSPI.h:46
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_hardware_serial_8h_source.html b/docs/html/_hardware_serial_8h_source.html deleted file mode 100644 index b78d92a..0000000 --- a/docs/html/_hardware_serial_8h_source.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/HardwareSerial.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
HardwareSerial.h
-
-
-
1/*
-
2 HardwareSerial.h - Hardware serial interface for Arduino
-
3 Copyright (c) 2016 Arduino LLC. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#pragma once
-
21
-
22#include <inttypes.h>
-
23#include "Stream.h"
-
24
-
25namespace arduino {
-
26
-
27// XXX: Those constants should be defined as const int / enums?
-
28// XXX: shall we use namespaces too?
-
29#define SERIAL_PARITY_EVEN (0x1ul)
-
30#define SERIAL_PARITY_ODD (0x2ul)
-
31#define SERIAL_PARITY_NONE (0x3ul)
-
32#define SERIAL_PARITY_MARK (0x4ul)
-
33#define SERIAL_PARITY_SPACE (0x5ul)
-
34#define SERIAL_PARITY_MASK (0xFul)
-
35
-
36#define SERIAL_STOP_BIT_1 (0x10ul)
-
37#define SERIAL_STOP_BIT_1_5 (0x20ul)
-
38#define SERIAL_STOP_BIT_2 (0x30ul)
-
39#define SERIAL_STOP_BIT_MASK (0xF0ul)
-
40
-
41#define SERIAL_DATA_5 (0x100ul)
-
42#define SERIAL_DATA_6 (0x200ul)
-
43#define SERIAL_DATA_7 (0x300ul)
-
44#define SERIAL_DATA_8 (0x400ul)
-
45#define SERIAL_DATA_MASK (0xF00ul)
-
46
-
47#define SERIAL_5N1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_NONE | SERIAL_DATA_5)
-
48#define SERIAL_6N1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_NONE | SERIAL_DATA_6)
-
49#define SERIAL_7N1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_NONE | SERIAL_DATA_7)
-
50#define SERIAL_8N1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_NONE | SERIAL_DATA_8)
-
51#define SERIAL_5N2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_NONE | SERIAL_DATA_5)
-
52#define SERIAL_6N2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_NONE | SERIAL_DATA_6)
-
53#define SERIAL_7N2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_NONE | SERIAL_DATA_7)
-
54#define SERIAL_8N2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_NONE | SERIAL_DATA_8)
-
55#define SERIAL_5E1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_EVEN | SERIAL_DATA_5)
-
56#define SERIAL_6E1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_EVEN | SERIAL_DATA_6)
-
57#define SERIAL_7E1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_EVEN | SERIAL_DATA_7)
-
58#define SERIAL_8E1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_EVEN | SERIAL_DATA_8)
-
59#define SERIAL_5E2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_EVEN | SERIAL_DATA_5)
-
60#define SERIAL_6E2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_EVEN | SERIAL_DATA_6)
-
61#define SERIAL_7E2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_EVEN | SERIAL_DATA_7)
-
62#define SERIAL_8E2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_EVEN | SERIAL_DATA_8)
-
63#define SERIAL_5O1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_ODD | SERIAL_DATA_5)
-
64#define SERIAL_6O1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_ODD | SERIAL_DATA_6)
-
65#define SERIAL_7O1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_ODD | SERIAL_DATA_7)
-
66#define SERIAL_8O1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_ODD | SERIAL_DATA_8)
-
67#define SERIAL_5O2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_ODD | SERIAL_DATA_5)
-
68#define SERIAL_6O2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_ODD | SERIAL_DATA_6)
-
69#define SERIAL_7O2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_ODD | SERIAL_DATA_7)
-
70#define SERIAL_8O2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_ODD | SERIAL_DATA_8)
-
71#define SERIAL_5M1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_MARK | SERIAL_DATA_5)
-
72#define SERIAL_6M1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_MARK | SERIAL_DATA_6)
-
73#define SERIAL_7M1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_MARK | SERIAL_DATA_7)
-
74#define SERIAL_8M1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_MARK | SERIAL_DATA_8)
-
75#define SERIAL_5M2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_MARK | SERIAL_DATA_5)
-
76#define SERIAL_6M2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_MARK | SERIAL_DATA_6)
-
77#define SERIAL_7M2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_MARK | SERIAL_DATA_7)
-
78#define SERIAL_8M2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_MARK | SERIAL_DATA_8)
-
79#define SERIAL_5S1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_SPACE | SERIAL_DATA_5)
-
80#define SERIAL_6S1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_SPACE | SERIAL_DATA_6)
-
81#define SERIAL_7S1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_SPACE | SERIAL_DATA_7)
-
82#define SERIAL_8S1 (SERIAL_STOP_BIT_1 | SERIAL_PARITY_SPACE | SERIAL_DATA_8)
-
83#define SERIAL_5S2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_SPACE | SERIAL_DATA_5)
-
84#define SERIAL_6S2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_SPACE | SERIAL_DATA_6)
-
85#define SERIAL_7S2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_SPACE | SERIAL_DATA_7)
-
86#define SERIAL_8S2 (SERIAL_STOP_BIT_2 | SERIAL_PARITY_SPACE | SERIAL_DATA_8)
-
87
-
-
88class HardwareSerial : public Stream
-
89{
-
90 public:
-
91 virtual void begin(unsigned long) = 0;
-
92 virtual void begin(unsigned long baudrate, uint16_t config) = 0;
-
93 virtual void end() = 0;
-
94 virtual int available(void) = 0;
-
95 virtual int peek(void) = 0;
-
96 virtual int read(void) = 0;
-
97 virtual void flush(void) = 0;
-
98 virtual size_t write(uint8_t) = 0;
-
99 using Print::write; // pull in write(str) and write(buf, size) from Print
-
100 virtual operator bool() = 0;
-
101};
-
-
102
-
103// XXX: Are we keeping the serialEvent API?
-
104extern void serialEventRun(void) __attribute__((weak));
-
105
-
106}
-
Definition DMAPool.h:103
-
Definition HardwareSerial.h:89
-
Definition Stream.h:51
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_hardware_service_8h_source.html b/docs/html/_hardware_service_8h_source.html deleted file mode 100644 index 95e1c6b..0000000 --- a/docs/html/_hardware_service_8h_source.html +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/HardwareService.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
HardwareService.h
-
-
-
1#pragma once
-
2
-
3#include "api/Stream.h"
-
4
-
5namespace arduino {
-
6
-
-
13enum HWCalls {
-
14 I2cBegin0,
-
15 I2cBegin1,
-
16 I2cEnd,
-
17 I2cSetClock,
-
18 I2cBeginTransmission,
-
19 I2cEndTransmission1,
-
20 I2cEndTransmission,
-
21 I2cRequestFrom3,
-
22 I2cRequestFrom2,
-
23 I2cOnReceive,
-
24 I2cOnRequest,
-
25 I2cWrite,
-
26 I2cAvailable,
-
27 I2cRead,
-
28 I2cPeek,
-
29 SpiTransfer,
-
30 SpiTransfer8,
-
31 SpiTransfer16,
-
32 SpiUsingInterrupt,
-
33 SpiNotUsingInterrupt,
-
34 SpiBeginTransaction,
-
35 SpiEndTransaction,
-
36 SpiAttachInterrupt,
-
37 SpiDetachInterrupt,
-
38 SpiBegin,
-
39 SpiEnd,
-
40 GpioPinMode,
-
41 GpioDigitalWrite,
-
42 GpioDigitalRead,
-
43 GpioAnalogRead,
-
44 GpioAnalogReference,
-
45 GpioAnalogWrite,
-
46 GpioTone,
-
47 GpioNoTone,
-
48 GpioPulseIn,
-
49 GpioPulseInLong,
-
50 SerialBegin,
-
51 SerialEnd,
-
52 SerialWrite,
-
53 SerialRead,
-
54 SerialAvailable,
-
55 SerialPeek,
-
56 SerialFlush,
-
57 I2sSetup,
-
58 I2sBegin3,
-
59 I2sBegin2,
-
60 I2sEnd,
-
61 I2sAvailable,
-
62 I2sRead,
-
63 I2sPeek,
-
64 I2sFlush,
-
65 I2sWrite,
-
66 I2sAvailableForWrite,
-
67 I2sSetBufferSize
-
68};
-
-
69
-
- -
95 public:
- -
97
-
98 void setStream(Stream* str) { io = str; }
-
99
-
100 void send(HWCalls call) {
- -
102 io->write((uint8_t*)&val, sizeof(uint16_t));
-
103 }
-
104
-
105 void send(uint8_t data) { io->write((uint8_t*)&data, sizeof(data)); }
-
106
-
107 void send(uint16_t dataIn) {
- -
109 io->write((uint8_t*)&data, sizeof(data));
-
110 }
-
111
-
112 void send(uint32_t dataIn) {
- -
114 io->write((uint8_t*)&data, sizeof(data));
-
115 }
-
116
-
117 void send(uint64_t dataIn) {
-
118 uint32_t data = swap_uint64(dataIn);
-
119 io->write((uint8_t*)&data, sizeof(data));
-
120 }
-
121
-
122 void send(int32_t dataIn) {
-
123 int32_t data = swap_int32(dataIn);
-
124 io->write((uint8_t*)&data, sizeof(data));
-
125 }
-
126 void send(int64_t dataIn) {
-
127 int32_t data = swap_int64(dataIn);
-
128 io->write((uint8_t*)&data, sizeof(data));
-
129 }
-
130
-
131 void send(bool data) { io->write((uint8_t*)&data, sizeof(data)); }
-
132
-
133 void send(void* data, size_t len) { io->write((uint8_t*)data, len); }
-
134
-
135 void flush() { io->flush(); }
-
136
-
137 uint16_t receive16() {
- -
139 blockingRead((char*)&result, sizeof(uint16_t));
-
140 return swap_uint16(result);
-
141 }
-
142
-
143 uint32_t receive32() {
- -
145 blockingRead((char*)&result, sizeof(uint32_t));
-
146 return swap_uint32(result);
-
147 }
-
148
-
149 uint64_t receive64() {
- -
151 blockingRead((char*)&result, sizeof(uint64_t));
-
152 return swap_uint64(result);
-
153 }
-
154
-
155 uint8_t receive8() {
- -
157 blockingRead((char*)&result, sizeof(uint8_t));
-
158 return result;
-
159 }
-
160
-
161 uint16_t receive(void* data, int len) {
-
162 return blockingRead((char*)data, len);
-
163 }
-
164
-
165 operator boolean() { return io != nullptr; }
-
166
-
167 protected:
-
168 Stream* io = nullptr;
-
169 bool isLittleEndian = !is_big_endian();
-
170 int timeout_ms = 1000;
-
171
-
172 uint16_t blockingRead(void* data, int len, int timeout = 1000) {
-
173 int offset = 0;
-
174 long start = millis();
-
175 while (offset < len && (millis() - start) < timeout) {
-
176 int n = io->readBytes((char*)data + offset, len - offset);
-
177 offset += n;
-
178 }
-
179 return offset;
-
180 }
-
181
-
182 // check if the system is big endian
-
183 bool is_big_endian(void) {
-
184 union {
-
185 uint32_t i;
-
186 char c[4];
-
187 } bint = {0x01020304};
-
188
-
189 return bint.c[0] == 1;
-
190 }
-
191
-
- -
194 if (isLittleEndian) return val;
-
195 return (val << 8) | (val >> 8);
-
196 }
-
-
197
-
- -
200 if (isLittleEndian) return val;
-
201 return (val << 8) | ((val >> 8) & 0xFF);
-
202 }
-
-
203
-
- -
206 if (isLittleEndian) return val;
-
207 val = ((val << 8) & 0xFF00FF00) | ((val >> 8) & 0xFF00FF);
-
208 return (val << 16) | (val >> 16);
-
209 }
-
-
210
-
- -
213 if (isLittleEndian) return val;
-
214 val = ((val << 8) & 0xFF00FF00) | ((val >> 8) & 0xFF00FF);
-
215 return (val << 16) | ((val >> 16) & 0xFFFF);
-
216 }
-
-
217
-
218 int64_t swap_int64(int64_t val) {
-
219 if (isLittleEndian) return val;
-
220 val = ((val << 8) & 0xFF00FF00FF00FF00ULL) |
-
221 ((val >> 8) & 0x00FF00FF00FF00FFULL);
-
222 val = ((val << 16) & 0xFFFF0000FFFF0000ULL) |
-
223 ((val >> 16) & 0x0000FFFF0000FFFFULL);
-
224 return (val << 32) | ((val >> 32) & 0xFFFFFFFFULL);
-
225 }
-
226
-
227 uint64_t swap_uint64(uint64_t val) {
-
228 if (isLittleEndian) return val;
-
229 val = ((val << 8) & 0xFF00FF00FF00FF00ULL) |
-
230 ((val >> 8) & 0x00FF00FF00FF00FFULL);
-
231 val = ((val << 16) & 0xFFFF0000FFFF0000ULL) |
-
232 ((val >> 16) & 0x0000FFFF0000FFFFULL);
-
233 return (val << 32) | (val >> 32);
-
234 }
-
235};
-
-
236
-
237} // namespace arduino
-
Definition DMAPool.h:103
-
Provides a virtualized hardware communication service for SPI, I2C, I2S, and GPIO over a stream.
Definition HardwareService.h:94
-
int32_t swap_int32(int32_t val)
Byte swap int.
Definition HardwareService.h:212
-
uint16_t swap_uint16(uint16_t val)
Byte swap unsigned short.
Definition HardwareService.h:193
-
int16_t swap_int16(int16_t val)
Byte swap short.
Definition HardwareService.h:199
-
uint32_t swap_uint32(uint32_t val)
Byte swap unsigned int.
Definition HardwareService.h:205
-
Definition Stream.h:51
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
HWCalls
We virtualize the hardware and send the requests and replys over a stream.
Definition HardwareService.h:13
-
- - - - diff --git a/docs/html/_hardware_setup_8h_source.html b/docs/html/_hardware_setup_8h_source.html deleted file mode 100644 index d1b7208..0000000 --- a/docs/html/_hardware_setup_8h_source.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/HardwareSetup.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
HardwareSetup.h
-
-
-
1#pragma once
-
2#include "HardwareSetupRemote.h"
-
3#if (defined(USE_RPI))
-
4# include "HardwareSetupRPI.h"
-
5#endif
-
- - - - diff --git a/docs/html/_hardware_setup_r_p_i_8h_source.html b/docs/html/_hardware_setup_r_p_i_8h_source.html deleted file mode 100644 index da07d39..0000000 --- a/docs/html/_hardware_setup_r_p_i_8h_source.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/rasperry_pi/HardwareSetupRPI.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
HardwareSetupRPI.h
-
-
-
1
-
2#pragma once
-
3#if defined(USE_RPI) && !defined(SKIP_HARDWARE_SETUP)
-
4#include "FileStream.h"
-
5#include "HardwareGPIO_RPI.h"
-
6#include "HardwareI2C_RPI.h"
-
7#include "HardwareSPI_RPI.h"
-
8
-
9namespace arduino {
-
10
-
-
15class HardwareSetupRPI : public I2CSource, public SPISource, public GPIOSource {
-
16 public:
-
20 HardwareSetupRPI() = default;
-
21
- -
26
-
-
30 bool begin(bool asDefault = true) {
-
31 Logger.info("Using Raspberry Pi hardware interfaces");
-
32 is_default_objects_active = asDefault;
-
33 gpio.begin();
-
34
-
35 // define the global hardware interfaces
-
36 if (asDefault) {
-
37 GPIO.setGPIO(&gpio);
-
38 SPI.setSPI(&spi);
-
39 Wire.setI2C(&i2c);
-
40 }
-
41
-
42 return gpio && i2c && spi;
-
43 }
-
-
44
-
-
48 void end() {
-
49 if (is_default_objects_active) {
-
50 GPIO.setGPIO(nullptr);
-
51 SPI.setSPI(nullptr);
-
52 Wire.setI2C(nullptr);
-
53 }
-
54 }
-
-
55
-
56 HardwareGPIO_RPI* getGPIO() { return &gpio; }
-
57 HardwareI2C_RPI* getI2C() { return &i2c; }
-
58 HardwareSPI_RPI* getSPI() { return &spi; }
-
59
-
60 protected:
-
61 HardwareGPIO_RPI gpio;
-
62 HardwareI2C_RPI i2c;
-
63 HardwareSPI_RPI spi;
-
64 bool is_default_objects_active = false;
-
65};
-
-
66
- -
74
-
84static FileStream Serial2("/dev/serial0");
-
85
-
86} // namespace arduino
-
87
-
88#endif
-
Definition DMAPool.h:103
-
We use the FileStream class to be able to provide Serail, Serial1 and Serial2 outside of the Arduino ...
Definition FileStream.h:13
-
Abstract interface for providing GPIO hardware implementations.
Definition Sources.h:48
-
void setGPIO(HardwareGPIO *gpio)
defines the gpio implementation: use nullptr to reset.
Definition GPIOWrapper.h:55
-
GPIO hardware abstraction for Raspberry Pi in the Arduino emulator.
Definition HardwareGPIO_RPI.h:22
-
void begin()
Initialize the GPIO hardware interface for Raspberry Pi.
Definition HardwareGPIO_RPI.cpp:15
-
Sets up hardware interfaces for Raspberry Pi (GPIO, I2C, SPI).
Definition HardwareSetupRPI.h:15
-
~HardwareSetupRPI()
Destructor. Cleans up hardware interfaces.
Definition HardwareSetupRPI.h:25
-
bool begin(bool asDefault=true)
Initializes hardware pointers to Raspberry Pi interfaces.
Definition HardwareSetupRPI.h:30
-
HardwareSetupRPI()=default
Constructor. Initializes hardware interfaces.
-
void end()
Resets hardware pointers to nullptr.
Definition HardwareSetupRPI.h:48
-
Abstract interface for providing I2C hardware implementations.
Definition Sources.h:18
-
void setI2C(HardwareI2C *i2c)
defines the i2c implementation: use nullptr to reset.
Definition I2CWrapper.h:56
-
Abstract interface for providing SPI hardware implementations.
Definition Sources.h:33
-
void setSPI(HardwareSPI *spi)
defines the spi implementation: use nullptr to reset.
Definition SPIWrapper.h:53
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
I2CWrapper Wire
Global Wire instance used by Arduino API functions and direct access.
Definition I2CWrapper.cpp:8
-
SPIWrapper SPI
Global SPI instance used by Arduino API and direct access.
Definition SPIWrapper.cpp:9
-
GPIOWrapper GPIO
Global GPIO instance used by Arduino API functions and direct access.
Definition GPIOWrapper.cpp:12
-
static FileStream Serial2("/dev/serial0")
Second hardware serial port for Raspberry Pi.
-
static HardwareSetupRPI RPI
Global instance for Raspberry Pi hardware setup.
Definition HardwareSetupRPI.h:73
-
- - - - diff --git a/docs/html/_hardware_setup_remote_8h_source.html b/docs/html/_hardware_setup_remote_8h_source.html deleted file mode 100644 index 9a4e46f..0000000 --- a/docs/html/_hardware_setup_remote_8h_source.html +++ /dev/null @@ -1,237 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/HardwareSetupRemote.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
HardwareSetupRemote.h
-
-
-
1#pragma once
-
2
-
3#include <exception>
-
4
-
5#include "ArduinoLogger.h"
-
6#include "GPIOWrapper.h"
-
7#include "I2CWrapper.h"
-
8#include "RemoteGPIO.h"
-
9#include "RemoteI2C.h"
-
10#include "RemoteSPI.h"
-
11#include "SPIWrapper.h"
-
12#include "WiFiUdpStream.h"
-
13
-
14namespace arduino {
-
15
-
- -
40 public SPISource,
-
41 public GPIOSource {
-
42 public:
- -
45
- -
48
-
50 HardwareSetupRemote(int port) { this->port = port; }
-
51
-
-
53 bool begin(Stream* s, bool asDefault = true, bool doHandShake = true) {
-
54 p_stream = s;
-
55
-
56 i2c.setStream(s);
-
57 spi.setStream(s);
-
58 gpio.setStream(s);
-
59
-
60 // setup global objects
-
61 if (asDefault) {
-
62 SPI.setSPI(&spi);
-
63 Wire.setI2C(&i2c);
-
64 GPIO.setGPIO(&gpio);
-
65 }
-
66
-
67 if (doHandShake) {
-
68 handShake(s);
-
69 }
-
70 return i2c && spi && gpio;
-
71 }
-
-
72
-
-
74 void begin(int port, bool asDefault) {
-
75 this->port = port;
- -
77 }
-
-
78
-
-
80 void begin(bool asDefault = true) {
-
81 is_default_objects_active = asDefault;
-
82 if (p_stream == nullptr) {
-
83 default_stream.begin(port);
-
84 handShake(&default_stream);
-
85 IPAddress ip = default_stream.remoteIP();
-
86 int remote_port = default_stream.remotePort();
-
87 default_stream.setTarget(ip, remote_port);
-
88 default_stream.write((const uint8_t*)"OK", 2);
-
89 default_stream.flush();
-
90 begin(&default_stream, asDefault, false);
-
91 } else {
-
92 begin(p_stream, asDefault, true);
-
93 }
-
94 }
-
-
95
-
96 void end() {
-
97 if (is_default_objects_active) {
-
98 GPIO.setGPIO(nullptr);
-
99 SPI.setSPI(nullptr);
-
100 Wire.setI2C(nullptr);
-
101 }
-
102 if (p_stream == &default_stream) {
-
103 default_stream.stop();
-
104 }
-
105 }
-
106
-
107 HardwareGPIO* getGPIO() { return &gpio; }
-
108 HardwareI2C* getI2C() { return &i2c; }
-
109 HardwareSPI* getSPI() { return &spi; }
-
110
-
111 protected:
-
112 WiFiUDPStream default_stream;
-
113 Stream* p_stream = nullptr;
-
114 RemoteI2C i2c;
-
115 RemoteSPI spi;
-
116 RemoteGPIO gpio;
-
117 int port;
-
118 bool is_default_objects_active = false;
-
119
-
120 void handShake(Stream* s) {
-
121 while (true) {
-
122 Logger.warning("HardwareSetup", "waiting for device...");
-
123 try {
-
124 // we wait for the Arduino to send us the Arduino-Emulator string
-
125 if (s->available() >= 16) {
-
126 char buffer[30];
-
127 int len = s->readBytes(buffer, 18);
-
128 buffer[len] = 0;
-
129 if (strncmp(buffer, "Arduino-Emulator", 16)) {
-
130 Logger.info("WiFiUDPStream", "device found!");
-
131 break;
-
132 } else {
-
133 Logger.info("WiFiUDPStream", "unknown command", buffer);
-
134 }
-
135 }
-
136 delay(10000);
-
137 } catch (const std::exception& ex) {
-
138 Logger.error("WiFiUDPStream", ex.what());
-
139 }
-
140 }
-
141 }
-
142};
-
-
143
-
144#if !defined(SKIP_HARDWARE_SETUP)
-
145static HardwareSetupRemote Remote{7000};
-
146#endif
-
147
-
148} // namespace arduino
-
Definition DMAPool.h:103
-
Abstract interface for providing GPIO hardware implementations.
Definition Sources.h:48
-
void setGPIO(HardwareGPIO *gpio)
defines the gpio implementation: use nullptr to reset.
Definition GPIOWrapper.h:55
-
Configures and manages remote hardware interfaces for Arduino emulation.
Definition HardwareSetupRemote.h:41
-
void begin(int port, bool asDefault)
start with udp on the indicatd port
Definition HardwareSetupRemote.h:74
-
HardwareSetupRemote()=default
default constructor: you need to call begin() afterwards
-
HardwareSetupRemote(Stream &stream)
HardwareSetup uses the indicated stream.
Definition HardwareSetupRemote.h:47
-
void begin(bool asDefault=true)
start with the default udp stream.
Definition HardwareSetupRemote.h:80
-
bool begin(Stream *s, bool asDefault=true, bool doHandShake=true)
assigns the different protocols to the stream
Definition HardwareSetupRemote.h:53
-
HardwareSetupRemote(int port)
HardwareSetup that uses udp.
Definition HardwareSetupRemote.h:50
-
Abstract interface for providing I2C hardware implementations.
Definition Sources.h:18
-
void setI2C(HardwareI2C *i2c)
defines the i2c implementation: use nullptr to reset.
Definition I2CWrapper.h:56
-
Definition IPAddress.h:43
-
Abstract interface for providing SPI hardware implementations.
Definition Sources.h:33
-
void setSPI(HardwareSPI *spi)
defines the spi implementation: use nullptr to reset.
Definition SPIWrapper.h:53
-
Definition Stream.h:51
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
I2CWrapper Wire
Global Wire instance used by Arduino API functions and direct access.
Definition I2CWrapper.cpp:8
-
SPIWrapper SPI
Global SPI instance used by Arduino API and direct access.
Definition SPIWrapper.cpp:9
-
GPIOWrapper GPIO
Global GPIO instance used by Arduino API functions and direct access.
Definition GPIOWrapper.cpp:12
-
- - - - diff --git a/docs/html/_i2_c_wrapper_8h_source.html b/docs/html/_i2_c_wrapper_8h_source.html deleted file mode 100644 index e7d9a87..0000000 --- a/docs/html/_i2_c_wrapper_8h_source.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/I2CWrapper.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
I2CWrapper.h
-
-
-
1#pragma once
-
2
-
3#include "Sources.h"
-
4#include "api/HardwareI2C.h"
-
5
-
6namespace arduino {
-
7
-
-
33class I2CWrapper : public HardwareI2C {
-
34 public:
-
35 I2CWrapper() = default;
- -
37 I2CWrapper(HardwareI2C& i2c) { setI2C(&i2c); }
-
38 ~I2CWrapper() = default;
-
39 void begin();
-
40 void begin(uint8_t address);
-
41 void end();
-
42 void setClock(uint32_t freq);
-
43 void beginTransmission(uint8_t address);
-
44 uint8_t endTransmission(bool stopBit);
-
45 uint8_t endTransmission(void);
-
46 size_t requestFrom(uint8_t address, size_t len, bool stopBit);
-
47 size_t requestFrom(uint8_t address, size_t len);
-
48 void onReceive(void (*)(int));
-
49 void onRequest(void (*)(void));
-
50 size_t write(uint8_t);
-
51 int available();
-
52 int read();
-
53 int peek();
-
54
-
-
56 void setI2C(HardwareI2C* i2c) {
-
57 p_i2c = i2c;
-
58 p_source = nullptr;
-
59 }
-
-
- -
62 p_source = source;
-
63 p_i2c = nullptr;
-
64 }
-
-
65
-
66 protected:
-
67 HardwareI2C* p_i2c = nullptr;
-
68 I2CSource* p_source = nullptr;
-
69
-
70 HardwareI2C* getI2C() {
-
71 HardwareI2C* result = p_i2c;
-
72 if (result == nullptr) {
-
73 result = p_source->getI2C();
-
74 }
-
75 return result;
-
76 }
-
77};
-
-
78
-
80extern I2CWrapper Wire;
-
81
- -
84
-
85} // namespace arduino
-
Definition DMAPool.h:103
-
Definition HardwareI2C.h:28
-
Abstract interface for providing I2C hardware implementations.
Definition Sources.h:18
-
I2C wrapper class that provides flexible hardware abstraction.
Definition I2CWrapper.h:33
-
void setSource(I2CSource *source)
alternatively defines a class that provides the I2C implementation
Definition I2CWrapper.h:61
-
void setI2C(HardwareI2C *i2c)
defines the i2c implementation: use nullptr to reset.
Definition I2CWrapper.h:56
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
I2CWrapper Wire
Global Wire instance used by Arduino API functions and direct access.
Definition I2CWrapper.cpp:8
-
- - - - diff --git a/docs/html/_i_p_address_8h_source.html b/docs/html/_i_p_address_8h_source.html deleted file mode 100644 index 7474138..0000000 --- a/docs/html/_i_p_address_8h_source.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/IPAddress.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
IPAddress.h
-
-
-
1/*
-
2 IPAddress.h - Base class that provides IPAddress
-
3 Copyright (c) 2011 Adrian McEwen. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#pragma once
-
21
-
22#include <stdint.h>
-
23#include "Printable.h"
-
24#include "String.h"
-
25
-
26#define IPADDRESS_V4_BYTES_INDEX 12
-
27#define IPADDRESS_V4_DWORD_INDEX 3
-
28
-
29// forward declarations of global name space friend classes
-
30class EthernetClass;
-
31class DhcpClass;
-
32class DNSClient;
-
33
-
34namespace arduino {
-
35
-
36// A class to make it easier to handle and pass around IP addresses
-
37
-
38enum IPType {
-
39 IPv4,
-
40 IPv6
-
41};
-
42
-
-
43class IPAddress : public Printable {
-
44private:
-
45 union {
-
46 uint8_t bytes[16];
-
47 uint32_t dword[4];
-
48 } _address;
-
49 IPType _type;
-
50
-
51 // Access the raw byte array containing the address. Because this returns a pointer
-
52 // to the internal structure rather than a copy of the address this function should only
-
53 // be used when you know that the usage of the returned uint8_t* will be transient and not
-
54 // stored.
-
55 uint8_t* raw_address() { return _type == IPv4 ? &_address.bytes[IPADDRESS_V4_BYTES_INDEX] : _address.bytes; }
-
56
-
57public:
-
58 // Constructors
-
59
-
60 // Default IPv4
-
61 IPAddress();
-
62 IPAddress(IPType ip_type);
- - -
65 // IPv4; see implementation note
-
66 IPAddress(uint32_t address);
-
67 // Default IPv4
-
68 IPAddress(const uint8_t *address);
-
69 IPAddress(IPType ip_type, const uint8_t *address);
-
70 // If IPv4 fails tries IPv6 see fromString function
-
71 IPAddress(const char *address);
-
72
-
73 bool fromString(const char *address);
-
74 bool fromString(const String &address) { return fromString(address.c_str()); }
-
75
-
76 // Overloaded cast operator to allow IPAddress objects to be used where a uint32_t is expected
-
77 // NOTE: IPv4 only; see implementation note
-
78 operator uint32_t() const { return _type == IPv4 ? _address.dword[IPADDRESS_V4_DWORD_INDEX] : 0; };
-
79
-
80 bool operator==(const IPAddress& addr) const;
-
81 bool operator!=(const IPAddress& addr) const { return !(*this == addr); };
-
82
-
83 // NOTE: IPv4 only; we don't know the length of the pointer
-
84 bool operator==(const uint8_t* addr) const;
-
85
-
86 // Overloaded index operator to allow getting and setting individual octets of the address
-
87 uint8_t operator[](int index) const;
-
88 uint8_t& operator[](int index);
-
89
-
90 // Overloaded copy operators to allow initialisation of IPAddress objects from other types
-
91 // NOTE: IPv4 only
-
92 IPAddress& operator=(const uint8_t *address);
-
93 // NOTE: IPv4 only; see implementation note
-
94 IPAddress& operator=(uint32_t address);
-
95 // If IPv4 fails tries IPv6 see fromString function
-
96 IPAddress& operator=(const char *address);
-
97
-
98 virtual size_t printTo(Print& p) const;
-
99 String toString() const;
-
100
-
101 IPType type() const { return _type; }
-
102
-
103 friend class UDP;
-
104 friend class Client;
-
105 friend class Server;
-
106
-
107 friend ::EthernetClass;
-
108 friend ::DhcpClass;
-
109 friend ::DNSClient;
-
110
-
111protected:
-
112 bool fromString4(const char *address);
-
113 bool fromString6(const char *address);
-
114 String toString4() const;
-
115 String toString6() const;
-
116};
-
-
117
-
118extern const IPAddress IN6ADDR_ANY;
-
119extern const IPAddress INADDR_NONE;
-
120}
-
121
- -
Definition Client.h:27
-
Definition DMAPool.h:103
-
Definition IPAddress.h:43
-
Definition Print.h:36
-
Definition Printable.h:35
-
Definition Server.h:26
-
Definition String.h:53
-
Definition Udp.h:42
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_interrupts_8h_source.html b/docs/html/_interrupts_8h_source.html deleted file mode 100644 index c1d17c7..0000000 --- a/docs/html/_interrupts_8h_source.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/Interrupts.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Interrupts.h
-
-
-
1/*
-
2 Interrupts.h - Arduino interrupt management functions
-
3 Copyright (c) 2018 Arduino LLC. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#ifndef W_INTERRUPTS_CPP
-
21#define W_INTERRUPTS_CPP
-
22#ifdef __cplusplus
-
23
-
24#include <stdlib.h>
-
25#include <stdbool.h>
-
26#include <stdint.h>
-
27#include "Common.h"
-
28
-
29namespace arduino {
-
30
-
31template <typename T>
-
32using voidTemplateFuncPtrParam = void (*)(T param);
-
33
-
-
34template<typename T> struct __container__ {
-
35 void* param;
- -
37};
-
-
38
-
39// C++ only overloaded version of attachInterrupt function
-
40template<typename T> void attachInterrupt(pin_size_t interruptNum, voidTemplateFuncPtrParam<T> userFunc, PinStatus mode, T& param) {
-
41
-
42 struct __container__<T> *cont = new __container__<T>();
-
43 cont->param = &param;
-
44 cont->function = userFunc;
-
45
-
46 // TODO: check lambda scope
-
47 // TODO: add structure to delete(__container__) when detachInterrupt() is called
-
48 auto f = [](void* a) -> void
-
49 {
-
50 T param = *(T*)((struct __container__<T>*)a)->param;
-
51 (((struct __container__<T>*)a)->function)(param);
-
52 };
-
53
-
54 attachInterruptParam(interruptNum, f, mode, cont);
-
55}
-
56
-
57template<typename T> void attachInterrupt(pin_size_t interruptNum, voidTemplateFuncPtrParam<T*> userFunc, PinStatus mode, T* param) {
-
58 attachInterruptParam(interruptNum, (voidFuncPtrParam)userFunc, mode, (void*)param);
-
59}
-
60
-
61}
-
62#endif
-
63#endif
-
Definition DMAPool.h:103
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
Definition Interrupts.h:34
-
- - - - diff --git a/docs/html/_millis_fake_8h_source.html b/docs/html/_millis_fake_8h_source.html deleted file mode 100644 index 3eba5e7..0000000 --- a/docs/html/_millis_fake_8h_source.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/include/MillisFake.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
MillisFake.h
-
-
-
1/*
-
2 * Copyright (c) 2020 Arduino. All rights reserved.
-
3 *
-
4 * SPDX-License-Identifier: LGPL-2.1-or-later
-
5 */
-
6
-
7#ifndef MILLIS_FAKE_H_
-
8#define MILLIS_FAKE_H_
-
9
-
10/**************************************************************************************
-
11 * INCLUDE
-
12 **************************************************************************************/
-
13
-
14#include <api/Common.h>
-
15
-
16/**************************************************************************************
-
17 * FUNCTION DECLARATION
-
18 **************************************************************************************/
-
19
-
20#ifdef __cplusplus
-
21extern "C" {
-
22#endif
-
23
-
24void millis_autoOn();
-
25void millis_autoOff();
-
26void set_millis(unsigned long const val);
-
27
-
28#ifdef __cplusplus
-
29}
-
30#endif
-
31
-
32#endif /* MILLIS_FAKE_H_ */
-
- - - - diff --git a/docs/html/_network_client_secure_8h_source.html b/docs/html/_network_client_secure_8h_source.html deleted file mode 100644 index 0a9dd73..0000000 --- a/docs/html/_network_client_secure_8h_source.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/NetworkClientSecure.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
NetworkClientSecure.h
-
-
-
1#pragma once
-
2#if defined(USE_HTTPS)
-
3#include <errno.h>
-
4#include <wolfssl/options.h>
-
5#include <wolfssl/ssl.h>
-
6
-
7#include "Ethernet.h"
-
8#include "SocketImpl.h"
-
9
-
10namespace arduino {
-
11
-
12#define SOCKET_IMPL_SEC "SocketImplSecure"
-
13
-
14static int wolf_ssl_counter = 0;
-
15static WOLFSSL_CTX* wolf_ctx = nullptr;
-
16
-
- -
22 public:
- -
24 if (wolf_ssl_counter++ == 0 || wolf_ctx == nullptr) {
- -
26 if ((wolf_ctx = wolfSSL_CTX_new(wolfTLS_client_method())) == NULL) {
-
27 Logger.error(SOCKET_IMPL_SEC, "wolfSSL_CTX_new error.");
-
28 }
-
29 }
-
30 if ((ssl = wolfSSL_new(wolf_ctx)) == NULL) {
-
31 Logger.error(SOCKET_IMPL_SEC, "wolfSSL_new error.");
-
32 }
-
33 }
-
34
- -
36 if (ssl) {
-
37 wolfSSL_free(ssl);
-
38 ssl = nullptr;
-
39 }
-
40 if (--wolf_ssl_counter == 0 && wolf_ctx) {
-
41 wolfSSL_CTX_free(wolf_ctx);
-
42 wolf_ctx = nullptr;
- -
44 }
-
45 }
-
46 // direct read
-
47 size_t read(uint8_t* buffer, size_t len) {
-
48 // size_t result = ::recv(sock, buffer, len, MSG_DONTWAIT );
-
49 if (ssl == nullptr) {
-
50 wolfSSL_set_fd(ssl, sock);
-
51 }
-
52 int result = ::wolfSSL_read(ssl, buffer, len);
-
53
-
54 if (result < 0) {
-
55 result = 0;
-
56 }
-
57 //
-
58 char lenStr[80];
-
59 sprintf(lenStr, "%ld -> %d", len, result);
-
60 Logger.debug(SOCKET_IMPL_SEC, "read->", lenStr);
-
61
-
62 return result;
-
63 }
-
64
-
65 int connect(const char* address, uint16_t port) override {
-
66 // Create socket
-
67 sock = ::socket(AF_INET, SOCK_STREAM, 0);
-
68 if (sock < 0) {
-
69 Logger.error(SOCKET_IMPL_SEC, "Socket creation failed");
-
70 return -1;
-
71 }
-
72
-
73 // Setup server address
-
74 memset(&serv_addr, 0, sizeof(serv_addr));
-
75 serv_addr.sin_family = AF_INET;
-
76 serv_addr.sin_port = htons(port);
-
77 if (::inet_pton(AF_INET, address, &serv_addr.sin_addr) <= 0) {
-
78 Logger.error(SOCKET_IMPL_SEC, "Invalid address", address);
-
79 ::close(sock);
-
80 sock = -1;
-
81 return -1;
-
82 }
-
83
-
84 // Connect to server
-
85 if (::connect(sock, (struct sockaddr*)&serv_addr, sizeof(serv_addr)) < 0) {
-
86 Logger.error(SOCKET_IMPL_SEC, "Connection failed");
-
87 ::close(sock);
-
88 sock = -1;
-
89 return -1;
-
90 }
-
91
-
92 // Set SSL file descriptor
-
93 wolfSSL_set_fd(ssl, sock);
-
94
-
95 // Set SNI (Server Name Indication) if needed
-
96 wolfSSL_UseSNI(ssl, WOLFSSL_SNI_HOST_NAME, address, strlen(address));
-
97
-
98 // Perform SSL handshake
-
99 int rc = wolfSSL_connect(ssl);
-
100 if (rc != SSL_SUCCESS) {
-
101 int err = wolfSSL_get_error(ssl, rc);
- -
103 char msg[160];
-
104 snprintf(msg, sizeof(msg),
-
105 "SSL handshake failed, error code: %d reason: %s", err,
-
106 errStr ? errStr : "unknown");
-
107 Logger.error(SOCKET_IMPL_SEC, msg);
-
108 ::close(sock);
-
109 sock = -1;
-
110 return -1;
-
111 }
-
112
-
113 is_connected = true;
-
114 return 1;
-
115 }
-
116
-
117 // send the data via the socket - returns the number of characters written or
-
118 // -1=>Error
-
119 size_t write(const uint8_t* str, size_t len) {
-
120 Logger.debug(SOCKET_IMPL_SEC, "write");
-
121 if (ssl == nullptr) {
-
122 wolfSSL_set_fd(ssl, sock);
-
123 }
-
124 // return ::send(sock , str , len , 0 );
-
125 return ::wolfSSL_write(ssl, str, len);
-
126 }
-
127
-
128 void setCACert(const char* cert) override {
-
129 if (wolf_ctx == nullptr) return;
-
130 // Load CA certificate from a PEM string
-
131 int ret =
-
132 wolfSSL_CTX_load_verify_buffer(wolf_ctx, (const unsigned char*)cert,
- -
134 if (ret != SSL_SUCCESS) {
-
135 Logger.error(SOCKET_IMPL_SEC, "Failed to load CA certificate");
-
136 }
-
137 }
-
138
-
139 void setInsecure() {
-
140 is_insecure = true;
-
141 if (wolf_ctx == nullptr) return;
-
142 // Disable certificate verification on context
-
143 wolfSSL_CTX_set_verify(wolf_ctx, SSL_VERIFY_NONE, nullptr);
-
144 // Also disable on SSL object if already created
-
145 if (ssl) wolfSSL_set_verify(ssl, SSL_VERIFY_NONE, nullptr);
-
146 }
-
147
-
148 protected:
-
149 WOLFSSL* ssl = nullptr;
-
150 bool is_insecure = false;
-
151};
-
-
152
-
- -
157 public:
-
158 NetworkClientSecure(int bufferSize = 256, long timeout = 2000)
-
159 : EthernetClient(new SocketImplSecure(), bufferSize, timeout) {}
-
160 void setCACert(const char* cert) override { p_sock->setCACert(cert); }
-
161 void setInsecure() override { p_sock->setInsecure(); }
-
162};
-
-
163
-
164} // namespace arduino
-
165
-
166#endif
-
Definition DMAPool.h:103
-
Definition Ethernet.h:42
-
NetworkClientSecure based on wolf ssl.
Definition NetworkClientSecure.h:156
-
Definition SocketImpl.h:11
-
SSL Socket using wolf ssl. For error codes see https://wolfssl.jp/docs-3/wolfssl-manual/appendix-c.
Definition NetworkClientSecure.h:21
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_pluggable_u_s_b_8h_source.html b/docs/html/_pluggable_u_s_b_8h_source.html deleted file mode 100644 index 94f136f..0000000 --- a/docs/html/_pluggable_u_s_b_8h_source.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/PluggableUSB.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
PluggableUSB.h
-
-
-
1/*
-
2 PluggableUSB.h
-
3 Copyright (c) 2015 Arduino LLC
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#ifndef PUSB_h
-
21#define PUSB_h
-
22
-
23#include "USBAPI.h"
-
24#include <stdint.h>
-
25#include <stddef.h>
-
26
-
27namespace arduino {
-
28
-
- -
30public:
- -
32 numEndpoints(numEps), numInterfaces(numIfs), endpointType(epType)
-
33 { }
-
34
-
35protected:
-
36 virtual bool setup(USBSetup& setup) = 0;
-
37 virtual int getInterface(uint8_t* interfaceCount) = 0;
-
38 virtual int getDescriptor(USBSetup& setup) = 0;
-
39 virtual uint8_t getShortName(char *name) { name[0] = 'A'+pluggedInterface; return 1; }
-
40
-
41 uint8_t pluggedInterface;
-
42 uint8_t pluggedEndpoint;
-
43
-
44 const uint8_t numEndpoints;
-
45 const uint8_t numInterfaces;
-
46 const unsigned int *endpointType;
-
47
- -
49
-
50 friend class PluggableUSB_;
-
51};
-
-
52
-
- -
54public:
- -
56 bool plug(PluggableUSBModule *node);
-
57 int getInterface(uint8_t* interfaceCount);
-
58 int getDescriptor(USBSetup& setup);
-
59 bool setup(USBSetup& setup);
-
60 void getShortName(char *iSerialNum);
-
61
-
62private:
-
63 uint8_t lastIf;
-
64 uint8_t lastEp;
-
65 PluggableUSBModule* rootNode;
-
66 uint8_t totalEP;
-
67};
-
-
68}
-
69
-
70// core need to define
-
71void* epBuffer(unsigned int n); // -> returns a pointer to the Nth element of the EP buffer structure
-
72
-
73// Replacement for global singleton.
-
74// This function prevents static-initialization-order-fiasco
-
75// https://isocpp.org/wiki/faq/ctors#static-init-order-on-first-use
-
76arduino::PluggableUSB_& PluggableUSB();
-
77
-
78#endif
-
Definition DMAPool.h:103
-
Definition PluggableUSB.h:53
-
Definition PluggableUSB.h:29
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_print_8h_source.html b/docs/html/_print_8h_source.html deleted file mode 100644 index 6b8536a..0000000 --- a/docs/html/_print_8h_source.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/Print.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Print.h
-
-
-
1/*
-
2 Print.h - Base class that provides print() and println()
-
3 Copyright (c) 2016 Arduino LLC. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#pragma once
-
21
-
22#include <inttypes.h>
-
23#include <stdio.h> // for size_t
-
24
-
25#include "String.h"
-
26#include "Printable.h"
-
27
-
28#define DEC 10
-
29#define HEX 16
-
30#define OCT 8
-
31#define BIN 2
-
32
-
33namespace arduino {
-
34
-
-
35class Print
-
36{
-
37 private:
-
38 int write_error;
-
39 size_t printNumber(unsigned long, uint8_t);
-
40 size_t printULLNumber(unsigned long long, uint8_t);
-
41 size_t printFloat(double, int);
-
42 protected:
-
43 void setWriteError(int err = 1) { write_error = err; }
-
44 public:
-
45 Print() : write_error(0) {}
-
46
-
47 int getWriteError() { return write_error; }
-
48 void clearWriteError() { setWriteError(0); }
-
49
-
50 virtual size_t write(uint8_t) = 0;
-
51 size_t write(const char *str) {
-
52 if (str == NULL) return 0;
-
53 return write((const uint8_t *)str, strlen(str));
-
54 }
-
55 virtual size_t write(const uint8_t *buffer, size_t size);
-
56 size_t write(const char *buffer, size_t size) {
-
57 return write((const uint8_t *)buffer, size);
-
58 }
-
59
-
60 // default to zero, meaning "a single write may block"
-
61 // should be overridden by subclasses with buffering
-
62 virtual int availableForWrite() { return 0; }
-
63
-
64 size_t print(const __FlashStringHelper *);
-
65 size_t print(const String &);
-
66 size_t print(const char[]);
-
67 size_t print(char);
-
68 size_t print(unsigned char, int = DEC);
-
69 size_t print(int, int = DEC);
-
70 size_t print(unsigned int, int = DEC);
-
71 size_t print(long, int = DEC);
-
72 size_t print(unsigned long, int = DEC);
-
73 size_t print(long long, int = DEC);
-
74 size_t print(unsigned long long, int = DEC);
-
75 size_t print(double, int = 2);
-
76 size_t print(const Printable&);
-
77
-
78 size_t println(const __FlashStringHelper *);
-
79 size_t println(const String &s);
-
80 size_t println(const char[]);
-
81 size_t println(char);
-
82 size_t println(unsigned char, int = DEC);
-
83 size_t println(int, int = DEC);
-
84 size_t println(unsigned int, int = DEC);
-
85 size_t println(long, int = DEC);
-
86 size_t println(unsigned long, int = DEC);
-
87 size_t println(long long, int = DEC);
-
88 size_t println(unsigned long long, int = DEC);
-
89 size_t println(double, int = 2);
-
90 size_t println(const Printable&);
-
91 size_t println(void);
-
92
-
93 virtual void flush() { /* Empty implementation for backward compatibility */ }
-
94};
-
-
95
-
96}
-
97using arduino::Print;
-
Definition DMAPool.h:103
-
Definition Print.h:36
-
Definition Printable.h:35
-
Definition String.h:53
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_print_mock_8h_source.html b/docs/html/_print_mock_8h_source.html deleted file mode 100644 index b166138..0000000 --- a/docs/html/_print_mock_8h_source.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/include/PrintMock.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
PrintMock.h
-
-
-
1/*
-
2 * Copyright (c) 2020 Arduino. All rights reserved.
-
3 *
-
4 * SPDX-License-Identifier: LGPL-2.1-or-later
-
5 */
-
6
-
7#ifndef PRINT_MOCK_H_
-
8#define PRINT_MOCK_H_
-
9
-
10/**************************************************************************************
-
11 * INCLUDE
-
12 **************************************************************************************/
-
13
-
14#include <string>
-
15
-
16#include <api/Print.h>
-
17
-
18/**************************************************************************************
-
19 * CLASS DECLARATION
-
20 **************************************************************************************/
-
21
-
-
22class PrintMock : public Print
-
23{
-
24public:
-
25 std::string _str;
-
26 virtual size_t write(uint8_t b) override;
-
27 void mock_setWriteError() { setWriteError(); }
-
28 void mock_setWriteError(int err) { setWriteError(err); }
-
29};
-
-
30
-
31#endif /* PRINT_MOCK_H_ */
-
Definition PrintMock.h:23
-
- - - - diff --git a/docs/html/_printable_8h_source.html b/docs/html/_printable_8h_source.html deleted file mode 100644 index 0992c5a..0000000 --- a/docs/html/_printable_8h_source.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/Printable.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Printable.h
-
-
-
1/*
-
2 Printable.h - Interface for classes that can be printed via Print
-
3 Copyright (c) 2016 Arduino LLC. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#pragma once
-
21
-
22#include <stdlib.h>
-
23
-
24namespace arduino {
-
25
-
26class Print;
-
27
-
- -
35{
-
36 public:
-
37 virtual size_t printTo(Print& p) const = 0;
-
38};
-
-
39
-
40}
-
Definition Print.h:36
-
Definition Printable.h:35
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_printable_mock_8h_source.html b/docs/html/_printable_mock_8h_source.html deleted file mode 100644 index a865e0f..0000000 --- a/docs/html/_printable_mock_8h_source.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/include/PrintableMock.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
PrintableMock.h
-
-
-
1/*
-
2 * Copyright (c) 2020 Arduino. All rights reserved.
-
3 *
-
4 * SPDX-License-Identifier: LGPL-2.1-or-later
-
5 */
-
6
-
7#ifndef PRINTABLE_MOCK_H_
-
8#define PRINTABLE_MOCK_H_
-
9
-
10/**************************************************************************************
-
11 * INCLUDE
-
12 **************************************************************************************/
-
13
-
14#include <string>
-
15
-
16#include <api/Printable.h>
-
17
-
18/**************************************************************************************
-
19 * CLASS DECLARATION
-
20 **************************************************************************************/
-
21
-
- -
23{
-
24public:
-
25 int _i;
-
26 virtual size_t printTo(arduino::Print& p) const override
-
27 {
-
28 size_t written = 0;
-
29 written += p.print("PrintableMock i = ");
-
30 written += p.print(_i);
-
31 return written;
-
32 }
-
33};
-
-
34
-
35#endif /* PRINTABLE_MOCK_H_ */
-
Definition PrintableMock.h:23
-
Definition Print.h:36
-
Definition Printable.h:35
-
- - - - diff --git a/docs/html/_remote_g_p_i_o_8h_source.html b/docs/html/_remote_g_p_i_o_8h_source.html deleted file mode 100644 index cba6260..0000000 --- a/docs/html/_remote_g_p_i_o_8h_source.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/RemoteGPIO.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
RemoteGPIO.h
-
-
-
1#pragma once
-
2
-
3#include "HardwareGPIO.h"
-
4#include "HardwareService.h"
-
5
-
6namespace arduino {
-
7
-
-
32class RemoteGPIO : public HardwareGPIO {
-
33 public:
-
34 RemoteGPIO() = default;
-
35 RemoteGPIO(Stream* stream) { service.setStream(stream); }
-
36 void setStream(Stream* stream) { service.setStream(stream); }
-
37
-
-
38 void pinMode(pin_size_t pinNumber, PinMode pinMode) {
-
39 service.send((uint16_t)GpioPinMode);
-
40 service.send((int8_t)pinNumber);
-
41 service.send((int8_t)pinMode);
-
42 service.flush();
-
43 }
-
-
44
-
-
45 void digitalWrite(pin_size_t pinNumber, PinStatus status) {
-
46 service.send((uint16_t)GpioDigitalWrite);
-
47 service.send((uint8_t)pinNumber);
-
48 service.send((uint8_t)status);
-
49 service.flush();
-
50 }
-
-
51
-
-
52 PinStatus digitalRead(pin_size_t pinNumber) {
-
53 service.send((uint16_t)GpioDigitalRead);
-
54 service.send((uint8_t)pinNumber);
-
55 service.flush();
-
56 return (PinStatus)service.receive8();
-
57 }
-
-
58
-
-
59 int analogRead(pin_size_t pinNumber) {
-
60 service.send((uint16_t)GpioAnalogRead);
-
61 service.send((uint8_t)pinNumber);
-
62 service.flush();
-
63 return service.receive16();
-
64 }
-
-
65
-
- -
67 service.send((uint16_t)GpioAnalogReference);
-
68 service.send(mode);
-
69 service.flush();
-
70 }
-
-
71
-
-
72 void analogWrite(pin_size_t pinNumber, int value) {
-
73 service.send((uint16_t)GpioAnalogWrite);
-
74 service.send((uint8_t)pinNumber);
-
75 service.send(value);
-
76 service.flush();
-
77 }
-
-
78
-
-
79 virtual void tone(uint8_t pinNumber, unsigned int frequency,
-
80 unsigned long duration = 0) {
-
81 service.send((uint16_t)GpioTone);
-
82 service.send((uint8_t)pinNumber);
-
83 service.send(frequency);
-
84 service.send((uint64_t)duration);
-
85 service.flush();
-
86 }
-
-
87
-
-
88 virtual void noTone(uint8_t pinNumber) {
-
89 service.send((uint16_t)GpioNoTone);
-
90 service.send((uint8_t)pinNumber);
-
91 service.flush();
-
92 }
-
-
93
-
-
94 virtual unsigned long pulseIn(uint8_t pinNumber, uint8_t state,
-
95 unsigned long timeout = 1000000L) {
-
96 service.send((uint16_t)GpioPulseIn);
-
97 service.send((uint8_t)pinNumber);
-
98 service.send(state);
-
99 service.send((uint64_t)timeout);
-
100 service.flush();
-
101 return service.receive64();
-
102 }
-
-
103
-
-
104 virtual unsigned long pulseInLong(uint8_t pinNumber, uint8_t state,
-
105 unsigned long timeout = 1000000L) {
-
106 service.send((uint16_t)GpioPulseInLong);
-
107 service.send((uint8_t)pinNumber);
-
108 service.send(state);
-
109 service.send((uint64_t)timeout);
-
110 service.flush();
-
111 return service.receive64();
-
112 }
-
-
113
-
114 operator boolean() { return service; }
-
115
-
116 protected:
-
117 HardwareService service;
-
118};
-
-
119
-
120} // namespace arduino
-
Definition DMAPool.h:103
-
Abstract base class for GPIO (General Purpose Input/Output) functions.
Definition HardwareGPIO.h:33
-
Remote GPIO implementation that operates over a communication stream.
Definition RemoteGPIO.h:32
-
void analogWrite(pin_size_t pinNumber, int value)
Write an analog value (PWM wave) to a pin.
Definition RemoteGPIO.h:72
-
void analogReference(uint8_t mode)
Configure the reference voltage used for analog input.
Definition RemoteGPIO.h:66
-
void digitalWrite(pin_size_t pinNumber, PinStatus status)
Write a HIGH or LOW value to a digital pin.
Definition RemoteGPIO.h:45
-
virtual void tone(uint8_t pinNumber, unsigned int frequency, unsigned long duration=0)
Generate a square wave of the specified frequency on a pin.
Definition RemoteGPIO.h:79
-
void pinMode(pin_size_t pinNumber, PinMode pinMode)
Configure the specified pin to behave as an input or output.
Definition RemoteGPIO.h:38
-
virtual void noTone(uint8_t pinNumber)
Stop the generation of a square wave triggered by tone()
Definition RemoteGPIO.h:88
-
PinStatus digitalRead(pin_size_t pinNumber)
Read the value from a specified digital pin.
Definition RemoteGPIO.h:52
-
virtual unsigned long pulseInLong(uint8_t pinNumber, uint8_t state, unsigned long timeout=1000000L)
Alternative to pulseIn() which is better at handling long pulses.
Definition RemoteGPIO.h:104
-
int analogRead(pin_size_t pinNumber)
Read the value from the specified analog pin.
Definition RemoteGPIO.h:59
-
virtual unsigned long pulseIn(uint8_t pinNumber, uint8_t state, unsigned long timeout=1000000L)
Read a pulse (HIGH or LOW) on a pin.
Definition RemoteGPIO.h:94
-
Definition Stream.h:51
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_remote_i2_c_8h_source.html b/docs/html/_remote_i2_c_8h_source.html deleted file mode 100644 index a83fdf0..0000000 --- a/docs/html/_remote_i2_c_8h_source.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/RemoteI2C.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
RemoteI2C.h
-
-
-
1#pragma once
-
2#include "Stream.h"
-
3#include "api/HardwareI2C.h"
-
4#include "HardwareService.h"
-
5
-
6namespace arduino {
-
7
-
-
30class RemoteI2C : public HardwareI2C {
-
31 public:
-
32 RemoteI2C() = default;
-
33 RemoteI2C(Stream* stream) { service.setStream(static_cast<Stream*>(stream)); }
-
34 void setStream(Stream* stream) {
-
35 service.setStream(static_cast<Stream*>(stream));
-
36 }
-
37
-
38 virtual void begin() {
-
39 service.send(I2cBegin0);
-
40 service.flush();
-
41 }
-
42
-
43 virtual void begin(uint8_t address) {
-
44 service.send(I2cBegin1);
-
45 service.send(address);
-
46 service.flush();
-
47 }
-
48 virtual void end() {
-
49 service.send(I2cEnd);
-
50 service.flush();
-
51 }
-
52
-
53 virtual void setClock(uint32_t freq) {
-
54 service.send(I2cSetClock);
-
55 service.send(freq);
-
56 service.flush();
-
57 }
-
58
-
59 virtual void beginTransmission(uint8_t address) {
-
60 service.send(I2cBeginTransmission);
-
61 service.send(address);
-
62 service.flush();
-
63 }
-
64
-
65 virtual uint8_t endTransmission(bool stopBit) {
-
66 service.send(I2cEndTransmission1);
-
67 service.send(stopBit);
-
68 return service.receive8();
-
69 }
-
70
-
71 virtual uint8_t endTransmission(void) {
-
72 service.send(I2cEndTransmission);
-
73 return service.receive8();
-
74 }
-
75
-
76 virtual size_t requestFrom(uint8_t address, size_t len, bool stopBit) {
-
77 service.send(I2cRequestFrom3);
-
78 service.send(address);
-
79 service.send((uint64_t)len);
-
80 service.send(stopBit);
-
81 return service.receive8();
-
82 }
-
83
-
84 virtual size_t requestFrom(uint8_t address, size_t len) {
-
85 service.send(I2cRequestFrom2);
-
86 service.send(address);
-
87 service.send((uint64_t)len);
-
88 return service.receive8();
-
89 }
-
90
-
91 virtual void onReceive(void (*)(int)) {}
-
92
-
93 virtual void onRequest(void (*)(void)) {}
-
94
-
95 size_t write(uint8_t c) {
-
96 service.send(I2cWrite);
-
97 service.send(c);
-
98 return service.receive16();
-
99 }
-
100
-
101 int available() {
-
102 service.send(I2cAvailable);
-
103 return service.receive16();
-
104 }
-
105
-
106 int read() {
-
107 service.send(I2cRead);
-
108 return service.receive16();
-
109 }
-
110
-
111 int peek() {
-
112 service.send(I2cPeek);
-
113 return service.receive16();
-
114 }
-
115
-
116 operator boolean() { return service; }
-
117
-
118 protected:
-
119 HardwareService service;
-
120};
-
-
121
-
122} // namespace arduino
-
Definition DMAPool.h:103
-
Definition HardwareI2C.h:28
-
Provides a virtualized hardware communication service for SPI, I2C, I2S, and GPIO over a stream.
Definition HardwareService.h:94
-
Remote I2C implementation that operates over a communication stream.
Definition RemoteI2C.h:30
-
Definition Stream.h:51
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_remote_s_p_i_8h_source.html b/docs/html/_remote_s_p_i_8h_source.html deleted file mode 100644 index 4562afd..0000000 --- a/docs/html/_remote_s_p_i_8h_source.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/RemoteSPI.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
RemoteSPI.h
-
-
-
1#pragma once
-
2
-
3#include "api/HardwareSPI.h"
-
4
-
5namespace arduino {
-
6
-
-
31class RemoteSPI : public HardwareSPI {
-
32 public:
-
33 RemoteSPI() = default;
-
34 RemoteSPI(Stream* stream) { service.setStream(stream); }
-
35 void setStream(Stream* stream) { service.setStream(stream); }
-
36
-
37 uint8_t transfer(uint8_t data) {
-
38 service.send(SpiTransfer8);
-
39 service.send(data);
-
40 service.flush();
-
41 return service.receive8();
-
42 }
-
43
-
44 uint16_t transfer16(uint16_t data) {
-
45 service.send(SpiTransfer16);
-
46 service.send(data);
-
47 service.flush();
-
48 return service.receive16();
-
49 }
-
50
-
51 void transfer(void* buf, size_t count) {
-
52 service.send(SpiTransfer);
-
53 service.send((uint32_t)count);
-
54 service.send(buf, count);
-
55 service.flush();
-
56 for (int j=0; j<count; j++) {
-
57 ((uint8_t*)buf)[j] = service.receive8();
-
58 }
-
59 }
-
60
-
61 void usingInterrupt(int interruptNumber) {
-
62 service.send(SpiUsingInterrupt);
-
63 service.send(interruptNumber);
-
64 service.flush();
-
65 }
-
66
-
67 void notUsingInterrupt(int interruptNumber) {
-
68 service.send(SpiNotUsingInterrupt);
-
69 service.send(interruptNumber);
-
70 service.flush();
-
71 }
-
72
-
73 void beginTransaction(SPISettings settings) {
-
74 service.send(SpiBeginTransaction);
-
75 // uint32_t clock, uint8_t bitOrder, uint8_t dataMode
-
76 service.send((uint32_t)settings.getClockFreq());
-
77 service.send((uint8_t)settings.getBitOrder());
-
78 service.send((uint8_t)settings.getDataMode());
-
79 service.flush();
-
80 }
-
81
-
82 void endTransaction(void) {
-
83 service.send(SpiEndTransaction);
-
84 service.flush();
-
85 }
-
86
-
87 void attachInterrupt() {
-
88 service.send(SpiAttachInterrupt);
-
89 service.flush();
-
90 }
-
91
-
92 void detachInterrupt() {
-
93 service.send(SpiDetachInterrupt);
-
94 service.flush();
-
95 }
-
96
-
97 void begin() {
-
98 service.send(SpiBegin);
-
99 service.flush();
-
100 }
-
101
-
102 void end() {
-
103 service.send(SpiEnd);
-
104 service.flush();
-
105 }
-
106
-
107 operator boolean() { return service; }
-
108
-
109 protected:
-
110 HardwareService service;
-
111};
-
-
112
-
113} // namespace arduino
-
Definition DMAPool.h:103
-
Definition HardwareSPI.h:120
-
Provides a virtualized hardware communication service for SPI, I2C, I2S, and GPIO over a stream.
Definition HardwareService.h:94
-
Remote SPI implementation that operates over a communication stream.
Definition RemoteSPI.h:31
-
Definition HardwareSPI.h:46
-
Definition Stream.h:51
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_remote_serial_8h_source.html b/docs/html/_remote_serial_8h_source.html deleted file mode 100644 index 43f6931..0000000 --- a/docs/html/_remote_serial_8h_source.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/RemoteSerial.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
RemoteSerial.h
-
-
-
1#pragma once
-
2
-
3#include "HardwareService.h"
-
4#include "RingBufferExt.h"
-
5#include "api/Stream.h"
-
6
-
7namespace arduino {
-
8
-
-
34class RemoteSerialClass : public Stream {
-
35 public:
- -
37 this->no = no;
-
38 this->service.setStream(&stream);
-
39 }
-
40
-
41 virtual void begin(unsigned long baudrate) {
-
42 service.send(SerialBegin);
-
43 service.send(no);
-
44 service.send((uint64_t)baudrate);
-
45 service.flush();
-
46 }
-
47
-
48 virtual void begin(unsigned long baudrate, uint16_t config) {
-
49 service.send(SerialBegin);
-
50 service.send(no);
-
51 service.send((uint64_t)baudrate);
-
52 service.flush();
-
53 }
-
54
-
55 virtual void end() {
-
56 service.send(SerialEnd);
-
57 service.send(no);
-
58 service.flush();
-
59 }
-
60
-
61 virtual int available() {
-
62 if (read_buffer.available() > 0) {
-
63 return read_buffer.available();
-
64 }
-
65 // otherwise we get it from the remote system
-
66 service.send(SerialAvailable);
-
67 service.send(no);
-
68 service.flush();
-
69 return service.receive16();
-
70 }
-
71
-
72 virtual int read() {
-
73 if (read_buffer.available() == 0) {
-
74 uint8_t buffer[max_buffer_len];
-
75 int len = readBytes(buffer, max_buffer_len);
-
76 read_buffer.write(buffer, len);
-
77 }
-
78 if (read_buffer.available() == 0) {
-
79 return -1;
-
80 }
-
81 return read_buffer.read();
-
82 }
-
83
-
84 virtual size_t readBytes(uint8_t* buffer, size_t length) {
-
85 if (read_buffer.available() > 0) {
-
86 return read_buffer.read(buffer, length);
-
87 }
-
88 service.send(SerialRead);
-
89 service.send(no);
-
90 service.send((uint64_t)length);
-
91 service.flush();
-
92 int len = service.receive(buffer, length);
-
93 return len;
-
94 }
-
95
-
96 virtual int peek() {
-
97 if (read_buffer.available() > 0) {
-
98 return read_buffer.peek();
-
99 }
-
100 service.send(SerialPeek);
-
101 service.flush();
-
102 return service.receive16();
-
103 }
-
104
-
105 virtual size_t write(uint8_t c) {
-
106 if (write_buffer.availableToWrite() == 0) {
-
107 flush();
-
108 }
-
109 return write_buffer.write(c);
-
110 }
-
111
-
112 virtual size_t write(uint8_t* str, size_t len) {
-
113 flush();
-
114 service.send(SerialWrite);
-
115 service.send(no);
-
116 service.send((uint64_t)len);
-
117 service.send(str, len);
-
118 service.flush();
-
119 return service.receive16();
-
120 }
-
121
-
122 void flush() {
-
123#if defined(_MSC_VER)
-
124 int available;
-
125 while ((available = write_buffer.available()) > 0) {
-
126 uint8_t buffer[max_buffer_len];
-
127 write_buffer.read(buffer, min(available, max_buffer_len));
-
128 write(buffer, min(available, max_buffer_len));
-
129 }
-
130#else
-
131 int available = write_buffer.available();
-
132 if (available > 0) {
-
133 uint8_t buffer[available];
-
134 write_buffer.read(buffer, available);
-
135 write(buffer, available);
-
136 }
-
137#endif
-
138 service.send(SerialFlush);
-
139 service.send(no);
-
140 service.flush();
-
141 }
-
142
-
143 operator boolean() { return service; }
-
144
-
145 protected:
-
146 HardwareService service;
-
147 uint8_t no;
-
148#if defined(_MSC_VER)
-
149 static constexpr int max_buffer_len = 512; // MSVC does not support VLA
-
150#else
-
151 int max_buffer_len = 512;
-
152#endif
-
153 RingBufferExt write_buffer;
-
154 RingBufferExt read_buffer;
-
155};
-
-
156
-
157} // namespace arduino
-
Definition DMAPool.h:103
-
Provides a virtualized hardware communication service for SPI, I2C, I2S, and GPIO over a stream.
Definition HardwareService.h:94
-
Remote Serial implementation that operates over a communication stream.
Definition RemoteSerial.h:34
-
Implementation of a Simple Circular Buffer. Instead of comparing the position of the read and write p...
Definition RingBufferExt.h:17
-
Definition Stream.h:51
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_ring_buffer_8h_source.html b/docs/html/_ring_buffer_8h_source.html deleted file mode 100644 index d442cb9..0000000 --- a/docs/html/_ring_buffer_8h_source.html +++ /dev/null @@ -1,237 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/RingBuffer.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
RingBuffer.h
-
-
-
1/*
-
2 RingBuffer.h - Ring buffer implementation
-
3 Copyright (c) 2014 Arduino. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#ifdef __cplusplus
-
21
-
22#ifndef _RING_BUFFER_
-
23#define _RING_BUFFER_
-
24
-
25#include <stdint.h>
-
26#include <string.h>
-
27
-
28namespace arduino {
-
29
-
30// Define constants and variables for buffering incoming serial data. We're
-
31// using a ring buffer (I think), in which head is the index of the location
-
32// to which to write the next incoming character and tail is the index of the
-
33// location from which to read.
-
34#define SERIAL_BUFFER_SIZE 64
-
35
-
36template <int N>
-
- -
38{
-
39 public:
-
40 uint8_t _aucBuffer[N] ;
-
41 volatile int _iHead ;
-
42 volatile int _iTail ;
-
43 volatile int _numElems;
-
44
-
45 public:
-
46 RingBufferN( void ) ;
-
47 void store_char( uint8_t c ) ;
-
48 void clear();
-
49 int read_char();
-
50 int available();
-
51 int availableForStore();
-
52 int peek();
-
53 bool isFull();
-
54
-
55 private:
-
56 int nextIndex(int index);
-
57 inline bool isEmpty() const { return (_numElems == 0); }
-
58};
-
-
59
- -
61
-
62
-
63template <int N>
- -
65{
-
66 memset( _aucBuffer, 0, N ) ;
-
67 clear();
-
68}
-
69
-
70template <int N>
-
71void RingBufferN<N>::store_char( uint8_t c )
-
72{
-
73 // if we should be storing the received character into the location
-
74 // just before the tail (meaning that the head would advance to the
-
75 // current location of the tail), we're about to overflow the buffer
-
76 // and so we don't write the character or advance the head.
-
77 if (!isFull())
-
78 {
-
79 _aucBuffer[_iHead] = c ;
-
80 _iHead = nextIndex(_iHead);
-
81 _numElems = _numElems + 1;
-
82 }
-
83}
-
84
-
85template <int N>
-
86void RingBufferN<N>::clear()
-
87{
-
88 _iHead = 0;
-
89 _iTail = 0;
-
90 _numElems = 0;
-
91}
-
92
-
93template <int N>
-
94int RingBufferN<N>::read_char()
-
95{
-
96 if (isEmpty())
-
97 return -1;
-
98
-
99 uint8_t value = _aucBuffer[_iTail];
-
100 _iTail = nextIndex(_iTail);
-
101 _numElems = _numElems - 1;
-
102
-
103 return value;
-
104}
-
105
-
106template <int N>
-
107int RingBufferN<N>::available()
-
108{
-
109 return _numElems;
-
110}
-
111
-
112template <int N>
-
113int RingBufferN<N>::availableForStore()
-
114{
-
115 return (N - _numElems);
-
116}
-
117
-
118template <int N>
-
119int RingBufferN<N>::peek()
-
120{
-
121 if (isEmpty())
-
122 return -1;
-
123
-
124 return _aucBuffer[_iTail];
-
125}
-
126
-
127template <int N>
-
128int RingBufferN<N>::nextIndex(int index)
-
129{
-
130 return (uint32_t)(index + 1) % N;
-
131}
-
132
-
133template <int N>
-
134bool RingBufferN<N>::isFull()
-
135{
-
136 return (_numElems == N);
-
137}
-
138
-
139}
-
140
-
141#endif /* _RING_BUFFER_ */
-
142#endif /* __cplusplus */
-
Definition DMAPool.h:103
-
Definition RingBuffer.h:38
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_ring_buffer_ext_8h_source.html b/docs/html/_ring_buffer_ext_8h_source.html deleted file mode 100644 index fac54c2..0000000 --- a/docs/html/_ring_buffer_ext_8h_source.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/RingBufferExt.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
RingBufferExt.h
-
-
-
1#pragma once
-
2
-
3#include "stddef.h"
-
4#include "stdint.h"
-
5#include "vector"
-
6
-
7namespace arduino {
-
8
-
- -
18 public:
-
19 RingBufferExt(int size = 1024) {
-
20 max_len = size;
-
21 buffer.resize(size);
-
22 }
-
23
-
24 // available to read
-
25 int available() { return actual_len; }
-
26
-
27 int availableToWrite() { return max_len - actual_len; }
-
28
-
29 // reads a single character and makes it availble on the buffer
-
30 int read() {
-
31 int result = peek();
-
32 if (result > -1) {
-
33 actual_read_pos++;
-
34 actual_len--;
-
35 }
-
36 // wrap to the start
-
37 if (actual_read_pos >= max_len) {
-
38 actual_read_pos = 0;
-
39 }
-
40 return result;
-
41 }
-
42
-
43 int read(char* str, int len) { return read((uint8_t*)str, len); }
-
44
-
45 int read(uint8_t* str, int len) {
-
46 for (int j = 0; j < len; j++) {
-
47 int current = read();
-
48 if (current <= 0) {
-
49 return j;
-
50 }
-
51 str[j] = current;
-
52 }
-
53 return len;
-
54 }
-
55
-
56 // peeks the actual character
-
57 int peek() {
-
58 int result = -1;
-
59 if (actual_len > 0) {
-
60 result = buffer[actual_read_pos];
-
61 }
-
62 return result;
-
63 };
-
64
-
65 size_t write(uint8_t ch) {
-
66 int result = 0;
-
67 if (actual_len < max_len) {
-
68 result = 1;
-
69 buffer[actual_write_pos] = ch;
-
70 actual_write_pos++;
-
71 actual_len++;
-
72 if (actual_write_pos >= max_len) {
-
73 actual_write_pos = 0;
-
74 }
-
75 }
-
76 return result;
-
77 }
-
78
-
79 size_t write(char* str, int len) { return write((uint8_t*)str, len); }
-
80
-
81 size_t write(uint8_t* str, int len) {
-
82 for (int j = 0; j < len; j++) {
-
83 int result = write(str[j]);
-
84 if (result == 0) {
-
85 return j;
-
86 }
-
87 }
-
88 return len;
-
89 }
-
90
-
91 protected:
-
92 std::vector<char> buffer;
-
93 int max_len;
-
94 int actual_len = 0;
-
95 int actual_read_pos = 0;
-
96 int actual_write_pos = 0;
-
97};
-
-
98
-
99} // namespace arduino
-
Definition DMAPool.h:103
-
Implementation of a Simple Circular Buffer. Instead of comparing the position of the read and write p...
Definition RingBufferExt.h:17
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_s_d_8h.html b/docs/html/_s_d_8h.html deleted file mode 100644 index 24bfadc..0000000 --- a/docs/html/_s_d_8h.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/libraries/SD.h File Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
SD.h File Reference
-
-
- -

The most important functions of SD library implemented based on std. -More...

- -

Go to the source code of this file.

- - - - - - - - - - - -

-Classes

class  File
 C++ std based emulatoion ofr File. More...
 
class  SdFat
 C++ std based emulatoion ofr SdFat. More...
 
class  SdSpiConfig
 C++ std based emulatoion of SdSpiConfig. More...
 
- - - -

-Typedefs

-using SDClass = SdFat
 
- - - -

-Variables

-static SdFat SD
 
-

Detailed Description

-

The most important functions of SD library implemented based on std.

-
Author
Phil Schatzmann
-
Version
0.1
-
Date
2022-02-07
- -
- - - - diff --git a/docs/html/_s_d_8h_source.html b/docs/html/_s_d_8h_source.html deleted file mode 100644 index d057e3a..0000000 --- a/docs/html/_s_d_8h_source.html +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/libraries/SD.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
SD.h
-
-
-Go to the documentation of this file.
1
-
11#pragma once
-
12
-
13#include <sys/stat.h>
-
14#include <sys/types.h>
-
15#include <unistd.h>
-
16
-
17#include <cstdint>
-
18#include <filesystem>
-
19#include <fstream>
-
20#include <iostream>
-
21#include <string>
-
22
-
23#include "Stream.h"
-
24#ifdef USE_FILESYSTEM
-
25#include <filesystem>
-
26#endif
-
27
-
28#define SD_SCK_MHZ(maxMhz) (1000000UL * (maxMhz))
-
29#define SPI_FULL_SPEED SD_SCK_MHZ(50)
-
30#define SPI_DIV3_SPEED SD_SCK_MHZ(16)
-
31#define SPI_HALF_SPEED SD_SCK_MHZ(4)
-
32#define SPI_DIV6_SPEED SD_SCK_MHZ(8)
-
33#define SPI_QUARTER_SPEED SD_SCK_MHZ(2)
-
34#define SPI_EIGHTH_SPEED SD_SCK_MHZ(1)
-
35#define SPI_SIXTEENTH_SPEED SD_SCK_HZ(500000)
-
36
-
37#define O_RDONLY ios::in
-
38#define O_WRONLY ios::out
-
39#define O_RDWR ios::in | ios::out
-
40#define O_AT_END ios::ate
-
41#define O_APPEND ios::ate
-
42#define O_CREAT ios::trunc
-
43#define O_TRUNC ios::trunc
-
44#define O_EXCL 0
-
45#define O_SYNC 0
-
46#define O_READ O_RDONLY
-
47#define O_WRITE O_WRONLY
-
48#define FILE_READ ios::in
-
49#define FILE_WRITE ios::out
-
50
-
51#ifndef SS
-
52#define SS -1
-
53#endif
-
54
-
55using namespace std;
-
56
-
- -
63 SdSpiConfig(int a = 0, int b = 0, int c = 0) {}
-
64};
-
-
65
-
-
70class File : public Stream {
-
71 public:
-
72 bool isOpen() {
-
73 if (filename == "") return false;
-
74 if (is_dir) return true;
-
75 bool result = file.is_open();
-
76 return result;
-
77 }
-
78
-
79 bool open(const char *name, int flags) {
-
80 this->filename = name;
-
81 int rc = stat(name, &info);
-
82 if ((flags == O_RDONLY) && rc == -1) {
-
83 // if we want to read but the file does not exist we fail
-
84 return false;
-
85 } else if (rc == 0 && info.st_mode & S_IFDIR) {
-
86 // file exists and it is a directory
-
87 is_dir = true;
-
88 size_bytes = 0;
-
89#ifdef USE_FILESYSTEM
-
90 // prevent authorization exceptions
-
91 try {
-
92 dir_path = std::filesystem::path(filename);
-
93 iterator = std::filesystem::directory_iterator({dir_path});
-
94 } catch (...) {
-
95 }
-
96#endif
-
97 return true;
-
98 } else {
-
99 is_dir = false;
-
100 size_bytes = rc != -1 ? info.st_size : 0;
-
101 file.open(filename.c_str(), toMode(flags));
-
102 return isOpen();
-
103 }
-
104 }
-
105
-
106 bool close() {
-
107 file.close();
-
108 return !isOpen();
-
109 }
-
110
-
111 size_t read(uint8_t *buffer, size_t length) {
-
112 return readBytes((char *)buffer, length);
-
113 }
-
114
-
115 size_t readBytes(char *buffer, size_t length) {
-
116 file.read(buffer, length);
-
117 return static_cast<size_t>(file.gcount());
-
118 }
-
119
-
120 size_t write(const uint8_t *buffer, size_t size) override {
-
121 file.write((const char *)buffer, size);
-
122 return file.good() ? size : 0;
-
123 }
-
124 size_t write(uint8_t ch) override {
-
125 file.put(ch);
-
126 return file.good() ? 1 : 0;
-
127 }
-
128 int available() override { return size_bytes - file.tellg(); };
-
129 int availableForWrite() override { return 1024; }
-
130 int read() override { return file.get(); }
-
131 int peek() override { return file.peek(); }
-
132 void flush() override {}
-
133 void getName(char *str, size_t len) { strncpy(str, filename.c_str(), len); }
-
134 bool isDir() { return is_dir; }
-
135 bool isHidden() { return false; }
-
136 bool rewind() {
-
137 pos = 0;
-
138 return is_dir;
-
139 }
-
140 bool openNext(File &dir, int flags = O_RDONLY) {
-
141 if (!*this) return false;
-
142
-
143 // if (pos == 0) {
-
144 // dir_path = std::filesystem::path(filename);
-
145 // iterator = std::filesystem::directory_iterator({dir_path});
-
146 // }
-
147 // pos++;
-
148#ifdef USE_FILESYSTEM
-
149 if (iterator != end(iterator)) {
-
150 std::filesystem::directory_entry entry = *iterator++;
-
151 return dir.open(entry.path().c_str(), flags);
-
152 }
-
153#endif
-
154 return false;
-
155 }
-
156 int dirIndex() { return pos; }
-
157
-
158 File openNextFile() {
-
159 File next_file;
-
160 openNext(next_file, O_RDONLY);
-
161 return next_file;
-
162 }
-
163
-
164 size_t size() {
-
165 int rc = stat(filename.c_str(), &info);
-
166 size_bytes = rc != -1 ? info.st_size : 0;
-
167 return size_bytes;
-
168 }
-
169
-
170 size_t position() { return file.tellg(); }
-
171
-
172 bool seek(size_t pos) {
-
173 file.seekg(pos);
-
174 return file ? true : false;
-
175 }
-
176
-
177 operator bool() { return isOpen(); }
-
178
-
179 bool isDirectory() { return is_dir; }
-
180
-
181 const char *name() { return filename.c_str(); }
-
182
-
183 void rewindDirectory() {
-
184 if (!is_dir) return;
-
185#ifdef USE_FILESYSTEM
-
186 try {
-
187 iterator = std::filesystem::directory_iterator(dir_path);
-
188 } catch (...) {
-
189 // Handle errors silently
-
190 }
-
191#endif
-
192 }
-
193
-
194 protected:
-
195 std::fstream file;
-
196 size_t size_bytes = 0;
-
197 bool is_dir = false;
-
198 int pos = 0;
-
199 std::string filename = "";
-
200 struct stat info;
-
201
-
202#ifdef USE_FILESYSTEM
-
203 std::filesystem::directory_iterator iterator;
-
204 std::filesystem::path dir_path;
-
205#endif
-
206
-
207 std::ios_base::openmode toMode(int flags) {
-
208 return (std::ios_base::openmode)flags;
-
209 }
-
210};
-
-
211
-
-
216class SdFat {
-
217 public:
-
218 bool begin(int cs = SS, int speed = 0) { return true; }
-
219
-
220 bool begin(SdSpiConfig &cfg) { return true; }
-
221
-
222 void end() {}
-
223
-
224 void errorHalt(const char *msg) {
-
225 puts(msg);
-
226 exit(0);
-
227 }
-
228 void initErrorHalt() { exit(0); }
-
229
-
230 bool exists(const char *name) {
-
231 struct stat info;
-
232 return stat(name, &info) == 0;
-
233 }
-
234
-
235 File open(const char *name, int flags = O_READ) {
-
236 File file;
-
237 file.open(name, flags);
-
238 return file;
-
239 }
-
240
-
241 bool remove(const char *name) { return std::remove(name) == 0; }
-
242 bool mkdir(const char *name) { return ::mkdir(name, 0777) == 0; }
-
243 bool rmdir(const char *path) {
-
244 int rc = ::rmdir(path);
-
245 return rc == 0;
-
246 }
-
247 uint64_t totalBytes() {
-
248 std::error_code ec;
-
249 const std::filesystem::space_info si = std::filesystem::space("/home", ec);
-
250 return si.capacity;
-
251 }
-
252 uint64_t usedBytes() {
-
253 std::error_code ec;
-
254 const std::filesystem::space_info si = std::filesystem::space("/home", ec);
-
255 return si.capacity - si.available;
-
256 }
-
257};
-
-
258
-
259static SdFat SD;
-
260using SDClass = SdFat;
-
C++ std based emulatoion ofr File.
Definition SD.h:70
-
C++ std based emulatoion ofr SdFat.
Definition SD.h:216
-
C++ std based emulatoion of SdSpiConfig.
Definition SD.h:62
-
- - - - diff --git a/docs/html/_s_p_i_wrapper_8h_source.html b/docs/html/_s_p_i_wrapper_8h_source.html deleted file mode 100644 index b81ac97..0000000 --- a/docs/html/_s_p_i_wrapper_8h_source.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/SPIWrapper.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
SPIWrapper.h
-
-
-
1#pragma once
-
2#include "Sources.h"
-
3#include "api/HardwareSPI.h"
-
4
-
5namespace arduino {
-
6
-
-
34class SPIWrapper : public HardwareSPI {
-
35 public:
-
36 SPIWrapper() = default;
- -
38 SPIWrapper(HardwareSPI& spi) { setSPI(&spi); }
-
39 ~SPIWrapper() = default;
-
40 void begin();
-
41 void end();
-
42 uint8_t transfer(uint8_t data);
-
43 uint16_t transfer16(uint16_t data);
-
44 void transfer(void* data, size_t count);
-
45 void usingInterrupt(int interruptNumber);
-
46 void notUsingInterrupt(int interruptNumber);
-
47 void beginTransaction(SPISettings settings);
-
48 void endTransaction(void);
-
49 void attachInterrupt();
-
50 void detachInterrupt();
-
51
-
-
53 void setSPI(HardwareSPI* spi) {
-
54 p_spi = spi;
-
55 p_source = nullptr;
-
56 }
-
-
- -
59 p_source = source;
-
60 p_spi = nullptr;
-
61 }
-
-
62
-
63 protected:
-
64 HardwareSPI* p_spi = nullptr;
-
65 SPISource* p_source = nullptr;
-
66
-
67 HardwareSPI* getSPI() {
-
68 HardwareSPI* result = p_spi;
-
69 if (result == nullptr && p_source != nullptr) {
-
70 result = p_source->getSPI();
-
71 }
-
72 return result;
-
73 }
-
74};
-
-
75
-
77extern SPIWrapper SPI;
-
78
-
79} // namespace arduino
-
Definition DMAPool.h:103
-
Definition HardwareSPI.h:120
-
Definition HardwareSPI.h:46
-
Abstract interface for providing SPI hardware implementations.
Definition Sources.h:33
-
SPI wrapper class that provides flexible hardware abstraction.
Definition SPIWrapper.h:34
-
void setSource(SPISource *source)
alternatively defines a class that provides the SPI implementation
Definition SPIWrapper.h:58
-
void setSPI(HardwareSPI *spi)
defines the spi implementation: use nullptr to reset.
Definition SPIWrapper.h:53
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
SPIWrapper SPI
Global SPI instance used by Arduino API and direct access.
Definition SPIWrapper.cpp:9
-
- - - - diff --git a/docs/html/_sd_fat_8h.html b/docs/html/_sd_fat_8h.html deleted file mode 100644 index 28ecae5..0000000 --- a/docs/html/_sd_fat_8h.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/libraries/SdFat.h File Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
SdFat.h File Reference
-
-
- -

The most important functions of SdFat library implemented based on std. -More...

- -

Go to the source code of this file.

- - - - - - - - - - - -

-Classes

class  SdFat
 C++ std based emulatoion ofr SdFat. More...
 
class  SdFile
 C++ std based emulatoion ofr SdFile. More...
 
class  SdSpiConfig
 C++ std based emulatoion of SdSpiConfig. More...
 
-

Detailed Description

-

The most important functions of SdFat library implemented based on std.

-
Author
Phil Schatzmann
-
Version
0.1
-
Date
2022-02-07
- -
- - - - diff --git a/docs/html/_sd_fat_8h_source.html b/docs/html/_sd_fat_8h_source.html deleted file mode 100644 index 827cbc4..0000000 --- a/docs/html/_sd_fat_8h_source.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/libraries/SdFat.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
SdFat.h
-
-
-Go to the documentation of this file.
1
-
11#pragma once
-
12
-
13#include "Stream.h"
-
14#include <fstream>
-
15#include <iostream>
-
16#include <string>
-
17#include <sys/stat.h>
-
18#include <sys/types.h>
-
19#ifdef USE_FILESYSTEM
-
20#include <filesystem>
-
21#endif
-
22
-
23#define SD_SCK_MHZ(maxMhz) (1000000UL * (maxMhz))
-
24#define SPI_FULL_SPEED SD_SCK_MHZ(50)
-
25#define SPI_DIV3_SPEED SD_SCK_MHZ(16)
-
26#define SPI_HALF_SPEED SD_SCK_MHZ(4)
-
27#define SPI_DIV6_SPEED SD_SCK_MHZ(8)
-
28#define SPI_QUARTER_SPEED SD_SCK_MHZ(2)
-
29#define SPI_EIGHTH_SPEED SD_SCK_MHZ(1)
-
30#define SPI_SIXTEENTH_SPEED SD_SCK_HZ(500000)
-
31
-
32#define O_RDONLY ios::in
-
33#define O_WRONLY ios::out
-
34#define O_RDWR ios::in | ios::out
-
35#define O_AT_END ios::ate
-
36#define O_APPEND ios::ate
-
37#define O_CREAT ios::trunc
-
38#define O_TRUNC ios::trunc
-
39#define O_EXCL 0
-
40#define O_SYNC 0
-
41#define O_READ O_RDONLY
-
42#define O_WRITE O_WRONLY
-
43
-
44#ifndef SS
-
45#define SS 0
-
46#endif
-
47
-
48using namespace std;
-
49
-
55class SdSpiConfig {
-
56 SdSpiConfig(int a = 0, int b = 0, int c = 0) {}
-
57};
-
58
-
63class SdFat {
-
64public:
-
65 bool begin(int cs = SS, int speed = 0) { return true; }
-
66 bool begin(SdSpiConfig &cfg) { return true; }
-
67 void errorHalt(const char *msg) {
-
68 Serial.println(msg);
-
69 exit(0);
-
70 }
-
71 void initErrorHalt() { exit(0); }
-
72
-
73 bool exists(char *name) {
-
74 struct stat info;
-
75 return stat(name, &info) == 0;
-
76 }
-
77 void end(){}
-
78};
-
-
83class SdFile : public Stream {
-
84public:
-
85 bool isOpen() {
-
86 bool result = file.is_open();
-
87 return result;
-
88 }
-
89
-
90 bool open(const char *name, int flags) {
-
91 this->filename = name;
-
92 struct stat info;
-
93 int rc = stat(name, &info);
-
94 if ((flags == O_RDONLY) && rc == -1){
-
95 // if we want to read but the file does not exist we fail
-
96 return false;
-
97 } else if (rc == 0 && info.st_mode & S_IFDIR) {
-
98 // file exists and it is a directory
-
99 is_dir = true;
-
100 size = 0;
-
101#ifdef USE_FILESYSTEM
-
102 dir_path = std::filesystem::path(filename);
-
103 iterator = std::filesystem::directory_iterator({dir_path});
-
104#endif
-
105 return true;
-
106 } else {
-
107 is_dir = false;
-
108 size = rc!=-1 ? info.st_size: 0;
-
109 file.open(filename.c_str(), (std::ios_base::openmode)flags);
-
110 return isOpen();
-
111 }
-
112 }
-
113
-
114 bool close() {
-
115 file.close();
-
116 return !isOpen();
-
117 }
-
118
-
119 size_t readBytes(uint8_t *buffer, size_t length) {
-
120 return file.readsome((char *)buffer, length);
-
121 }
-
122 size_t write(const uint8_t *buffer, size_t size) override {
-
123 file.write((const char *)buffer, size);
-
124 return file.good() ? size : 0;
-
125 }
-
126 size_t write(uint8_t ch) override {
-
127 file.put(ch);
-
128 return file.good() ? 1 : 0;
-
129 }
-
130 int available() override { return size - file.tellg(); };
-
131 int availableForWrite() override { return 1024; }
-
132 int read() override { return file.get(); }
-
133 int peek() override { return file.peek(); }
-
134 void flush() override {}
-
135 void getName(char *str, size_t len) { strncpy(str, filename.c_str(), len); }
-
136 bool isDir() { return is_dir; }
-
137 bool isHidden() { return false; }
-
138 bool rewind() {
-
139 pos = 0;
-
140 return is_dir;
-
141 }
-
142 bool openNext(SdFile &dir, int flags = O_RDONLY) {
-
143 #ifdef USE_FILESYSTEM
-
144 if (dir.isDir() && dir.iterator != end(dir.iterator)) {
-
145 std::filesystem::directory_entry entry = *dir.iterator++;
-
146 return open(entry.path().c_str(), flags);
-
147 }
-
148 #endif
-
149 return false;
-
150 }
-
151 int dirIndex() { return pos; }
-
152
-
153protected:
-
154 std::fstream file;
-
155 size_t size = 0;
-
156 bool is_dir;
-
157 int pos = 0;
-
158 std::string filename;
-
159#ifdef USE_FILESYSTEM
-
160 std::filesystem::directory_iterator iterator;
-
161 std::filesystem::path dir_path;
-
162#endif
-
163};
-
-
C++ std based emulatoion ofr SdFat.
Definition SD.h:216
-
C++ std based emulatoion ofr SdFile.
Definition SdFat.h:83
-
C++ std based emulatoion of SdSpiConfig.
Definition SD.h:62
-
- - - - diff --git a/docs/html/_serial_8h_source.html b/docs/html/_serial_8h_source.html deleted file mode 100644 index 45899ff..0000000 --- a/docs/html/_serial_8h_source.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/Serial.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Serial.h
-
-
-
1#pragma once
-
2
-
3#if USE_SERIALLIB
-
4
-
5#include "serialib.h"
-
6#include "api/HardwareSerial.h"
-
7
-
8namespace arduino {
-
9
-
-
15class SerialImpl : public HardwareSerial {
-
16 public:
-
17 SerialImpl(const char* device = "/dev/ttyACM0") { this->device = device; }
-
18
-
19 virtual void begin(unsigned long baudrate) { open(baudrate); }
-
20
-
21 virtual void begin(unsigned long baudrate, uint16_t config) {
-
22 open(baudrate);
-
23 }
-
24
-
25 virtual void end() {
-
26 is_open = false;
-
27 serial.closeDevice();
-
28 }
-
29
-
30 virtual int available(void) { return serial.available(); };
-
31
-
32 virtual int peek(void) {
-
33 if (peek_char == -1) {
-
34 peek_char = read();
-
35 }
-
36 return peek_char;
-
37 }
-
38
-
39 virtual int read(void) {
-
40 int result = -1;
-
41 if (peek_char != -1) {
-
42 result = peek_char;
-
43 peek_char = -1;
-
44 } else {
-
45 char c;
-
46 result = serial.readChar(&c, timeout);
-
47 }
-
48 return result;
-
49 };
-
50
-
51 virtual void flush(void) {};
-
52
-
53 virtual size_t write(uint8_t c) { return serial.writeChar(c); }
-
54
-
55 virtual operator bool() { return is_open; }
-
56
-
57 // sets maximum milliseconds to wait for stream data, default is 1 second
-
58 void setTimeout(unsigned long timeout) {
-
59 this->timeout = timeout;
-
60 HardwareSerial::setTimeout(timeout);
-
61 }
-
62
-
63 protected:
-
64 const char* device;
-
65 serialib serial;
-
66 bool is_open = false;
-
67 int peek_char = -1;
-
68 long timeout = 1000;
-
69
-
70 virtual void open(unsigned long baudrate) {
-
71 if (!serial.openDevice(device, baudrate)) {
-
72 Logger.error("SerialImpl", "could not open", device);
-
73 }
-
74 is_open = true;
-
75 }
-
76};
-
-
77
-
78} // namespace arduino
-
79
-
80#endif
-
Definition DMAPool.h:103
-
Definition HardwareSerial.h:89
-
Definition Serial.h:15
-
This class is used for communication over a serial device.
Definition serialib.h:50
-
int available()
Return the number of bytes in the received buffer (UNIX only)
Definition serialib.cpp:600
-
char openDevice(const char *Device, const unsigned int Bauds)
Open the serial port.
Definition serialib.cpp:92
-
char readChar(char *pByte, const unsigned int timeOut_ms=0)
Wait for a byte from the serial device and return the data read.
Definition serialib.cpp:339
-
void closeDevice()
Close the connection with the current device.
Definition serialib.cpp:217
-
char writeChar(char)
Write a char on the current serial port.
Definition serialib.cpp:241
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
Header file of the class serialib. This class is used for communication over a serial device.
-
- - - - diff --git a/docs/html/_server_8h_source.html b/docs/html/_server_8h_source.html deleted file mode 100644 index a2e252e..0000000 --- a/docs/html/_server_8h_source.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/Server.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Server.h
-
-
-
1/*
-
2 Server.h - Base class that provides Server
-
3 Copyright (c) 2011 Adrian McEwen. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#pragma once
-
21
-
22#include "Print.h"
-
23
-
24namespace arduino {
-
25
-
-
26class Server : public Print {
-
27 public:
-
28 virtual void begin() = 0;
-
29};
-
-
30
-
31}
-
Definition Print.h:36
-
Definition Server.h:26
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_signal_handler_8h_source.html b/docs/html/_signal_handler_8h_source.html deleted file mode 100644 index c3de0b6..0000000 --- a/docs/html/_signal_handler_8h_source.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/SignalHandler.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
SignalHandler.h
-
-
-
1#pragma once
-
2#include <signal.h>
-
3#include <csignal>
-
4#include <functional>
-
5#include <vector>
-
6#include <map>
-
7#include <algorithm>
-
8
-
9// Generic signal handler utility
-
- -
11 public:
-
12 using HandlerFunc = std::function<void(int)>;
-
13
-
14 static void registerHandler(int signum, HandlerFunc handler) {
-
15 auto& vec = getHandlers()[signum];
-
16 vec.push_back(handler);
-
17 std::signal(signum, SignalHandler::dispatch);
-
18 }
-
19
-
20 private:
-
21 static std::map<int, std::vector<HandlerFunc>>& getHandlers() {
-
22 static std::map<int, std::vector<HandlerFunc>> handlers;
-
23 return handlers;
-
24 }
-
25 static void dispatch(int signum) {
-
26 auto& handlers = getHandlers();
-
27 auto it = handlers.find(signum);
-
28 if (it != handlers.end()) {
-
29 for (auto& func : it->second) {
-
30 func(signum);
-
31 }
-
32 }
-
33 exit(0);
-
34 }
-
35};
-
-
Definition SignalHandler.h:10
-
- - - - diff --git a/docs/html/_socket_impl_8h_source.html b/docs/html/_socket_impl_8h_source.html deleted file mode 100644 index 8a3088f..0000000 --- a/docs/html/_socket_impl_8h_source.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/SocketImpl.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
SocketImpl.h
-
-
-
1#pragma once
-
2
-
6#include <netinet/in.h>
-
7#include <string.h>
-
8
-
9namespace arduino {
-
10
-
- -
12 public:
-
13 SocketImpl() = default;
-
14 SocketImpl(int socket) {
-
15 sock = socket;
-
16 is_connected = true;
-
17 memset(&serv_addr, 0, sizeof(serv_addr));
-
18 };
-
19 SocketImpl(int socket, struct sockaddr_in* address) {
-
20 sock = socket;
-
21 is_connected = true;
-
22 serv_addr = *address;
-
23 };
-
24 // checks if we are connected
-
25 virtual uint8_t connected();
-
26 // opens a conection
-
27 virtual int connect(const char* address, uint16_t port);
-
28 // sends some data
-
29 virtual size_t write(const uint8_t* str, size_t len);
-
30 // provides the available bytes
-
31 virtual size_t available();
-
32 // direct read
-
33 virtual size_t read(uint8_t* buffer, size_t len);
-
34 // peeks one character
-
35 virtual int peek();
-
36 // coloses the connection
-
37 virtual void close();
-
38
-
39 // determines the IP Adress
-
40 const char* getIPAddress();
-
41 // determines the IP Adress
-
42 const char* getIPAddress(const char* validEntries[]);
-
43
-
44 virtual void setCACert(const char* cert) {}
-
45 virtual void setInsecure() {}
-
46 int fd() { return sock; }
-
47
-
48 protected:
-
49 bool is_connected = false;
-
50 int sock = -1, valread;
-
51 struct sockaddr_in serv_addr;
-
52};
-
-
53
-
54} // namespace arduino
-
Definition DMAPool.h:103
-
Definition SocketImpl.h:11
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_sources_8h_source.html b/docs/html/_sources_8h_source.html deleted file mode 100644 index 9577f8f..0000000 --- a/docs/html/_sources_8h_source.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/Sources.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Sources.h
-
-
-
1#pragma once
-
2#include "api/HardwareI2C.h"
-
3#include "api/HardwareSPI.h"
-
4#include "HardwareGPIO.h"
-
5
-
6namespace arduino {
-
7
-
-
18class I2CSource {
-
19 public:
-
20 virtual HardwareI2C* getI2C() = 0;
-
21};
-
-
22
-
-
33class SPISource {
-
34 public:
-
35 virtual HardwareSPI* getSPI() = 0;
-
36};
-
-
37
-
- -
49 public:
-
50 virtual HardwareGPIO* getGPIO() = 0;
-
51};
-
-
52
-
53
-
54} // namespace arduino
-
Abstract interface for providing GPIO hardware implementations.
Definition Sources.h:48
-
Abstract base class for GPIO (General Purpose Input/Output) functions.
Definition HardwareGPIO.h:33
-
Definition HardwareI2C.h:28
-
Definition HardwareSPI.h:120
-
Abstract interface for providing I2C hardware implementations.
Definition Sources.h:18
-
Abstract interface for providing SPI hardware implementations.
Definition Sources.h:33
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_stdio_device_8h_source.html b/docs/html/_stdio_device_8h_source.html deleted file mode 100644 index 147a2b0..0000000 --- a/docs/html/_stdio_device_8h_source.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/StdioDevice.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
StdioDevice.h
-
-
-
1#pragma once
-
2
-
3#include <iostream>
-
4#include <streambuf>
-
5#include "api/Stream.h"
-
6#include "api/Printable.h"
-
7
-
8namespace arduino {
-
9
-
-
26class StdioDevice : public Stream {
-
27 public:
-
28 StdioDevice(bool autoFlush = true) { auto_flush = autoFlush; }
-
29
-
30 ~StdioDevice() {}
-
31
-
32 operator bool() const {
-
33 return true;
-
34 } // For classic while(!Serial) { ... } pattern for USB ready wait
-
35
-
36 virtual void begin(int speed) {
-
37 // nothing to be done
-
38 }
-
39
-
40 virtual size_t print(const char* str) {
-
41 std::cout << str;
-
42 if (auto_flush) flush();
-
43 return strlen(str);
-
44 }
-
45
-
46 virtual size_t println(const char* str = "") {
-
47 std::cout << str << "\n";
-
48 if (auto_flush) flush();
-
49 return strlen(str) + 1;
-
50 }
-
51
-
52 virtual size_t print(int val, int radix = DEC) {
-
53 size_t result = Stream::print(val, radix);
-
54 if (auto_flush) flush();
-
55 return result;
-
56 }
-
57
-
58 virtual size_t println(int val, int radix = DEC) {
-
59 size_t result = Stream::println(val, radix);
-
60 if (auto_flush) flush();
-
61 return result;
-
62 }
-
63
-
64 virtual size_t println(String& str) { return println(str.c_str()); }
-
65
-
66 virtual size_t print(String& str) { return print(str.c_str()); }
-
67
-
68 virtual size_t println(Printable& p) {
-
69 size_t result = p.printTo(*this);
-
70 std::cout << "\n";
-
71 if (auto_flush) flush();
-
72 return result + 1;
-
73 }
-
74
-
75 virtual size_t print(Printable& p) {
-
76 auto result = p.printTo(*this);
-
77 if (auto_flush) flush();
-
78 return result;
-
79 }
-
80
-
81 void flush() override { std::cout.flush(); }
-
82
-
83 virtual size_t write(const char* str, size_t len) {
-
84 std::cout.write(str, len);
-
85 if (auto_flush) flush();
-
86 return len;
-
87 }
-
88
-
89 virtual size_t write(uint8_t* str, size_t len) {
-
90 std::cout.write((const char*)str, len);
-
91 if (auto_flush) flush();
-
92 return len;
-
93 }
-
94 size_t write(const uint8_t* str, size_t len) override {
-
95 std::cout.write((const char*)str, len);
-
96 if (auto_flush) flush();
-
97 return len;
-
98 }
-
99
-
100 virtual size_t write(int32_t value) {
-
101 std::cout.put(value);
-
102 if (auto_flush) flush();
-
103 return 1;
-
104 }
-
105
-
106 size_t write(uint8_t value) override {
-
107 std::cout.put(value);
-
108 if (auto_flush) flush();
-
109 return 1;
-
110 }
-
111
-
112 int available() override { return std::cin.rdbuf()->in_avail(); };
-
113
-
114 int read() override { return std::cin.get(); }
-
115
-
116 int peek() override { return std::cin.peek(); }
-
117
-
118 protected:
-
119 bool auto_flush = true;
-
120};
-
-
121
-
122static StdioDevice Serial;
-
123#ifndef USE_RPI
-
124static StdioDevice Serial2;
-
125#endif
-
126
-
127} // namespace arduino
-
Definition DMAPool.h:103
-
Definition Printable.h:35
-
Provides a Stream interface for standard input/output operations outside the Arduino environment.
Definition StdioDevice.h:26
-
Definition Stream.h:51
-
Definition String.h:53
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_stream_8h_source.html b/docs/html/_stream_8h_source.html deleted file mode 100644 index 3fd4ae9..0000000 --- a/docs/html/_stream_8h_source.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/Stream.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Stream.h
-
-
-
1/*
-
2 Stream.h - base class for character-based streams.
-
3 Copyright (c) 2010 David A. Mellis. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18
-
19 parsing functions based on TextFinder library by Michael Margolis
-
20*/
-
21
-
22#pragma once
-
23
-
24#include <inttypes.h>
-
25#include "Print.h"
-
26
-
27// compatibility macros for testing
-
28/*
-
29#define getInt() parseInt()
-
30#define getInt(ignore) parseInt(ignore)
-
31#define getFloat() parseFloat()
-
32#define getFloat(ignore) parseFloat(ignore)
-
33#define getString( pre_string, post_string, buffer, length)
-
34readBytesBetween( pre_string, terminator, buffer, length)
-
35*/
-
36
-
37namespace arduino {
-
38
-
39// This enumeration provides the lookahead options for parseInt(), parseFloat()
-
40// The rules set out here are used until either the first valid character is found
-
41// or a time out occurs due to lack of input.
-
42enum LookaheadMode{
-
43 SKIP_ALL, // All invalid characters are ignored.
-
44 SKIP_NONE, // Nothing is skipped, and the stream is not touched unless the first waiting character is valid.
-
45 SKIP_WHITESPACE // Only tabs, spaces, line feeds & carriage returns are skipped.
-
46};
-
47
-
48#define NO_IGNORE_CHAR '\x01' // a char not found in a valid ASCII numeric field
-
49
-
-
50class Stream : public Print
-
51{
-
52 protected:
-
53 unsigned long _timeout; // number of milliseconds to wait for the next char before aborting timed read
-
54 unsigned long _startMillis; // used for timeout measurement
-
55 int timedRead(); // private method to read stream with timeout
-
56 int timedPeek(); // private method to peek stream with timeout
-
57 int peekNextDigit(LookaheadMode lookahead, bool detectDecimal); // returns the next numeric digit in the stream or -1 if timeout
-
58
-
59 public:
-
60 virtual int available() = 0;
-
61 virtual int read() = 0;
-
62 virtual int peek() = 0;
-
63
-
64 Stream() {_timeout=1000;}
-
65
-
66// parsing methods
-
67
-
68 void setTimeout(unsigned long timeout); // sets maximum milliseconds to wait for stream data, default is 1 second
-
69 unsigned long getTimeout(void) { return _timeout; }
-
70
-
71 bool find(const char *target); // reads data from the stream until the target string is found
-
72 bool find(const uint8_t *target) { return find ((const char *)target); }
-
73 // returns true if target string is found, false if timed out (see setTimeout)
-
74
-
75 bool find(const char *target, size_t length); // reads data from the stream until the target string of given length is found
-
76 bool find(const uint8_t *target, size_t length) { return find ((const char *)target, length); }
-
77 // returns true if target string is found, false if timed out
-
78
-
79 bool find(char target) { return find (&target, 1); }
-
80
-
81 bool findUntil(const char *target, const char *terminator); // as find but search ends if the terminator string is found
-
82 bool findUntil(const uint8_t *target, const char *terminator) { return findUntil((const char *)target, terminator); }
-
83
-
84 bool findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen); // as above but search ends if the terminate string is found
-
85 bool findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) {return findUntil((const char *)target, targetLen, terminate, termLen); }
-
86
-
87 long parseInt(LookaheadMode lookahead = SKIP_ALL, char ignore = NO_IGNORE_CHAR);
-
88 // returns the first valid (long) integer value from the current position.
-
89 // lookahead determines how parseInt looks ahead in the stream.
-
90 // See LookaheadMode enumeration at the top of the file.
-
91 // Lookahead is terminated by the first character that is not a valid part of an integer.
-
92 // Once parsing commences, 'ignore' will be skipped in the stream.
-
93
-
94 float parseFloat(LookaheadMode lookahead = SKIP_ALL, char ignore = NO_IGNORE_CHAR);
-
95 // float version of parseInt
-
96
-
97 size_t readBytes( char *buffer, size_t length); // read chars from stream into buffer
-
98 size_t readBytes( uint8_t *buffer, size_t length) { return readBytes((char *)buffer, length); }
-
99 // terminates if length characters have been read or timeout (see setTimeout)
-
100 // returns the number of characters placed in the buffer (0 means no valid data found)
-
101
-
102 size_t readBytesUntil( char terminator, char *buffer, size_t length); // as readBytes with terminator character
-
103 size_t readBytesUntil( char terminator, uint8_t *buffer, size_t length) { return readBytesUntil(terminator, (char *)buffer, length); }
-
104 // terminates if length characters have been read, timeout, or if the terminator character detected
-
105 // returns the number of characters placed in the buffer (0 means no valid data found)
-
106
-
107 // Arduino String functions to be added here
-
108 String readString();
-
109 String readStringUntil(char terminator);
-
110
-
111 protected:
-
112 long parseInt(char ignore) { return parseInt(SKIP_ALL, ignore); }
-
113 float parseFloat(char ignore) { return parseFloat(SKIP_ALL, ignore); }
-
114 // These overload exists for compatibility with any class that has derived
-
115 // Stream and used parseFloat/Int with a custom ignore character. To keep
-
116 // the public API simple, these overload remains protected.
-
117
-
-
118 struct MultiTarget {
-
119 const char *str; // string you're searching for
-
120 size_t len; // length of string you're searching for
-
121 size_t index; // index used by the search routine.
-
122 };
-
-
123
-
124 // This allows you to search for an arbitrary number of strings.
-
125 // Returns index of the target that is found first or -1 if timeout occurs.
-
126 int findMulti(struct MultiTarget *targets, int tCount);
-
127};
-
-
128
-
129#undef NO_IGNORE_CHAR
-
130
-
131}
-
132
-
133using arduino::Stream;
-
Definition Print.h:36
-
Definition Stream.h:51
-
Definition String.h:53
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
Definition Stream.h:118
-
- - - - diff --git a/docs/html/_stream_mock_8h_source.html b/docs/html/_stream_mock_8h_source.html deleted file mode 100644 index 9032259..0000000 --- a/docs/html/_stream_mock_8h_source.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/include/StreamMock.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
StreamMock.h
-
-
-
1/*
-
2 * Copyright (c) 2020 Arduino. All rights reserved.
-
3 *
-
4 * SPDX-License-Identifier: LGPL-2.1-or-later
-
5 */
-
6
-
7#ifndef STREAM_MOCK_H_
-
8#define STREAM_MOCK_H_
-
9
-
10/**************************************************************************************
-
11 * INCLUDE
-
12 **************************************************************************************/
-
13
-
14#include <deque>
-
15
-
16#include <api/Stream.h>
-
17
-
18/**************************************************************************************
-
19 * CLASS DECLARATION
-
20 **************************************************************************************/
-
21
-
- -
23{
-
24public:
-
25
-
26 void operator << (char const * str);
-
27
-
28 virtual size_t write(uint8_t ch) override;
-
29 virtual int available() override;
-
30 virtual int read() override;
-
31 virtual int peek() override;
-
32
-
33private:
-
34 std::deque<char> _stream;
-
35
-
36};
-
-
37
-
38#endif /* STREAM_MOCK_H_ */
-
Definition StreamMock.h:23
-
Definition Stream.h:51
-
- - - - diff --git a/docs/html/_string_8h_source.html b/docs/html/_string_8h_source.html deleted file mode 100644 index ebcadf0..0000000 --- a/docs/html/_string_8h_source.html +++ /dev/null @@ -1,353 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/String.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
String.h
-
-
-
1/*
-
2 String library for Wiring & Arduino
-
3 ...mostly rewritten by Paul Stoffregen...
-
4 Copyright (c) 2009-10 Hernando Barragan. All right reserved.
-
5 Copyright 2011, Paul Stoffregen, paul@pjrc.com
-
6
-
7 This library is free software; you can redistribute it and/or
-
8 modify it under the terms of the GNU Lesser General Public
-
9 License as published by the Free Software Foundation; either
-
10 version 2.1 of the License, or (at your option) any later version.
-
11
-
12 This library is distributed in the hope that it will be useful,
-
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
15 Lesser General Public License for more details.
-
16
-
17 You should have received a copy of the GNU Lesser General Public
-
18 License along with this library; if not, write to the Free Software
-
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
20*/
-
21
-
22#ifdef __cplusplus
-
23
-
24#ifndef __ARDUINO_STRINGS__
-
25#define __ARDUINO_STRINGS__
-
26
-
27#include <stdlib.h>
-
28#include <string.h>
-
29#include <ctype.h>
-
30#if defined(__AVR__)
-
31#include "avr/pgmspace.h"
-
32#else
-
33#include "deprecated-avr-comp/avr/pgmspace.h"
-
34#endif
-
35
-
36namespace arduino {
-
37
-
38// When compiling programs with this class, the following gcc parameters
-
39// dramatically increase performance and memory (RAM) efficiency, typically
-
40// with little or no increase in code size.
-
41// -felide-constructors
-
42// -std=c++0x
-
43
-
44class __FlashStringHelper;
-
45#define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))
-
46
-
47// An inherited class for holding the result of a concatenation. These
-
48// result objects are assumed to be writable by subsequent concatenations.
-
49class StringSumHelper;
-
50
-
51// The string class
-
-
52class String
-
53{
-
54 friend class StringSumHelper;
-
55 // use a function pointer to allow for "if (s)" without the
-
56 // complications of an operator bool(). for more information, see:
-
57 // http://www.artima.com/cppsource/safebool.html
-
58 typedef void (String::*StringIfHelperType)() const;
-
59 void StringIfHelper() const {}
-
60
-
61 static size_t const FLT_MAX_DECIMAL_PLACES = 10;
-
62 static size_t const DBL_MAX_DECIMAL_PLACES = FLT_MAX_DECIMAL_PLACES;
-
63
-
64public:
-
65 // constructors
-
66 // creates a copy of the initial value.
-
67 // if the initial value is null or invalid, or if memory allocation
-
68 // fails, the string will be marked as invalid (i.e. "if (s)" will
-
69 // be false).
-
70 String(const char *cstr = "");
-
71 String(const char *cstr, unsigned int length);
-
72 String(const uint8_t *cstr, unsigned int length) : String((const char*)cstr, length) {}
-
73 String(const String &str);
-
74 String(const __FlashStringHelper *str);
- -
76 explicit String(char c);
-
77 explicit String(unsigned char, unsigned char base=10);
-
78 explicit String(int, unsigned char base=10);
-
79 explicit String(unsigned int, unsigned char base=10);
-
80 explicit String(long, unsigned char base=10);
-
81 explicit String(unsigned long, unsigned char base=10);
-
82 explicit String(float, unsigned char decimalPlaces=2);
-
83 explicit String(double, unsigned char decimalPlaces=2);
-
84 ~String(void);
-
85
-
86 // memory management
-
87 // return true on success, false on failure (in which case, the string
-
88 // is left unchanged). reserve(0), if successful, will validate an
-
89 // invalid string (i.e., "if (s)" will be true afterwards)
-
90 bool reserve(unsigned int size);
-
91 inline unsigned int length(void) const {return len;}
-
92 inline bool isEmpty(void) const { return length() == 0; }
-
93
-
94 // creates a copy of the assigned value. if the value is null or
-
95 // invalid, or if the memory allocation fails, the string will be
-
96 // marked as invalid ("if (s)" will be false).
-
97 String & operator = (const String &rhs);
-
98 String & operator = (const char *cstr);
-
99 String & operator = (const __FlashStringHelper *str);
- -
101
-
102 // concatenate (works w/ built-in types)
-
103
-
104 // returns true on success, false on failure (in which case, the string
-
105 // is left unchanged). if the argument is null or invalid, the
-
106 // concatenation is considered unsuccessful.
-
107 bool concat(const String &str);
-
108 bool concat(const char *cstr);
-
109 bool concat(const char *cstr, unsigned int length);
-
110 bool concat(const uint8_t *cstr, unsigned int length) {return concat((const char*)cstr, length);}
-
111 bool concat(char c);
-
112 bool concat(unsigned char num);
-
113 bool concat(int num);
-
114 bool concat(unsigned int num);
-
115 bool concat(long num);
-
116 bool concat(unsigned long num);
-
117 bool concat(float num);
-
118 bool concat(double num);
-
119 bool concat(const __FlashStringHelper * str);
-
120
-
121 // if there's not enough memory for the concatenated value, the string
-
122 // will be left unchanged (but this isn't signalled in any way)
-
123 String & operator += (const String &rhs) {concat(rhs); return (*this);}
-
124 String & operator += (const char *cstr) {concat(cstr); return (*this);}
-
125 String & operator += (char c) {concat(c); return (*this);}
-
126 String & operator += (unsigned char num) {concat(num); return (*this);}
-
127 String & operator += (int num) {concat(num); return (*this);}
-
128 String & operator += (unsigned int num) {concat(num); return (*this);}
-
129 String & operator += (long num) {concat(num); return (*this);}
-
130 String & operator += (unsigned long num) {concat(num); return (*this);}
-
131 String & operator += (float num) {concat(num); return (*this);}
-
132 String & operator += (double num) {concat(num); return (*this);}
-
133 String & operator += (const __FlashStringHelper *str){concat(str); return (*this);}
-
134
-
135 friend StringSumHelper & operator + (const StringSumHelper &lhs, const String &rhs);
-
136 friend StringSumHelper & operator + (const StringSumHelper &lhs, const char *cstr);
-
137 friend StringSumHelper & operator + (const StringSumHelper &lhs, char c);
-
138 friend StringSumHelper & operator + (const StringSumHelper &lhs, unsigned char num);
-
139 friend StringSumHelper & operator + (const StringSumHelper &lhs, int num);
-
140 friend StringSumHelper & operator + (const StringSumHelper &lhs, unsigned int num);
-
141 friend StringSumHelper & operator + (const StringSumHelper &lhs, long num);
-
142 friend StringSumHelper & operator + (const StringSumHelper &lhs, unsigned long num);
-
143 friend StringSumHelper & operator + (const StringSumHelper &lhs, float num);
-
144 friend StringSumHelper & operator + (const StringSumHelper &lhs, double num);
-
145 friend StringSumHelper & operator + (const StringSumHelper &lhs, const __FlashStringHelper *rhs);
-
146
-
147 // comparison (only works w/ Strings and "strings")
-
148 operator StringIfHelperType() const { return buffer ? &String::StringIfHelper : 0; }
-
149 int compareTo(const String &s) const;
-
150 int compareTo(const char *cstr) const;
-
151 bool equals(const String &s) const;
-
152 bool equals(const char *cstr) const;
-
153
-
154 friend bool operator == (const String &a, const String &b) { return a.equals(b); }
-
155 friend bool operator == (const String &a, const char *b) { return a.equals(b); }
-
156 friend bool operator == (const char *a, const String &b) { return b == a; }
-
157 friend bool operator < (const String &a, const String &b) { return a.compareTo(b) < 0; }
-
158 friend bool operator < (const String &a, const char *b) { return a.compareTo(b) < 0; }
-
159 friend bool operator < (const char *a, const String &b) { return b.compareTo(a) > 0; }
-
160
-
161 friend bool operator != (const String &a, const String &b) { return !(a == b); }
-
162 friend bool operator != (const String &a, const char *b) { return !(a == b); }
-
163 friend bool operator != (const char *a, const String &b) { return !(a == b); }
-
164 friend bool operator > (const String &a, const String &b) { return b < a; }
-
165 friend bool operator > (const String &a, const char *b) { return b < a; }
-
166 friend bool operator > (const char *a, const String &b) { return b < a; }
-
167 friend bool operator <= (const String &a, const String &b) { return !(b < a); }
-
168 friend bool operator <= (const String &a, const char *b) { return !(b < a); }
-
169 friend bool operator <= (const char *a, const String &b) { return !(b < a); }
-
170 friend bool operator >= (const String &a, const String &b) { return !(a < b); }
-
171 friend bool operator >= (const String &a, const char *b) { return !(a < b); }
-
172 friend bool operator >= (const char *a, const String &b) { return !(a < b); }
-
173
-
174 bool equalsIgnoreCase(const String &s) const;
-
175 bool startsWith( const String &prefix) const;
-
176 bool startsWith(const String &prefix, unsigned int offset) const;
-
177 bool endsWith(const String &suffix) const;
-
178
-
179 // character access
-
180 char charAt(unsigned int index) const;
-
181 void setCharAt(unsigned int index, char c);
-
182 char operator [] (unsigned int index) const;
-
183 char& operator [] (unsigned int index);
-
184 void getBytes(unsigned char *buf, unsigned int bufsize, unsigned int index=0) const;
-
185 void toCharArray(char *buf, unsigned int bufsize, unsigned int index=0) const
-
186 { getBytes((unsigned char *)buf, bufsize, index); }
-
187 const char* c_str() const { return buffer; }
-
188 char* begin() { return buffer; }
-
189 char* end() { return buffer + length(); }
-
190 const char* begin() const { return c_str(); }
-
191 const char* end() const { return c_str() + length(); }
-
192
-
193 // search
-
194 int indexOf( char ch ) const;
-
195 int indexOf( char ch, unsigned int fromIndex ) const;
-
196 int indexOf( const String &str ) const;
-
197 int indexOf( const String &str, unsigned int fromIndex ) const;
-
198 int lastIndexOf( char ch ) const;
-
199 int lastIndexOf( char ch, unsigned int fromIndex ) const;
-
200 int lastIndexOf( const String &str ) const;
-
201 int lastIndexOf( const String &str, unsigned int fromIndex ) const;
-
202 String substring( unsigned int beginIndex ) const { return substring(beginIndex, len); };
-
203 String substring( unsigned int beginIndex, unsigned int endIndex ) const;
-
204
-
205 // modification
-
206 void replace(char find, char replace);
-
207 void replace(const String& find, const String& replace);
-
208 void remove(unsigned int index);
-
209 void remove(unsigned int index, unsigned int count);
-
210 void toLowerCase(void);
-
211 void toUpperCase(void);
-
212 void trim(void);
-
213
-
214 // parsing/conversion
-
215 long toInt(void) const;
-
216 float toFloat(void) const;
-
217 double toDouble(void) const;
-
218
-
219protected:
-
220 char *buffer; // the actual char array
-
221 unsigned int capacity; // the array length minus one (for the '\0')
-
222 unsigned int len; // the String length (not counting the '\0')
-
223protected:
-
224 void init(void);
-
225 void invalidate(void);
-
226 bool changeBuffer(unsigned int maxStrLen);
-
227
-
228 // copy and move
-
229 String & copy(const char *cstr, unsigned int length);
-
230 String & copy(const __FlashStringHelper *pstr, unsigned int length);
-
231 void move(String &rhs);
-
232};
-
-
233
-
- -
235{
-
236public:
-
237 StringSumHelper(const String &s) : String(s) {}
-
238 StringSumHelper(const char *p) : String(p) {}
-
239 StringSumHelper(char c) : String(c) {}
-
240 StringSumHelper(unsigned char num) : String(num) {}
-
241 StringSumHelper(int num) : String(num) {}
-
242 StringSumHelper(unsigned int num) : String(num) {}
-
243 StringSumHelper(long num) : String(num) {}
-
244 StringSumHelper(unsigned long num) : String(num) {}
-
245 StringSumHelper(float num) : String(num) {}
-
246 StringSumHelper(double num) : String(num) {}
-
247};
-
-
248
-
249} // namespace arduino
-
250
-
251using arduino::__FlashStringHelper;
-
252using arduino::String;
-
253
-
254#endif // __cplusplus
-
255#endif // __ARDUINO_STRINGS__
-
Definition DMAPool.h:103
-
Definition String.h:53
-
Definition String.h:235
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_string_printer_8h_source.html b/docs/html/_string_printer_8h_source.html deleted file mode 100644 index bb3c808..0000000 --- a/docs/html/_string_printer_8h_source.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/src/String/StringPrinter.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
StringPrinter.h
-
-
-
1/*
-
2 * Copyright (c) 2020 Arduino. All rights reserved.
-
3 *
-
4 * SPDX-License-Identifier: LGPL-2.1-or-later
-
5 */
-
6
-
7#pragma once
-
8
-
9#include <catch2/catch_test_macros.hpp>
-
10#include <api/String.h>
-
11
-
12namespace Catch {
-
21 template<>
-
-
22 struct StringMaker<arduino::String> {
-
23 static std::string convert(const arduino::String& str) {
-
24 if (str)
-
25 return ::Catch::Detail::stringify(std::string(str.c_str(), str.length()));
-
26 else
-
27 return "{invalid String}";
-
28 }
-
29 };
-
-
30} // namespace Catch
-
Definition String.h:53
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_u_s_b_a_p_i_8h_source.html b/docs/html/_u_s_b_a_p_i_8h_source.html deleted file mode 100644 index 08ba290..0000000 --- a/docs/html/_u_s_b_a_p_i_8h_source.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/USBAPI.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
USBAPI.h
-
-
-
1/*
-
2 USBAPI.h
-
3 Copyright (c) 2005-2014 Arduino. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#ifndef __USBAPI__
-
21#define __USBAPI__
-
22
-
23#include <stdint.h>
-
24
-
25namespace arduino {
-
26//================================================================================
-
27//================================================================================
-
28// Low level API
-
29
-
30typedef struct __attribute__((packed))
-
31{
-
32 union {
-
33 uint8_t bmRequestType;
-
34 struct {
-
35 uint8_t direction : 5;
-
36 uint8_t type : 2;
-
37 uint8_t transferDirection : 1;
-
38 };
-
39 };
-
40 uint8_t bRequest;
-
41 uint8_t wValueL;
-
42 uint8_t wValueH;
-
43 uint16_t wIndex;
-
44 uint16_t wLength;
-
45} USBSetup;
-
46
-
47}
-
48
-
49//================================================================================
-
50// USB APIs (C scope)
-
51//================================================================================
-
52
-
53int USB_SendControl(uint8_t flags, const void* d, int len);
-
54int USB_RecvControl(void* d, int len);
-
55int USB_RecvControlLong(void* d, int len);
-
56
-
57uint8_t USB_Available(uint8_t ep);
-
58uint8_t USB_SendSpace(uint8_t ep);
-
59int USB_Send(uint8_t ep, const void* data, int len); // blocking
-
60int USB_Recv(uint8_t ep, void* data, int len); // non-blocking
-
61int USB_Recv(uint8_t ep); // non-blocking
-
62void USB_Flush(uint8_t ep);
-
63
-
64#endif
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_udp_8h_source.html b/docs/html/_udp_8h_source.html deleted file mode 100644 index 4458e6b..0000000 --- a/docs/html/_udp_8h_source.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/Udp.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Udp.h
-
-
-
1/*
-
2 * Udp.cpp: Library to send/receive UDP packets.
-
3 *
-
4 * NOTE: UDP is fast, but has some important limitations (thanks to Warren Gray for mentioning these)
-
5 * 1) UDP does not guarantee the order in which assembled UDP packets are received. This
-
6 * might not happen often in practice, but in larger network topologies, a UDP
-
7 * packet can be received out of sequence.
-
8 * 2) UDP does not guard against lost packets - so packets *can* disappear without the sender being
-
9 * aware of it. Again, this may not be a concern in practice on small local networks.
-
10 * For more information, see http://www.cafeaulait.org/course/week12/35.html
-
11 *
-
12 * MIT License:
-
13 * Copyright (c) 2008 Bjoern Hartmann
-
14 * Permission is hereby granted, free of charge, to any person obtaining a copy
-
15 * of this software and associated documentation files (the "Software"), to deal
-
16 * in the Software without restriction, including without limitation the rights
-
17 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-
18 * copies of the Software, and to permit persons to whom the Software is
-
19 * furnished to do so, subject to the following conditions:
-
20 *
-
21 * The above copyright notice and this permission notice shall be included in
-
22 * all copies or substantial portions of the Software.
-
23 *
-
24 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-
25 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-
26 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-
27 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-
28 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-
29 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-
30 * THE SOFTWARE.
-
31 *
-
32 * bjoern@cs.stanford.edu 12/30/2008
-
33 */
-
34
-
35#pragma once
-
36
-
37#include "Stream.h"
-
38#include "IPAddress.h"
-
39
-
40namespace arduino {
-
41
-
-
42class UDP : public Stream {
-
43
-
44public:
-
45 virtual uint8_t begin(uint16_t) =0; // initialize, start listening on specified port. Returns 1 if successful, 0 if there are no sockets available to use
-
46 virtual uint8_t beginMulticast(IPAddress, uint16_t) { return 0; } // initialize, start listening on specified multicast IP address and port. Returns 1 if successful, 0 on failure
-
47 virtual void stop() =0; // Finish with the UDP socket
-
48
-
49 // Sending UDP packets
-
50
-
51 // Start building up a packet to send to the remote host specified in ip and port
-
52 // Returns 1 if successful, 0 if there was a problem with the supplied IP address or port
-
53 virtual int beginPacket(IPAddress ip, uint16_t port) =0;
-
54 // Start building up a packet to send to the remote host specified in host and port
-
55 // Returns 1 if successful, 0 if there was a problem resolving the hostname or port
-
56 virtual int beginPacket(const char *host, uint16_t port) =0;
-
57 // Finish off this packet and send it
-
58 // Returns 1 if the packet was sent successfully, 0 if there was an error
-
59 virtual int endPacket() =0;
-
60 // Write a single byte into the packet
-
61 virtual size_t write(uint8_t) =0;
-
62 // Write size bytes from buffer into the packet
-
63 virtual size_t write(const uint8_t *buffer, size_t size) =0;
-
64
-
65 // Start processing the next available incoming packet
-
66 // Returns the size of the packet in bytes, or 0 if no packets are available
-
67 virtual int parsePacket() =0;
-
68 // Number of bytes remaining in the current packet
-
69 virtual int available() =0;
-
70 // Read a single byte from the current packet
-
71 virtual int read() =0;
-
72 // Read up to len bytes from the current packet and place them into buffer
-
73 // Returns the number of bytes read, or 0 if none are available
-
74 virtual int read(unsigned char* buffer, size_t len) =0;
-
75 // Read up to len characters from the current packet and place them into buffer
-
76 // Returns the number of characters read, or 0 if none are available
-
77 virtual int read(char* buffer, size_t len) =0;
-
78 // Return the next byte from the current packet without moving on to the next byte
-
79 virtual int peek() =0;
-
80 virtual void flush() =0; // Finish reading the current packet
-
81
-
82 // Return the IP address of the host who sent the current incoming packet
-
83 virtual IPAddress remoteIP() =0;
-
84 // Return the port of the host who sent the current incoming packet
-
85 virtual uint16_t remotePort() =0;
-
86protected:
-
87 uint8_t* rawIPAddress(IPAddress& addr) { return addr.raw_address(); };
-
88};
-
-
89
-
90}
-
91
-
92using arduino::UDP;
-
Definition DMAPool.h:103
-
Definition IPAddress.h:43
-
Definition Stream.h:51
-
Definition Udp.h:42
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_w_character_8h_source.html b/docs/html/_w_character_8h_source.html deleted file mode 100644 index d7f3424..0000000 --- a/docs/html/_w_character_8h_source.html +++ /dev/null @@ -1,262 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/WCharacter.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
WCharacter.h
-
-
-
1/*
-
2 WCharacter.h - Character utility functions for Wiring & Arduino
-
3 Copyright (c) 2010 Hernando Barragan. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18 */
-
19
-
20#ifndef Character_h
-
21#define Character_h
-
22
-
23#include <ctype.h>
-
24
-
25namespace arduino {
-
26
-
27// WCharacter.h prototypes
-
28inline bool isAlphaNumeric(int c) __attribute__((always_inline));
-
29inline bool isAlpha(int c) __attribute__((always_inline));
-
30inline bool isAscii(int c) __attribute__((always_inline));
-
31inline bool isWhitespace(int c) __attribute__((always_inline));
-
32inline bool isControl(int c) __attribute__((always_inline));
-
33inline bool isDigit(int c) __attribute__((always_inline));
-
34inline bool isGraph(int c) __attribute__((always_inline));
-
35inline bool isLowerCase(int c) __attribute__((always_inline));
-
36inline bool isPrintable(int c) __attribute__((always_inline));
-
37inline bool isPunct(int c) __attribute__((always_inline));
-
38inline bool isSpace(int c) __attribute__((always_inline));
-
39inline bool isUpperCase(int c) __attribute__((always_inline));
-
40inline bool isHexadecimalDigit(int c) __attribute__((always_inline));
-
41inline int toAscii(int c) __attribute__((always_inline));
-
42inline int toLowerCase(int c) __attribute__((always_inline));
-
43inline int toUpperCase(int c)__attribute__((always_inline));
-
44
-
45
-
46// Checks for an alphanumeric character.
-
47// It is equivalent to (isalpha(c) || isdigit(c)).
-
48inline bool isAlphaNumeric(int c)
-
49{
-
50 return ( isalnum(c) == 0 ? false : true);
-
51}
-
52
-
53
-
54// Checks for an alphabetic character.
-
55// It is equivalent to (isupper(c) || islower(c)).
-
56inline bool isAlpha(int c)
-
57{
-
58 return ( isalpha(c) == 0 ? false : true);
-
59}
-
60
-
61
-
62// Checks whether c is a 7-bit unsigned char value
-
63// that fits into the ASCII character set.
-
64inline bool isAscii(int c)
-
65{
-
66 return ((c & ~0x7f) != 0 ? false : true );
-
67}
-
68
-
69
-
70// Checks for a blank character, that is, a space or a tab.
-
71inline bool isWhitespace(int c)
-
72{
-
73 return ( c == '\t' || c == ' ');
-
74}
-
75
-
76
-
77// Checks for a control character.
-
78inline bool isControl(int c)
-
79{
-
80 return ( iscntrl (c) == 0 ? false : true);
-
81}
-
82
-
83
-
84// Checks for a digit (0 through 9).
-
85inline bool isDigit(int c)
-
86{
-
87 return ( isdigit (c) == 0 ? false : true);
-
88}
-
89
-
90
-
91// Checks for any printable character except space.
-
92inline bool isGraph(int c)
-
93{
-
94 return ( isgraph (c) == 0 ? false : true);
-
95}
-
96
-
97
-
98// Checks for a lower-case character.
-
99inline bool isLowerCase(int c)
-
100{
-
101 return ( c >= 'a' && c <= 'z' );
-
102}
-
103
-
104
-
105// Checks for any printable character including space.
-
106inline bool isPrintable(int c)
-
107{
-
108 return ( isprint (c) == 0 ? false : true);
-
109}
-
110
-
111
-
112// Checks for any printable character which is not a space
-
113// or an alphanumeric character.
-
114inline bool isPunct(int c)
-
115{
-
116 return ( isPrintable(c) && !isSpace(c) && !isAlphaNumeric(c) );
-
117}
-
118
-
119
-
120// Checks for white-space characters. For the avr-libc library,
-
121// these are: space, formfeed ('\f'), newline ('\n'), carriage
-
122// return ('\r'), horizontal tab ('\t'), and vertical tab ('\v').
-
123inline bool isSpace(int c)
-
124{
-
125 return ( isspace (c) == 0 ? false : true);
-
126}
-
127
-
128
-
129// Checks for an uppercase letter.
-
130inline bool isUpperCase(int c)
-
131{
-
132 return ( isupper (c) == 0 ? false : true);
-
133}
-
134
-
135
-
136// Checks for a hexadecimal digits, i.e. one of 0 1 2 3 4 5 6 7
-
137// 8 9 a b c d e f A B C D E F.
-
138inline bool isHexadecimalDigit(int c)
-
139{
-
140 return ( isxdigit (c) == 0 ? false : true);
-
141}
-
142
-
143
-
144// Converts c to a 7-bit unsigned char value that fits into the
-
145// ASCII character set, by clearing the high-order bits.
-
146inline int toAscii(int c)
-
147{
-
148 return (c & 0x7f);
-
149}
-
150
-
151
-
152// Warning:
-
153// Many people will be unhappy if you use this function.
-
154// This function will convert accented letters into random
-
155// characters.
-
156
-
157// Converts the letter c to lower case, if possible.
-
158inline int toLowerCase(int c)
-
159{
-
160 return tolower (c);
-
161}
-
162
-
163
-
164// Converts the letter c to upper case, if possible.
-
165inline int toUpperCase(int c)
-
166{
-
167 return toupper (c);
-
168}
-
169
-
170}
-
171#endif
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_w_string_8h_source.html b/docs/html/_w_string_8h_source.html deleted file mode 100644 index 167f63a..0000000 --- a/docs/html/_w_string_8h_source.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated/WString.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
WString.h
-
-
-
1/*
-
2 Copyright 2016, Arduino LLC. All Right Reserved.
-
3
-
4 This library is free software; you can redistribute it and/or
-
5 modify it under the terms of the GNU Lesser General Public
-
6 License as published by the Free Software Foundation; either
-
7 version 2.1 of the License, or (at your option) any later version.
-
8
-
9 This library is distributed in the hope that it will be useful,
-
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
12 Lesser General Public License for more details.
-
13
-
14 You should have received a copy of the GNU Lesser General Public
-
15 License along with this library; if not, write to the Free Software
-
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
17*/
-
18
-
19// including WString.h is deprecated, for all future projects use Arduino.h instead
-
20
-
21// This include is added for compatibility, it will be removed on the next
-
22// major release of the API
-
23#include "../String.h"
-
24
-
- - - - diff --git a/docs/html/_wi_fi_8h_source.html b/docs/html/_wi_fi_8h_source.html deleted file mode 100644 index 40449b5..0000000 --- a/docs/html/_wi_fi_8h_source.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/WiFi.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
WiFi.h
-
-
-
1#pragma once
-
2
-
3#include "WiFiClient.h"
-
4#include "WiFiClientSecure.h"
-
5#include "WiFiServer.h"
-
6
-
14namespace arduino {
-
15
-
16enum wifi_ps_type_t { WIFI_PS_NONE, WIFI_PS_MIN_MODEM, WIFI_PS_MAX_MODEM };
-
17
-
-
18class WifiMock {
-
19 public:
-
20 virtual void begin(const char* name, const char* pwd) {
-
21 // nothing to be done
-
22 }
-
23
-
24 // we assume the network to be available on a desktop or host machine
-
25 wl_status_t status() { return WL_CONNECTED; }
-
26
-
27 IPAddress& localIP() {
-
28 SocketImpl sock;
-
29 adress.fromString(sock.getIPAddress());
-
30 return adress;
-
31 }
-
32
-
33 void setSleep(bool) {}
-
34
-
35 void setSleep(wifi_ps_type_t) {}
-
36
-
37 int macAddress() { return mac; }
-
38
-
39 void setClientInsecure() {}
-
40
-
41 protected:
-
42 IPAddress adress;
-
43 int mac = 0;
-
44};
-
-
45
-
46extern WifiMock WiFi;
-
47
-
48} // namespace arduino
-
Definition DMAPool.h:103
-
Definition IPAddress.h:43
-
Definition SocketImpl.h:11
-
Definition WiFi.h:18
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_wi_fi_client_8h_source.html b/docs/html/_wi_fi_client_8h_source.html deleted file mode 100644 index 0a57bbd..0000000 --- a/docs/html/_wi_fi_client_8h_source.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/WiFiClient.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
WiFiClient.h
-
-
-
1#pragma once
-
2
-
3#include "Ethernet.h"
-
4
-
5namespace arduino {
-
6
- -
11
-
12#if !defined(USE_HTTPS)
- -
17#endif
-
18}
-
Definition Ethernet.h:42
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_wi_fi_client_secure_8h_source.html b/docs/html/_wi_fi_client_secure_8h_source.html deleted file mode 100644 index a6cf333..0000000 --- a/docs/html/_wi_fi_client_secure_8h_source.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/WiFiClientSecure.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
WiFiClientSecure.h
-
-
-
1#pragma once
-
2#if defined(USE_HTTPS)
-
3#include "NetworkClientSecure.h"
-
4
-
5namespace arduino {
-
6
-
12using WiFiClientSecure = NetworkClientSecure;
-
13
-
14} // namespace arduino
-
15#else
-
16
-
17#include "WiFiClient.h"
-
18
-
19#endif
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
EthernetClient WiFiClientSecure
Alias for EthernetClient to provide WiFiClientSecure compatibility when HTTPS is not used.
Definition WiFiClient.h:16
-
- - - - diff --git a/docs/html/_wi_fi_server_8h_source.html b/docs/html/_wi_fi_server_8h_source.html deleted file mode 100644 index 0e52cba..0000000 --- a/docs/html/_wi_fi_server_8h_source.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/WiFiServer.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
WiFiServer.h
-
-
-
1#pragma once
-
2#include "EthernetServer.h"
-
3
-
4namespace arduino {
-
5
- -
10
-
11} // namespace arduino
-
Definition EthernetServer.h:16
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_wi_fi_u_d_p_8h_source.html b/docs/html/_wi_fi_u_d_p_8h_source.html deleted file mode 100644 index 4627ef5..0000000 --- a/docs/html/_wi_fi_u_d_p_8h_source.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/WiFiUDP.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
WiFiUDP.h
-
-
-
1#pragma once
-
2#include "EthernetUDP.h"
-
3
-
4namespace arduino {
-
5
- -
10
-
11}
-
Definition EthernetUDP.h:46
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_wi_fi_udp_stream_8h_source.html b/docs/html/_wi_fi_udp_stream_8h_source.html deleted file mode 100644 index 5b08569..0000000 --- a/docs/html/_wi_fi_udp_stream_8h_source.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/WiFiUdpStream.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
WiFiUdpStream.h
-
-
-
1#pragma once
-
2
-
3#include <string.h>
-
4
-
5#include <thread>
-
6
-
7#include "ArduinoLogger.h"
-
8#include "WiFiUDP.h"
-
9#include "api/ArduinoAPI.h"
-
10#include "api/IPAddress.h"
-
11
-
12namespace arduino {
-
13
-
-
38class WiFiUDPStream : public WiFiUDP {
-
39 public:
-
40 // unknown target -> we wait for a hallo until we get one
-
41 WiFiUDPStream() = default;
-
42
-
43 // known target
- -
45 setTarget(targetAdress, port);
-
46 }
-
47
-
48 void flush() {
-
49 WiFiUDP::flush();
-
50 endPacket();
-
51 if (!targetDefined()) {
-
52 target_adress = remoteIP();
-
53 }
-
54 beginPacket(target_adress, port);
-
55 }
-
56
-
57 void stop() {
-
58 if (active) {
-
59 endPacket();
-
60 WiFiUDP::stop();
-
61 active = false;
-
62 }
-
63 }
-
64
-
65 bool targetDefined() { return ((uint32_t)target_adress) != 0; }
-
66
-
67 void setTarget(IPAddress targetAdress, int port) {
-
68 this->target_adress = targetAdress;
-
69 this->port = port;
-
70 beginPacket(targetAdress, port);
-
71 }
-
72
-
73 size_t readBytes(uint8_t* values, size_t len) {
-
74 if (this->available() == 0) {
-
75 // we need to receive the next packet
-
76 this->parsePacket();
-
77 Logger.debug("parsePacket");
-
78 } else {
-
79 Logger.debug("no parsePacket()");
-
80 }
-
81 size_t result = read(values, len);
-
82
-
83 char msg[50];
-
84 sprintf(msg, "->len %ld", result);
-
85 Logger.debug(msg);
-
86
-
87 return result;
-
88 }
-
89
-
90 bool isActive() { return active; }
-
91
-
92 protected:
-
93 bool active = false;
-
94 IPAddress target_adress{0, 0, 0, 0};
-
95 int port = 0;
-
96};
-
-
97
-
98// Define a global function which will be used to start a thread
-
99
-
100} // namespace arduino
-
Definition DMAPool.h:103
-
Definition EthernetUDP.h:46
-
Definition IPAddress.h:43
-
UDP Stream implementation for single-target communication.
Definition WiFiUdpStream.h:38
-
We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is ...
Definition CanMsg.cpp:31
-
- - - - diff --git a/docs/html/_wire_8h_source.html b/docs/html/_wire_8h_source.html deleted file mode 100644 index dd1deb4..0000000 --- a/docs/html/_wire_8h_source.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/Wire.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Wire.h
-
-
-
1#pragma once
-
2#include "I2CWrapper.h"
-
- - - - diff --git a/docs/html/annotated.html b/docs/html/annotated.html deleted file mode 100644 index 19beb08..0000000 --- a/docs/html/annotated.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - -arduino-emulator: Class List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Class List
-
-
-
Here are the classes, structs, unions and interfaces with brief descriptions:
-
[detail level 123]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 NarduinoWe provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is already active. So we dont need to do anything
 C__container__
 CArduinoLoggerA simple Logger that writes messages dependent on the log level
 CCanMsg
 CCanMsgRingbuffer
 CClient
 CDMABuffer
 CDMAPool
 CEthernetClient
 CEthernetImpl
 CEthernetServer
 CEthernetUDP
 CFileStreamWe use the FileStream class to be able to provide Serail, Serial1 and Serial2 outside of the Arduino environment;
 CGPIOSourceAbstract interface for providing GPIO hardware implementations
 CGPIOWrapperGPIO wrapper class that provides flexible hardware abstraction
 CHardwareCAN
 CHardwareGPIOAbstract base class for GPIO (General Purpose Input/Output) functions
 CHardwareGPIO_RPIGPIO hardware abstraction for Raspberry Pi in the Arduino emulator
 CHardwareI2C
 CHardwareI2C_RPIImplementation of I2C communication for Raspberry Pi using Linux I2C device interface
 CHardwareSerial
 CHardwareServiceProvides a virtualized hardware communication service for SPI, I2C, I2S, and GPIO over a stream
 CHardwareSetupRemoteConfigures and manages remote hardware interfaces for Arduino emulation
 CHardwareSetupRPISets up hardware interfaces for Raspberry Pi (GPIO, I2C, SPI)
 CHardwareSPI
 CHardwareSPI_RPIImplementation of SPI communication for Raspberry Pi using Linux SPI device interface
 CI2CSourceAbstract interface for providing I2C hardware implementations
 CI2CWrapperI2C wrapper class that provides flexible hardware abstraction
 CIPAddress
 CNetworkClientSecureNetworkClientSecure based on wolf ssl
 CPluggableUSB_
 CPluggableUSBModule
 CPrint
 CPrintable
 CRemoteGPIORemote GPIO implementation that operates over a communication stream
 CRemoteI2CRemote I2C implementation that operates over a communication stream
 CRemoteSerialClassRemote Serial implementation that operates over a communication stream
 CRemoteSPIRemote SPI implementation that operates over a communication stream
 CRingBufferExtImplementation of a Simple Circular Buffer. Instead of comparing the position of the read and write pointer in order to figure out if we still have characters available or space left to write we keep track of the actual length which is easier to follow. This class was implemented to support the reading and writing of arrays
 CRingBufferN
 CSerialImpl
 CServer
 CSocketImpl
 CSocketImplSecureSSL Socket using wolf ssl. For error codes see https://wolfssl.jp/docs-3/wolfssl-manual/appendix-c
 CSPISettings
 CSPISourceAbstract interface for providing SPI hardware implementations
 CSPIWrapperSPI wrapper class that provides flexible hardware abstraction
 CSPSCQueue
 CStdioDeviceProvides a Stream interface for standard input/output operations outside the Arduino environment
 CStream
 CMultiTarget
 CString
 CStringSumHelper
 CUDP
 CWifiMock
 CWiFiUDPStreamUDP Stream implementation for single-target communication
 NCatch
 CStringMaker< arduino::String >
 CFileC++ std based emulatoion ofr File
 CPrintableMock
 CPrintMock
 CSdFatC++ std based emulatoion ofr SdFat
 CSdFileC++ std based emulatoion ofr SdFile
 CSdSpiConfigC++ std based emulatoion of SdSpiConfig
 CserialibThis class is used for communication over a serial device
 CSignalHandler
 CSPIClassMock SPIClass is a class that implements the HardwareSPI interface. e.g. Using Files do not need SPI, but usually do some SPI setup
 CStreamMock
 CtimeOutThis class can manage a timer which is used as a timeout
-
-
- - - - diff --git a/docs/html/avr_2pins__arduino_8h_source.html b/docs/html/avr_2pins__arduino_8h_source.html deleted file mode 100644 index 6b21f50..0000000 --- a/docs/html/avr_2pins__arduino_8h_source.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/avr/pins_arduino.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
pins_arduino.h
-
-
-
1#ifndef Pins_Arduino_h
-
2#define Pins_Arduino_h
-
3
-
4#include <avr/pgmspace.h>
-
5
-
6#define NUM_DIGITAL_PINS 20
-
7#define NUM_ANALOG_INPUTS 6
-
8#define analogInputToDigitalPin(p) ((p < 6) ? (p) + 14 : -1)
-
9
-
10#if defined(__AVR_ATmega8__)
-
11#define digitalPinHasPWM(p) ((p) == 9 || (p) == 10 || (p) == 11)
-
12#else
-
13#define digitalPinHasPWM(p) ((p) == 3 || (p) == 5 || (p) == 6 || (p) == 9 || (p) == 10 || (p) == 11)
-
14#endif
-
15
-
16#define PIN_SPI_SS (10)
-
17#define PIN_SPI_MOSI (11)
-
18#define PIN_SPI_MISO (12)
-
19#define PIN_SPI_SCK (13)
-
20
-
21static const uint8_t SS = PIN_SPI_SS;
-
22static const uint8_t MOSI = PIN_SPI_MOSI;
-
23static const uint8_t MISO = PIN_SPI_MISO;
-
24static const uint8_t SCK = PIN_SPI_SCK;
-
25
-
26#define PIN_WIRE_SDA (18)
-
27#define PIN_WIRE_SCL (19)
-
28
-
29static const uint8_t SDA = PIN_WIRE_SDA;
-
30static const uint8_t SCL = PIN_WIRE_SCL;
-
31
-
32#define LED_BUILTIN 13
-
33
-
34#define PIN_A0 (14)
-
35#define PIN_A1 (15)
-
36#define PIN_A2 (16)
-
37#define PIN_A3 (17)
-
38#define PIN_A4 (18)
-
39#define PIN_A5 (19)
-
40#define PIN_A6 (20)
-
41#define PIN_A7 (21)
-
42
-
43static const uint8_t A0 = PIN_A0;
-
44static const uint8_t A1 = PIN_A1;
-
45static const uint8_t A2 = PIN_A2;
-
46static const uint8_t A3 = PIN_A3;
-
47static const uint8_t A4 = PIN_A4;
-
48static const uint8_t A5 = PIN_A5;
-
49static const uint8_t A6 = PIN_A6;
-
50static const uint8_t A7 = PIN_A7;
-
51
-
52#define digitalPinToPCICR(p) (((p) >= 0 && (p) <= 21) ? (&PCICR) : ((uint8_t *)0))
-
53#define digitalPinToPCICRbit(p) (((p) <= 7) ? 2 : (((p) <= 13) ? 0 : 1))
-
54#define digitalPinToPCMSK(p) (((p) <= 7) ? (&PCMSK2) : (((p) <= 13) ? (&PCMSK0) : (((p) <= 21) ? (&PCMSK1) : ((uint8_t *)0))))
-
55#define digitalPinToPCMSKbit(p) (((p) <= 7) ? (p) : (((p) <= 13) ? ((p) - 8) : ((p) - 14)))
-
56
-
57#define digitalPinToInterrupt(p) ((p) == 2 ? 0 : ((p) == 3 ? 1 : NOT_AN_INTERRUPT))
-
58
-
59#endif
-
- - - - diff --git a/docs/html/bc_s.png b/docs/html/bc_s.png deleted file mode 100644 index 224b29aa9847d5a4b3902efd602b7ddf7d33e6c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 676 zcmV;V0$crwP)y__>=_9%My z{n931IS})GlGUF8K#6VIbs%684A^L3@%PlP2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s z(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~3P5N3-)Y{65c;ywYiAh-1*hZcToLHK ztpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~fBz8?J>XHsbZoDad^8PxfSa0GDgENZS zuLCEqzb*xWX2CG*b&5IiO#NzrW*;`VC9455M`o1NBh+(k8~`XCEEoC1Ybwf;vr4K3 zg|EB<07?SOqHp9DhLpS&bzgo70I+ghB_#)K7H%AMU3v}xuyQq9&Bm~++VYhF09a+U zl7>n7Jjm$K#b*FONz~fj;I->Bf;ule1prFN9FovcDGBkpg>)O*-}eLnC{6oZHZ$o% zXKW$;0_{8hxHQ>l;_*HATI(`7t#^{$(zLe}h*mqwOc*nRY9=?Sx4OOeVIfI|0V(V2 zBrW#G7Ss9wvzr@>H*`r>zE z+e8bOBgqIgldUJlG(YUDviMB`9+DH8n-s9SXRLyJHO1!=wY^79WYZMTa(wiZ!zP66 zA~!21vmF3H2{ngD;+`6j#~6j;$*f*G_2ZD1E;9(yaw7d-QnSCpK(cR1zU3qU0000< KMNUMnLSTYoA~SLT diff --git a/docs/html/bc_sd.png b/docs/html/bc_sd.png deleted file mode 100644 index 31ca888dc71049713b35c351933a8d0f36180bf1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 635 zcmV->0)+jEP)Jwi0r1~gdSq#w{Bu1q z`craw(p2!hu$4C_$Oc3X(sI6e=9QSTwPt{G) z=htT&^~&c~L2~e{r5_5SYe7#Is-$ln>~Kd%$F#tC65?{LvQ}8O`A~RBB0N~`2M+waajO;5>3B&-viHGJeEK2TQOiPRa zfDKyqwMc4wfaEh4jt>H`nW_Zidwk@Bowp`}(VUaj-pSI(-1L>FJVsX}Yl9~JsqgsZ zUD9(rMwf23Gez6KPa|wwInZodP-2}9@fK0Ga_9{8SOjU&4l`pH4@qlQp83>>HT$xW zER^U>)MyV%t(Lu=`d=Y?{k1@}&r7ZGkFQ%z%N+sE9BtYjovzxyxCPxN6&@wLK{soQ zSmkj$aLI}miuE^p@~4}mg9OjDfGEkgY4~^XzLRUBB*O{+&vq<3v(E%+k_i%=`~j%{ Vj14gnt9}3g002ovPDHLkV1n!oC4m3{ diff --git a/docs/html/bdwn.png b/docs/html/bdwn.png deleted file mode 100644 index 940a0b950443a0bb1b216ac03c45b8a16c955452..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^>_E)H!3HEvS)PKZC{Gv1kP61Pb5HX&C2wk~_T - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
-
File Member List
-
-
- -

This is the complete list of members for File, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
available() override (defined in File)Fileinline
availableForWrite() override (defined in File)Fileinline
close() (defined in File)Fileinline
dir_path (defined in File)Fileprotected
dirIndex() (defined in File)Fileinline
file (defined in File)Fileprotected
filename (defined in File)Fileprotected
flush() override (defined in File)Fileinline
getName(char *str, size_t len) (defined in File)Fileinline
info (defined in File)Fileprotected
is_dir (defined in File)Fileprotected
isDir() (defined in File)Fileinline
isDirectory() (defined in File)Fileinline
isHidden() (defined in File)Fileinline
isOpen() (defined in File)Fileinline
iterator (defined in File)Fileprotected
name() (defined in File)Fileinline
open(const char *name, int flags) (defined in File)Fileinline
openNext(File &dir, int flags=O_RDONLY) (defined in File)Fileinline
openNextFile() (defined in File)Fileinline
operator bool() (defined in File)Fileinline
peek() override (defined in File)Fileinline
pos (defined in File)Fileprotected
position() (defined in File)Fileinline
read(uint8_t *buffer, size_t length) (defined in File)Fileinline
read() override (defined in File)Fileinline
readBytes(char *buffer, size_t length) (defined in File)Fileinline
rewind() (defined in File)Fileinline
rewindDirectory() (defined in File)Fileinline
seek(size_t pos) (defined in File)Fileinline
size() (defined in File)Fileinline
size_bytes (defined in File)Fileprotected
toMode(int flags) (defined in File)Fileinlineprotected
write(const uint8_t *buffer, size_t size) override (defined in File)Fileinline
write(uint8_t ch) override (defined in File)Fileinline
- - - - diff --git a/docs/html/class_file.html b/docs/html/class_file.html deleted file mode 100644 index 38758d7..0000000 --- a/docs/html/class_file.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - -arduino-emulator: File Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
- -

C++ std based emulatoion ofr File. - More...

- -

#include <SD.h>

-
-Inheritance diagram for File:
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

-int available () override
 
-int availableForWrite () override
 
-bool close ()
 
-int dirIndex ()
 
-void flush () override
 
-void getName (char *str, size_t len)
 
-bool isDir ()
 
-bool isDirectory ()
 
-bool isHidden ()
 
-bool isOpen ()
 
-const char * name ()
 
-bool open (const char *name, int flags)
 
-bool openNext (File &dir, int flags=O_RDONLY)
 
-File openNextFile ()
 
operator bool ()
 
-int peek () override
 
-size_t position ()
 
-int read () override
 
-size_t read (uint8_t *buffer, size_t length)
 
-size_t readBytes (char *buffer, size_t length)
 
-bool rewind ()
 
-void rewindDirectory ()
 
-bool seek (size_t pos)
 
-size_t size ()
 
-size_t write (const uint8_t *buffer, size_t size) override
 
-size_t write (uint8_t ch) override
 
- - - -

-Protected Member Functions

-std::ios_base::openmode toMode (int flags)
 
- - - - - - - - - - - - - - - - - -

-Protected Attributes

-std::filesystem::path dir_path
 
-std::fstream file
 
-std::string filename = ""
 
-struct stat info
 
-bool is_dir = false
 
-std::filesystem::directory_iterator iterator
 
-int pos = 0
 
-size_t size_bytes = 0
 
-

Detailed Description

-

C++ std based emulatoion ofr File.

-

The documentation for this class was generated from the following file:
    -
  • ArduinoCore-Linux/libraries/SD.h
  • -
-
- - - - diff --git a/docs/html/class_file.png b/docs/html/class_file.png deleted file mode 100644 index 9373cba64eda799b2552ba70931594cb9530011c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 330 zcmeAS@N?(olHy`uVBq!ia0vp^#y}jv!3-pu<@de;QqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCG95?_J51w>+1yGK&B*-tA0mugfbEer>fPz;&T^vIy7~jqf12F$k@GLp-4a?qUbNbl(ow+Mb zzbl^1=6x2%#*k!WoSkiC%)P34<}!;b2hVs&yh_YFoomo6c_!iCT*ih4Jd;E&eV(a0 zYiG6RrQK3KpMS}2{kCu@ - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
-
PrintMock Member List
-
-
- -

This is the complete list of members for PrintMock, including all inherited members.

- - - - - -
_str (defined in PrintMock)PrintMock
mock_setWriteError() (defined in PrintMock)PrintMockinline
mock_setWriteError(int err) (defined in PrintMock)PrintMockinline
write(uint8_t b) override (defined in PrintMock)PrintMockvirtual
- - - - diff --git a/docs/html/class_print_mock.html b/docs/html/class_print_mock.html deleted file mode 100644 index 94e88d2..0000000 --- a/docs/html/class_print_mock.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -arduino-emulator: PrintMock Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
- -
PrintMock Class Reference
-
-
-
-Inheritance diagram for PrintMock:
-
-
- -
- - - - - - - - -

-Public Member Functions

-void mock_setWriteError ()
 
-void mock_setWriteError (int err)
 
-virtual size_t write (uint8_t b) override
 
- - - -

-Public Attributes

-std::string _str
 
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-API/test/include/PrintMock.h
  • -
  • ArduinoCore-API/test/src/PrintMock.cpp
  • -
-
- - - - diff --git a/docs/html/class_print_mock.png b/docs/html/class_print_mock.png deleted file mode 100644 index f9517a02df64bc08aa7adb4765c025300cbeb8d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 377 zcmeAS@N?(olHy`uVBq!ia0vp^u0R~X!3-oTJUonnlyrbki0l9V|AEXGZ@!lHA6jl< zpjjX>{mhF42Mz$mgC|{H0hHq`3GxeO0P?}WoN4wI1_nkJPZ!6K3dXl{FZQ)4@VLIO z{rK(w{t8i%lCH(Z8&0O>&T)2bOxB%QJ|V??fl8^6nCGWCkwMQ-FIlE~vN$Vq{?BWN zzUUk_y7o)u>iw;%nqCuB&Zou~+5T4W)ZerAso=Ep?>r{G69($~{4TOuQae+0t;VKIgeEvyVS=eK|?oEfQ}XlVRd#5=3> zh3jv>)tdI~Sjx$pzxu4jmZeKhQapZk)3w>oYd0sJ?2bNhtMtxXUGBI0_Pn#% zD6{Wl#OcnZ8g)l6{a92kHvi7ryBl+2Z${PcS^PEPkM!9yHXx(Vh)sI)l)dq0aQ6C- S>&^fJiNVv=&t;ucLK6TN@~z - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
-
PrintableMock Member List
-
-
- -

This is the complete list of members for PrintableMock, including all inherited members.

- - - -
_i (defined in PrintableMock)PrintableMock
printTo(arduino::Print &p) const override (defined in PrintableMock)PrintableMockinlinevirtual
- - - - diff --git a/docs/html/class_printable_mock.html b/docs/html/class_printable_mock.html deleted file mode 100644 index a8c8096..0000000 --- a/docs/html/class_printable_mock.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - -arduino-emulator: PrintableMock Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
- -
PrintableMock Class Reference
-
-
-
-Inheritance diagram for PrintableMock:
-
-
- - -arduino::Printable - -
- - - - -

-Public Member Functions

virtual size_t printTo (arduino::Print &p) const override
 
- - - -

-Public Attributes

-int _i
 
-

Member Function Documentation

- -

◆ printTo()

- -
-
- - - - - -
- - - - - - - - -
virtual size_t PrintableMock::printTo (arduino::Printp) const
-
-inlineoverridevirtual
-
- -

Implements arduino::Printable.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/class_printable_mock.png b/docs/html/class_printable_mock.png deleted file mode 100644 index 8d084c586f7c33eab435adee0d1ec3bf05e2829a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 524 zcmV+n0`vWeP)vTJr#LVva2S`&=)l0h|Ns9}lGCUF000SeQchC<|NsC0|NsC0Hv*f~0004( zNkl0;A&}%YIgcdQ z>DTbYn2~I^#Ltzx%+AXn;E|-EWSCtK^Gdc74fkmrvpe18W!q8XMQ`;aN4AwkNp)T2 zwO5&N<{em4y4zaO*~Y+B&&sU7JN!alo_cs{C9ZQ=NGqJ+aOI_o1Xh@NP6Iv{!G_Jf0E<|IgcdQ$$2EXP9NZf5W+qIz$>}| zz(#H6-EMnlpYKoS0l-2z4*=H5c>u6Z&I5pTavlJzlk)&zoty^%>*PED zFeDNq zmD(K633eS6|9~eVvQJ-jYg|W?bU_gS O0000 - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
-
SPIClass Member List
-
-
- -

This is the complete list of members for SPIClass, including all inherited members.

- - - - - - - - - - - - - - -
attachInterrupt() override (defined in SPIClass)SPIClassinline
begin() override (defined in SPIClass)SPIClassinline
beginTransaction(SPISettings settings) override (defined in SPIClass)SPIClassinline
detachInterrupt() override (defined in SPIClass)SPIClassinline
end() override (defined in SPIClass)SPIClassinline
endTransaction(void) override (defined in SPIClass)SPIClassinline
notUsingInterrupt(int interruptNumber) override (defined in SPIClass)SPIClassinline
SPIClass()=default (defined in SPIClass)SPIClass
transfer(uint8_t data) override (defined in SPIClass)SPIClassinline
transfer(void *buf, size_t count) override (defined in SPIClass)SPIClassinline
transfer16(uint16_t data) override (defined in SPIClass)SPIClassinline
usingInterrupt(int interruptNumber) override (defined in SPIClass)SPIClassinline
~SPIClass()=default (defined in SPIClass)SPIClassvirtual
- - - - diff --git a/docs/html/class_s_p_i_class.html b/docs/html/class_s_p_i_class.html deleted file mode 100644 index 38378c0..0000000 --- a/docs/html/class_s_p_i_class.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - -arduino-emulator: SPIClass Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
- -
SPIClass Class Reference
-
-
- -

Mock SPIClass is a class that implements the HardwareSPI interface. e.g. Using Files do not need SPI, but usually do some SPI setup. - More...

- -

#include <SPI.h>

-
-Inheritance diagram for SPIClass:
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

-void attachInterrupt () override
 
-void begin () override
 
-void beginTransaction (SPISettings settings) override
 
-void detachInterrupt () override
 
-void end () override
 
-void endTransaction (void) override
 
-void notUsingInterrupt (int interruptNumber) override
 
-uint8_t transfer (uint8_t data) override
 
-void transfer (void *buf, size_t count) override
 
-uint16_t transfer16 (uint16_t data) override
 
-void usingInterrupt (int interruptNumber) override
 
-

Detailed Description

-

Mock SPIClass is a class that implements the HardwareSPI interface. e.g. Using Files do not need SPI, but usually do some SPI setup.

-

The documentation for this class was generated from the following file:
    -
  • ArduinoCore-Linux/libraries/SPI.h
  • -
-
- - - - diff --git a/docs/html/class_s_p_i_class.png b/docs/html/class_s_p_i_class.png deleted file mode 100644 index e666b088e45d2320bdc7056809dcfb0c7be4513c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 431 zcmV;g0Z{&lP)vTJr#LVva2S`&=)l0h|Ns9}lGCUF000SeQchC<|NsC0|NsC0Hv*f~0003x zNkl?^$iF~Y@y>ouY%})&?vs7;w z74ma^#eoY~?$tCz)PXukZYlFMSNr|LT$_8NMq}J`&*uxO8|>cUE`8zu56%rC2>U`V zGxK~A5shjiB3htD+-+L}Uc}w8OTeqRU)K-LbuJNAbFOopOGKpQT<889E;I825d*+< zIrlHP@j{DBUakSavzpw@(O#_qz`goh%{ot&@5oz#ARll ZuODFZXv}w$$qxVk002ovPDHLkV1hEj%~=2d diff --git a/docs/html/class_sd_fat-members.html b/docs/html/class_sd_fat-members.html deleted file mode 100644 index 59984b5..0000000 --- a/docs/html/class_sd_fat-members.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
-
SdFat Member List
-
-
- -

This is the complete list of members for SdFat, including all inherited members.

- - - - - - - - - - - - - - - - - - - -
begin(int cs=SS, int speed=0) (defined in SdFat)SdFatinline
begin(SdSpiConfig &cfg) (defined in SdFat)SdFatinline
begin(int cs=SS, int speed=0) (defined in SdFat)SdFatinline
begin(SdSpiConfig &cfg) (defined in SdFat)SdFatinline
end() (defined in SdFat)SdFatinline
end() (defined in SdFat)SdFatinline
errorHalt(const char *msg) (defined in SdFat)SdFatinline
errorHalt(const char *msg) (defined in SdFat)SdFatinline
exists(const char *name) (defined in SdFat)SdFatinline
exists(char *name) (defined in SdFat)SdFatinline
initErrorHalt() (defined in SdFat)SdFatinline
initErrorHalt() (defined in SdFat)SdFatinline
mkdir(const char *name) (defined in SdFat)SdFatinline
open(const char *name, int flags=O_READ) (defined in SdFat)SdFatinline
remove(const char *name) (defined in SdFat)SdFatinline
rmdir(const char *path) (defined in SdFat)SdFatinline
totalBytes() (defined in SdFat)SdFatinline
usedBytes() (defined in SdFat)SdFatinline
- - - - diff --git a/docs/html/class_sd_fat.html b/docs/html/class_sd_fat.html deleted file mode 100644 index 4def752..0000000 --- a/docs/html/class_sd_fat.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - -arduino-emulator: SdFat Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
- -
SdFat Class Reference
-
-
- -

C++ std based emulatoion ofr SdFat. - More...

- -

#include <SD.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

-bool begin (int cs=SS, int speed=0)
 
-bool begin (int cs=SS, int speed=0)
 
-bool begin (SdSpiConfig &cfg)
 
-bool begin (SdSpiConfig &cfg)
 
-void end ()
 
-void end ()
 
-void errorHalt (const char *msg)
 
-void errorHalt (const char *msg)
 
-bool exists (char *name)
 
-bool exists (const char *name)
 
-void initErrorHalt ()
 
-void initErrorHalt ()
 
-bool mkdir (const char *name)
 
-File open (const char *name, int flags=O_READ)
 
-bool remove (const char *name)
 
-bool rmdir (const char *path)
 
-uint64_t totalBytes ()
 
-uint64_t usedBytes ()
 
-

Detailed Description

-

C++ std based emulatoion ofr SdFat.

-

The documentation for this class was generated from the following files:
    -
  • ArduinoCore-Linux/libraries/SD.h
  • -
  • ArduinoCore-Linux/libraries/SdFat.h
  • -
-
- - - - diff --git a/docs/html/class_sd_file-members.html b/docs/html/class_sd_file-members.html deleted file mode 100644 index 2fded88..0000000 --- a/docs/html/class_sd_file-members.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
-
SdFile Member List
-
-
- -

This is the complete list of members for SdFile, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - -
available() override (defined in SdFile)SdFileinline
availableForWrite() override (defined in SdFile)SdFileinline
close() (defined in SdFile)SdFileinline
dir_path (defined in SdFile)SdFileprotected
dirIndex() (defined in SdFile)SdFileinline
file (defined in SdFile)SdFileprotected
filename (defined in SdFile)SdFileprotected
flush() override (defined in SdFile)SdFileinline
getName(char *str, size_t len) (defined in SdFile)SdFileinline
is_dir (defined in SdFile)SdFileprotected
isDir() (defined in SdFile)SdFileinline
isHidden() (defined in SdFile)SdFileinline
isOpen() (defined in SdFile)SdFileinline
iterator (defined in SdFile)SdFileprotected
open(const char *name, int flags) (defined in SdFile)SdFileinline
openNext(SdFile &dir, int flags=O_RDONLY) (defined in SdFile)SdFileinline
peek() override (defined in SdFile)SdFileinline
pos (defined in SdFile)SdFileprotected
read() override (defined in SdFile)SdFileinline
readBytes(uint8_t *buffer, size_t length) (defined in SdFile)SdFileinline
rewind() (defined in SdFile)SdFileinline
size (defined in SdFile)SdFileprotected
write(const uint8_t *buffer, size_t size) override (defined in SdFile)SdFileinline
write(uint8_t ch) override (defined in SdFile)SdFileinline
- - - - diff --git a/docs/html/class_sd_file.html b/docs/html/class_sd_file.html deleted file mode 100644 index e745001..0000000 --- a/docs/html/class_sd_file.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - -arduino-emulator: SdFile Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
- -

C++ std based emulatoion ofr SdFile. - More...

- -

#include <SdFat.h>

-
-Inheritance diagram for SdFile:
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

-int available () override
 
-int availableForWrite () override
 
-bool close ()
 
-int dirIndex ()
 
-void flush () override
 
-void getName (char *str, size_t len)
 
-bool isDir ()
 
-bool isHidden ()
 
-bool isOpen ()
 
-bool open (const char *name, int flags)
 
-bool openNext (SdFile &dir, int flags=O_RDONLY)
 
-int peek () override
 
-int read () override
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-bool rewind ()
 
-size_t write (const uint8_t *buffer, size_t size) override
 
-size_t write (uint8_t ch) override
 
- - - - - - - - - - - - - - - -

-Protected Attributes

-std::filesystem::path dir_path
 
-std::fstream file
 
-std::string filename
 
-bool is_dir
 
-std::filesystem::directory_iterator iterator
 
-int pos = 0
 
-size_t size = 0
 
-

Detailed Description

-

C++ std based emulatoion ofr SdFile.

-

The documentation for this class was generated from the following file:
    -
  • ArduinoCore-Linux/libraries/SdFat.h
  • -
-
- - - - diff --git a/docs/html/class_sd_file.png b/docs/html/class_sd_file.png deleted file mode 100644 index b45093dbeb14ec77212857f3eebbd9f91c399cc1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 346 zcmeAS@N?(olHy`uVBq!ia0vp^#y}jv!3-pu<@de;QqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCG95?_J51w>+1yGK&B*-tA0mugfbEer>fPzmwT^vIy7~jr~6*{cI(Qbp1sfNnO4kg{A${{%;4KW zpTw7MKbE%c<}2o1_lz?>f5}=Q*}L=RVJXkG^JmyKUu-_OZP^)vY1gA)Fa0zv+V||- z_L-II&fYo2;NaupvX4(`(E_mX&vdpd6n(bsj@jm!XLFw2mt^4RQcx1Q)I4*F zhwZcIUC&jOw)I?$(t9kg?(^;S%%UxFdV3?|!`%$cnU{8*vIt)G|L3F2tWQ!N7~e1E lJ{$a2d1q(GpCu4`^tqPVlsqX=bq0Ev!PC{xWt~$(696xjpRfP` diff --git a/docs/html/class_sd_spi_config-members.html b/docs/html/class_sd_spi_config-members.html deleted file mode 100644 index fb80af7..0000000 --- a/docs/html/class_sd_spi_config-members.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
-
SdSpiConfig Member List
-
-
- -

This is the complete list of members for SdSpiConfig, including all inherited members.

-
- - - - diff --git a/docs/html/class_sd_spi_config.html b/docs/html/class_sd_spi_config.html deleted file mode 100644 index ad9c55c..0000000 --- a/docs/html/class_sd_spi_config.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - -arduino-emulator: SdSpiConfig Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
- -
SdSpiConfig Class Reference
-
-
- -

C++ std based emulatoion of SdSpiConfig. - More...

- -

#include <SD.h>

-

Detailed Description

-

C++ std based emulatoion of SdSpiConfig.

-

The documentation for this class was generated from the following files:
    -
  • ArduinoCore-Linux/libraries/SD.h
  • -
  • ArduinoCore-Linux/libraries/SdFat.h
  • -
-
- - - - diff --git a/docs/html/class_signal_handler-members.html b/docs/html/class_signal_handler-members.html deleted file mode 100644 index 5928084..0000000 --- a/docs/html/class_signal_handler-members.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
-
SignalHandler Member List
-
-
- -

This is the complete list of members for SignalHandler, including all inherited members.

- - - -
HandlerFunc typedef (defined in SignalHandler)SignalHandler
registerHandler(int signum, HandlerFunc handler) (defined in SignalHandler)SignalHandlerinlinestatic
- - - - diff --git a/docs/html/class_signal_handler.html b/docs/html/class_signal_handler.html deleted file mode 100644 index 02b8933..0000000 --- a/docs/html/class_signal_handler.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - -arduino-emulator: SignalHandler Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
- -
SignalHandler Class Reference
-
-
- - - - -

-Public Types

-using HandlerFunc = std::function< void(int)>
 
- - - -

-Static Public Member Functions

-static void registerHandler (int signum, HandlerFunc handler)
 
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/class_stream_mock-members.html b/docs/html/class_stream_mock-members.html deleted file mode 100644 index 1fda4ad..0000000 --- a/docs/html/class_stream_mock-members.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
-
StreamMock Member List
-
-
- -

This is the complete list of members for StreamMock, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
available() override (defined in StreamMock)StreamMockvirtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush() (defined in arduino::Print)arduino::Printinlinevirtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
operator<<(char const *str) (defined in StreamMock)StreamMock
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
peek() override (defined in StreamMock)StreamMockvirtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
Print() (defined in arduino::Print)arduino::Printinline
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
read() override (defined in StreamMock)StreamMockvirtual
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytes(uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
write(uint8_t ch) override (defined in StreamMock)StreamMockvirtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const uint8_t *buffer, size_t size) (defined in arduino::Print)arduino::Printvirtual
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
- - - - diff --git a/docs/html/class_stream_mock.html b/docs/html/class_stream_mock.html deleted file mode 100644 index 58bec55..0000000 --- a/docs/html/class_stream_mock.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - - - - -arduino-emulator: StreamMock Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
- -
StreamMock Class Reference
-
-
-
-Inheritance diagram for StreamMock:
-
-
- - -arduino::Stream -arduino::Print - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual int available () override
 
-void operator<< (char const *str)
 
virtual int peek () override
 
virtual int read () override
 
virtual size_t write (uint8_t ch) override
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-virtual void flush ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
-virtual size_t write (const uint8_t *buffer, size_t size)
 
- - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - -
- - - - - - - - -
int StreamMock::available (void )
-
-overridevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ peek()

- -
-
- - - - - -
- - - - - - - - -
int StreamMock::peek (void )
-
-overridevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ read()

- -
-
- - - - - -
- - - - - - - - -
int StreamMock::read (void )
-
-overridevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - -
size_t StreamMock::write (uint8_t ch)
-
-overridevirtual
-
- -

Implements arduino::Print.

- -
-
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-API/test/include/StreamMock.h
  • -
  • ArduinoCore-API/test/src/StreamMock.cpp
  • -
-
- - - - diff --git a/docs/html/class_stream_mock.png b/docs/html/class_stream_mock.png deleted file mode 100644 index d8f3e62ab6b5bc7ac36e7299cf0da55f4664db36..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 710 zcmeAS@N?(olHy`uVBq!ia0vp^DL~x8!3-qTcI}%Fq@)9ULR|m<{|{uoc=NTi|Il&^ z1I+@7>1SRXIB)p){((M&y=Wbl7dv1bl(k7kYwiGeVs}hxae8U;1 zCWIbHew9_UX`kP9TaR)RZWoWTS$vl2zswaj>U-Hf{*b2YhuI45IxVrafgmB|KrO;rve=Pr7%VR%A$+?#ysNr=6i8l8=#L zvkVhMnk5UvnIaB`8DEzxDz+FzbEsH`gAB6co_Me;#WbZ>&+dNngeMLc6Kd}^Eh%1W zH#@m%y2k7CUkrV}YCgL5F68DE240o>Hb0+eIvc%Su-_rEm#kFGVd-GMR zCQR|$dYLom>P4%&`J4Vz=4OLTihFU`-HvToD<>ucVGXs&d6 z`bA{9(bc+t_gyEIKM|N@@_Mxb&|Q%X1;N}5XRZlPNUd!6#FCPFX1NX1&qeQmF2C_q zfWZLdwQ1;H`-QDw#!6?L%m} z?7EHopVnxd)i}Ky?3a)&(#{>KvC1C8D?4pgb*}wTU1jv)#oSkK&Pwij_e%5M{iUn2 lra6a%p8cf-bW_S-=A(J()hrJxF9A~=gQu&X%Q~loCIE9LL~j59 diff --git a/docs/html/classarduino_1_1_arduino_logger-members.html b/docs/html/classarduino_1_1_arduino_logger-members.html deleted file mode 100644 index 91fbf2d..0000000 --- a/docs/html/classarduino_1_1_arduino_logger-members.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::ArduinoLogger Member List
-
-
- -

This is the complete list of members for arduino::ArduinoLogger, including all inherited members.

- - - - - - - - - - - - - - - - - -
ArduinoLogger()=default (defined in arduino::ArduinoLogger)arduino::ArduinoLogger
begin(Stream &out, LogLevel level=Warning) (defined in arduino::ArduinoLogger)arduino::ArduinoLoggerinline
Debug enum value (defined in arduino::ArduinoLogger)arduino::ArduinoLogger
debug(const char *str, const char *str1=nullptr, const char *str2=nullptr) (defined in arduino::ArduinoLogger)arduino::ArduinoLoggerinline
Error enum value (defined in arduino::ArduinoLogger)arduino::ArduinoLogger
error(const char *str, const char *str1=nullptr, const char *str2=nullptr) (defined in arduino::ArduinoLogger)arduino::ArduinoLoggerinline
Info enum value (defined in arduino::ArduinoLogger)arduino::ArduinoLogger
info(const char *str, const char *str1=nullptr, const char *str2=nullptr) (defined in arduino::ArduinoLogger)arduino::ArduinoLoggerinline
isLogging() (defined in arduino::ArduinoLogger)arduino::ArduinoLoggerinline
log(LogLevel current_level, const char *str, const char *str1=nullptr, const char *str2=nullptr) (defined in arduino::ArduinoLogger)arduino::ArduinoLoggerinline
log_level (defined in arduino::ArduinoLogger)arduino::ArduinoLoggerprotected
log_stream_ptr (defined in arduino::ArduinoLogger)arduino::ArduinoLoggerprotected
LogLevel enum namearduino::ArduinoLogger
LogLevelTxt (defined in arduino::ArduinoLogger)arduino::ArduinoLogger
Warning enum value (defined in arduino::ArduinoLogger)arduino::ArduinoLogger
warning(const char *str, const char *str1=nullptr, const char *str2=nullptr) (defined in arduino::ArduinoLogger)arduino::ArduinoLoggerinline
- - - - diff --git a/docs/html/classarduino_1_1_arduino_logger.html b/docs/html/classarduino_1_1_arduino_logger.html deleted file mode 100644 index cc87bd2..0000000 --- a/docs/html/classarduino_1_1_arduino_logger.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - -arduino-emulator: arduino::ArduinoLogger Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::ArduinoLogger Class Reference
-
-
- -

A simple Logger that writes messages dependent on the log level. - More...

- -

#include <ArduinoLogger.h>

- - - - - -

-Public Types

enum  LogLevel { Debug -, Info -, Warning -, Error - }
 Supported log levels.
 
- - - - - - - - - - - - - - - -

-Public Member Functions

-void begin (Stream &out, LogLevel level=Warning)
 
-void debug (const char *str, const char *str1=nullptr, const char *str2=nullptr)
 
-void error (const char *str, const char *str1=nullptr, const char *str2=nullptr)
 
-void info (const char *str, const char *str1=nullptr, const char *str2=nullptr)
 
-bool isLogging ()
 
-void log (LogLevel current_level, const char *str, const char *str1=nullptr, const char *str2=nullptr)
 
-void warning (const char *str, const char *str1=nullptr, const char *str2=nullptr)
 
- - - -

-Public Attributes

-const charLogLevelTxt [4] = {"Debug", "Info", "Warning", "Error"}
 
- - - - - -

-Protected Attributes

-LogLevel log_level = Warning
 
-Streamlog_stream_ptr = &Serial
 
-

Detailed Description

-

A simple Logger that writes messages dependent on the log level.

-

The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_can_msg-members.html b/docs/html/classarduino_1_1_can_msg-members.html deleted file mode 100644 index 29fcc86..0000000 --- a/docs/html/classarduino_1_1_can_msg-members.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::CanMsg Member List
-
-
- -

This is the complete list of members for arduino::CanMsg, including all inherited members.

- - - - - - - - - - - - - - - - - - -
CAN_EFF_FLAG (defined in arduino::CanMsg)arduino::CanMsgstatic
CAN_EFF_MASK (defined in arduino::CanMsg)arduino::CanMsgstatic
CAN_SFF_MASK (defined in arduino::CanMsg)arduino::CanMsgstatic
CanMsg(uint32_t const can_id, uint8_t const can_data_len, uint8_t const *can_data_ptr) (defined in arduino::CanMsg)arduino::CanMsginline
CanMsg() (defined in arduino::CanMsg)arduino::CanMsginline
CanMsg(CanMsg const &other) (defined in arduino::CanMsg)arduino::CanMsginline
data (defined in arduino::CanMsg)arduino::CanMsg
data_length (defined in arduino::CanMsg)arduino::CanMsg
getExtendedId() const (defined in arduino::CanMsg)arduino::CanMsginline
getStandardId() const (defined in arduino::CanMsg)arduino::CanMsginline
id (defined in arduino::CanMsg)arduino::CanMsg
isExtendedId() const (defined in arduino::CanMsg)arduino::CanMsginline
isStandardId() const (defined in arduino::CanMsg)arduino::CanMsginline
MAX_DATA_LENGTH (defined in arduino::CanMsg)arduino::CanMsgstatic
operator=(CanMsg const &other) (defined in arduino::CanMsg)arduino::CanMsginline
printTo(Print &p) const override (defined in arduino::CanMsg)arduino::CanMsginlinevirtual
~CanMsg() (defined in arduino::CanMsg)arduino::CanMsginlinevirtual
- - - - diff --git a/docs/html/classarduino_1_1_can_msg.html b/docs/html/classarduino_1_1_can_msg.html deleted file mode 100644 index f80fbf0..0000000 --- a/docs/html/classarduino_1_1_can_msg.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - -arduino-emulator: arduino::CanMsg Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
- -
-
-Inheritance diagram for arduino::CanMsg:
-
-
- - -arduino::Printable - -
- - - - - - - - - - - - - - - - - - -

-Public Member Functions

CanMsg (CanMsg const &other)
 
CanMsg (uint32_t const can_id, uint8_t const can_data_len, uint8_t const *can_data_ptr)
 
-uint32_t getExtendedId () const
 
-uint32_t getStandardId () const
 
-bool isExtendedId () const
 
-bool isStandardId () const
 
-CanMsgoperator= (CanMsg const &other)
 
virtual size_t printTo (Print &p) const override
 
- - - - - - - -

-Public Attributes

-uint8_t data [MAX_DATA_LENGTH]
 
-uint8_t data_length
 
-uint32_t id
 
- - - - - - - - - -

-Static Public Attributes

-static uint32_t constexpr CAN_EFF_FLAG = 0x80000000U
 
-static uint32_t constexpr CAN_EFF_MASK = 0x1FFFFFFFU
 
-static uint32_t constexpr CAN_SFF_MASK = 0x000007FFU
 
-static uint8_t constexpr MAX_DATA_LENGTH = 8
 
-

Member Function Documentation

- -

◆ printTo()

- -
-
- - - - - -
- - - - - - - - -
virtual size_t arduino::CanMsg::printTo (Printp) const
-
-inlineoverridevirtual
-
- -

Implements arduino::Printable.

- -
-
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-API/api/CanMsg.h
  • -
  • ArduinoCore-API/api/CanMsg.cpp
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_can_msg.png b/docs/html/classarduino_1_1_can_msg.png deleted file mode 100644 index be2b1495095bced989d405702fd1ea6277e97408..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 562 zcmeAS@N?(olHy`uVBq!ia0vp^`9K`N!3-o7%x`M}Dd_;85ZC|z{{xvX-h3_XKeXJ! zK(jz%`k5C84jcfA2T!`Z0w~8>666=m0OW&#In(Sb3=E8WJzX3_Dj46+&F(v_z|(Tv zZPl}X>i0fz%y3_n<9+k0p6+BNqi^m#xBs;kpVJkYv+9*m?z~m6Z2n5k<4Ic;)%N51 zRO_>^K1kbyUTthzSbq1}(z{*eHp~A>-A!CF`)McF`RdK;7K?OQS)cAWqrF{e;WOEY zP{U-A#GJQI;pfksshrKT&F1GHtMaHfhjv%h^Hcfb9lq=_X?(+MGQ@>u8 z{aL4c((Cvsi&uR8D(+l;=ca8lxZ!!&d$#EON0wi&&(QBFxxB=1^M+YA)5=*y^B*pK za!|N)T6uz};o`0{^H{cDV_cu~Y>!&`PYIDbRXXQYWUhR6jq6#nDn6_9nDC_DyiaU- zzYD%sd^PN=*lBMaSAOpB=g+Q|-=;=st)G%+6#4nPzT3Awr~j#(?9WtvzsBD4lk%!M nm2dwAJ^e1*Kj`dOb6Na^aP*;l&$sgfW0%3x)z4*}Q$iB}6RZ$Z diff --git a/docs/html/classarduino_1_1_can_msg_ringbuffer-members.html b/docs/html/classarduino_1_1_can_msg_ringbuffer-members.html deleted file mode 100644 index 6ab5f93..0000000 --- a/docs/html/classarduino_1_1_can_msg_ringbuffer-members.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::CanMsgRingbuffer Member List
-
-
- -

This is the complete list of members for arduino::CanMsgRingbuffer, including all inherited members.

- - - - - - - - -
available() const (defined in arduino::CanMsgRingbuffer)arduino::CanMsgRingbufferinline
CanMsgRingbuffer() (defined in arduino::CanMsgRingbuffer)arduino::CanMsgRingbuffer
dequeue() (defined in arduino::CanMsgRingbuffer)arduino::CanMsgRingbuffer
enqueue(CanMsg const &msg) (defined in arduino::CanMsgRingbuffer)arduino::CanMsgRingbuffer
isEmpty() const (defined in arduino::CanMsgRingbuffer)arduino::CanMsgRingbufferinline
isFull() const (defined in arduino::CanMsgRingbuffer)arduino::CanMsgRingbufferinline
RING_BUFFER_SIZE (defined in arduino::CanMsgRingbuffer)arduino::CanMsgRingbufferstatic
- - - - diff --git a/docs/html/classarduino_1_1_can_msg_ringbuffer.html b/docs/html/classarduino_1_1_can_msg_ringbuffer.html deleted file mode 100644 index cfc747c..0000000 --- a/docs/html/classarduino_1_1_can_msg_ringbuffer.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - -arduino-emulator: arduino::CanMsgRingbuffer Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::CanMsgRingbuffer Class Reference
-
-
- - - - - - - - - - - - -

-Public Member Functions

-size_t available () const
 
-CanMsg dequeue ()
 
-void enqueue (CanMsg const &msg)
 
-bool isEmpty () const
 
-bool isFull () const
 
- - - -

-Static Public Attributes

-static size_t constexpr RING_BUFFER_SIZE = 32U
 
-
The documentation for this class was generated from the following files: -
- - - - diff --git a/docs/html/classarduino_1_1_client-members.html b/docs/html/classarduino_1_1_client-members.html deleted file mode 100644 index cda02a8..0000000 --- a/docs/html/classarduino_1_1_client-members.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::Client Member List
-
-
- -

This is the complete list of members for arduino::Client, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
available()=0 (defined in arduino::Client)arduino::Clientpure virtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
connect(IPAddress ip, uint16_t port)=0 (defined in arduino::Client)arduino::Clientpure virtual
connect(const char *host, uint16_t port)=0 (defined in arduino::Client)arduino::Clientpure virtual
connected()=0 (defined in arduino::Client)arduino::Clientpure virtual
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush()=0 (defined in arduino::Client)arduino::Clientpure virtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
operator bool()=0 (defined in arduino::Client)arduino::Clientpure virtual
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
peek()=0 (defined in arduino::Client)arduino::Clientpure virtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
Print() (defined in arduino::Print)arduino::Printinline
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
rawIPAddress(IPAddress &addr) (defined in arduino::Client)arduino::Clientinlineprotected
read()=0 (defined in arduino::Client)arduino::Clientpure virtual
read(uint8_t *buf, size_t size)=0 (defined in arduino::Client)arduino::Clientpure virtual
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytes(uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
stop()=0 (defined in arduino::Client)arduino::Clientpure virtual
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
write(uint8_t)=0 (defined in arduino::Client)arduino::Clientpure virtual
write(const uint8_t *buf, size_t size)=0 (defined in arduino::Client)arduino::Clientpure virtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
- - - - diff --git a/docs/html/classarduino_1_1_client.html b/docs/html/classarduino_1_1_client.html deleted file mode 100644 index 50140f3..0000000 --- a/docs/html/classarduino_1_1_client.html +++ /dev/null @@ -1,507 +0,0 @@ - - - - - - - -arduino-emulator: arduino::Client Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::Client Class Referenceabstract
-
-
-
-Inheritance diagram for arduino::Client:
-
-
- - -arduino::Stream -arduino::Print -arduino::EthernetClient -arduino::NetworkClientSecure - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual int available ()=0
 
-virtual int connect (const char *host, uint16_t port)=0
 
-virtual int connect (IPAddress ip, uint16_t port)=0
 
-virtual uint8_t connected ()=0
 
virtual void flush ()=0
 
-virtual operator bool ()=0
 
virtual int peek ()=0
 
virtual int read ()=0
 
-virtual int read (uint8_t *buf, size_t size)=0
 
-virtual void stop ()=0
 
virtual size_t write (const uint8_t *buf, size_t size)=0
 
virtual size_t write (uint8_t)=0
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
- - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

-uint8_trawIPAddress (IPAddress &addr)
 
- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
- - - - - - -

-Additional Inherited Members

- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - -
- - - - - - - -
virtual int arduino::Client::available ()
-
-pure virtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ flush()

- -
-
- - - - - -
- - - - - - - -
virtual void arduino::Client::flush ()
-
-pure virtual
-
- -

Reimplemented from arduino::Print.

- -
-
- -

◆ peek()

- -
-
- - - - - -
- - - - - - - -
virtual int arduino::Client::peek ()
-
-pure virtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ read()

- -
-
- - - - - -
- - - - - - - -
virtual int arduino::Client::read ()
-
-pure virtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ write() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual size_t arduino::Client::write (const uint8_tbuf,
size_t size 
)
-
-pure virtual
-
- -

Reimplemented from arduino::Print.

- -
-
- -

◆ write() [2/2]

- -
-
- - - - - -
- - - - - - - - -
virtual size_t arduino::Client::write (uint8_t )
-
-pure virtual
-
- -

Implements arduino::Print.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_client.png b/docs/html/classarduino_1_1_client.png deleted file mode 100644 index c40e4c6a085ece524385d5f4e32c5c93efb46f26..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1501 zcma)6Yfw{16uv^mO3I@sLV5N9LI@y;ic%s{o|kCAAQUJOnDEd65hVl!lL$g7g&GMV z5iQV`1XKz_cqbsKB9Q?VE>8&%g=)FP$f!w!K}oO9IO8wv&g`B&XLo16^UZfoQ3yUj zPuENr002EO(3gPNR%EVxs*S8Ci#$ybV;-{qke^1QLAHxelo^a0b-P{AX{MZ^MUhB^ z#6y{*myxrLWCA`EK>WAEUF*^q0IWX(`g$MAS|_iRG3&oH)VaiPC|1$uNqIA4@dtKQ zU=Q74TN>*eNsHAOkxE*;S=_F)qaa_zvmMAY01M0PK)G&5@8Aeik zJ@w(PC+e)#JNl~R`jlh|_jvQpTE=;9aW}f>i^rw1hCq`{Gl~>aA7*vhWID}e$H$0=`x1r=Mqa%Vt?uowQ5^bZ@E?2X$yMHFx3K#3y?0# zpxNsJ2khp#X^ya*e7<#|i`@IUI4nFwXahSSmqS;tDrmJ^;Dh4(|Asihgx^9jaEST% z4^lkSd0x|RJD|m3+n}POm`HjcKeqgwYySYSVuTW<4B7WMZi>2R-{WyF3CnA(wgPr_ z?l`mFSuZvhrycPC0=9g}-IrNlcq7G-5OmZz+Jnb(OoLej{)0_WLt!Cxw*7RYSAMta zS`sfb2rkL#t7!h6e7HTM^HRWC13{MDIMgvx@0&VE6Dm)jdE|mjuKP{T#2$o+D#Bvp zVZoT(0eNS(TpM7#JaJsLqq7S1!dI{e**ApnGYmX47w*AjQM$V!(kK$lH3(!}p>Cb6 zwxU;9Wpuup(l2etL*;v@s44U`ayQWHYJnX9}4qL z9~CnoC%vW6UdTuJ_(aMGj`Oqi3z=APxrTz`=Pc=1rwcf=v0Ft7#!DqByL)TT>WpLu zg=pcP{F1_(cYjkO93F#M-seSxeJH72WA z9?bA5mN$PdcY|j~eVA(j?{xFFmLqwjk`vp3>wQ`-=59gT2J - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::DMABuffer< T, A > Member List
-
-
- -

This is the complete list of members for arduino::DMABuffer< T, A >, including all inherited members.

- - - - - - - - - - - - - - - - - -
bytes() (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
channels() (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
clr_flags(uint32_t f=0xFFFFFFFFU) (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
data() (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
DMABuffer(DMAPool< T, A > *pool=nullptr, size_t samples=0, size_t channels=0, T *mem=nullptr) (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
flush() (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
get_flags(uint32_t f=0xFFFFFFFFU) (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
invalidate() (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
operator bool() const (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
operator[](size_t i) (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
operator[](size_t i) const (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
release() (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
set_flags(uint32_t f) (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
size() (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
timestamp() (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
timestamp(uint32_t ts) (defined in arduino::DMABuffer< T, A >)arduino::DMABuffer< T, A >inline
- - - - diff --git a/docs/html/classarduino_1_1_d_m_a_buffer.html b/docs/html/classarduino_1_1_d_m_a_buffer.html deleted file mode 100644 index ed36b62..0000000 --- a/docs/html/classarduino_1_1_d_m_a_buffer.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - -arduino-emulator: arduino::DMABuffer< T, A > Class Template Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::DMABuffer< T, A > Class Template Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

DMABuffer (DMAPool< T, A > *pool=nullptr, size_t samples=0, size_t channels=0, T *mem=nullptr)
 
-size_t bytes ()
 
-uint32_t channels ()
 
-void clr_flags (uint32_t f=0xFFFFFFFFU)
 
-Tdata ()
 
-void flush ()
 
-bool get_flags (uint32_t f=0xFFFFFFFFU)
 
-void invalidate ()
 
operator bool () const
 
-Toperator[] (size_t i)
 
-const Toperator[] (size_t i) const
 
-void release ()
 
-void set_flags (uint32_t f)
 
-size_t size ()
 
-uint32_t timestamp ()
 
-void timestamp (uint32_t ts)
 
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_d_m_a_pool-members.html b/docs/html/classarduino_1_1_d_m_a_pool-members.html deleted file mode 100644 index 2fffeda..0000000 --- a/docs/html/classarduino_1_1_d_m_a_pool-members.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::DMAPool< T, A > Member List
-
-
- -

This is the complete list of members for arduino::DMAPool< T, A >, including all inherited members.

- - - - - - - - -
alloc(uint32_t flags) (defined in arduino::DMAPool< T, A >)arduino::DMAPool< T, A >inline
DMAPool(size_t n_samples, size_t n_channels, size_t n_buffers, void *mem_in=nullptr) (defined in arduino::DMAPool< T, A >)arduino::DMAPool< T, A >inline
flush() (defined in arduino::DMAPool< T, A >)arduino::DMAPool< T, A >inline
free(DMABuffer< T > *buf, uint32_t flags=0) (defined in arduino::DMAPool< T, A >)arduino::DMAPool< T, A >inline
readable() (defined in arduino::DMAPool< T, A >)arduino::DMAPool< T, A >inline
writable() (defined in arduino::DMAPool< T, A >)arduino::DMAPool< T, A >inline
~DMAPool() (defined in arduino::DMAPool< T, A >)arduino::DMAPool< T, A >inline
- - - - diff --git a/docs/html/classarduino_1_1_d_m_a_pool.html b/docs/html/classarduino_1_1_d_m_a_pool.html deleted file mode 100644 index 0a31c69..0000000 --- a/docs/html/classarduino_1_1_d_m_a_pool.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -arduino-emulator: arduino::DMAPool< T, A > Class Template Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::DMAPool< T, A > Class Template Reference
-
-
- - - - - - - - - - - - - - -

-Public Member Functions

DMAPool (size_t n_samples, size_t n_channels, size_t n_buffers, void *mem_in=nullptr)
 
-DMABuffer< T > * alloc (uint32_t flags)
 
-void flush ()
 
-void free (DMABuffer< T > *buf, uint32_t flags=0)
 
-bool readable ()
 
-bool writable ()
 
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_ethernet_client-members.html b/docs/html/classarduino_1_1_ethernet_client-members.html deleted file mode 100644 index d9ab3aa..0000000 --- a/docs/html/classarduino_1_1_ethernet_client-members.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::EthernetClient Member List
-
-
- -

This is the complete list of members for arduino::EthernetClient, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
address (defined in arduino::EthernetClient)arduino::EthernetClientprotected
available() override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
bufferSize (defined in arduino::EthernetClient)arduino::EthernetClientprotected
clearWriteError() (defined in arduino::Print)arduino::Printinline
connect(IPAddress ipAddress, uint16_t port) override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
connect(const char *address, uint16_t port) override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
connected() override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
connectedFast() (defined in arduino::EthernetClient)arduino::EthernetClientinlineprotected
EthernetClient() (defined in arduino::EthernetClient)arduino::EthernetClientinline
EthernetClient(SocketImpl *sock, int bufferSize=256, long timeout=2000) (defined in arduino::EthernetClient)arduino::EthernetClientinline
EthernetClient(int socket) (defined in arduino::EthernetClient)arduino::EthernetClientinline
fd() (defined in arduino::EthernetClient)arduino::EthernetClientinline
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush() override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
is_connected (defined in arduino::EthernetClient)arduino::EthernetClientprotected
operator bool() override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
p_sock (defined in arduino::EthernetClient)arduino::EthernetClientprotected
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
peek() override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
port (defined in arduino::EthernetClient)arduino::EthernetClientprotected
print(const char *str="") (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
Print() (defined in arduino::Print)arduino::Printinline
println(const char *str="") (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
rawIPAddress(IPAddress &addr) (defined in arduino::Client)arduino::Clientinlineprotected
read() override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
read(uint8_t *buffer, size_t len) override (defined in arduino::EthernetClient)arduino::EthernetClientinlineprotectedvirtual
readBuffer (defined in arduino::EthernetClient)arduino::EthernetClientprotected
readBytes(char *buffer, size_t len) (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
readBytes(uint8_t *buffer, size_t len) (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
registerCleanup() (defined in arduino::EthernetClient)arduino::EthernetClientinlineprotected
remoteIP() (defined in arduino::EthernetClient)arduino::EthernetClientinline
remotePort() (defined in arduino::EthernetClient)arduino::EthernetClientinline
resolveAddress(const char *address, uint16_t port) (defined in arduino::EthernetClient)arduino::EthernetClientinlineprotected
setCACert(const char *cert) (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
setInsecure() (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
stop() override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
WIFICLIENT (defined in arduino::EthernetClient)arduino::EthernetClientprotected
write(char c) (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
write(uint8_t c) override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
write(const char *str, int len) (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
write(const uint8_t *str, size_t len) override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
writeBuffer (defined in arduino::EthernetClient)arduino::EthernetClientprotected
~EthernetClient() (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
- - - - diff --git a/docs/html/classarduino_1_1_ethernet_client.html b/docs/html/classarduino_1_1_ethernet_client.html deleted file mode 100644 index ffdc390..0000000 --- a/docs/html/classarduino_1_1_ethernet_client.html +++ /dev/null @@ -1,774 +0,0 @@ - - - - - - - -arduino-emulator: arduino::EthernetClient Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::EthernetClient Class Reference
-
-
-
-Inheritance diagram for arduino::EthernetClient:
-
-
- - -arduino::Client -arduino::Stream -arduino::Print -arduino::NetworkClientSecure - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

EthernetClient (int socket)
 
EthernetClient (SocketImpl *sock, int bufferSize=256, long timeout=2000)
 
virtual int available () override
 
virtual int connect (const char *address, uint16_t port) override
 
virtual int connect (IPAddress ipAddress, uint16_t port) override
 
virtual uint8_t connected () override
 
-int fd ()
 
virtual void flush () override
 
 operator bool () override
 
virtual int peek () override
 
-virtual int print (const char *str="")
 
-virtual int println (const char *str="")
 
virtual int read () override
 
-virtual size_t readBytes (char *buffer, size_t len)
 
-virtual size_t readBytes (uint8_t *buffer, size_t len)
 
-IPAddress remoteIP ()
 
-uint16_t remotePort ()
 
-virtual void setCACert (const char *cert)
 
-virtual void setInsecure ()
 
virtual void stop () override
 
-virtual size_t write (char c)
 
-virtual size_t write (const char *str, int len)
 
virtual size_t write (const uint8_t *str, size_t len) override
 
virtual size_t write (uint8_t c) override
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

-bool connectedFast ()
 
int read (uint8_t *buffer, size_t len) override
 
-void registerCleanup ()
 
-IPAddress resolveAddress (const char *address, uint16_t port)
 
- Protected Member Functions inherited from arduino::Client
-uint8_trawIPAddress (IPAddress &addr)
 
- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
- - - - - - - - - - - - - - - - - - - - - - -

-Protected Attributes

-IPAddress address {0, 0, 0, 0}
 
-int bufferSize = 256
 
-bool is_connected = false
 
-SocketImplp_sock = nullptr
 
-uint16_t port = 0
 
-RingBufferExt readBuffer
 
-const charWIFICLIENT = "EthernetClient"
 
-RingBufferExt writeBuffer
 
- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::EthernetClient::available (void )
-
-inlineoverridevirtual
-
- -

Implements arduino::Client.

- -
-
- -

◆ connect() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual int arduino::EthernetClient::connect (const charaddress,
uint16_t port 
)
-
-inlineoverridevirtual
-
- -

Implements arduino::Client.

- -
-
- -

◆ connect() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual int arduino::EthernetClient::connect (IPAddress ipAddress,
uint16_t port 
)
-
-inlineoverridevirtual
-
- -

Implements arduino::Client.

- -
-
- -

◆ connected()

- -
-
- - - - - -
- - - - - - - -
virtual uint8_t arduino::EthernetClient::connected ()
-
-inlineoverridevirtual
-
- -

Implements arduino::Client.

- -
-
- -

◆ flush()

- -
-
- - - - - -
- - - - - - - - -
virtual void arduino::EthernetClient::flush (void )
-
-inlineoverridevirtual
-
- -

Implements arduino::Client.

- -
-
- -

◆ operator bool()

- -
-
- - - - - -
- - - - - - - -
arduino::EthernetClient::operator bool ()
-
-inlineoverridevirtual
-
- -

Implements arduino::Client.

- -
-
- -

◆ peek()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::EthernetClient::peek (void )
-
-inlineoverridevirtual
-
- -

Implements arduino::Client.

- -
-
- -

◆ read() [1/2]

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::EthernetClient::read (void )
-
-inlineoverridevirtual
-
- -

Implements arduino::Client.

- -
-
- -

◆ read() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int arduino::EthernetClient::read (uint8_tbuffer,
size_t len 
)
-
-inlineoverrideprotectedvirtual
-
- -

Implements arduino::Client.

- -
-
- -

◆ stop()

- -
-
- - - - - -
- - - - - - - -
virtual void arduino::EthernetClient::stop ()
-
-inlineoverridevirtual
-
- -

Implements arduino::Client.

- -
-
- -

◆ write() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual size_t arduino::EthernetClient::write (const uint8_tstr,
size_t len 
)
-
-inlineoverridevirtual
-
- -

Implements arduino::Client.

- -
-
- -

◆ write() [2/2]

- -
-
- - - - - -
- - - - - - - - -
virtual size_t arduino::EthernetClient::write (uint8_t c)
-
-inlineoverridevirtual
-
- -

Implements arduino::Client.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_ethernet_client.png b/docs/html/classarduino_1_1_ethernet_client.png deleted file mode 100644 index 142e80e0025984de205a7fe5496f021c37679890..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1495 zcmb_cc}$aM94-);fD$7@0Yj@>xeG`#fmI4Y0edKFp;0WCB20t=x`N8p0o#yJD3n4S ztPtTVhtL87a#WEcL$~HZXzntd<*MvPMjt2X0ZEa~%#lmtjv%k)BzeAD*XGkFu zi8S{?EJ?lQ&5%Y441#I!U&lkYVhje;KZp184ZfPVBXrT+IlFy{$dPe zEBqN7JX~gNW^f@Xa%)!~nF(+coKk z?I{p-vOi*sNe@o_Rh)q0?oSp?*#+xJ?&E}rM(;8z@I;~~aN>iSu-z%;%y zED%|310BmOLa6Yn+EqB{3l>5EGjG+0(7bkUv3a@G`b#ROu#s*{y_Sjtr(c4s^I1e9 zOJDP;`H-V^6r)7v51Ry7n_G=q>3(yW0p>5IKMx|TK{}B+M7`59Ak4h$>+khlc0^`< z3erw7+@2VmWWDa!Fx2Igp^P)p)`69%u+irZp<_Mtm+$ElaP@_(Pc z*m3vupH^Q+b9mZN zN~1ur=yguc~D>n3)Qj_`eEh z^_evLZ>^_`w6$J!Lesl9cfM;WKyjCZAd5C&btxv^p39+HE-n_+8^_+2J1tSwj>WRu z(}@|spu%37Lc{x+A&LGyUBsKhREX5s$Ohul%Ms+el)g#HOsegMXEX{jtg00=f$!2N z(B4?F%n9pW3V5vOLv9@-z?wwvDycEyAZ7c&lvvjTm6F3LmRtl&U8m(d^LHDx5k4dN zL)+SXaSpuhB#2GYw0aQXQFbRlQRD<%OKg7TDh$)Ryb`-!V&csXbl{m1L}Un^iCAx? zh3E1%dgbesBO&2~=agUcz?HYgv+vo9871h!@VOuY#Ha(K-5$e{Jc`v=T_!JgZdg81 z&2cevU7C+h9Xl!1{|%d*!~ABF=rcF#w;G+6g)Fwng_LB&)BL~5#ixHemPt~S+<(ax(**O_bl$y_bym|j)=ftMkvwZ@Q_RPD) z8;d0oAo@csA6-tMgN<=0hQ~(VAY*>mX{$Fwd;yDz3V>wPL-UqA_?wSSb?o;NJ&^&& zphd*fK_|t+j6 - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::EthernetImpl Member List
-
-
- -

This is the complete list of members for arduino::EthernetImpl, including all inherited members.

- - - -
adress (defined in arduino::EthernetImpl)arduino::EthernetImplprotected
localIP() (defined in arduino::EthernetImpl)arduino::EthernetImplinline
- - - - diff --git a/docs/html/classarduino_1_1_ethernet_impl.html b/docs/html/classarduino_1_1_ethernet_impl.html deleted file mode 100644 index 1de06b0..0000000 --- a/docs/html/classarduino_1_1_ethernet_impl.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - -arduino-emulator: arduino::EthernetImpl Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::EthernetImpl Class Reference
-
-
- - - - -

-Public Member Functions

-IPAddresslocalIP ()
 
- - - -

-Protected Attributes

-IPAddress adress
 
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_ethernet_server-members.html b/docs/html/classarduino_1_1_ethernet_server-members.html deleted file mode 100644 index 5dd4cbe..0000000 --- a/docs/html/classarduino_1_1_ethernet_server-members.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::EthernetServer Member List
-
-
- -

This is the complete list of members for arduino::EthernetServer, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
accept() (defined in arduino::EthernetServer)arduino::EthernetServerinline
available(uint8_t *status=NULL) (defined in arduino::EthernetServer)arduino::EthernetServerinline
available_() (defined in arduino::EthernetServer)arduino::EthernetServerinlineprotected
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
begin() (defined in arduino::EthernetServer)arduino::EthernetServerinlinevirtual
begin(int port) (defined in arduino::EthernetServer)arduino::EthernetServerinline
begin_(int port=0) (defined in arduino::EthernetServer)arduino::EthernetServerinlineprotected
clearWriteError() (defined in arduino::Print)arduino::Printinline
EthernetServer(int port=80) (defined in arduino::EthernetServer)arduino::EthernetServerinline
flush() (defined in arduino::Print)arduino::Printinlinevirtual
getWriteError() (defined in arduino::Print)arduino::Printinline
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
Print() (defined in arduino::Print)arduino::Printinline
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
setBlocking(bool flag) (defined in arduino::EthernetServer)arduino::EthernetServerinlineprotected
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
status() (defined in arduino::EthernetServer)arduino::EthernetServerinline
stop() (defined in arduino::EthernetServer)arduino::EthernetServerinline
write(uint8_t ch) (defined in arduino::EthernetServer)arduino::EthernetServerinlinevirtual
write(const uint8_t *buf, size_t size) (defined in arduino::EthernetServer)arduino::EthernetServerinlinevirtual
write(uint8_t)=0 (defined in arduino::EthernetServer)arduino::EthernetServervirtual
write(const char *str) (defined in arduino::EthernetServer)arduino::EthernetServerinline
write(const uint8_t *buffer, size_t size) (defined in arduino::EthernetServer)arduino::EthernetServervirtual
write(const char *buffer, size_t size) (defined in arduino::EthernetServer)arduino::EthernetServerinline
~EthernetServer() (defined in arduino::EthernetServer)arduino::EthernetServerinline
- - - - diff --git a/docs/html/classarduino_1_1_ethernet_server.html b/docs/html/classarduino_1_1_ethernet_server.html deleted file mode 100644 index e59d10d..0000000 --- a/docs/html/classarduino_1_1_ethernet_server.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - - - - -arduino-emulator: arduino::EthernetServer Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::EthernetServer Class Reference
-
-
- -

#include <EthernetServer.h>

-
-Inheritance diagram for arduino::EthernetServer:
-
-
- - -arduino::Server -arduino::Print - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

EthernetServer (int port=80)
 
-WiFiClient accept ()
 
-WiFiClient available (uint8_t *status=NULL)
 
void begin ()
 
-void begin (int port)
 
-int status ()
 
-void stop ()
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
virtual size_t write (const uint8_t *buf, size_t size)
 
virtual size_t write (const uint8_t *buffer, size_t size)
 
virtual size_t write (uint8_t ch)
 
virtual size_t write (uint8_t)=0
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-virtual void flush ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
- - - - - - - - - - -

-Protected Member Functions

-EthernetClient available_ ()
 
-bool begin_ (int port=0)
 
-void setBlocking (bool flag)
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
-

Detailed Description

-

A minimal ethernet server

-

Member Function Documentation

- -

◆ begin()

- -
-
- - - - - -
- - - - - - - -
void arduino::EthernetServer::begin ()
-
-inlinevirtual
-
- -

Implements arduino::Server.

- -
-
- -

◆ write() [1/4]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual size_t arduino::EthernetServer::write (const uint8_tbuf,
size_t size 
)
-
-inlinevirtual
-
- -

Reimplemented from arduino::Print.

- -
-
- -

◆ write() [2/4]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
size_t Print::write (const uint8_tbuffer,
size_t size 
)
-
-virtual
-
- -

Reimplemented from arduino::Print.

- -
-
- -

◆ write() [3/4]

- -
-
- - - - - -
- - - - - - - - -
virtual size_t arduino::EthernetServer::write (uint8_t ch)
-
-inlinevirtual
-
- -

Implements arduino::Print.

- -
-
- -

◆ write() [4/4]

- -
-
- - - - - -
- - - - - - - - -
virtual size_t arduino::Print::write (uint8_t )
-
-virtual
-
- -

Implements arduino::Print.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_ethernet_server.png b/docs/html/classarduino_1_1_ethernet_server.png deleted file mode 100644 index ca353e13c5c15283addb2bcb915752bd1e0b9028..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 868 zcmeAS@N?(olHy`uVBq!ia0vp^lYzK{gBeI((bB93QqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCG95?_J51w>+1yGK&B*-tA0mugfbEer>7#Nt|d%8G=R4~4s`!er|f&g1L zf993<|Bt+$eAxZg;{%Oi|t-*S!;E6vER|3d;K=rL?_>!`O4(@v>9ejlh#$f*uuGndAj}X z%j?vZKHK@~y65d>;D#8_%F}!{58wG==;3OiK_JnH9f5iW?lX{;Sc-rr^lu& z-YxR_>uT`@_jhYA=f7v|`76C;vdT{w=6N-x_*^pM2gx{wX2S)SUz^Um(%?7wQbCZi z)zQ7o6;2k6KU#zv{0UHhik8nQmgCu^!s}|`ImsW0&+qnoxkzPY<)tr^m%RU6tM0ig zf%C`ADX&5P`|Jbq-!7p4HXAR!QgWxNB-!&4@4R5yysahlokQ@MXa-ksWXJ!x;<-&(EoJ-d5)gX2{_uOIm@=J|7##hs&YQw-J5+cH}p@wp>eg7#mt$&L^5-x jKZxPur@7Qbte!!nXWA;08RGMS`GLXH)z4*}Q$iB}7I~%q diff --git a/docs/html/classarduino_1_1_ethernet_u_d_p-members.html b/docs/html/classarduino_1_1_ethernet_u_d_p-members.html deleted file mode 100644 index 6110c62..0000000 --- a/docs/html/classarduino_1_1_ethernet_u_d_p-members.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::EthernetUDP Member List
-
-
- -

This is the complete list of members for arduino::EthernetUDP, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
available() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
begin(IPAddress a, uint16_t p) (defined in arduino::EthernetUDP)arduino::EthernetUDP
begin(uint16_t p) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
beginMulticast(IPAddress a, uint16_t p) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
beginMulticastPacket() (defined in arduino::EthernetUDP)arduino::EthernetUDP
beginPacket() (defined in arduino::EthernetUDP)arduino::EthernetUDP
beginPacket(IPAddress ip, uint16_t port) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
beginPacket(const char *host, uint16_t port) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
endPacket() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
EthernetUDP() (defined in arduino::EthernetUDP)arduino::EthernetUDP
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parsePacket() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
peek() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
Print() (defined in arduino::Print)arduino::Printinline
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
rawIPAddress(IPAddress &addr) (defined in arduino::UDP)arduino::UDPinlineprotected
read() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
read(unsigned char *buffer, size_t len) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
read(char *buffer, size_t len) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytes(uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
registerCleanup() (defined in arduino::EthernetUDP)arduino::EthernetUDPinlineprotected
remoteIP() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
remotePort() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
stop() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
write(uint8_t) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
write(const uint8_t *buffer, size_t size) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
~EthernetUDP() (defined in arduino::EthernetUDP)arduino::EthernetUDP
- - - - diff --git a/docs/html/classarduino_1_1_ethernet_u_d_p.html b/docs/html/classarduino_1_1_ethernet_u_d_p.html deleted file mode 100644 index 60ae81e..0000000 --- a/docs/html/classarduino_1_1_ethernet_u_d_p.html +++ /dev/null @@ -1,882 +0,0 @@ - - - - - - - -arduino-emulator: arduino::EthernetUDP Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::EthernetUDP Class Reference
-
-
-
-Inheritance diagram for arduino::EthernetUDP:
-
-
- - -arduino::UDP -arduino::Stream -arduino::Print -arduino::WiFiUDPStream - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

int available ()
 
-uint8_t begin (IPAddress a, uint16_t p)
 
uint8_t begin (uint16_t p)
 
uint8_t beginMulticast (IPAddress a, uint16_t p)
 
-int beginMulticastPacket ()
 
-int beginPacket ()
 
int beginPacket (const char *host, uint16_t port)
 
int beginPacket (IPAddress ip, uint16_t port)
 
int endPacket ()
 
void flush ()
 
int parsePacket ()
 
int peek ()
 
int read ()
 
int read (char *buffer, size_t len)
 
int read (unsigned char *buffer, size_t len)
 
IPAddress remoteIP ()
 
uint16_t remotePort ()
 
void stop ()
 
size_t write (const uint8_t *buffer, size_t size)
 
size_t write (uint8_t)
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
- - - - - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

-void registerCleanup ()
 
- Protected Member Functions inherited from arduino::UDP
-uint8_trawIPAddress (IPAddress &addr)
 
- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
- - - - - - -

-Additional Inherited Members

- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - -
- - - - - - - - -
int arduino::EthernetUDP::available (void )
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ begin()

- -
-
- - - - - -
- - - - - - - - -
uint8_t arduino::EthernetUDP::begin (uint16_t p)
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ beginMulticast()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
uint8_t arduino::EthernetUDP::beginMulticast (IPAddress a,
uint16_t p 
)
-
-virtual
-
- -

Reimplemented from arduino::UDP.

- -
-
- -

◆ beginPacket() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int arduino::EthernetUDP::beginPacket (const charhost,
uint16_t port 
)
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ beginPacket() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int arduino::EthernetUDP::beginPacket (IPAddress ip,
uint16_t port 
)
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ endPacket()

- -
-
- - - - - -
- - - - - - - -
int arduino::EthernetUDP::endPacket ()
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ flush()

- -
-
- - - - - -
- - - - - - - - -
void arduino::EthernetUDP::flush (void )
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ parsePacket()

- -
-
- - - - - -
- - - - - - - -
int arduino::EthernetUDP::parsePacket ()
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ peek()

- -
-
- - - - - -
- - - - - - - - -
int arduino::EthernetUDP::peek (void )
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ read() [1/3]

- -
-
- - - - - -
- - - - - - - - -
int arduino::EthernetUDP::read (void )
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ read() [2/3]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int arduino::EthernetUDP::read (charbuffer,
size_t len 
)
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ read() [3/3]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int arduino::EthernetUDP::read (unsigned charbuffer,
size_t len 
)
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ remoteIP()

- -
-
- - - - - -
- - - - - - - -
IPAddress arduino::EthernetUDP::remoteIP ()
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ remotePort()

- -
-
- - - - - -
- - - - - - - -
uint16_t arduino::EthernetUDP::remotePort ()
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ stop()

- -
-
- - - - - -
- - - - - - - -
void arduino::EthernetUDP::stop ()
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ write() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
size_t arduino::EthernetUDP::write (const uint8_tbuffer,
size_t size 
)
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
- -

◆ write() [2/2]

- -
-
- - - - - -
- - - - - - - - -
size_t arduino::EthernetUDP::write (uint8_t data)
-
-virtual
-
- -

Implements arduino::UDP.

- -
-
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-Linux/cores/arduino/EthernetUDP.h
  • -
  • ArduinoCore-Linux/cores/arduino/EthernetUDP.cpp
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_ethernet_u_d_p.png b/docs/html/classarduino_1_1_ethernet_u_d_p.png deleted file mode 100644 index d069911f26809520bb12da34259e26fe57908a0b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1376 zcmeAS@N?(olHy`uVBq!ia0vp^(}4H~2Q!egRDAynNJ$6ygt-3y{~ySF@#br3|Doj; z2ATyD)6cv(aNqz?Jb2RO6+k)8k|4ie1|S~{%$a6iVPIf+?djqeQo;Ck?(@9QRsyW; z?F|RM*FRc)OwIe+t-yWW3a<-vx^mmk{`BrK>|+m{x z8MpbX)3x6h)<2keZL@jcq<@O*R6WCDyeF;MF-;{>GFr$*j%p6Y9OpRJF-cI%m)d!$qDebsk=c7^8k zU#r%=Wo?>!ieXa8$-QCs`gOhPQr6~#+ipL!FZg!a+>>*s=L&a6$v=#^ptE5~!GgD6 z8p4X3)<(rXyku`b|1#GkzCG8o`fK(Fajo*4r1vvowS7|9+Q%{TZXPkZR2Sv#xjE4H z!=B8g!IfM7s=Va-|6Cd2_d;FIO-9*AB_0x5M_?^*svDqvp<6xtnn9)aO{H{G_#E+a^0r{?{0`JnXSdZPuOewegnG zzZckFn53dSKmXB%sK0`{ufEDsdD(V8FR61=+UwRe-xrGBxqs^YG!@B@^>&a503|cg z>yuQpH;45Y^06NX_F;Hzxa^t_P>TO4#ggJ#idh# zi8#m$n2MK9nKU(eZB*^Wg58$cU*GZ+&wje|YnD-b*3v1LICmag9yT^Ygj&m;aIZI+DxfS**vE&CE3a%}IpyIF6Gvkz}kUQ>Mk_)D{mcc-tu@wO

~yfbo}cIvpVRd{)z_uA{ieHXK|e@zVv@O{7K zm-4s0VYi?9yteqg*>_Fz+u4)7XQkGc|D1jHW!<_{Hbt(S!E(7Ope!Q)0Gf-zWmP1o chmdKI;Vst0A+!z7ytkO diff --git a/docs/html/classarduino_1_1_file_stream-members.html b/docs/html/classarduino_1_1_file_stream-members.html deleted file mode 100644 index 36180a7..0000000 --- a/docs/html/classarduino_1_1_file_stream-members.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -

-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::FileStream Member List
-
-
- -

This is the complete list of members for arduino::FileStream, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
available() (defined in arduino::FileStream)arduino::FileStreaminlinevirtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
begin(int speed) (defined in arduino::FileStream)arduino::FileStreaminlinevirtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
FileStream(const char *outDevice="/dev/stdout", const char *inDevice="/dev/stdin") (defined in arduino::FileStream)arduino::FileStreaminline
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush() (defined in arduino::FileStream)arduino::FileStreaminlinevirtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
in (defined in arduino::FileStream)arduino::FileStreamprotected
open(const char *outDevice, const char *inDevice) (defined in arduino::FileStream)arduino::FileStreaminline
out (defined in arduino::FileStream)arduino::FileStreamprotected
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
peek() (defined in arduino::FileStream)arduino::FileStreaminlinevirtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
Print() (defined in arduino::Print)arduino::Printinline
print(const char *str) (defined in arduino::FileStream)arduino::FileStreaminlinevirtual
print(int str) (defined in arduino::FileStream)arduino::FileStreaminlinevirtual
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
println(const char *str="") (defined in arduino::FileStream)arduino::FileStreaminlinevirtual
println(int str) (defined in arduino::FileStream)arduino::FileStreaminlinevirtual
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
read() (defined in arduino::FileStream)arduino::FileStreaminlinevirtual
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytes(uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
write(const char *str, int len) (defined in arduino::FileStream)arduino::FileStreaminlinevirtual
write(uint8_t *str, int len) (defined in arduino::FileStream)arduino::FileStreaminlinevirtual
write(int32_t value) (defined in arduino::FileStream)arduino::FileStreaminlinevirtual
write(uint8_t value) (defined in arduino::FileStream)arduino::FileStreaminlinevirtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const uint8_t *buffer, size_t size) (defined in arduino::Print)arduino::Printvirtual
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
~FileStream() (defined in arduino::FileStream)arduino::FileStreaminline
- - - - diff --git a/docs/html/classarduino_1_1_file_stream.html b/docs/html/classarduino_1_1_file_stream.html deleted file mode 100644 index bf00c21..0000000 --- a/docs/html/classarduino_1_1_file_stream.html +++ /dev/null @@ -1,494 +0,0 @@ - - - - - - - -arduino-emulator: arduino::FileStream Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::FileStream Class Reference
-
-
- -

We use the FileStream class to be able to provide Serail, Serial1 and Serial2 outside of the Arduino environment;. - More...

- -

#include <FileStream.h>

-
-Inheritance diagram for arduino::FileStream:
-
-
- - -arduino::Stream -arduino::Print - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

FileStream (const char *outDevice="/dev/stdout", const char *inDevice="/dev/stdin")
 
virtual int available ()
 
-virtual void begin (int speed)
 
virtual void flush ()
 
-void open (const char *outDevice, const char *inDevice)
 
virtual int peek ()
 
-virtual void print (const char *str)
 
-virtual void print (int str)
 
-virtual void println (const char *str="")
 
-virtual void println (int str)
 
virtual int read ()
 
-virtual void write (const char *str, int len)
 
-virtual size_t write (int32_t value)
 
-virtual void write (uint8_t *str, int len)
 
virtual size_t write (uint8_t value)
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
-virtual size_t write (const uint8_t *buffer, size_t size)
 
- - - - - - - - - - -

-Protected Attributes

-std::fstream in
 
-std::fstream out
 
- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
- - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
-

Detailed Description

-

We use the FileStream class to be able to provide Serail, Serial1 and Serial2 outside of the Arduino environment;.

-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::FileStream::available (void )
-
-inlinevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ flush()

- -
-
- - - - - -
- - - - - - - - -
virtual void arduino::FileStream::flush (void )
-
-inlinevirtual
-
- -

Reimplemented from arduino::Print.

- -
-
- -

◆ peek()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::FileStream::peek (void )
-
-inlinevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ read()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::FileStream::read (void )
-
-inlinevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - -
virtual size_t arduino::FileStream::write (uint8_t value)
-
-inlinevirtual
-
- -

Implements arduino::Print.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_file_stream.png b/docs/html/classarduino_1_1_file_stream.png deleted file mode 100644 index ff6439826134f4716e7016ecafd5d1e372d6c182..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 767 zcmeAS@N?(olHy`uVBq!ia0vp^l|bCV!3-q7yxMXcNJ$6ygt-3y{~ySF@#br3|Doj; z2ATyD)6cv(aNqz?Jb2RO6+k)8k|4ie1|S~{%$a6iVPIhD@^oEi_q*=gQ@vo<*Z+6Q+&wqVq;nlN^;W{577RmVCcj=Qi)t-x+f}{5~np*MEQfM0NPKV>hSoJzD*{w{(Y+ z{kz;re>_=ds;mWBJxSa0`5apo2Kj782JxK}ryu2h>lSy=FT?&*__wkNj0b!i*%-80 zB^lO;q%dp<0t$E`2~;eaQ(Pu!q=~2XUFFqnJH6%1%>P^2E2&SKd~b4Td++nqBzcvuKddYFyxaZ6^6u@c zdB@y~x5$PDitZ2FZn@R-_rwt8f3}{Nyd2d$wQDsg^5K-ABEd-=9nDQTN=ZxOJ>K13 z&+{$){~DcB_q6A?rwC5u&b+fjs#s8PXOQ~zl<@gyH|~j^@-_Wu#4^Tk-mj7UNpB`j zN$$3qusUA%fycYh+|?7;+&%7btI*z&^;MSn_ltG+0>0NM$-jvd*W?FAoZR`E9j|}A z{t{w*?um-hWVwmwWzFV=Px|t)&nE7>ZBeh)#CVevH*TNZ{>AZj;L+Lsmfy;DZ
tYZdXQx~oG%>x7b0*sq`>FU`sq{G7ZsESz84d4Wll!PC{xWt~$(699}fT>bz6 diff --git a/docs/html/classarduino_1_1_g_p_i_o_source-members.html b/docs/html/classarduino_1_1_g_p_i_o_source-members.html deleted file mode 100644 index 4855b21..0000000 --- a/docs/html/classarduino_1_1_g_p_i_o_source-members.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::GPIOSource Member List
-
-
- -

This is the complete list of members for arduino::GPIOSource, including all inherited members.

- - -
getGPIO()=0 (defined in arduino::GPIOSource)arduino::GPIOSourcepure virtual
- - - - diff --git a/docs/html/classarduino_1_1_g_p_i_o_source.html b/docs/html/classarduino_1_1_g_p_i_o_source.html deleted file mode 100644 index 39b2447..0000000 --- a/docs/html/classarduino_1_1_g_p_i_o_source.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - -arduino-emulator: arduino::GPIOSource Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::GPIOSource Class Referenceabstract
-
-
- -

Abstract interface for providing GPIO hardware implementations. - More...

- -

#include <Sources.h>

-
-Inheritance diagram for arduino::GPIOSource:
-
-
- - -arduino::HardwareSetupRPI -arduino::HardwareSetupRemote - -
- - - - -

-Public Member Functions

-virtual HardwareGPIOgetGPIO ()=0
 
-

Detailed Description

-

Abstract interface for providing GPIO hardware implementations.

-

GPIOSource defines a factory interface for supplying HardwareGPIO implementations. This abstraction allows wrapper classes to obtain GPIO hardware instances from various sources without coupling to specific hardware providers.

-
See also
HardwareGPIO
-
-GPIOWrapper
-

The documentation for this class was generated from the following file:
    -
  • ArduinoCore-Linux/cores/arduino/Sources.h
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_g_p_i_o_source.png b/docs/html/classarduino_1_1_g_p_i_o_source.png deleted file mode 100644 index fbb87c0a394fb2a1f191fad50d4f6a8a880eb6b8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1003 zcmeAS@N?(olHy`uVBq!ia0y~yU~B`j12~w0q?VsjAdr#{@CkAK|NlRb`Qpvj(*8rs zEetdZB&MHvap1rKpm^}4%PW9#oFzei!3;n?7??B7zQVx3T;}QG7*fIbcJA9viwp!< zXFE?Vz4yQK`f3NEePZv|nJ!4aDa3Km$Lh=<)(Y#`>!sIOA1J@b`Mqih+igB|(;H#9(C{c%N^IJ&(q>Py!Db)yNH~Byv>5=`Hy`|uDrWlc2!*4d`jywvk)mZ!D8O0oIuOPLt4LWXnVGGMs|dBWVS`bk^Lr` zf8}{M@7nv(?8dkIKeBjpJ0pCbm#)j-6VG!`iV(565r)bM?WRetvpMw_zhq@_4%Va5rL!P`0K*Jgef|wmFRx&Eg zxxygemj#x7Q?&bTo;>4$(w|f2&cdq_mqF)tKYsChU%m47eeZvN|7ckFWl~9K7B7$p zYF25TETy73=Zb|C^N%O0 znXTJioAOTDawuQ9vgG}m%Qx=Js7`&aEv1s#TJ9e=Da>L);)NTwPWAu%UKiNcmW8eI zR_UJjSgmf(_1d%V>gN3W8+c-j_P} z)!t60$#d4n zGaI#QKi}Ce=sCA1&dW=E_Mc<73znE|+4=6P$FtelxwX@FRxLLB<9FCn?Y`&N?-fC- zUj2&bzqRqQcU1V!s}nDu%lviBxzy^&hdZsQH(qA zUNb$zv+MDPC$lYpLHySp6waS5rBq%Dqys~G{UqcdS2y(tvMA@Rz5jjs(n}Y<*Vae= aW4Lwr#1qC3ySstelEKr}&t;ucLK6V>YUR}c diff --git a/docs/html/classarduino_1_1_g_p_i_o_wrapper-members.html b/docs/html/classarduino_1_1_g_p_i_o_wrapper-members.html deleted file mode 100644 index 94a28a0..0000000 --- a/docs/html/classarduino_1_1_g_p_i_o_wrapper-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::GPIOWrapper Member List
-
-
- -

This is the complete list of members for arduino::GPIOWrapper, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - -
analogRead(pin_size_t pinNumber)arduino::GPIOWrappervirtual
analogReference(uint8_t mode)arduino::GPIOWrappervirtual
analogWrite(pin_size_t pinNumber, int value)arduino::GPIOWrappervirtual
digitalRead(pin_size_t pinNumber)arduino::GPIOWrappervirtual
digitalWrite(pin_size_t pinNumber, PinStatus status)arduino::GPIOWrappervirtual
getGPIO() (defined in arduino::GPIOWrapper)arduino::GPIOWrapperinlineprotected
GPIOWrapper()=default (defined in arduino::GPIOWrapper)arduino::GPIOWrapper
GPIOWrapper(GPIOSource &source) (defined in arduino::GPIOWrapper)arduino::GPIOWrapperinline
GPIOWrapper(HardwareGPIO &gpio) (defined in arduino::GPIOWrapper)arduino::GPIOWrapperinline
HardwareGPIO()=default (defined in arduino::HardwareGPIO)arduino::HardwareGPIO
noTone(uint8_t _pin)arduino::GPIOWrappervirtual
p_gpio (defined in arduino::GPIOWrapper)arduino::GPIOWrapperprotected
p_source (defined in arduino::GPIOWrapper)arduino::GPIOWrapperprotected
pinMode(pin_size_t pinNumber, PinMode pinMode)arduino::GPIOWrappervirtual
pulseIn(uint8_t pin, uint8_t state, unsigned long timeout=1000000L)arduino::GPIOWrappervirtual
pulseInLong(uint8_t pin, uint8_t state, unsigned long timeout=1000000L)arduino::GPIOWrappervirtual
setGPIO(HardwareGPIO *gpio)arduino::GPIOWrapperinline
setSource(GPIOSource *source)arduino::GPIOWrapperinline
tone(uint8_t _pin, unsigned int frequency, unsigned long duration=0)arduino::GPIOWrappervirtual
~GPIOWrapper()=default (defined in arduino::GPIOWrapper)arduino::GPIOWrapper
~HardwareGPIO()=default (defined in arduino::HardwareGPIO)arduino::HardwareGPIOvirtual
- - - - diff --git a/docs/html/classarduino_1_1_g_p_i_o_wrapper.html b/docs/html/classarduino_1_1_g_p_i_o_wrapper.html deleted file mode 100644 index 00a4876..0000000 --- a/docs/html/classarduino_1_1_g_p_i_o_wrapper.html +++ /dev/null @@ -1,642 +0,0 @@ - - - - - - - -arduino-emulator: arduino::GPIOWrapper Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
- -
- -

GPIO wrapper class that provides flexible hardware abstraction. - More...

- -

#include <GPIOWrapper.h>

-
-Inheritance diagram for arduino::GPIOWrapper:
-
-
- - -arduino::HardwareGPIO - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

GPIOWrapper (GPIOSource &source)
 
GPIOWrapper (HardwareGPIO &gpio)
 
int analogRead (pin_size_t pinNumber)
 Read the value from the specified analog pin.
 
void analogReference (uint8_t mode)
 Configure the reference voltage used for analog input.
 
void analogWrite (pin_size_t pinNumber, int value)
 Write an analog value (PWM wave) to a pin.
 
PinStatus digitalRead (pin_size_t pinNumber)
 Read the value from a specified digital pin.
 
void digitalWrite (pin_size_t pinNumber, PinStatus status)
 Write a HIGH or LOW value to a digital pin.
 
void noTone (uint8_t _pin)
 Stop the generation of a square wave triggered by tone()
 
void pinMode (pin_size_t pinNumber, PinMode pinMode)
 Configure the specified pin to behave as an input or output.
 
unsigned long pulseIn (uint8_t pin, uint8_t state, unsigned long timeout=1000000L)
 Read a pulse (HIGH or LOW) on a pin.
 
unsigned long pulseInLong (uint8_t pin, uint8_t state, unsigned long timeout=1000000L)
 Alternative to pulseIn() which is better at handling long pulses.
 
-void setGPIO (HardwareGPIO *gpio)
 defines the gpio implementation: use nullptr to reset.
 
-void setSource (GPIOSource *source)
 alternatively defines a class that provides the GPIO implementation
 
void tone (uint8_t _pin, unsigned int frequency, unsigned long duration=0)
 Generate a square wave of the specified frequency on a pin.
 
- - - -

-Protected Member Functions

-HardwareGPIOgetGPIO ()
 
- - - - - -

-Protected Attributes

-HardwareGPIOp_gpio = nullptr
 
-GPIOSourcep_source = nullptr
 
-

Detailed Description

-

GPIO wrapper class that provides flexible hardware abstraction.

-

GPIOWrapper is a concrete implementation of the HardwareGPIO interface that supports multiple delegation patterns for GPIO operations. It can delegate operations to:

    -
  • An injected HardwareGPIO implementation
  • -
  • A GPIOSource provider that supplies the GPIO implementation
  • -
  • A default fallback implementation
  • -
-

This class implements the complete GPIO interface including:

    -
  • Digital I/O operations (pinMode, digitalWrite, digitalRead)
  • -
  • Analog I/O operations (analogRead, analogWrite, analogReference)
  • -
  • PWM and tone generation (analogWrite, tone, noTone)
  • -
  • Pulse measurement and timing functions (pulseIn, pulseInLong)
  • -
  • Pin mode configuration for input, output, and special modes
  • -
-

The wrapper automatically handles null safety and provides appropriate default return values when no underlying GPIO implementation is available. It supports all standard Arduino GPIO operations with hardware abstraction.

-

A global GPIO instance is automatically provided for system-wide GPIO access.

-
See also
HardwareGPIO
-
-GPIOSource
-

Member Function Documentation

- -

◆ analogRead()

- -
-
- - - - - -
- - - - - - - - -
int arduino::GPIOWrapper::analogRead (pin_size_t pinNumber)
-
-virtual
-
- -

Read the value from the specified analog pin.

-
Parameters
- - -
pinNumberThe analog pin to read from (A0, A1, etc.)
-
-
-
Returns
The analog reading on the pin (0-1023 for 10-bit ADC)
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ analogReference()

- -
-
- - - - - -
- - - - - - - - -
void arduino::GPIOWrapper::analogReference (uint8_t mode)
-
-virtual
-
- -

Configure the reference voltage used for analog input.

-
Parameters
- - -
modeThe reference type (DEFAULT, INTERNAL, EXTERNAL, etc.)
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ analogWrite()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void arduino::GPIOWrapper::analogWrite (pin_size_t pinNumber,
int value 
)
-
-virtual
-
- -

Write an analog value (PWM wave) to a pin.

-
Parameters
- - - -
pinNumberThe pin to write to
valueThe duty cycle (0-255 for 8-bit PWM)
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ digitalRead()

- -
-
- - - - - -
- - - - - - - - -
PinStatus arduino::GPIOWrapper::digitalRead (pin_size_t pinNumber)
-
-virtual
-
- -

Read the value from a specified digital pin.

-
Parameters
- - -
pinNumberThe pin number to read from
-
-
-
Returns
HIGH or LOW
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ digitalWrite()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void arduino::GPIOWrapper::digitalWrite (pin_size_t pinNumber,
PinStatus status 
)
-
-virtual
-
- -

Write a HIGH or LOW value to a digital pin.

-
Parameters
- - - -
pinNumberThe pin number to write to
statusThe value to write (HIGH or LOW)
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ noTone()

- -
-
- - - - - -
- - - - - - - - -
void arduino::GPIOWrapper::noTone (uint8_t _pin)
-
-virtual
-
- -

Stop the generation of a square wave triggered by tone()

-
Parameters
- - -
_pinThe pin on which to stop generating the tone
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ pinMode()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void arduino::GPIOWrapper::pinMode (pin_size_t pinNumber,
PinMode pinMode 
)
-
-virtual
-
- -

Configure the specified pin to behave as an input or output.

-
Parameters
- - - -
pinNumberThe pin number to configure
pinModeThe mode to set (INPUT, OUTPUT, INPUT_PULLUP, etc.)
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ pulseIn()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
unsigned long arduino::GPIOWrapper::pulseIn (uint8_t pin,
uint8_t state,
unsigned long timeout = 1000000L 
)
-
-virtual
-
- -

Read a pulse (HIGH or LOW) on a pin.

-
Parameters
- - - - -
pinThe pin on which you want to read the pulse
stateType of pulse to read (HIGH or LOW)
timeoutTimeout in microseconds (default 1 second)
-
-
-
Returns
The length of the pulse in microseconds, or 0 if timeout
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ pulseInLong()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
unsigned long arduino::GPIOWrapper::pulseInLong (uint8_t pin,
uint8_t state,
unsigned long timeout = 1000000L 
)
-
-virtual
-
- -

Alternative to pulseIn() which is better at handling long pulses.

-
Parameters
- - - - -
pinThe pin on which you want to read the pulse
stateType of pulse to read (HIGH or LOW)
timeoutTimeout in microseconds (default 1 second)
-
-
-
Returns
The length of the pulse in microseconds, or 0 if timeout
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ tone()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void arduino::GPIOWrapper::tone (uint8_t _pin,
unsigned int frequency,
unsigned long duration = 0 
)
-
-virtual
-
- -

Generate a square wave of the specified frequency on a pin.

-
Parameters
- - - - -
_pinThe pin on which to generate the tone
frequencyThe frequency of the tone in hertz
durationThe duration of the tone in milliseconds (0 = continuous)
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-Linux/cores/arduino/GPIOWrapper.h
  • -
  • ArduinoCore-Linux/cores/arduino/GPIOWrapper.cpp
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_g_p_i_o_wrapper.png b/docs/html/classarduino_1_1_g_p_i_o_wrapper.png deleted file mode 100644 index f91d69415ed0da4571857acf26e7ef885edf3949..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 652 zcmeAS@N?(olHy`uVBq!ia0vp^lYuyZgBeI_xo@`xQqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCG95?_J51w>+1yGK&B*-tA0mugfbEer>7#NtuJzX3_Dj46+P3+&Iz|+!h zc=OEv|3{y5COK}Ydavq!ucSQvpwn&l=s!KFk<(7Lw5lu*GMKnzeS(r_{B)m81Lev; zn<_U{Y`mWnVV`=#ExG!X%OvK%Gc=92Jhpp3gDd0Kwx|DJZH{|aZk%9M`7Ux>_U^FD z1w9G{x$j zaTT5C+*?RKIk%OpIU0vwA7j23?Hn2F&s#lHR0vwnfzH! z%S1D+R!Gi#bcgYPFsm@b4=y!^528K{542}690)gHY*?Sb#1Mawg<)S4CqoUgg4g!x zUYbi!wy1apYtB$P8E)V?X}$HbluI>ysVdq!I7q$Sm?lU06l ksd;|dYP599rI=q#s}n0T+??+?0n-hGr>mdKI;Vst02kCbNdN!< diff --git a/docs/html/classarduino_1_1_hardware_c_a_n-members.html b/docs/html/classarduino_1_1_hardware_c_a_n-members.html deleted file mode 100644 index 9ea8aad..0000000 --- a/docs/html/classarduino_1_1_hardware_c_a_n-members.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::HardwareCAN Member List
-
-
- -

This is the complete list of members for arduino::HardwareCAN, including all inherited members.

- - - - - - - -
available()=0arduino::HardwareCANpure virtual
begin(CanBitRate const can_bitrate)=0arduino::HardwareCANpure virtual
end()=0arduino::HardwareCANpure virtual
read()=0arduino::HardwareCANpure virtual
write(CanMsg const &msg)=0arduino::HardwareCANpure virtual
~HardwareCAN() (defined in arduino::HardwareCAN)arduino::HardwareCANinlinevirtual
- - - - diff --git a/docs/html/classarduino_1_1_hardware_c_a_n.html b/docs/html/classarduino_1_1_hardware_c_a_n.html deleted file mode 100644 index e09e33c..0000000 --- a/docs/html/classarduino_1_1_hardware_c_a_n.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - - -arduino-emulator: arduino::HardwareCAN Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::HardwareCAN Class Referenceabstract
-
-
- - - - - - - - - - - - -

-Public Member Functions

virtual size_t available ()=0
 
virtual bool begin (CanBitRate const can_bitrate)=0
 
virtual void end ()=0
 
virtual CanMsg read ()=0
 
virtual int write (CanMsg const &msg)=0
 
-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - -
- - - - - - - -
virtual size_t arduino::HardwareCAN::available ()
-
-pure virtual
-
-

Determine if any messages have been received and buffered.

-
Returns
the number of unread messages that have been received
- -
-
- -

◆ begin()

- -
-
- - - - - -
- - - - - - - - -
virtual bool arduino::HardwareCAN::begin (CanBitRate const can_bitrate)
-
-pure virtual
-
-

Initialize the CAN controller.

-
Parameters
- - -
can_bitratethe bus bit rate
-
-
-
Returns
true if initialization succeeded and the controller is operational
- -
-
- -

◆ end()

- -
-
- - - - - -
- - - - - - - -
virtual void arduino::HardwareCAN::end ()
-
-pure virtual
-
-

Disable the CAN controller.

-

Whether any messages that are buffered will be sent is implementation defined.

- -
-
- -

◆ read()

- -
-
- - - - - -
- - - - - - - -
virtual CanMsg arduino::HardwareCAN::read ()
-
-pure virtual
-
-

Returns the first message received, or an empty message if none are available.

-

Messages must be returned in the order received.

-
Returns
the first message in the receive buffer
- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::HardwareCAN::write (CanMsg constmsg)
-
-pure virtual
-
-

Enqueue a message for transmission to the CAN bus.

-

This call returns when the message has been enqueued for transmission. Due to bus arbitration and error recovery there may be a substantial delay before the message is actually sent.

-

An implementation must ensure that all messages with the same CAN priority are sent in the order in which they are enqueued.

-

It is implementation defined whether multiple messages can be enqueued for transmission, and if messages with higher CAN priority can preempt the transmission of previously enqueued messages. The default configuration for and implementation should not allow multiple messages to be enqueued.

-
Parameters
- - -
msgthe message to send
-
-
-
Returns
1 if the message was enqueued, an implementation defined error code < 0 if there was an error
-
Todo:
define specific error codes, especially "message already pending"
- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_hardware_g_p_i_o-members.html b/docs/html/classarduino_1_1_hardware_g_p_i_o-members.html deleted file mode 100644 index a31f63a..0000000 --- a/docs/html/classarduino_1_1_hardware_g_p_i_o-members.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::HardwareGPIO Member List
-
-
- -

This is the complete list of members for arduino::HardwareGPIO, including all inherited members.

- - - - - - - - - - - - - -
analogRead(pin_size_t pinNumber)=0arduino::HardwareGPIOpure virtual
analogReference(uint8_t mode)=0arduino::HardwareGPIOpure virtual
analogWrite(pin_size_t pinNumber, int value)=0arduino::HardwareGPIOpure virtual
digitalRead(pin_size_t pinNumber)=0arduino::HardwareGPIOpure virtual
digitalWrite(pin_size_t pinNumber, PinStatus status)=0arduino::HardwareGPIOpure virtual
HardwareGPIO()=default (defined in arduino::HardwareGPIO)arduino::HardwareGPIO
noTone(uint8_t _pin)=0arduino::HardwareGPIOpure virtual
pinMode(pin_size_t pinNumber, PinMode pinMode)=0arduino::HardwareGPIOpure virtual
pulseIn(uint8_t pin, uint8_t state, unsigned long timeout=1000000L)=0arduino::HardwareGPIOpure virtual
pulseInLong(uint8_t pin, uint8_t state, unsigned long timeout=1000000L)=0arduino::HardwareGPIOpure virtual
tone(uint8_t _pin, unsigned int frequency, unsigned long duration=0)=0arduino::HardwareGPIOpure virtual
~HardwareGPIO()=default (defined in arduino::HardwareGPIO)arduino::HardwareGPIOvirtual
- - - - diff --git a/docs/html/classarduino_1_1_hardware_g_p_i_o.html b/docs/html/classarduino_1_1_hardware_g_p_i_o.html deleted file mode 100644 index 2eec959..0000000 --- a/docs/html/classarduino_1_1_hardware_g_p_i_o.html +++ /dev/null @@ -1,609 +0,0 @@ - - - - - - - -arduino-emulator: arduino::HardwareGPIO Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::HardwareGPIO Class Referenceabstract
-
-
- -

Abstract base class for GPIO (General Purpose Input/Output) functions. - More...

- -

#include <HardwareGPIO.h>

-
-Inheritance diagram for arduino::HardwareGPIO:
-
-
- - -arduino::GPIOWrapper -arduino::HardwareGPIO_RPI -arduino::RemoteGPIO - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual int analogRead (pin_size_t pinNumber)=0
 Read the value from the specified analog pin.
 
virtual void analogReference (uint8_t mode)=0
 Configure the reference voltage used for analog input.
 
virtual void analogWrite (pin_size_t pinNumber, int value)=0
 Write an analog value (PWM wave) to a pin.
 
virtual PinStatus digitalRead (pin_size_t pinNumber)=0
 Read the value from a specified digital pin.
 
virtual void digitalWrite (pin_size_t pinNumber, PinStatus status)=0
 Write a HIGH or LOW value to a digital pin.
 
virtual void noTone (uint8_t _pin)=0
 Stop the generation of a square wave triggered by tone()
 
virtual void pinMode (pin_size_t pinNumber, PinMode pinMode)=0
 Configure the specified pin to behave as an input or output.
 
virtual unsigned long pulseIn (uint8_t pin, uint8_t state, unsigned long timeout=1000000L)=0
 Read a pulse (HIGH or LOW) on a pin.
 
virtual unsigned long pulseInLong (uint8_t pin, uint8_t state, unsigned long timeout=1000000L)=0
 Alternative to pulseIn() which is better at handling long pulses.
 
virtual void tone (uint8_t _pin, unsigned int frequency, unsigned long duration=0)=0
 Generate a square wave of the specified frequency on a pin.
 
-

Detailed Description

-

Abstract base class for GPIO (General Purpose Input/Output) functions.

-

HardwareGPIO defines the interface for hardware abstraction of GPIO operations across different platforms and microcontrollers. This class provides a unified API for digital and analog I/O operations that can be implemented by platform-specific classes.

-

The class supports:

    -
  • Digital pin operations (pinMode, digitalWrite, digitalRead)
  • -
  • Analog operations (analogRead, analogWrite, analogReference)
  • -
  • PWM and tone generation (analogWrite, tone, noTone)
  • -
  • Pulse measurement (pulseIn, pulseInLong)
  • -
-

Platform-specific implementations should inherit from this class and provide concrete implementations for all pure virtual methods. Examples include HardwareGPIO_RPI for Raspberry Pi, or similar classes for other platforms.

-
Note
All methods in this class are pure virtual and must be implemented by derived classes to provide platform-specific functionality.
-
See also
HardwareGPIO_RPI
-
-PinMode
-
-PinStatus
-

Member Function Documentation

- -

◆ analogRead()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::HardwareGPIO::analogRead (pin_size_t pinNumber)
-
-pure virtual
-
- -

Read the value from the specified analog pin.

-
Parameters
- - -
pinNumberThe analog pin to read from (A0, A1, etc.)
-
-
-
Returns
The analog reading on the pin (0-1023 for 10-bit ADC)
- -

Implemented in arduino::GPIOWrapper, arduino::RemoteGPIO, and arduino::HardwareGPIO_RPI.

- -
-
- -

◆ analogReference()

- -
-
- - - - - -
- - - - - - - - -
virtual void arduino::HardwareGPIO::analogReference (uint8_t mode)
-
-pure virtual
-
- -

Configure the reference voltage used for analog input.

-
Parameters
- - -
modeThe reference type (DEFAULT, INTERNAL, EXTERNAL, etc.)
-
-
- -

Implemented in arduino::GPIOWrapper, arduino::RemoteGPIO, and arduino::HardwareGPIO_RPI.

- -
-
- -

◆ analogWrite()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void arduino::HardwareGPIO::analogWrite (pin_size_t pinNumber,
int value 
)
-
-pure virtual
-
- -

Write an analog value (PWM wave) to a pin.

-
Parameters
- - - -
pinNumberThe pin to write to
valueThe duty cycle (0-255 for 8-bit PWM)
-
-
- -

Implemented in arduino::GPIOWrapper, arduino::RemoteGPIO, and arduino::HardwareGPIO_RPI.

- -
-
- -

◆ digitalRead()

- -
-
- - - - - -
- - - - - - - - -
virtual PinStatus arduino::HardwareGPIO::digitalRead (pin_size_t pinNumber)
-
-pure virtual
-
- -

Read the value from a specified digital pin.

-
Parameters
- - -
pinNumberThe pin number to read from
-
-
-
Returns
HIGH or LOW
- -

Implemented in arduino::GPIOWrapper, arduino::RemoteGPIO, and arduino::HardwareGPIO_RPI.

- -
-
- -

◆ digitalWrite()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void arduino::HardwareGPIO::digitalWrite (pin_size_t pinNumber,
PinStatus status 
)
-
-pure virtual
-
- -

Write a HIGH or LOW value to a digital pin.

-
Parameters
- - - -
pinNumberThe pin number to write to
statusThe value to write (HIGH or LOW)
-
-
- -

Implemented in arduino::GPIOWrapper, arduino::RemoteGPIO, and arduino::HardwareGPIO_RPI.

- -
-
- -

◆ noTone()

- -
-
- - - - - -
- - - - - - - - -
virtual void arduino::HardwareGPIO::noTone (uint8_t _pin)
-
-pure virtual
-
- -

Stop the generation of a square wave triggered by tone()

-
Parameters
- - -
_pinThe pin on which to stop generating the tone
-
-
- -

Implemented in arduino::GPIOWrapper, arduino::HardwareGPIO_RPI, and arduino::RemoteGPIO.

- -
-
- -

◆ pinMode()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void arduino::HardwareGPIO::pinMode (pin_size_t pinNumber,
PinMode pinMode 
)
-
-pure virtual
-
- -

Configure the specified pin to behave as an input or output.

-
Parameters
- - - -
pinNumberThe pin number to configure
pinModeThe mode to set (INPUT, OUTPUT, INPUT_PULLUP, etc.)
-
-
- -

Implemented in arduino::GPIOWrapper, arduino::RemoteGPIO, and arduino::HardwareGPIO_RPI.

- -
-
- -

◆ pulseIn()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual unsigned long arduino::HardwareGPIO::pulseIn (uint8_t pin,
uint8_t state,
unsigned long timeout = 1000000L 
)
-
-pure virtual
-
- -

Read a pulse (HIGH or LOW) on a pin.

-
Parameters
- - - - -
pinThe pin on which you want to read the pulse
stateType of pulse to read (HIGH or LOW)
timeoutTimeout in microseconds (default 1 second)
-
-
-
Returns
The length of the pulse in microseconds, or 0 if timeout
- -

Implemented in arduino::GPIOWrapper, arduino::HardwareGPIO_RPI, and arduino::RemoteGPIO.

- -
-
- -

◆ pulseInLong()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual unsigned long arduino::HardwareGPIO::pulseInLong (uint8_t pin,
uint8_t state,
unsigned long timeout = 1000000L 
)
-
-pure virtual
-
- -

Alternative to pulseIn() which is better at handling long pulses.

-
Parameters
- - - - -
pinThe pin on which you want to read the pulse
stateType of pulse to read (HIGH or LOW)
timeoutTimeout in microseconds (default 1 second)
-
-
-
Returns
The length of the pulse in microseconds, or 0 if timeout
- -

Implemented in arduino::GPIOWrapper, arduino::HardwareGPIO_RPI, and arduino::RemoteGPIO.

- -
-
- -

◆ tone()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void arduino::HardwareGPIO::tone (uint8_t _pin,
unsigned int frequency,
unsigned long duration = 0 
)
-
-pure virtual
-
- -

Generate a square wave of the specified frequency on a pin.

-
Parameters
- - - - -
_pinThe pin on which to generate the tone
frequencyThe frequency of the tone in hertz
durationThe duration of the tone in milliseconds (0 = continuous)
-
-
- -

Implemented in arduino::GPIOWrapper, arduino::HardwareGPIO_RPI, and arduino::RemoteGPIO.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_hardware_g_p_i_o.png b/docs/html/classarduino_1_1_hardware_g_p_i_o.png deleted file mode 100644 index e6b650052883d0a0a3c3cf03c9225bfdd9852da9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1316 zcmeAS@N?(olHy`uVBq!ia0y~yV3G#112~w0WcyEdP9P;6;1lBd|Nnm=^TnI5rTvGN zTNr2-NK8NT;=q9eK=I&7msbGgI7@>3f*F8(FfeDDeT9L6Wxc11V@L(#+qrM^)+mU$ zPQQKR!$1F;<%<_L{J7Z|J=wN2)a4+vj!iw|Jdf+8cas?m7<^wiaXeJK!P`)FgO`DM zLb5pnk3-*GpoC=^^8tn@a|)9y(;mOvxU1mvhVSpb&h~p>93t+-p;^YfK=%3_4#gIx z?RO<&JmT<8Ix<8yGVVh560g{vl$H-^Wk&Vs__vk52ns zrT%@HSzzp!7(=byj29++(rOVnbpLQ3!xkWxXpq^>n7~l!~$ie{4{V z%#qRyRo8nf5C8vS`ft8FsTsdQ$QXxYW|K_b>``A-io3n~1 zhq||SF1I;({g6z3v~IYQ`rI6T{Z}^UUxyc+`nphLk^Xk8uGmRI;3O&J{r#@Q?({8)EBZ>(D_$?{eK+U4=JoPqp@*k>xi@+TohtPEIZ68B;iGz+ zr%l?DroQ|RSMk-NPv-l}lPX@%DZ1M07j&$1p-SSEebVV5*KN*Q;<-U2bJ7A~$spyv z-G5u9k0<8soR}Y3dTG|%hqZTmCp({v)sQUJ0tWTXvzng`jz22tx<4~z{SMbzR@d@; z`1k)?)?yqUcV2V)A)lgCt5T)z2HDBodw+L_`IMliCAMl)H-lWYO?pzuT;cd_%;qXD z*MGjT;cc7B-@f^}J2rCzS+Pg&^LqYT{3jhK$yDY%DJs!iWu+02p_L3|h{6~kk*JSF qi{JnLr|B~J&iC5?B63pS>_4{Odc2SC#Xn$q#^CAd=d#Wzp$P!8L~0}e diff --git a/docs/html/classarduino_1_1_hardware_g_p_i_o___r_p_i-members.html b/docs/html/classarduino_1_1_hardware_g_p_i_o___r_p_i-members.html deleted file mode 100644 index 3808ac1..0000000 --- a/docs/html/classarduino_1_1_hardware_g_p_i_o___r_p_i-members.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::HardwareGPIO_RPI Member List
-
-
- -

This is the complete list of members for arduino::HardwareGPIO_RPI, including all inherited members.

- - - - - - - - - - - - - - - - - - - -
analogRead(pin_size_t pinNumber) overridearduino::HardwareGPIO_RPIvirtual
analogReference(uint8_t mode) overridearduino::HardwareGPIO_RPIvirtual
analogWrite(pin_size_t pinNumber, int value) overridearduino::HardwareGPIO_RPIvirtual
analogWriteFrequency(uint8_t pin, uint32_t freq)arduino::HardwareGPIO_RPI
begin()arduino::HardwareGPIO_RPI
digitalRead(pin_size_t pinNumber) overridearduino::HardwareGPIO_RPIvirtual
digitalWrite(pin_size_t pinNumber, PinStatus status) overridearduino::HardwareGPIO_RPIvirtual
HardwareGPIO()=default (defined in arduino::HardwareGPIO)arduino::HardwareGPIO
HardwareGPIO_RPI()=defaultarduino::HardwareGPIO_RPI
HardwareGPIO_RPI(const char *devName)arduino::HardwareGPIO_RPIinline
noTone(uint8_t _pin) overridearduino::HardwareGPIO_RPIvirtual
operator bool() (defined in arduino::HardwareGPIO_RPI)arduino::HardwareGPIO_RPIinline
pinMode(pin_size_t pinNumber, PinMode pinMode) overridearduino::HardwareGPIO_RPIvirtual
pulseIn(uint8_t pin, uint8_t state, unsigned long timeout=1000000L) overridearduino::HardwareGPIO_RPIvirtual
pulseInLong(uint8_t pin, uint8_t state, unsigned long timeout=1000000L) overridearduino::HardwareGPIO_RPIvirtual
tone(uint8_t _pin, unsigned int frequency, unsigned long duration=0) overridearduino::HardwareGPIO_RPIvirtual
~HardwareGPIO()=default (defined in arduino::HardwareGPIO)arduino::HardwareGPIOvirtual
~HardwareGPIO_RPI()arduino::HardwareGPIO_RPI
- - - - diff --git a/docs/html/classarduino_1_1_hardware_g_p_i_o___r_p_i.html b/docs/html/classarduino_1_1_hardware_g_p_i_o___r_p_i.html deleted file mode 100644 index ffe13c9..0000000 --- a/docs/html/classarduino_1_1_hardware_g_p_i_o___r_p_i.html +++ /dev/null @@ -1,624 +0,0 @@ - - - - - - - -arduino-emulator: arduino::HardwareGPIO_RPI Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::HardwareGPIO_RPI Class Reference
-
-
- -

GPIO hardware abstraction for Raspberry Pi in the Arduino emulator. - More...

- -

#include <HardwareGPIO_RPI.h>

-
-Inheritance diagram for arduino::HardwareGPIO_RPI:
-
-
- - -arduino::HardwareGPIO - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

HardwareGPIO_RPI ()=default
 Constructor for HardwareGPIO_RPI.
 
 HardwareGPIO_RPI (const char *devName)
 Constructor for HardwareGPIO_RPI with custom device name.
 
~HardwareGPIO_RPI ()
 Destructor for HardwareGPIO_RPI.
 
int analogRead (pin_size_t pinNumber) override
 Read an analog value from a pin (if supported).
 
void analogReference (uint8_t mode) override
 Set the analog reference mode.
 
void analogWrite (pin_size_t pinNumber, int value) override
 Write an analog value (PWM) to a pin.
 
-void analogWriteFrequency (uint8_t pin, uint32_t freq)
 Set PWM frequency for a pin.
 
void begin ()
 Initialize the GPIO hardware interface for Raspberry Pi.
 
PinStatus digitalRead (pin_size_t pinNumber) override
 Read a digital value from a GPIO pin.
 
void digitalWrite (pin_size_t pinNumber, PinStatus status) override
 Write a digital value to a GPIO pin.
 
void noTone (uint8_t _pin) override
 Stop tone generation on a pin.
 
operator bool ()
 
void pinMode (pin_size_t pinNumber, PinMode pinMode) override
 Set the mode of a GPIO pin (INPUT, OUTPUT, etc).
 
unsigned long pulseIn (uint8_t pin, uint8_t state, unsigned long timeout=1000000L) override
 Measure pulse duration on a pin.
 
unsigned long pulseInLong (uint8_t pin, uint8_t state, unsigned long timeout=1000000L) override
 Measure long pulse duration on a pin.
 
void tone (uint8_t _pin, unsigned int frequency, unsigned long duration=0) override
 Generate a tone on a pin.
 
-

Detailed Description

-

GPIO hardware abstraction for Raspberry Pi in the Arduino emulator.

-

This class implements the Arduino-style GPIO interface for Raspberry Pi platforms, allowing digital and analog I/O, PWM, and timing functions to be used in a manner compatible with Arduino code. It provides methods to configure pin modes, read and write digital/analog values, generate PWM signals, and perform timing operations such as pulse measurement and tone generation.

-

The class inherits from HardwareGPIO and is intended for use within the emulator when running on Raspberry Pi hardware. It manages pin state, analog reference, and PWM frequency settings for supported pins.

-
Note
This class is only available when USE_RPI is defined.
-

Constructor & Destructor Documentation

- -

◆ HardwareGPIO_RPI()

- -
-
- - - - - -
- - - - - - - - -
arduino::HardwareGPIO_RPI::HardwareGPIO_RPI (const chardevName)
-
-inline
-
- -

Constructor for HardwareGPIO_RPI with custom device name.

-
Parameters
- - -
devNameName of the GPIO chip device (e.g., "gpiochip0").
-
-
- -
-
-

Member Function Documentation

- -

◆ analogRead()

- -
-
- - - - - -
- - - - - - - - -
int arduino::HardwareGPIO_RPI::analogRead (pin_size_t pinNumber)
-
-overridevirtual
-
- -

Read an analog value from a pin (if supported).

- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ analogReference()

- -
-
- - - - - -
- - - - - - - - -
void arduino::HardwareGPIO_RPI::analogReference (uint8_t mode)
-
-overridevirtual
-
- -

Set the analog reference mode.

- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ analogWrite()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void arduino::HardwareGPIO_RPI::analogWrite (pin_size_t pinNumber,
int value 
)
-
-overridevirtual
-
- -

Write an analog value (PWM) to a pin.

- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ begin()

- -
-
- - - - - - - -
void arduino::HardwareGPIO_RPI::begin ()
-
- -

Initialize the GPIO hardware interface for Raspberry Pi.

-

Opens the GPIO chip device and prepares the class for GPIO operations. Should be called before using any GPIO functions.

- -
-
- -

◆ digitalRead()

- -
-
- - - - - -
- - - - - - - - -
PinStatus arduino::HardwareGPIO_RPI::digitalRead (pin_size_t pinNumber)
-
-overridevirtual
-
- -

Read a digital value from a GPIO pin.

- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ digitalWrite()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void arduino::HardwareGPIO_RPI::digitalWrite (pin_size_t pinNumber,
PinStatus status 
)
-
-overridevirtual
-
- -

Write a digital value to a GPIO pin.

- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ noTone()

- -
-
- - - - - -
- - - - - - - - -
void arduino::HardwareGPIO_RPI::noTone (uint8_t _pin)
-
-overridevirtual
-
- -

Stop tone generation on a pin.

- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ pinMode()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void arduino::HardwareGPIO_RPI::pinMode (pin_size_t pinNumber,
PinMode pinMode 
)
-
-overridevirtual
-
- -

Set the mode of a GPIO pin (INPUT, OUTPUT, etc).

- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ pulseIn()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
unsigned long arduino::HardwareGPIO_RPI::pulseIn (uint8_t pin,
uint8_t state,
unsigned long timeout = 1000000L 
)
-
-overridevirtual
-
- -

Measure pulse duration on a pin.

-
Parameters
- - - - -
pinPin number
statePin state to measure
timeoutTimeout in microseconds (default 1000000)
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ pulseInLong()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
unsigned long arduino::HardwareGPIO_RPI::pulseInLong (uint8_t pin,
uint8_t state,
unsigned long timeout = 1000000L 
)
-
-overridevirtual
-
- -

Measure long pulse duration on a pin.

-
Parameters
- - - - -
pinPin number
statePin state to measure
timeoutTimeout in microseconds (default 1000000)
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ tone()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void arduino::HardwareGPIO_RPI::tone (uint8_t _pin,
unsigned int frequency,
unsigned long duration = 0 
)
-
-overridevirtual
-
- -

Generate a tone on a pin.

-
Parameters
- - - - -
_pinPin number
frequencyFrequency in Hz
durationDuration in ms (optional)
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-Linux/cores/rasperry_pi/HardwareGPIO_RPI.h
  • -
  • ArduinoCore-Linux/cores/rasperry_pi/HardwareGPIO_RPI.cpp
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_hardware_g_p_i_o___r_p_i.png b/docs/html/classarduino_1_1_hardware_g_p_i_o___r_p_i.png deleted file mode 100644 index 8d3f04391532dcdc9ee6181aab4713f6f75d7722..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 693 zcmeAS@N?(olHy`uVBq!ia0vp^Yk@d`gBeK1)Us{^QqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCG95?_J51w>+1yGK&B*-tA0mugfbEer>7#NrwJY5_^Dj46+ec0Ecz|+!h zc=OBO`9EwJGX-Ps?pE^-+Ppcz`=$D|f5$fIoHjY+G-RkM{qMKkyCy7gK~5?A z-`lv~WgGf--EiBHe9P9kbNiOu%eC7s%PC9eJ`YZ*Uu=4W?XX(b$xo$XnUcR^&3}b$ zKc5+T_Wt6lQwzLS*H-4;>zrE`z}cTEe9~`c1^Yg`ck?rHf7&g4dwyo8&8bUu*Mz_A z3)KfQW3{SDr)dNM!Y!lWhrP196rMYgECT>LU)dTL~vAcMsV zR))(NTDPuetKC_d5q_hy;Q6B7c?=A3Tu}@k0xvK%^f!qy)QD_hc(8Z@D}y|%F2fIv z48{ZQj@%4(XiD~ndujSAs|Zf?6xpJr1e6sNl%IRa?DNy6#?Nmb|F64~dc!UCvNvCL z-o>sCo-c;E%Qh#^jbCfH<>|vq&(8e+ed_DBc?TN42}FL*|9)$E-^mFfGj4CGZWGGS zyuIvq&T?Bfvs>qu3;plCCLql-dxh%h>yb-RUzFc{5$!9NdH?F#O-RAySzdCuICx&N zs?9QArAwOP?+;u*9(%DYdmS{mA}5^)ls%d1Z?Uo^?E2H+E5yDU?bcr$_1ojB`_%PE zG;T-kuXWc}`t+AW$(O}gtC45#-^tdCsx8koQsJYD@< J);T3K0Ra2;O+o+w diff --git a/docs/html/classarduino_1_1_hardware_i2_c-members.html b/docs/html/classarduino_1_1_hardware_i2_c-members.html deleted file mode 100644 index b865b95..0000000 --- a/docs/html/classarduino_1_1_hardware_i2_c-members.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::HardwareI2C Member List
-
-
- -

This is the complete list of members for arduino::HardwareI2C, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
available()=0 (defined in arduino::Stream)arduino::Streampure virtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
begin()=0 (defined in arduino::HardwareI2C)arduino::HardwareI2Cpure virtual
begin(uint8_t address)=0 (defined in arduino::HardwareI2C)arduino::HardwareI2Cpure virtual
beginTransmission(uint8_t address)=0 (defined in arduino::HardwareI2C)arduino::HardwareI2Cpure virtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
end()=0 (defined in arduino::HardwareI2C)arduino::HardwareI2Cpure virtual
endTransmission(bool stopBit)=0 (defined in arduino::HardwareI2C)arduino::HardwareI2Cpure virtual
endTransmission(void)=0 (defined in arduino::HardwareI2C)arduino::HardwareI2Cpure virtual
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush() (defined in arduino::Print)arduino::Printinlinevirtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
onReceive(void(*)(int))=0 (defined in arduino::HardwareI2C)arduino::HardwareI2Cpure virtual
onRequest(void(*)(void))=0 (defined in arduino::HardwareI2C)arduino::HardwareI2Cpure virtual
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
peek()=0 (defined in arduino::Stream)arduino::Streampure virtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
Print() (defined in arduino::Print)arduino::Printinline
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
read()=0 (defined in arduino::Stream)arduino::Streampure virtual
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytes(uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
requestFrom(uint8_t address, size_t len, bool stopBit)=0 (defined in arduino::HardwareI2C)arduino::HardwareI2Cpure virtual
requestFrom(uint8_t address, size_t len)=0 (defined in arduino::HardwareI2C)arduino::HardwareI2Cpure virtual
setClock(uint32_t freq)=0 (defined in arduino::HardwareI2C)arduino::HardwareI2Cpure virtual
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
write(uint8_t)=0 (defined in arduino::Print)arduino::Printpure virtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const uint8_t *buffer, size_t size) (defined in arduino::Print)arduino::Printvirtual
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
- - - - diff --git a/docs/html/classarduino_1_1_hardware_i2_c.html b/docs/html/classarduino_1_1_hardware_i2_c.html deleted file mode 100644 index 4df750d..0000000 --- a/docs/html/classarduino_1_1_hardware_i2_c.html +++ /dev/null @@ -1,347 +0,0 @@ - - - - - - - -arduino-emulator: arduino::HardwareI2C Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::HardwareI2C Class Referenceabstract
-
-
-
-Inheritance diagram for arduino::HardwareI2C:
-
-
- - -arduino::Stream -arduino::Print -arduino::HardwareI2C_RPI -arduino::I2CWrapper -arduino::RemoteI2C - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

-virtual void begin ()=0
 
-virtual void begin (uint8_t address)=0
 
-virtual void beginTransmission (uint8_t address)=0
 
-virtual void end ()=0
 
-virtual uint8_t endTransmission (bool stopBit)=0
 
-virtual uint8_t endTransmission (void)=0
 
-virtual void onReceive (void(*)(int))=0
 
-virtual void onRequest (void(*)(void))=0
 
-virtual size_t requestFrom (uint8_t address, size_t len)=0
 
-virtual size_t requestFrom (uint8_t address, size_t len, bool stopBit)=0
 
-virtual void setClock (uint32_t freq)=0
 
- Public Member Functions inherited from arduino::Stream
-virtual int available ()=0
 
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-virtual int peek ()=0
 
-virtual int read ()=0
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-virtual void flush ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
-virtual size_t write (const uint8_t *buffer, size_t size)
 
-virtual size_t write (uint8_t)=0
 
- - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_hardware_i2_c.png b/docs/html/classarduino_1_1_hardware_i2_c.png deleted file mode 100644 index 5ad0a09ae0451431447d9066492aee20b0f1f985..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2013 zcmbuAdr(tX9>;?f+2vunQ(>vtFk_>@@JMu75zJ%k^6;V%2v0{K;$x*-B#5sp5yGIe zQCP?r)C_N|LP$|kP@#!2K;xqyz!y>7DKD>;&)Q*aM9q_WLvB=r{y;{_zT0S2>74IAlPfd*f+#3uBY#T0=ez zpJZ|#q>Nf!Yumin9VvE`ok)7xY6le#40lgqOdrGIC54Cg#9u|&qqA)-YmInT3)QGD|q3p>)*|TPc5zeZF9NDWRhVQ;)KI0+Jm2LWHN>2+P}U zAWv}j4jd;0Kw>Vi?G=vzSzLbJ*?V@p!)z>guif2P_06zoZVu7~fEGsR<xY^He+ zOFZfb*rQem09G6eg zE9@j#=k{x0Ri)F(6K@kiX0zyaB4k5Tj?KT5WZw6+>=pB0go zq;keMbU%r%h3+8>ar5s=*E0ZE!xBMnR%#nF)*A~60P=Ef| zV9tfN3!v6xWTIKFLfn{4`7%;C+*0w^I7OJF>SXb$XFLW$Uul0jdNxy?C7SZ{f)eNB ztSO@6x-73=WOo#MTXA8>h;|p{Lh5#OrKYb)uGyHTO_Eybm>R0`#I&GWA0<-TX5Up33juuG^|7da(C6qoUo+;Z21i%}BllJxR6>9n}W54wR%xT#O# zg*j5g^D0Nt2Xjc~8C3gzb1s2O-OwbYH^Qkcil<-S&8PE8Z2ua0m3}(+F5GuXPzDya zdK+Gj9l3L1pzL7RLG$D3x!kEcnSCRPXSHNQev_sA74>McYmcVdlcCh|w02DvK?)U* zV|ZF?sb!$PX5ha6aCsj(xMplx>vAND?Lc$TQM9WTXMcbK?g5As01p;dhHo_(H+~6> z)Letn!T%)JqM0^$Xf}ABdd4Z<+Wgt! G!hZuX0T>qm diff --git a/docs/html/classarduino_1_1_hardware_i2_c___r_p_i-members.html b/docs/html/classarduino_1_1_hardware_i2_c___r_p_i-members.html deleted file mode 100644 index ec68d17..0000000 --- a/docs/html/classarduino_1_1_hardware_i2_c___r_p_i-members.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::HardwareI2C_RPI Member List
-
-
- -

This is the complete list of members for arduino::HardwareI2C_RPI, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
available() override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
begin() override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
begin(uint8_t address) override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
beginTransmission(uint8_t address) override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
end() override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
endTransmission(bool stopBit) override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
endTransmission(void) (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIinlinevirtual
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush() override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIinlinevirtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
HardwareI2C_RPI(const char *device="/dev/i2c-1") (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIinline
onReceive(void(*)(int)) override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
onRequest(void(*)(void)) override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
operator bool() (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIinline
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
peek() override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
Print() (defined in arduino::Print)arduino::Printinline
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
read() override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytes(uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
requestFrom(uint8_t address, size_t len, bool stopBit) override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
requestFrom(uint8_t address, size_t len) override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
setClock(uint32_t freq) override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
write(uint8_t) override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
write(const uint8_t *, size_t) override (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIvirtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
~HardwareI2C_RPI() (defined in arduino::HardwareI2C_RPI)arduino::HardwareI2C_RPIinline
- - - - diff --git a/docs/html/classarduino_1_1_hardware_i2_c___r_p_i.html b/docs/html/classarduino_1_1_hardware_i2_c___r_p_i.html deleted file mode 100644 index ec029de..0000000 --- a/docs/html/classarduino_1_1_hardware_i2_c___r_p_i.html +++ /dev/null @@ -1,855 +0,0 @@ - - - - - - - -arduino-emulator: arduino::HardwareI2C_RPI Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::HardwareI2C_RPI Class Reference
-
-
- -

Implementation of I2C communication for Raspberry Pi using Linux I2C device interface. - More...

- -

#include <HardwareI2C_RPI.h>

-
-Inheritance diagram for arduino::HardwareI2C_RPI:
-
-
- - -arduino::HardwareI2C -arduino::Stream -arduino::Print - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

HardwareI2C_RPI (const char *device="/dev/i2c-1")
 
int available () override
 
void begin () override
 
void begin (uint8_t address) override
 
void beginTransmission (uint8_t address) override
 
void end () override
 
uint8_t endTransmission (bool stopBit) override
 
uint8_t endTransmission (void)
 
void flush () override
 
void onReceive (void(*)(int)) override
 
void onRequest (void(*)(void)) override
 
operator bool ()
 
int peek () override
 
int read () override
 
size_t requestFrom (uint8_t address, size_t len) override
 
size_t requestFrom (uint8_t address, size_t len, bool stopBit) override
 
void setClock (uint32_t freq) override
 
size_t write (const uint8_t *, size_t) override
 
size_t write (uint8_t) override
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
- - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
-

Detailed Description

-

Implementation of I2C communication for Raspberry Pi using Linux I2C device interface.

-

This class provides an interface to the I2C bus on Raspberry Pi platforms by accessing the Linux device (e.g., /dev/i2c-1). It inherits from HardwareI2C and implements all required methods for I2C communication, including transmission, reception, and configuration.

-
Note
This class is only available when USE_RPI is defined.
-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - -
- - - - - - - - -
int arduino::HardwareI2C_RPI::available (void )
-
-overridevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ begin() [1/2]

- -
-
- - - - - -
- - - - - - - -
void arduino::HardwareI2C_RPI::begin ()
-
-overridevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ begin() [2/2]

- -
-
- - - - - -
- - - - - - - - -
void arduino::HardwareI2C_RPI::begin (uint8_t address)
-
-overridevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ beginTransmission()

- -
-
- - - - - -
- - - - - - - - -
void arduino::HardwareI2C_RPI::beginTransmission (uint8_t address)
-
-overridevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ end()

- -
-
- - - - - -
- - - - - - - -
void arduino::HardwareI2C_RPI::end ()
-
-overridevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ endTransmission() [1/2]

- -
-
- - - - - -
- - - - - - - - -
uint8_t arduino::HardwareI2C_RPI::endTransmission (bool stopBit)
-
-overridevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ endTransmission() [2/2]

- -
-
- - - - - -
- - - - - - - - -
uint8_t arduino::HardwareI2C_RPI::endTransmission (void )
-
-inlinevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ flush()

- -
-
- - - - - -
- - - - - - - - -
void arduino::HardwareI2C_RPI::flush (void )
-
-inlineoverridevirtual
-
- -

Reimplemented from arduino::Print.

- -
-
- -

◆ onReceive()

- -
-
- - - - - -
- - - - - - - - -
void arduino::HardwareI2C_RPI::onReceive (void(*)(intcb)
-
-overridevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ onRequest()

- -
-
- - - - - -
- - - - - - - - -
void arduino::HardwareI2C_RPI::onRequest (void(*)(voidcb)
-
-overridevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ peek()

- -
-
- - - - - -
- - - - - - - - -
int arduino::HardwareI2C_RPI::peek (void )
-
-overridevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ read()

- -
-
- - - - - -
- - - - - - - - -
int arduino::HardwareI2C_RPI::read (void )
-
-overridevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ requestFrom() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
size_t arduino::HardwareI2C_RPI::requestFrom (uint8_t address,
size_t len 
)
-
-overridevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ requestFrom() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
size_t arduino::HardwareI2C_RPI::requestFrom (uint8_t address,
size_t len,
bool stopBit 
)
-
-overridevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ setClock()

- -
-
- - - - - -
- - - - - - - - -
void arduino::HardwareI2C_RPI::setClock (uint32_t freq)
-
-overridevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ write() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
size_t arduino::HardwareI2C_RPI::write (const uint8_tdata,
size_t len 
)
-
-overridevirtual
-
- -

Reimplemented from arduino::Print.

- -
-
- -

◆ write() [2/2]

- -
-
- - - - - -
- - - - - - - - -
size_t arduino::HardwareI2C_RPI::write (uint8_t data)
-
-overridevirtual
-
- -

Implements arduino::Print.

- -
-
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-Linux/cores/rasperry_pi/HardwareI2C_RPI.h
  • -
  • ArduinoCore-Linux/cores/rasperry_pi/HardwareI2C_RPI.cpp
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_hardware_i2_c___r_p_i.png b/docs/html/classarduino_1_1_hardware_i2_c___r_p_i.png deleted file mode 100644 index 2e84eec5919ab04a25d6bbe9b35574a2eebd2d3f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1175 zcmeAS@N?(olHy`uVBq!ia0vp^i-7n52Q!e|AmC8}q@)9ULR|m<{|{uoc=NTi|Il&^ z1I+@7>1SRXIB)QY0?L7^sKMg&HLVB z-=h?ZU61txdZc+DsEaV}X;EsJ9>DTJsEZ-aN$`NT22%y6D}(+*jt8m;$xrcGKyz+P zP|Zwn3Y@eDWW~>wNmeI3R|U=b7uTZtQl`$;(<)(|f$hIVk2a}Y?)aWKJ-u*7o!-Hx zq309zqNGDhz1SyxY1`a&d!DXx9>|w>=T1MgEig8H-c`%v+S0Kmw=e!`%6h1}v~SnN zcG1%%r`?%96--u*zJf8(^TU0)jOsQT7((!CGPN56T@3w`ta>(5@jz3bHXP6?SE z*_k69Ej2a#uHU3M;r|S(C%rYiCQT2RqN2Z0!!u6p=$v9XsfP1K%o4Ldiso;BD0@77 z4v%~JAJ(qI#f*Q5@jobV{&|DUk=~@z>jN|WxyWTlzf1F`J!*b1`B$mM(yd>oO$=GS zx@%HNgLC1wJ6Up}^^11+X`HRqIe+QlmtxMa$@fI%qr$jy*HnlGdsaP(*jTdLYirl+ zl~Yz-S?jrSw|3daWp`7Lx^0%+{dVt{YJ2z8Q2FS0t4l7t{;XTK{o-|z*S&SCB92e{ zbMIuo`L9h$ldf!(Inf+Z%rUp??ZiEcZmfUtQSrv^9TkgD2S)P$3JZE0YJM*4)^;5x z-<8?Hg z+OuZLJ_xvTY<_lG_Qtl;yTfACr#yS`Nyl{geD4jjzO4IkVN*~>^4D87=bp|@dRaC# zOVm7gbI8&>U$48d8@o;4>S>$JI(sAc{nB5*Ue;gRB=uR2va8)-N*@_3N~f6`mNS&?&h@zyQBA$L-{>u;BweABU)OCHtSKZP1r z%4Qq?&YG_8QZ5>&HESmCNsg|w+Yg>uqZ)Sc%o%TuSu=ro%h*_da*~%O?^*dB_m2Kj U;8;H&ScEWmy85}Sb4q9e0KeBW`v3p{ diff --git a/docs/html/classarduino_1_1_hardware_s_p_i-members.html b/docs/html/classarduino_1_1_hardware_s_p_i-members.html deleted file mode 100644 index 0d6ee71..0000000 --- a/docs/html/classarduino_1_1_hardware_s_p_i-members.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::HardwareSPI Member List
-
-
- -

This is the complete list of members for arduino::HardwareSPI, including all inherited members.

- - - - - - - - - - - - - -
attachInterrupt()=0 (defined in arduino::HardwareSPI)arduino::HardwareSPIpure virtual
begin()=0 (defined in arduino::HardwareSPI)arduino::HardwareSPIpure virtual
beginTransaction(SPISettings settings)=0 (defined in arduino::HardwareSPI)arduino::HardwareSPIpure virtual
detachInterrupt()=0 (defined in arduino::HardwareSPI)arduino::HardwareSPIpure virtual
end()=0 (defined in arduino::HardwareSPI)arduino::HardwareSPIpure virtual
endTransaction(void)=0 (defined in arduino::HardwareSPI)arduino::HardwareSPIpure virtual
notUsingInterrupt(int interruptNumber)=0 (defined in arduino::HardwareSPI)arduino::HardwareSPIpure virtual
transfer(uint8_t data)=0 (defined in arduino::HardwareSPI)arduino::HardwareSPIpure virtual
transfer(void *buf, size_t count)=0 (defined in arduino::HardwareSPI)arduino::HardwareSPIpure virtual
transfer16(uint16_t data)=0 (defined in arduino::HardwareSPI)arduino::HardwareSPIpure virtual
usingInterrupt(int interruptNumber)=0 (defined in arduino::HardwareSPI)arduino::HardwareSPIpure virtual
~HardwareSPI() (defined in arduino::HardwareSPI)arduino::HardwareSPIinlinevirtual
- - - - diff --git a/docs/html/classarduino_1_1_hardware_s_p_i.html b/docs/html/classarduino_1_1_hardware_s_p_i.html deleted file mode 100644 index 7bd41c2..0000000 --- a/docs/html/classarduino_1_1_hardware_s_p_i.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - -arduino-emulator: arduino::HardwareSPI Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::HardwareSPI Class Referenceabstract
-
-
-
-Inheritance diagram for arduino::HardwareSPI:
-
-
- - -arduino::HardwareSPI_RPI -arduino::RemoteSPI -arduino::SPIWrapper - -
- - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

-virtual void attachInterrupt ()=0
 
-virtual void begin ()=0
 
-virtual void beginTransaction (SPISettings settings)=0
 
-virtual void detachInterrupt ()=0
 
-virtual void end ()=0
 
-virtual void endTransaction (void)=0
 
-virtual void notUsingInterrupt (int interruptNumber)=0
 
-virtual uint8_t transfer (uint8_t data)=0
 
-virtual void transfer (void *buf, size_t count)=0
 
-virtual uint16_t transfer16 (uint16_t data)=0
 
-virtual void usingInterrupt (int interruptNumber)=0
 
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_hardware_s_p_i.png b/docs/html/classarduino_1_1_hardware_s_p_i.png deleted file mode 100644 index 98fb5320a6f8d8baf7dc2602831635ea917e3acf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1225 zcmZ8hdrXs86#sY&g6ITA5Ks{m1aU*cL)t=lt%kK76e?p}rK%J}uD7k>Uw&b%T`IKMevvy_ z)^+-Xe00+ZYph~$D!8YXHzR)2Ww8bdP*kYHi$Zu_lN(D4i~a0T=!;LZ7B_b)t@aOY zL1*&UNietey3ocSbQx=$_3H2|YBt$fXD@2-?#~O1b$d7xc;yvvtO5l!`tQA(@#`}_XRjFLb4486K#-<8AfI>gfEuaO+O zbOjV$yS07lc>9~AJC!$r7_Ti?_D~yY#$tVyDcCgF)tw33E%_7S#~ttYXgfT)`+0y-POef%4bgWjY;RxDiD3q3JhL-! zUbq-ucV;(W;}Va88%^K=(wgVRCEzj9RUdbO0Nb6c6wQd|ZMQ*7-`N&J+)$8K?ihQ| z?&MEo=O;VD7F1qb42bZ(;wzqDt9TZC_XKg6d(3RE*8{szvjwy|C9rv;I)t+gg{i* zFbTGU6OP-!368s>nSf2`n0!pnq+RFDuSoo^p|R->!=r9Plv>`$Srz5ipqSWQzlZrU9sxoaqJI;&@png?5_ziA<+ zfuX26Sr8=4$S`Isk1R=D6&my<;RwRnm_Fg5iA6^T_?Kp51R0x9Y14F<=2}al$ot(k zX@2XWtWyOvnvt$fS{vb(}@BsjlRsG@m@+f?2HQua&| zVKYgh&G%e9*xSv)m8B+|0|2Cx%}O=Cd7FVsNdsd~%d5pXOE-{wE!%gjsBhjd9n;$_ zkfelh25M3MkbvcWC{%;*Wrb)0qS6_Oji#(;K4>3P{j*_?v)B0KaU-spbwHQ61Issk zCEu)-G9J*&gsNuTS*@S6x-R1M@I&?N;-flO-}br#NSZm*G&H!ppbV+CO_N28=z?Dc zVzE@*#KI!$xl@ZOE$BA^)p(Ey)VZS2Y;jD3WYR-v#x-gD1!7-i - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::HardwareSPI_RPI Member List
-
-
- -

This is the complete list of members for arduino::HardwareSPI_RPI, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - -
attachInterrupt() override (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIvirtual
begin() override (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIvirtual
beginTransaction(SPISettings settings) override (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIvirtual
detachInterrupt() override (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIvirtual
device (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIprotected
end() override (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIvirtual
endTransaction(void) override (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIvirtual
HardwareSPI_RPI(const char *device="/dev/spidev0.0") (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPI
is_open (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIprotected
notUsingInterrupt(int interruptNumber) override (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIvirtual
operator bool() (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIinline
spi_bits (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIprotected
spi_fd (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIprotected
spi_mode (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIprotected
spi_speed (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIprotected
transfer(uint8_t data) override (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIvirtual
transfer(void *buf, size_t count) override (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIvirtual
transfer16(uint16_t data) override (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIvirtual
usingInterrupt(int interruptNumber) override (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPIvirtual
~HardwareSPI() (defined in arduino::HardwareSPI)arduino::HardwareSPIinlinevirtual
~HardwareSPI_RPI() override (defined in arduino::HardwareSPI_RPI)arduino::HardwareSPI_RPI
- - - - diff --git a/docs/html/classarduino_1_1_hardware_s_p_i___r_p_i.html b/docs/html/classarduino_1_1_hardware_s_p_i___r_p_i.html deleted file mode 100644 index 1292ae0..0000000 --- a/docs/html/classarduino_1_1_hardware_s_p_i___r_p_i.html +++ /dev/null @@ -1,479 +0,0 @@ - - - - - - - -arduino-emulator: arduino::HardwareSPI_RPI Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::HardwareSPI_RPI Class Reference
-
-
- -

Implementation of SPI communication for Raspberry Pi using Linux SPI device interface. - More...

- -

#include <HardwareSPI_RPI.h>

-
-Inheritance diagram for arduino::HardwareSPI_RPI:
-
-
- - -arduino::HardwareSPI - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

HardwareSPI_RPI (const char *device="/dev/spidev0.0")
 
void attachInterrupt () override
 
void begin () override
 
void beginTransaction (SPISettings settings) override
 
void detachInterrupt () override
 
void end () override
 
void endTransaction (void) override
 
void notUsingInterrupt (int interruptNumber) override
 
operator bool ()
 
uint8_t transfer (uint8_t data) override
 
void transfer (void *buf, size_t count) override
 
uint16_t transfer16 (uint16_t data) override
 
void usingInterrupt (int interruptNumber) override
 
- - - - - - - - - - - - - -

-Protected Attributes

-const chardevice = "/dev/spidev0.0"
 
-bool is_open = false
 
-uint8_t spi_bits = 8
 
-int spi_fd = -1
 
-uint8_t spi_mode = 0
 
-uint32_t spi_speed = 500000
 
-

Detailed Description

-

Implementation of SPI communication for Raspberry Pi using Linux SPI device interface.

-

This class provides an interface to the SPI bus on Raspberry Pi platforms by accessing the Linux device (e.g., /dev/spidev0.0). It inherits from HardwareSPI and implements all required methods for SPI communication, including data transfer, transaction management, and configuration.

-
Note
This class is only available when USE_RPI is defined.
-

Member Function Documentation

- -

◆ attachInterrupt()

- -
-
- - - - - -
- - - - - - - -
void arduino::HardwareSPI_RPI::attachInterrupt ()
-
-overridevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ begin()

- -
-
- - - - - -
- - - - - - - -
void arduino::HardwareSPI_RPI::begin ()
-
-overridevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ beginTransaction()

- -
-
- - - - - -
- - - - - - - - -
void arduino::HardwareSPI_RPI::beginTransaction (SPISettings settings)
-
-overridevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ detachInterrupt()

- -
-
- - - - - -
- - - - - - - -
void arduino::HardwareSPI_RPI::detachInterrupt ()
-
-overridevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ end()

- -
-
- - - - - -
- - - - - - - -
void arduino::HardwareSPI_RPI::end ()
-
-overridevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ endTransaction()

- -
-
- - - - - -
- - - - - - - - -
void arduino::HardwareSPI_RPI::endTransaction (void )
-
-overridevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ notUsingInterrupt()

- -
-
- - - - - -
- - - - - - - - -
void arduino::HardwareSPI_RPI::notUsingInterrupt (int interruptNumber)
-
-overridevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ transfer() [1/2]

- -
-
- - - - - -
- - - - - - - - -
uint8_t arduino::HardwareSPI_RPI::transfer (uint8_t data)
-
-overridevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ transfer() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void arduino::HardwareSPI_RPI::transfer (voidbuf,
size_t count 
)
-
-overridevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ transfer16()

- -
-
- - - - - -
- - - - - - - - -
uint16_t arduino::HardwareSPI_RPI::transfer16 (uint16_t data)
-
-overridevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ usingInterrupt()

- -
-
- - - - - -
- - - - - - - - -
void arduino::HardwareSPI_RPI::usingInterrupt (int interruptNumber)
-
-overridevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-Linux/cores/rasperry_pi/HardwareSPI_RPI.h
  • -
  • ArduinoCore-Linux/cores/rasperry_pi/HardwareSPI_RPI.cpp
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_hardware_s_p_i___r_p_i.png b/docs/html/classarduino_1_1_hardware_s_p_i___r_p_i.png deleted file mode 100644 index e80cdc43d6984f91e7fbd7178f08fbb80f187d80..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 668 zcmeAS@N?(olHy`uVBq!ia0vp^i-0(QgBeJ!EsL`TQqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCG95?_J51w>+1yGK&B*-tA0mugfbEer>7#Nt;JzX3_Dj46+y*O#90*}k= zZLh-q{}*2$9>VdcXHsoKwsETT5?&dmdzD8w>72fE$Z3+Xwt(lQ)eb72>*pyh^XpF8 zSyX;}Pv!m}ukXuk^O)3oPiaz$`{It-d++(EM8=zURQhHgGuOR;-tgM-oM#sl;*9zq z<(%Id9{$$$k>wk{R6+hAqtNh~httH49J9Xd+`)GFOm0-_k+(Xsp?lM&os@pxAY;)T zdd&Dp)#7}??DcC_th;x>ZNHn3iu6O>B>coM``QLh3kvBlGNgV?@!w| zKYv~S%`*!f_oT?F-k6uYe%-C=BgHplPbtYQ30k$zXwq4oj^6TZ?E<{ZX5QX%s^ho+ z|JXEB*Tu3$4|Kx*o)>uCyU%sa-c5^kRc-5>f)rzjVeWuv$vFyUlbNvNWGri6>WYkHkoYY#S;Tgxe oNTpJ=W73nWT{D8bf?xB`UD(?y85}Sb4q9e0G53;CIA2c diff --git a/docs/html/classarduino_1_1_hardware_serial-members.html b/docs/html/classarduino_1_1_hardware_serial-members.html deleted file mode 100644 index 5077db0..0000000 --- a/docs/html/classarduino_1_1_hardware_serial-members.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::HardwareSerial Member List
-
-
- -

This is the complete list of members for arduino::HardwareSerial, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
available(void)=0 (defined in arduino::HardwareSerial)arduino::HardwareSerialpure virtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
begin(unsigned long)=0 (defined in arduino::HardwareSerial)arduino::HardwareSerialpure virtual
begin(unsigned long baudrate, uint16_t config)=0 (defined in arduino::HardwareSerial)arduino::HardwareSerialpure virtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
end()=0 (defined in arduino::HardwareSerial)arduino::HardwareSerialpure virtual
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush(void)=0 (defined in arduino::HardwareSerial)arduino::HardwareSerialpure virtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
operator bool()=0 (defined in arduino::HardwareSerial)arduino::HardwareSerialpure virtual
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
peek(void)=0 (defined in arduino::HardwareSerial)arduino::HardwareSerialpure virtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
Print() (defined in arduino::Print)arduino::Printinline
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
read(void)=0 (defined in arduino::HardwareSerial)arduino::HardwareSerialpure virtual
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytes(uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
write(uint8_t)=0 (defined in arduino::HardwareSerial)arduino::HardwareSerialpure virtual
write(uint8_t)=0 (defined in arduino::HardwareSerial)arduino::HardwareSerialvirtual
write(const char *str) (defined in arduino::HardwareSerial)arduino::HardwareSerialinline
write(const uint8_t *buffer, size_t size) (defined in arduino::HardwareSerial)arduino::HardwareSerialvirtual
write(const char *buffer, size_t size) (defined in arduino::HardwareSerial)arduino::HardwareSerialinline
- - - - diff --git a/docs/html/classarduino_1_1_hardware_serial.html b/docs/html/classarduino_1_1_hardware_serial.html deleted file mode 100644 index b7e4844..0000000 --- a/docs/html/classarduino_1_1_hardware_serial.html +++ /dev/null @@ -1,533 +0,0 @@ - - - - - - - -arduino-emulator: arduino::HardwareSerial Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::HardwareSerial Class Referenceabstract
-
-
-
-Inheritance diagram for arduino::HardwareSerial:
-
-
- - -arduino::Stream -arduino::Print -arduino::SerialImpl - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual int available (void)=0
 
-virtual void begin (unsigned long baudrate, uint16_t config)=0
 
-virtual void begin (unsigned long)=0
 
-virtual void end ()=0
 
virtual void flush (void)=0
 
-virtual operator bool ()=0
 
virtual int peek (void)=0
 
virtual int read (void)=0
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
virtual size_t write (const uint8_t *buffer, size_t size)
 
virtual size_t write (uint8_t)=0
 
virtual size_t write (uint8_t)=0
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
- - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::HardwareSerial::available (void )
-
-pure virtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ flush()

- -
-
- - - - - -
- - - - - - - - -
virtual void arduino::HardwareSerial::flush (void )
-
-pure virtual
-
- -

Reimplemented from arduino::Print.

- -
-
- -

◆ peek()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::HardwareSerial::peek (void )
-
-pure virtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ read()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::HardwareSerial::read (void )
-
-pure virtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ write() [1/3]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
size_t Print::write (const uint8_tbuffer,
size_t size 
)
-
-virtual
-
- -

Reimplemented from arduino::Print.

- -
-
- -

◆ write() [2/3]

- -
-
- - - - - -
- - - - - - - - -
virtual size_t arduino::HardwareSerial::write (uint8_t )
-
-pure virtual
-
- -

Implements arduino::Print.

- -
-
- -

◆ write() [3/3]

- -
-
- - - - - -
- - - - - - - - -
virtual size_t arduino::Print::write (uint8_t )
-
-virtual
-
- -

Implements arduino::Print.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_hardware_serial.png b/docs/html/classarduino_1_1_hardware_serial.png deleted file mode 100644 index 40acf005b914655c66d29492a992cd8bed5f80e5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1157 zcmeAS@N?(olHy`uVBq!ia0vp^(}4H@2Q!eo$dP3Qq@)9ULR|m<{|{uoc=NTi|Il&^ z1I+@7>1SRXIB)clB+WvbHFGer$GL^zALWDlfU#UwgLU zTWr4T>KmRbHPZ$6PdKtFtUX`kTlDtr^P;>jS=)I&N{_mmQs=Ji`AQ<-b>-nd(rcgc zT%Ehe<{f*HJ^yi0o6Ebtt9V`d?~&m-Y5IjpD*6jmJ>!mDJ!Sd)A;XSt_5&3?E5BCo zyfj^QEyZ-v^#xIdLX3Y}#2ThwVEP~w#SrJjeZV_|v4T^VL4P6Z1Jx}IdypjmHH4kB z>}QXhSoV;Y&l9%5XMNPW*QCQd0DlyX_wk|Sz?r)P*Hdm_FKK5Im z{j@53?{xp@fXmCu6g;Qzxvupy!d-LwqR=;G=f6HST#>u^%#*p(^*ck~S~&e*7@6R? zaxw2N$JI9v#;rYk+;ZQY_m{mUS;b{?OO6;eN*9yBUxBl9BXY!F-m$yZ~ zo~{;n_JL}q>56-|EIfB9{rl;G@Vt}vq&+@Smd|Zu7|K5~Nc0rapR{d_vFpVs}e#daBK*QPB$ zC=->Ire3ppYe@XI%1gJNO?WozW#PVcXQyonHT!&L>pZ3H2fprIt1bGsp;~`$*xM{& z%Pdjr%~z)Uy5;&VDmJ#(PO{+r8vi8Y)9T$}3-TuJsyaXMtbpw78=s#Cug&GzA2$1l z_u6giZoba;>Q6lVI#tO2npfJjjqj#U-j#ORyiI@7jq;j}EAM5`O>m`(=cry79$ULu)l*%ES1aDOP+%a*JuS|WvWzv$q>rttvr}L*f zZqJt8e#3h0>YZC=zxl0l?ZnqY`w6~HvksmX)KM?YzkEct@6-AJd7hVQ_x#kBh??}x oXvH*@y$Z0z?y3EJPWxl~3FX_p&fFCC0Tvhxp00i_>zopr0GsMJwEzGB diff --git a/docs/html/classarduino_1_1_hardware_service-members.html b/docs/html/classarduino_1_1_hardware_service-members.html deleted file mode 100644 index c3ec97a..0000000 --- a/docs/html/classarduino_1_1_hardware_service-members.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::HardwareService Member List
-
-
- -

This is the complete list of members for arduino::HardwareService, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
blockingRead(void *data, int len, int timeout=1000) (defined in arduino::HardwareService)arduino::HardwareServiceinlineprotected
flush() (defined in arduino::HardwareService)arduino::HardwareServiceinline
HardwareService() (defined in arduino::HardwareService)arduino::HardwareServiceinline
io (defined in arduino::HardwareService)arduino::HardwareServiceprotected
is_big_endian(void) (defined in arduino::HardwareService)arduino::HardwareServiceinlineprotected
isLittleEndian (defined in arduino::HardwareService)arduino::HardwareServiceprotected
operator boolean() (defined in arduino::HardwareService)arduino::HardwareServiceinline
receive(void *data, int len) (defined in arduino::HardwareService)arduino::HardwareServiceinline
receive16() (defined in arduino::HardwareService)arduino::HardwareServiceinline
receive32() (defined in arduino::HardwareService)arduino::HardwareServiceinline
receive64() (defined in arduino::HardwareService)arduino::HardwareServiceinline
receive8() (defined in arduino::HardwareService)arduino::HardwareServiceinline
send(HWCalls call) (defined in arduino::HardwareService)arduino::HardwareServiceinline
send(uint8_t data) (defined in arduino::HardwareService)arduino::HardwareServiceinline
send(uint16_t dataIn) (defined in arduino::HardwareService)arduino::HardwareServiceinline
send(uint32_t dataIn) (defined in arduino::HardwareService)arduino::HardwareServiceinline
send(uint64_t dataIn) (defined in arduino::HardwareService)arduino::HardwareServiceinline
send(int32_t dataIn) (defined in arduino::HardwareService)arduino::HardwareServiceinline
send(int64_t dataIn) (defined in arduino::HardwareService)arduino::HardwareServiceinline
send(bool data) (defined in arduino::HardwareService)arduino::HardwareServiceinline
send(void *data, size_t len) (defined in arduino::HardwareService)arduino::HardwareServiceinline
setStream(Stream *str) (defined in arduino::HardwareService)arduino::HardwareServiceinline
swap_int16(int16_t val)arduino::HardwareServiceinlineprotected
swap_int32(int32_t val)arduino::HardwareServiceinlineprotected
swap_int64(int64_t val) (defined in arduino::HardwareService)arduino::HardwareServiceinlineprotected
swap_uint16(uint16_t val)arduino::HardwareServiceinlineprotected
swap_uint32(uint32_t val)arduino::HardwareServiceinlineprotected
swap_uint64(uint64_t val) (defined in arduino::HardwareService)arduino::HardwareServiceinlineprotected
timeout_ms (defined in arduino::HardwareService)arduino::HardwareServiceprotected
- - - - diff --git a/docs/html/classarduino_1_1_hardware_service.html b/docs/html/classarduino_1_1_hardware_service.html deleted file mode 100644 index 10fda3e..0000000 --- a/docs/html/classarduino_1_1_hardware_service.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - - -arduino-emulator: arduino::HardwareService Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::HardwareService Class Reference
-
-
- -

Provides a virtualized hardware communication service for SPI, I2C, I2S, and GPIO over a stream. - More...

- -

#include <HardwareService.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

-void flush ()
 
operator boolean ()
 
-uint16_t receive (void *data, int len)
 
-uint16_t receive16 ()
 
-uint32_t receive32 ()
 
-uint64_t receive64 ()
 
-uint8_t receive8 ()
 
-void send (bool data)
 
-void send (HWCalls call)
 
-void send (int32_t dataIn)
 
-void send (int64_t dataIn)
 
-void send (uint16_t dataIn)
 
-void send (uint32_t dataIn)
 
-void send (uint64_t dataIn)
 
-void send (uint8_t data)
 
-void send (void *data, size_t len)
 
-void setStream (Stream *str)
 
- - - - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

-uint16_t blockingRead (void *data, int len, int timeout=1000)
 
-bool is_big_endian (void)
 
-int16_t swap_int16 (int16_t val)
 Byte swap short.
 
-int32_t swap_int32 (int32_t val)
 Byte swap int.
 
-int64_t swap_int64 (int64_t val)
 
-uint16_t swap_uint16 (uint16_t val)
 Byte swap unsigned short.
 
-uint32_t swap_uint32 (uint32_t val)
 Byte swap unsigned int.
 
-uint64_t swap_uint64 (uint64_t val)
 
- - - - - - - -

-Protected Attributes

-Streamio = nullptr
 
-bool isLittleEndian = !is_big_endian()
 
-int timeout_ms = 1000
 
-

Detailed Description

-

Provides a virtualized hardware communication service for SPI, I2C, I2S, and GPIO over a stream.

-

This class encapsulates the logic to tunnel hardware protocol messages (SPI, I2C, I2S, GPIO, Serial, etc.) over a generic stream interface. It handles serialization and deserialization of protocol calls and data, ensuring correct endianness (little endian by default for embedded devices). The class provides methods to send and receive various data types, manage the underlying stream, and perform byte-swapping as needed.

-

Key features:

    -
  • Tunnels hardware protocol messages over a stream (e.g., network, serial).
  • -
  • Supports sending and receiving multiple data types with correct endianness.
  • -
  • Provides blocking read with timeout for reliable communication.
  • -
  • Handles byte order conversion for cross-platform compatibility.
  • -
  • Can be used as a base for remote hardware emulation or proxying.
  • -
-

Usage:

    -
  • Set the stream using setStream().
  • -
  • Use send() methods to transmit protocol calls and data.
  • -
  • Use receive methods to read responses from the remote hardware.
  • -
  • Use flush() to ensure all data is sent.
  • -
-

The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_hardware_setup_r_p_i-members.html b/docs/html/classarduino_1_1_hardware_setup_r_p_i-members.html deleted file mode 100644 index 6134d74..0000000 --- a/docs/html/classarduino_1_1_hardware_setup_r_p_i-members.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::HardwareSetupRPI Member List
-
-
- -

This is the complete list of members for arduino::HardwareSetupRPI, including all inherited members.

- - - - - - - - - - - - -
begin(bool asDefault=true)arduino::HardwareSetupRPIinline
end()arduino::HardwareSetupRPIinline
getGPIO() (defined in arduino::HardwareSetupRPI)arduino::HardwareSetupRPIinlinevirtual
getI2C() (defined in arduino::HardwareSetupRPI)arduino::HardwareSetupRPIinlinevirtual
getSPI() (defined in arduino::HardwareSetupRPI)arduino::HardwareSetupRPIinlinevirtual
gpio (defined in arduino::HardwareSetupRPI)arduino::HardwareSetupRPIprotected
HardwareSetupRPI()=defaultarduino::HardwareSetupRPI
i2c (defined in arduino::HardwareSetupRPI)arduino::HardwareSetupRPIprotected
is_default_objects_active (defined in arduino::HardwareSetupRPI)arduino::HardwareSetupRPIprotected
spi (defined in arduino::HardwareSetupRPI)arduino::HardwareSetupRPIprotected
~HardwareSetupRPI()arduino::HardwareSetupRPIinline
- - - - diff --git a/docs/html/classarduino_1_1_hardware_setup_r_p_i.html b/docs/html/classarduino_1_1_hardware_setup_r_p_i.html deleted file mode 100644 index e6cde3e..0000000 --- a/docs/html/classarduino_1_1_hardware_setup_r_p_i.html +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - - -arduino-emulator: arduino::HardwareSetupRPI Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::HardwareSetupRPI Class Reference
-
-
- -

Sets up hardware interfaces for Raspberry Pi (GPIO, I2C, SPI). - More...

- -

#include <HardwareSetupRPI.h>

-
-Inheritance diagram for arduino::HardwareSetupRPI:
-
-
- - -arduino::I2CSource -arduino::SPISource -arduino::GPIOSource - -
- - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

HardwareSetupRPI ()=default
 Constructor. Initializes hardware interfaces.
 
~HardwareSetupRPI ()
 Destructor. Cleans up hardware interfaces.
 
-bool begin (bool asDefault=true)
 Initializes hardware pointers to Raspberry Pi interfaces.
 
-void end ()
 Resets hardware pointers to nullptr.
 
HardwareGPIO_RPIgetGPIO ()
 
HardwareI2C_RPIgetI2C ()
 
HardwareSPI_RPIgetSPI ()
 
- - - - - - - - - -

-Protected Attributes

-HardwareGPIO_RPI gpio
 
-HardwareI2C_RPI i2c
 
-bool is_default_objects_active = false
 
-HardwareSPI_RPI spi
 
-

Detailed Description

-

Sets up hardware interfaces for Raspberry Pi (GPIO, I2C, SPI).

-

Member Function Documentation

- -

◆ getGPIO()

- -
-
- - - - - -
- - - - - - - -
HardwareGPIO_RPI * arduino::HardwareSetupRPI::getGPIO ()
-
-inlinevirtual
-
- -

Implements arduino::GPIOSource.

- -
-
- -

◆ getI2C()

- -
-
- - - - - -
- - - - - - - -
HardwareI2C_RPI * arduino::HardwareSetupRPI::getI2C ()
-
-inlinevirtual
-
- -

Implements arduino::I2CSource.

- -
-
- -

◆ getSPI()

- -
-
- - - - - -
- - - - - - - -
HardwareSPI_RPI * arduino::HardwareSetupRPI::getSPI ()
-
-inlinevirtual
-
- -

Implements arduino::SPISource.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_hardware_setup_r_p_i.png b/docs/html/classarduino_1_1_hardware_setup_r_p_i.png deleted file mode 100644 index 42324e8bd8d33fd43bdce2097794eef37983051a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1180 zcmeAS@N?(olHy`uVBq!ia0y~yVB!I?12~w0q*M3Z89+)pz$e7@|Ns9$=8HF9OZyKk zw=mEwkeGhv#eo9{fa1ZEF0TN}ah3%61v3EoU|`NP`w9aCi@K+aV@L(#+qt(lEiw>r z6`!r8_5c6T#V3~T)L67!GI;Cq2z4%|YAfxR;kUNsW;eWyzr8J&H)O_+sY~vwPYat= zH(yG4_m)Xh8d4`L5z%Q@d731tqRDz%!BaDW&GXdLH9Tj}se67dw7+Z8-@Sd~e}leB zUo_>Xe>3+`i~Di|4IRb(!`)dnP`dbYy

}aamOR-V=qtqGds=0o3`(rmKgce*ZhuVgNp6rV99%4H9F2gk1i*+ z+ileObY<%PGk^VN&p3U#UZyQ0?nT_fxxLj1GLMtRmiJA&wbHCmtMJY$=jeTEA75_h zwsu;Uc>0Id_k}!@zHsl+Z&vxsWU5w{sjA5ci;Sa29zk5w947^B;F&a~8ya6r6M*q0 z4pI`L=?sio)|N}#a&Lz@ob6=%*TJ_yYmS5h>vS=N=}|)EvAJ7IlNv-~q8ehdJZnxz zM&{0iN_Gid-}cYz-n%!^BTB zOlT5jUh?1))03cnp4jW9%UA_WJ!jeR0abF8y)6` zjXYo}1-WUA2Ov^B0{lRQ5UJ41CceSU3~UM$mrV((lLy++3)Bcv%6#Oo5yOmdqch9n z|0O(sG%@z<+xy+|_x11l`z=mo*wN-J>7|+4?w|TXe}6#ko_!L!%no*sb9i2FeX0K7 zWBIJ!+t-gD-LNcO(yY9Xd)I%t^{rFwYWDu0dCxe0I}gKkW3lR4Hxq@#je7j1Txv<4 zxAy7W%{;5KFF#N4{*b2K2(+Lt^nc&#D&yGIt+wU=-_A{x3g@x1ss8ojO6C@zet}y@ zEG3g>S7GeV>u3jtAHU?RWtmzG3-tam Z{$6$Y>fW|#O2Bf2!PC{xWt~$(69D_*Aq)Tj diff --git a/docs/html/classarduino_1_1_hardware_setup_remote-members.html b/docs/html/classarduino_1_1_hardware_setup_remote-members.html deleted file mode 100644 index 038db51..0000000 --- a/docs/html/classarduino_1_1_hardware_setup_remote-members.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -

-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::HardwareSetupRemote Member List
-
-
- -

This is the complete list of members for arduino::HardwareSetupRemote, including all inherited members.

- - - - - - - - - - - - - - - - - - - -
begin(Stream *s, bool asDefault=true, bool doHandShake=true)arduino::HardwareSetupRemoteinline
begin(int port, bool asDefault)arduino::HardwareSetupRemoteinline
begin(bool asDefault=true)arduino::HardwareSetupRemoteinline
default_stream (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteprotected
end() (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteinline
getGPIO() (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteinlinevirtual
getI2C() (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteinlinevirtual
getSPI() (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteinlinevirtual
gpio (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteprotected
handShake(Stream *s) (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteinlineprotected
HardwareSetupRemote()=defaultarduino::HardwareSetupRemote
HardwareSetupRemote(Stream &stream)arduino::HardwareSetupRemoteinline
HardwareSetupRemote(int port)arduino::HardwareSetupRemoteinline
i2c (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteprotected
is_default_objects_active (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteprotected
p_stream (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteprotected
port (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteprotected
spi (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteprotected
- - - - diff --git a/docs/html/classarduino_1_1_hardware_setup_remote.html b/docs/html/classarduino_1_1_hardware_setup_remote.html deleted file mode 100644 index 5c954a3..0000000 --- a/docs/html/classarduino_1_1_hardware_setup_remote.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - - -arduino-emulator: arduino::HardwareSetupRemote Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::HardwareSetupRemote Class Reference
-
-
- -

Configures and manages remote hardware interfaces for Arduino emulation. - More...

- -

#include <HardwareSetupRemote.h>

-
-Inheritance diagram for arduino::HardwareSetupRemote:
-
-
- - -arduino::I2CSource -arduino::SPISource -arduino::GPIOSource - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

HardwareSetupRemote ()=default
 default constructor: you need to call begin() afterwards
 
HardwareSetupRemote (int port)
 HardwareSetup that uses udp.
 
HardwareSetupRemote (Stream &stream)
 HardwareSetup uses the indicated stream.
 
-void begin (bool asDefault=true)
 start with the default udp stream.
 
-void begin (int port, bool asDefault)
 start with udp on the indicatd port
 
-bool begin (Stream *s, bool asDefault=true, bool doHandShake=true)
 assigns the different protocols to the stream
 
-void end ()
 
HardwareGPIOgetGPIO ()
 
HardwareI2CgetI2C ()
 
HardwareSPIgetSPI ()
 
- - - -

-Protected Member Functions

-void handShake (Stream *s)
 
- - - - - - - - - - - - - - - -

-Protected Attributes

-WiFiUDPStream default_stream
 
-RemoteGPIO gpio
 
-RemoteI2C i2c
 
-bool is_default_objects_active = false
 
-Streamp_stream = nullptr
 
-int port
 
-RemoteSPI spi
 
-

Detailed Description

-

Configures and manages remote hardware interfaces for Arduino emulation.

-

This class is responsible for setting up and managing remote hardware APIs such as I2C, SPI, and GPIO over a network or stream interface. It provides mechanisms to assign protocol handlers to a communication stream, perform handshakes with remote devices, and manage the lifecycle of hardware connections.

-

Key features:

    -
  • Supports initialization via a stream or UDP port.
  • -
  • Assigns remote protocol handlers (I2C, SPI, GPIO) to the provided stream.
  • -
  • Optionally sets up global protocol objects for use throughout the application.
  • -
  • Performs handshake with remote devices to ensure connectivity.
  • -
  • Provides accessors for the underlying protocol handler objects.
  • -
  • Manages cleanup and resource release on shutdown.
  • -
-

Usage:

    -
  • Create an instance and call begin() with the desired configuration.
  • -
  • Use getI2C(), getSPI(), and getGPIO() to access protocol handlers.
  • -
  • Call end() to release resources when done.
  • -
-

Member Function Documentation

- -

◆ getGPIO()

- -
-
- - - - - -
- - - - - - - -
HardwareGPIO * arduino::HardwareSetupRemote::getGPIO ()
-
-inlinevirtual
-
- -

Implements arduino::GPIOSource.

- -
-
- -

◆ getI2C()

- -
-
- - - - - -
- - - - - - - -
HardwareI2C * arduino::HardwareSetupRemote::getI2C ()
-
-inlinevirtual
-
- -

Implements arduino::I2CSource.

- -
-
- -

◆ getSPI()

- -
-
- - - - - -
- - - - - - - -
HardwareSPI * arduino::HardwareSetupRemote::getSPI ()
-
-inlinevirtual
-
- -

Implements arduino::SPISource.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_hardware_setup_remote.png b/docs/html/classarduino_1_1_hardware_setup_remote.png deleted file mode 100644 index fb45fc49b495c9ddfe9f2420d8d342cce1f07dfb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1268 zcmeAS@N?(olHy`uVBq!ia0y~yVDba912~w0vs)IRO;J8F5!Q(h)(!s8UpdoM%u zeG@mIetP%ctJ%konVQV?{KbCbPG0_emD)!+lQm9l^!xQOiaqMNhThTQPo8Zli>_W0 zG28u#hkb8teU;V6pPG}t%-wu;UC8n``tx$4pIQWW<+k}O_sTqHvb%|Aw&wG{PEu2X zzx4kr-mD#)x_xQJ^yCR!9_m|N^)8NEz9+x_n&$cw>n_Xx(V6sxTkFM_)iU=>e=WD{ zQa*E6Pyd9_qNG`e(!}deJ%6{yv)9k6_|mHBS1s=@+kTQy^v}lgX1f>3WM+3R&78H^ z!l}&F=yK)FRa2L_sC&NZ2?j<&`W^N5(+Zxw8~r9-k$J7+`8NR=MV8p(s=0L1l4o~3 zmKVw#KRszmA~2pe-O*=vs8wr_ejvkewosDc*TY+u%U;Tr7VtGZ+rh)|x8SXe{pS6y zvU8XhSn4r5*vHr%x27Nnp@Q zn9IQ9z`91bfpJAcDU$(%D9{{&iVys6Pn2kT&6L1kmB^vkvN~xlL)9VdCf|D@!e4Lm zFyX`O`G?QHK76zPA^-Lh?LbfX*IdaGU$V zx-$9s>tEU4|D3QX&t+~|_&M=?`<5r4cBpyqIJwqOrhj{Ey3l$5Wr;wWlh&PCbwDRz z-Q}cE4(CsC`}5ZISmhqO_V>v4BYP_Dzj+b&F4XHa%LQT2?;c@O4>RS7Pe1 - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
- -
- - -
-
-
-
arduino::HardwareSetupRemote Member List
-
-
- -

This is the complete list of members for arduino::HardwareSetupRemote, including all inherited members.

- - - - - - - - - - - - - - - - - - - -
begin(Stream *s, bool asDefault=true, bool doHandShake=true)arduino::HardwareSetupRemoteinline
begin(int port, bool asDefault)arduino::HardwareSetupRemoteinline
begin(bool asDefault=true)arduino::HardwareSetupRemoteinline
default_stream (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteprotected
end() (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteinline
getGPIO() (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteinlinevirtual
getI2C() (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteinlinevirtual
getSPI() (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteinlinevirtual
gpio (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteprotected
handShake(Stream *s) (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteinlineprotected
HardwareSetupRemote()=defaultarduino::HardwareSetupRemote
HardwareSetupRemote(Stream &stream)arduino::HardwareSetupRemoteinline
HardwareSetupRemote(int port)arduino::HardwareSetupRemoteinline
i2c (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteprotected
is_default_objects_active (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteprotected
p_stream (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteprotected
port (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteprotected
spi (defined in arduino::HardwareSetupRemote)arduino::HardwareSetupRemoteprotected
- - - - diff --git a/docs/html/classarduino_1_1_hardware_setup_remote_class.html b/docs/html/classarduino_1_1_hardware_setup_remote_class.html deleted file mode 100644 index aabec23..0000000 --- a/docs/html/classarduino_1_1_hardware_setup_remote_class.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - -arduino-emulator: arduino::HardwareSetupRemote Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
- -
- - -
-
- -
-
arduino::HardwareSetupRemote Class Reference
-
-
- -

#include <HardwareSetupRemote.h>

-
-Inheritance diagram for arduino::HardwareSetupRemote:
-
-
- - -arduino::I2CSource -arduino::SPISource -arduino::GPIOSource - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

HardwareSetupRemote ()=default
 default constructor: you need to call begin() afterwards
 
HardwareSetupRemote (int port)
 HardwareSetup that uses udp.
 
HardwareSetupRemote (Stream &stream)
 HardwareSetup uses the indicated stream.
 
-void begin (bool asDefault=true)
 start with the default udp stream.
 
-void begin (int port, bool asDefault)
 start with udp on the indicatd port
 
-bool begin (Stream *s, bool asDefault=true, bool doHandShake=true)
 assigns the different protocols to the stream
 
-void end ()
 
-HardwareGPIOgetGPIO ()
 
-HardwareI2CgetI2C ()
 
-HardwareSPIgetSPI ()
 
- - - -

-Protected Member Functions

-void handShake (Stream *s)
 
- - - - - - - - - - - - - - - -

-Protected Attributes

-WiFiUDPStream default_stream
 
-RemoteGPIO gpio
 
-RemoteI2C i2c
 
-bool is_default_objects_active = false
 
-Streamp_stream = nullptr
 
-int port
 
-RemoteSPI spi
 
-

Detailed Description

-

Class which is used to configure the actual Hardware APIs

-

The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_hardware_setup_remote_class.png b/docs/html/classarduino_1_1_hardware_setup_remote_class.png deleted file mode 100644 index 4d73a71af2638c1582aec61a1e3272d79aed1c19..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1312 zcmeAS@N?(olHy`uVBq!ia0y~yU|J1i2XHV0NlyMV20%(8z$e7@|Ns9$=8HF9OZyK^ z0J6aNz<~p-opFV*KX9^IZ% zyzF<{oiMS_wFmaLWFNV_Y2Kq%DsKy{6IRCl`1{Yr^H)c4?9?T)pK`Vyt+78p7pUa( zrn<+k?noVfX=mqLI&I&~|D44qRDv@cU#psjPgtV-XGw?ru{%4Wa?bcOzf-X>eJ#Fj z-Rs-QeVNBh4}HpwQo59?c5`N|QDvIyOO5>nUklF6$V?9}G_+sy*f{+B>0iF_Q?D#d zF+II(>pH%|WglOj*4rK$J&Etb>Z2b6&Zu7gyOn2(?B@d6;~9#H9feWX@?&_n{-{4z zBHGD)d~(9&Se2Is_Jvc4&;BP-ro`uWn;E%RQ^-~4~O=cPiwg0Jz0_jgAH zoH@)WzkgHKIYIw3zgky+kJ~4f^v5dq(PI<;l6l{*{43w~(dgv5^VR3{V{B!N*R9M> zHDT+CMb>I8nVVtgSe(%eldip4f#azY(wKBpBieg+E!ZNI$8N@8= z>f;Qs)KhZMHj(`-_KqvG#HZm@p&(<_!ml%?M@Y*GFQ@{k-LRTr>f;$eti-gXDVBAG z%yE_#GU9>@MBivRJhf1Bc)Fv5VQoSi>*nmfuA%Wr5QCAiN zhNa2jj64o6Z-g>12UwMf9$=W#7t2b4aKW5)uXm*}8Zh`?D6)O4CKtDthBjfE7s@g+7_3ZN=NTwpV@rvb?M~2x7F2ims=ZiFJ$0x_?yz5 z^`^7B?8vr?dRuE_Q8lBRzuvt19QyrB^{cD^Gqp{t8QyMKGrd#ke}U<`{r<7N$*XT2 zJh^uD%ZJtL^pqba&Up9v#i@s83~UP+=auaLzxx)W^Sz`bC>nLnZ9O| zFKqrC08~*oZ_T4(ZtFK$_maQQYv`?hT-($+`{P`7b-A788)8{Ax>EP<*|}+jQQcg# zm%HYaZm-O*d$uUZ$SnWR`IDF2jr-X0^2GY*=k1f(bSHgY3s6IE(yPitF2LAF4s^fM sU$+1q4NM2vqWN-Z>~$Rm@dx}{>L!S - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::I2CSource Member List
-
-
- -

This is the complete list of members for arduino::I2CSource, including all inherited members.

- - -
getI2C()=0 (defined in arduino::I2CSource)arduino::I2CSourcepure virtual
- - - - diff --git a/docs/html/classarduino_1_1_i2_c_source.html b/docs/html/classarduino_1_1_i2_c_source.html deleted file mode 100644 index 6621bec..0000000 --- a/docs/html/classarduino_1_1_i2_c_source.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - -arduino-emulator: arduino::I2CSource Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::I2CSource Class Referenceabstract
-
-
- -

Abstract interface for providing I2C hardware implementations. - More...

- -

#include <Sources.h>

-
-Inheritance diagram for arduino::I2CSource:
-
-
- - -arduino::HardwareSetupRPI -arduino::HardwareSetupRemote - -
- - - - -

-Public Member Functions

-virtual HardwareI2CgetI2C ()=0
 
-

Detailed Description

-

Abstract interface for providing I2C hardware implementations.

-

I2CSource defines a factory interface for supplying HardwareI2C implementations. This abstraction allows wrapper classes to obtain I2C hardware instances from various sources without coupling to specific hardware providers.

-
See also
HardwareI2C
-
-I2CWrapper
-

The documentation for this class was generated from the following file:
    -
  • ArduinoCore-Linux/cores/arduino/Sources.h
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_i2_c_source.png b/docs/html/classarduino_1_1_i2_c_source.png deleted file mode 100644 index 5c2cef0bf40cef12697014e56de777eee6f13f10..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 992 zcmeAS@N?(olHy`uVBq!ia0y~yU~B`j12~w0q?VsjAdr#{@CkAK|NlRb`Qpvj(*8rs zEetdZB&MHvap1rKpm^}4%PW9#oFzei!3;n?7??B7zQVx3obBo27*fIbcJA9rs|*BK zt=qL;@A)qrFU~5oPi)&d(-p}Vm0FIRDVgzywZd}glu!E@YFLhLyFc|x!tIAk*lzQw zo8Bn1Sb1>UVNc$9R(U)hi+4|PfBg5(e~EM3{>ppsMxV@=d*RD--fn&U`;6Pif4K1; zZhH6m=MTBb)%#__e&4w~;qS2nk9T&~ojA&|ZSQIEEQ#W8J~gWoHzZDfwIaSP{nzW+ zn-yP2Z~JQYcROiAPp4UHu=ppKbHQY1eY9`}K9bmYe!?*XN#(xLlAW{Quda z5+~=aM`nws{LkI+HhD=~S@(_W7namN%fGuOSN?%__oXSP{yqPEC1=}PJ=-ZWrWV`! z6u&;g{c&mZmfZMGEZ*8C>zB3RZ9!0TZu@6PDKE{Zxr`nR-*z&pFic#+){v36{R@MD zPZmSRvphvxh9i@t81x*x7&z2T8CoVwF&y&bWdMd#LqQO;gT+clg*jIk1pKnV(r=1( z-_4U}Jn;LIrnV_T)mRM+KYp<^_PbMF?Df+1kCPw0P|6KX^-_6Qj%YQz9Rxxc!+kMj(|F}tE8MDu2PFN!P zPs;QDp2^D>?zQxu)n_cFlGz##lC@ayaOK7?3+?wEx4EM)-#hh{<|NniiGts+mqu^i z_51Yv^&jh(ecLRx&g|#MkA@Q-{>+lfmO55ne{OGY3WtZ*Rl}z%-&(pFWlPtGFAQ_k zzg!=1SXKSMOx{L~V-vP@1#J}w`+e^E;Si4Lw#!-0-D->2=Jx;fy@ItT&$n5vTPXX$ zLFH@pUP;fpVY%^_d!|n`ag^8hx<0Gsu3feH@y4?5OD{dTmPqzX?Y?BT{;%}JD@R|1 z1n#==#Qa{HavQf#@iEyyBd@*c-TN?KYMtRvrK`t3E(&@3`f%NqZ?f^1s-{Q3 zwOlu6S*}Is^z#yOs|#M0?bC?O`qXW|dcM5Uty_y!HTzQcsb;o*)s33;$in8QS|2cU z|4#%3aZMkar_~WrV6aC9HLJ8vMh^Pt>lVJ=^)7d%NlEPWy}JJy=I%dvMBKOkG%znR Nc)I$ztaD0e0su!)-zNY7 diff --git a/docs/html/classarduino_1_1_i2_c_wrapper-members.html b/docs/html/classarduino_1_1_i2_c_wrapper-members.html deleted file mode 100644 index 7ad7d7a..0000000 --- a/docs/html/classarduino_1_1_i2_c_wrapper-members.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::I2CWrapper Member List
-
-
- -

This is the complete list of members for arduino::I2CWrapper, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
available() (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
begin() (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
begin(uint8_t address) (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
beginTransmission(uint8_t address) (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
end() (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
endTransmission(bool stopBit) (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
endTransmission(void) (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush() (defined in arduino::Print)arduino::Printinlinevirtual
getI2C() (defined in arduino::I2CWrapper)arduino::I2CWrapperinlineprotected
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
I2CWrapper()=default (defined in arduino::I2CWrapper)arduino::I2CWrapper
I2CWrapper(I2CSource &source) (defined in arduino::I2CWrapper)arduino::I2CWrapperinline
I2CWrapper(HardwareI2C &i2c) (defined in arduino::I2CWrapper)arduino::I2CWrapperinline
onReceive(void(*)(int)) (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
onRequest(void(*)(void)) (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
p_i2c (defined in arduino::I2CWrapper)arduino::I2CWrapperprotected
p_source (defined in arduino::I2CWrapper)arduino::I2CWrapperprotected
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
peek() (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
Print() (defined in arduino::Print)arduino::Printinline
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
read() (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytes(uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
requestFrom(uint8_t address, size_t len, bool stopBit) (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
requestFrom(uint8_t address, size_t len) (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
setClock(uint32_t freq) (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
setI2C(HardwareI2C *i2c)arduino::I2CWrapperinline
setSource(I2CSource *source)arduino::I2CWrapperinline
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
write(uint8_t) (defined in arduino::I2CWrapper)arduino::I2CWrappervirtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const uint8_t *buffer, size_t size) (defined in arduino::Print)arduino::Printvirtual
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
~I2CWrapper()=default (defined in arduino::I2CWrapper)arduino::I2CWrapper
- - - - diff --git a/docs/html/classarduino_1_1_i2_c_wrapper.html b/docs/html/classarduino_1_1_i2_c_wrapper.html deleted file mode 100644 index d7516d3..0000000 --- a/docs/html/classarduino_1_1_i2_c_wrapper.html +++ /dev/null @@ -1,828 +0,0 @@ - - - - - - - -arduino-emulator: arduino::I2CWrapper Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
- -
- -

I2C wrapper class that provides flexible hardware abstraction. - More...

- -

#include <I2CWrapper.h>

-
-Inheritance diagram for arduino::I2CWrapper:
-
-
- - -arduino::HardwareI2C -arduino::Stream -arduino::Print - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

I2CWrapper (HardwareI2C &i2c)
 
I2CWrapper (I2CSource &source)
 
int available ()
 
void begin ()
 
void begin (uint8_t address)
 
void beginTransmission (uint8_t address)
 
void end ()
 
uint8_t endTransmission (bool stopBit)
 
uint8_t endTransmission (void)
 
void onReceive (void(*)(int))
 
void onRequest (void(*)(void))
 
int peek ()
 
int read ()
 
size_t requestFrom (uint8_t address, size_t len)
 
size_t requestFrom (uint8_t address, size_t len, bool stopBit)
 
void setClock (uint32_t freq)
 
-void setI2C (HardwareI2C *i2c)
 defines the i2c implementation: use nullptr to reset.
 
-void setSource (I2CSource *source)
 alternatively defines a class that provides the I2C implementation
 
size_t write (uint8_t)
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-virtual void flush ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
-virtual size_t write (const uint8_t *buffer, size_t size)
 
- - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

-HardwareI2CgetI2C ()
 
- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
- - - - - - - - - - -

-Protected Attributes

-HardwareI2Cp_i2c = nullptr
 
-I2CSourcep_source = nullptr
 
- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
-

Detailed Description

-

I2C wrapper class that provides flexible hardware abstraction.

-

I2CWrapper is a concrete implementation of the HardwareI2C interface that supports multiple delegation patterns for I2C communication. It can delegate operations to:

    -
  • An injected HardwareI2C implementation
  • -
  • An I2CSource provider that supplies the I2C implementation
  • -
  • A default fallback implementation
  • -
-

This class implements the complete I2C interface including:

    -
  • Master/slave mode initialization and control
  • -
  • Data transmission and reception methods
  • -
  • Stream-like read/write operations with buffering
  • -
  • Callback registration for slave mode operations
  • -
  • Clock frequency configuration
  • -
-

The wrapper automatically handles null safety and provides appropriate default return values when no underlying I2C implementation is available.

-

A global Wire instance is automatically provided for Arduino compatibility.

-
See also
HardwareI2C
-
-I2CSource
-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - -
- - - - - - - - -
int arduino::I2CWrapper::available (void )
-
-virtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ begin() [1/2]

- -
-
- - - - - -
- - - - - - - -
void arduino::I2CWrapper::begin ()
-
-virtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ begin() [2/2]

- -
-
- - - - - -
- - - - - - - - -
void arduino::I2CWrapper::begin (uint8_t address)
-
-virtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ beginTransmission()

- -
-
- - - - - -
- - - - - - - - -
void arduino::I2CWrapper::beginTransmission (uint8_t address)
-
-virtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ end()

- -
-
- - - - - -
- - - - - - - -
void arduino::I2CWrapper::end ()
-
-virtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ endTransmission() [1/2]

- -
-
- - - - - -
- - - - - - - - -
uint8_t arduino::I2CWrapper::endTransmission (bool stopBit)
-
-virtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ endTransmission() [2/2]

- -
-
- - - - - -
- - - - - - - - -
uint8_t arduino::I2CWrapper::endTransmission (void )
-
-virtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ onReceive()

- -
-
- - - - - -
- - - - - - - - -
void arduino::I2CWrapper::onReceive (void(*)(int)
-
-virtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ onRequest()

- -
-
- - - - - -
- - - - - - - - -
void arduino::I2CWrapper::onRequest (void(*)(void)
-
-virtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ peek()

- -
-
- - - - - -
- - - - - - - - -
int arduino::I2CWrapper::peek (void )
-
-virtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ read()

- -
-
- - - - - -
- - - - - - - - -
int arduino::I2CWrapper::read (void )
-
-virtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ requestFrom() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
size_t arduino::I2CWrapper::requestFrom (uint8_t address,
size_t len 
)
-
-virtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ requestFrom() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
size_t arduino::I2CWrapper::requestFrom (uint8_t address,
size_t len,
bool stopBit 
)
-
-virtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ setClock()

- -
-
- - - - - -
- - - - - - - - -
void arduino::I2CWrapper::setClock (uint32_t freq)
-
-virtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - -
size_t arduino::I2CWrapper::write (uint8_t data)
-
-virtual
-
- -

Implements arduino::Print.

- -
-
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-Linux/cores/arduino/I2CWrapper.h
  • -
  • ArduinoCore-Linux/cores/arduino/I2CWrapper.cpp
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_i2_c_wrapper.png b/docs/html/classarduino_1_1_i2_c_wrapper.png deleted file mode 100644 index 8c1ddedc8e26dc6c3662aaf6d16d39f31f4c8d62..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1104 zcmeAS@N?(olHy`uVBq!ia0vp^9YB15gBeJ^$iJNkq@)9ULR|m<{|^#*^R=}9&~gg{ z%>s$(XI>mQZ~!PCJn8ZZpd4pOkY6wZkPimtOtY^rFfiZtba4!+V0=3_x42nBpk;dM zv7P__cdu?bprp3!q>0b-OR=VVWcu$+taI%#JeS}y>CZmdmL(?~J-Xu9IGfccg(m*K zBlnk6V3JIQe1Y6oJCC~k8(O2}w`X_l)-JzhyF%gi4WnhUj+4~wSx>HBmhrT#LB=K} z!(`USiC08sY)aUivA5K;NXmE8^nFujU3akhpk?V@&eFd|3o=F`S$Qf=*zQvzTbZAZqxGY$jra9 ztS+xry*vBUk~AMqhe_%743=e-d{D(^dR~f)h;A?qA4JI(cE| z+%MV_mVJBIuG)_m?d@bG9@rYS!EQ zY1To3YEz@F`&InE&99iG#IC4WBmkzO9FuwqnV1jUj$=q*JI}O9XYzzIOq+_%I2!SG z%$H&au;yTx*vueciJ!XopQ+REm}HN~r2E?;p?Xo(L&9d_8n3g>=ej@UmUC2o`&hu; zqQYLsoRV(o_Uxgk%Hh`9lwH#@Uthlx8MlDd@@$USrG1;K9$GG6=5x+l`@})#Hn+RK zr*0Ho@_KTmxB`>1c1Dj;_38YZ3qPOvb*y>Cq$!SBam<;)#hjPEEqyNa#4`(+id3wZ zJ4t@=EWE>XF{qMt$^E&7x3W4OuGG{#lUlaLWcO`X>!{x|Qzc)nc3(N?(DMDtDnF-} zLBatT9E)Z;P$?`p64G& - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::IPAddress Member List
-
-
- -

This is the complete list of members for arduino::IPAddress, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bytes (defined in arduino::IPAddress)arduino::IPAddress
Client (defined in arduino::IPAddress)arduino::IPAddressfriend
dword (defined in arduino::IPAddress)arduino::IPAddress
fromString(const char *address) (defined in arduino::IPAddress)arduino::IPAddress
fromString(const String &address) (defined in arduino::IPAddress)arduino::IPAddressinline
fromString4(const char *address) (defined in arduino::IPAddress)arduino::IPAddressprotected
fromString6(const char *address) (defined in arduino::IPAddress)arduino::IPAddressprotected
IPAddress() (defined in arduino::IPAddress)arduino::IPAddress
IPAddress(IPType ip_type) (defined in arduino::IPAddress)arduino::IPAddress
IPAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet) (defined in arduino::IPAddress)arduino::IPAddress
IPAddress(uint8_t o1, uint8_t o2, uint8_t o3, uint8_t o4, uint8_t o5, uint8_t o6, uint8_t o7, uint8_t o8, uint8_t o9, uint8_t o10, uint8_t o11, uint8_t o12, uint8_t o13, uint8_t o14, uint8_t o15, uint8_t o16) (defined in arduino::IPAddress)arduino::IPAddress
IPAddress(uint32_t address) (defined in arduino::IPAddress)arduino::IPAddress
IPAddress(const uint8_t *address) (defined in arduino::IPAddress)arduino::IPAddress
IPAddress(IPType ip_type, const uint8_t *address) (defined in arduino::IPAddress)arduino::IPAddress
IPAddress(const char *address) (defined in arduino::IPAddress)arduino::IPAddress
operator uint32_t() const (defined in arduino::IPAddress)arduino::IPAddressinline
operator!=(const IPAddress &addr) const (defined in arduino::IPAddress)arduino::IPAddressinline
operator=(const uint8_t *address) (defined in arduino::IPAddress)arduino::IPAddress
operator=(uint32_t address) (defined in arduino::IPAddress)arduino::IPAddress
operator=(const char *address) (defined in arduino::IPAddress)arduino::IPAddress
operator==(const IPAddress &addr) const (defined in arduino::IPAddress)arduino::IPAddress
operator==(const uint8_t *addr) const (defined in arduino::IPAddress)arduino::IPAddress
operator[](int index) const (defined in arduino::IPAddress)arduino::IPAddress
operator[](int index) (defined in arduino::IPAddress)arduino::IPAddress
printTo(Print &p) const (defined in arduino::IPAddress)arduino::IPAddressvirtual
Server (defined in arduino::IPAddress)arduino::IPAddressfriend
toString() const (defined in arduino::IPAddress)arduino::IPAddress
toString4() const (defined in arduino::IPAddress)arduino::IPAddressprotected
toString6() const (defined in arduino::IPAddress)arduino::IPAddressprotected
type() const (defined in arduino::IPAddress)arduino::IPAddressinline
UDP (defined in arduino::IPAddress)arduino::IPAddressfriend
- - - - diff --git a/docs/html/classarduino_1_1_i_p_address.html b/docs/html/classarduino_1_1_i_p_address.html deleted file mode 100644 index 50aad77..0000000 --- a/docs/html/classarduino_1_1_i_p_address.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - -arduino-emulator: arduino::IPAddress Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::IPAddress Class Reference
-
-
-
-Inheritance diagram for arduino::IPAddress:
-
-
- - -arduino::Printable - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

IPAddress (const char *address)
 
IPAddress (const uint8_t *address)
 
IPAddress (IPType ip_type)
 
IPAddress (IPType ip_type, const uint8_t *address)
 
IPAddress (uint32_t address)
 
IPAddress (uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet)
 
IPAddress (uint8_t o1, uint8_t o2, uint8_t o3, uint8_t o4, uint8_t o5, uint8_t o6, uint8_t o7, uint8_t o8, uint8_t o9, uint8_t o10, uint8_t o11, uint8_t o12, uint8_t o13, uint8_t o14, uint8_t o15, uint8_t o16)
 
-bool fromString (const char *address)
 
-bool fromString (const String &address)
 
operator uint32_t () const
 
-bool operator!= (const IPAddress &addr) const
 
-IPAddressoperator= (const char *address)
 
-IPAddressoperator= (const uint8_t *address)
 
-IPAddressoperator= (uint32_t address)
 
-bool operator== (const IPAddress &addr) const
 
-bool operator== (const uint8_t *addr) const
 
-uint8_toperator[] (int index)
 
-uint8_t operator[] (int index) const
 
virtual size_t printTo (Print &p) const
 
-String toString () const
 
-IPType type () const
 
- - - - - - - - - -

-Protected Member Functions

-bool fromString4 (const char *address)
 
-bool fromString6 (const char *address)
 
-String toString4 () const
 
-String toString6 () const
 
- - - - - - - -

-Friends

-class Client
 
-class Server
 
-class UDP
 
-

Member Function Documentation

- -

◆ printTo()

- -
-
- - - - - -
- - - - - - - - -
size_t IPAddress::printTo (Printp) const
-
-virtual
-
- -

Implements arduino::Printable.

- -
-
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-API/api/IPAddress.h
  • -
  • ArduinoCore-API/api/IPAddress.cpp
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_i_p_address.png b/docs/html/classarduino_1_1_i_p_address.png deleted file mode 100644 index 4bc11bbdbe86190a9cad4a3be64f0a01bd44d2b2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 554 zcmeAS@N?(olHy`uVBq!ia0vp^{mhF42Mz$mgC|{H0hHq`3GxeO0P?}WoN4wI1_s8ho-U3d6^w7^KFm9;z|(Tx zZPmNK^D8(73|Ou$5ngyHW2eKxZ{pJ5?dKHdH9ZIkmB0RI)vCVh;YCX~23@sD`Tr+P zHaz`%cTDKjwmk=LzA`i4xA#rk?V@@%efvj==M0L=Z>K!gZHg@UWK<_=KAR=zr0s`Q zNp7bP&$udm*Gj#tE8ca}zn69X*9t#BxwrPSZQj>yWn5Ryo@#O3UHAF^&a=JSzemTN zi{EkmUAew%miYcNxv}3;r@9>N{rhIW_^-&&uZp_sR=uhK6TVNZp5OV*)ZqV>seyCW zk=nh_8q^ET--vwBdAI-d^P{W{>|1s)7{qmRGd$jkjZqM&q$JFuc=Gtx9V(V_@yE~J zu4TSIL-w=z%a{j~Qk<>LCB3%oKi#|jopR1;2{WJD=L;&9Tz|}V+~nw@Ba^>uxx?{M zy)kDe`@AVd6An2Y+s`+tc9qq2#WmeC&wamLwq|>m-iFeBXMJB^+SySovv>7p_B&I2 z)bF2qWu8}g)_lj&zhagpKu@~A61_dmtWh~e@Ni1d_su`&m%Q?s#Gh5@S+qxNy2|lv frEr%gm46v(w - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::NetworkClientSecure Member List
-
-
- -

This is the complete list of members for arduino::NetworkClientSecure, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
address (defined in arduino::EthernetClient)arduino::EthernetClientprotected
available() override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
bufferSize (defined in arduino::EthernetClient)arduino::EthernetClientprotected
clearWriteError() (defined in arduino::Print)arduino::Printinline
connect(IPAddress ipAddress, uint16_t port) override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
connect(const char *address, uint16_t port) override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
connected() override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
connectedFast() (defined in arduino::EthernetClient)arduino::EthernetClientinlineprotected
EthernetClient() (defined in arduino::EthernetClient)arduino::EthernetClientinline
EthernetClient(SocketImpl *sock, int bufferSize=256, long timeout=2000) (defined in arduino::EthernetClient)arduino::EthernetClientinline
EthernetClient(int socket) (defined in arduino::EthernetClient)arduino::EthernetClientinline
fd() (defined in arduino::EthernetClient)arduino::EthernetClientinline
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush() override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
is_connected (defined in arduino::EthernetClient)arduino::EthernetClientprotected
NetworkClientSecure(int bufferSize=256, long timeout=2000) (defined in arduino::NetworkClientSecure)arduino::NetworkClientSecureinline
operator bool() override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
p_sock (defined in arduino::EthernetClient)arduino::EthernetClientprotected
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
peek() override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
port (defined in arduino::EthernetClient)arduino::EthernetClientprotected
Print() (defined in arduino::Print)arduino::Printinline
print(const char *str="") (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
println(const char *str="") (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
rawIPAddress(IPAddress &addr) (defined in arduino::Client)arduino::Clientinlineprotected
read() override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
read(uint8_t *buffer, size_t len) override (defined in arduino::EthernetClient)arduino::EthernetClientinlineprotectedvirtual
readBuffer (defined in arduino::EthernetClient)arduino::EthernetClientprotected
readBytes(char *buffer, size_t len) (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
readBytes(uint8_t *buffer, size_t len) (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
registerCleanup() (defined in arduino::EthernetClient)arduino::EthernetClientinlineprotected
remoteIP() (defined in arduino::EthernetClient)arduino::EthernetClientinline
remotePort() (defined in arduino::EthernetClient)arduino::EthernetClientinline
resolveAddress(const char *address, uint16_t port) (defined in arduino::EthernetClient)arduino::EthernetClientinlineprotected
setCACert(const char *cert) override (defined in arduino::NetworkClientSecure)arduino::NetworkClientSecureinlinevirtual
setInsecure() override (defined in arduino::NetworkClientSecure)arduino::NetworkClientSecureinlinevirtual
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
stop() override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
WIFICLIENT (defined in arduino::EthernetClient)arduino::EthernetClientprotected
write(char c) (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
write(uint8_t c) override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
write(const char *str, int len) (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
write(const uint8_t *str, size_t len) override (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
writeBuffer (defined in arduino::EthernetClient)arduino::EthernetClientprotected
~EthernetClient() (defined in arduino::EthernetClient)arduino::EthernetClientinlinevirtual
- - - - diff --git a/docs/html/classarduino_1_1_network_client_secure.html b/docs/html/classarduino_1_1_network_client_secure.html deleted file mode 100644 index 3726311..0000000 --- a/docs/html/classarduino_1_1_network_client_secure.html +++ /dev/null @@ -1,462 +0,0 @@ - - - - - - - -arduino-emulator: arduino::NetworkClientSecure Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::NetworkClientSecure Class Reference
-
-
- -

NetworkClientSecure based on wolf ssl. - More...

- -

#include <NetworkClientSecure.h>

-
-Inheritance diagram for arduino::NetworkClientSecure:
-
-
- - -arduino::EthernetClient -arduino::Client -arduino::Stream -arduino::Print - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

NetworkClientSecure (int bufferSize=256, long timeout=2000)
 
void setCACert (const char *cert) override
 
void setInsecure () override
 
- Public Member Functions inherited from arduino::EthernetClient
EthernetClient (int socket)
 
EthernetClient (SocketImpl *sock, int bufferSize=256, long timeout=2000)
 
virtual int available () override
 
virtual int connect (const char *address, uint16_t port) override
 
virtual int connect (IPAddress ipAddress, uint16_t port) override
 
virtual uint8_t connected () override
 
-int fd ()
 
virtual void flush () override
 
 operator bool () override
 
virtual int peek () override
 
-virtual int print (const char *str="")
 
-virtual int println (const char *str="")
 
virtual int read () override
 
-virtual size_t readBytes (char *buffer, size_t len)
 
-virtual size_t readBytes (uint8_t *buffer, size_t len)
 
-IPAddress remoteIP ()
 
-uint16_t remotePort ()
 
virtual void stop () override
 
-virtual size_t write (char c)
 
-virtual size_t write (const char *str, int len)
 
virtual size_t write (const uint8_t *str, size_t len) override
 
virtual size_t write (uint8_t c) override
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from arduino::EthernetClient
-bool connectedFast ()
 
int read (uint8_t *buffer, size_t len) override
 
-void registerCleanup ()
 
-IPAddress resolveAddress (const char *address, uint16_t port)
 
- Protected Member Functions inherited from arduino::Client
-uint8_trawIPAddress (IPAddress &addr)
 
- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
- Protected Attributes inherited from arduino::EthernetClient
-IPAddress address {0, 0, 0, 0}
 
-int bufferSize = 256
 
-bool is_connected = false
 
-SocketImplp_sock = nullptr
 
-uint16_t port = 0
 
-RingBufferExt readBuffer
 
-const charWIFICLIENT = "EthernetClient"
 
-RingBufferExt writeBuffer
 
- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
-

Detailed Description

-

NetworkClientSecure based on wolf ssl.

-

Member Function Documentation

- -

◆ setCACert()

- -
-
- - - - - -
- - - - - - - - -
void arduino::NetworkClientSecure::setCACert (const charcert)
-
-inlineoverridevirtual
-
- -

Reimplemented from arduino::EthernetClient.

- -
-
- -

◆ setInsecure()

- -
-
- - - - - -
- - - - - - - -
void arduino::NetworkClientSecure::setInsecure ()
-
-inlineoverridevirtual
-
- -

Reimplemented from arduino::EthernetClient.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_network_client_secure.png b/docs/html/classarduino_1_1_network_client_secure.png deleted file mode 100644 index ad570ab28f876eb42a7fc9ea41d223c4d49f9347..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1488 zcmcIkYfzF|82-?)ZFSV9)J&6X!xB@;wo=)kvGVd^VWQ(DZLRf^m}w|ppv216GIdl! zQ43iYzNjs&O_8J&(l#q|%}-O4FuQnR5tSCxEM&2r-Pze6?XNvE=e*}R@67w-xt#oc zL|;>58)EnaqtnYnEB@u%FJ^r-Z4KDNofKddv+bcK|q2j1g>g|{Ln45pSYEpMDiuV>m zJ#CP;JWgz1VQJ+tyi>P4y0G4h#cw)B25(9shli)vFwJr{fHTHjl8$bsCT|V9oR2sn z^?VdUj}lFXu%zM(phPO0vq6UaMoK;khnU=nE~HDE8fA%zgm zpM$4H&$-=yW>0`4{~j)a+J-?=YVOF?ULi{U<_pMyEVa4u@#7UuV^Tp|P|OFHkPc-? zlYB6|*84bb{UxeB7~15*k!VIslEbmL`@<7+vv}L$IAeR2#W3&e?CUiqRmJPjtK)68 zVru>MIzmQn*Sq&g4t6NJOpH9~9;3`M7z2tQWk4T#Tb!~kUh$^0DDQB=ger^p-V`j$ zXQZ$3JilO0Litk$19myeByvB~IgB4&NZAZ9^1qNKK6cb*?up0oG_SUEXIL%ADRhH$F+69ZZH;Yh3@59NU&CfoCg{F`wHX`ph zJyGJFK$AO(BBsjL&BkUA4SIm$)(!COm)qi+VigmvxuXeCs=S88tW%Tqvd3x70ys*) z`LsuVuq}RXaWa^!Itu0R4Mm~iWGB#l4xzvcePNYC%~k~F$&kvmqzv-Lr`(8m(M zrbh6WLZ|%wnMU=5cI($Mz{ln0C!bXW&Z{e)(0vrY(C|t$q}2d7?*51F|8zyw#{1TX za~#3cmwIn~8ZP25TA;agUKAoZ>p^YIHGlnrI$hI%GJSvuh1}JY>2_F#byjihk|nXM zk*%0M$`6OTYv?ZV1&tL9Chb{jGpZ>{#E2E+=EknJNDN2>X6nTuupz zpl1vX=_wPim_``rh+1|M(?)oo+Mj$~@IZLtDiIA~n(R3wf?=bZtN++|V3=!5!U1Tu zGEZ2b5@|$tlFB+0uC1k&4(2|`I&wyk^t-E@-H-kzD|Hffg@|n?cmV>27iXBeZ4992uuTTAdq1tLXY z#8gMmq&B_FJwMF - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::PluggableUSB_ Member List
-
-
- -

This is the complete list of members for arduino::PluggableUSB_, including all inherited members.

- - - - - - - -
getDescriptor(USBSetup &setup) (defined in arduino::PluggableUSB_)arduino::PluggableUSB_
getInterface(uint8_t *interfaceCount) (defined in arduino::PluggableUSB_)arduino::PluggableUSB_
getShortName(char *iSerialNum) (defined in arduino::PluggableUSB_)arduino::PluggableUSB_
plug(PluggableUSBModule *node) (defined in arduino::PluggableUSB_)arduino::PluggableUSB_
PluggableUSB_() (defined in arduino::PluggableUSB_)arduino::PluggableUSB_
setup(USBSetup &setup) (defined in arduino::PluggableUSB_)arduino::PluggableUSB_
- - - - diff --git a/docs/html/classarduino_1_1_pluggable_u_s_b__.html b/docs/html/classarduino_1_1_pluggable_u_s_b__.html deleted file mode 100644 index fd2f785..0000000 --- a/docs/html/classarduino_1_1_pluggable_u_s_b__.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - -arduino-emulator: arduino::PluggableUSB_ Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::PluggableUSB_ Class Reference
-
-
- - - - - - - - - - - - -

-Public Member Functions

-int getDescriptor (USBSetup &setup)
 
-int getInterface (uint8_t *interfaceCount)
 
-void getShortName (char *iSerialNum)
 
-bool plug (PluggableUSBModule *node)
 
-bool setup (USBSetup &setup)
 
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-API/api/PluggableUSB.h
  • -
  • ArduinoCore-API/api/PluggableUSB.cpp
  • -
  • ArduinoCore-Linux/cores/arduino/Arduino.cpp
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_pluggable_u_s_b_module-members.html b/docs/html/classarduino_1_1_pluggable_u_s_b_module-members.html deleted file mode 100644 index c98863f..0000000 --- a/docs/html/classarduino_1_1_pluggable_u_s_b_module-members.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::PluggableUSBModule Member List
-
-
- -

This is the complete list of members for arduino::PluggableUSBModule, including all inherited members.

- - - - - - - - - - - - - -
endpointType (defined in arduino::PluggableUSBModule)arduino::PluggableUSBModuleprotected
getDescriptor(USBSetup &setup)=0 (defined in arduino::PluggableUSBModule)arduino::PluggableUSBModuleprotectedpure virtual
getInterface(uint8_t *interfaceCount)=0 (defined in arduino::PluggableUSBModule)arduino::PluggableUSBModuleprotectedpure virtual
getShortName(char *name) (defined in arduino::PluggableUSBModule)arduino::PluggableUSBModuleinlineprotectedvirtual
next (defined in arduino::PluggableUSBModule)arduino::PluggableUSBModuleprotected
numEndpoints (defined in arduino::PluggableUSBModule)arduino::PluggableUSBModuleprotected
numInterfaces (defined in arduino::PluggableUSBModule)arduino::PluggableUSBModuleprotected
PluggableUSB_ (defined in arduino::PluggableUSBModule)arduino::PluggableUSBModulefriend
PluggableUSBModule(uint8_t numEps, uint8_t numIfs, unsigned int *epType) (defined in arduino::PluggableUSBModule)arduino::PluggableUSBModuleinline
pluggedEndpoint (defined in arduino::PluggableUSBModule)arduino::PluggableUSBModuleprotected
pluggedInterface (defined in arduino::PluggableUSBModule)arduino::PluggableUSBModuleprotected
setup(USBSetup &setup)=0 (defined in arduino::PluggableUSBModule)arduino::PluggableUSBModuleprotectedpure virtual
- - - - diff --git a/docs/html/classarduino_1_1_pluggable_u_s_b_module.html b/docs/html/classarduino_1_1_pluggable_u_s_b_module.html deleted file mode 100644 index e8513cd..0000000 --- a/docs/html/classarduino_1_1_pluggable_u_s_b_module.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - -arduino-emulator: arduino::PluggableUSBModule Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::PluggableUSBModule Class Referenceabstract
-
-
- - - - -

-Public Member Functions

PluggableUSBModule (uint8_t numEps, uint8_t numIfs, unsigned int *epType)
 
- - - - - - - - - -

-Protected Member Functions

-virtual int getDescriptor (USBSetup &setup)=0
 
-virtual int getInterface (uint8_t *interfaceCount)=0
 
-virtual uint8_t getShortName (char *name)
 
-virtual bool setup (USBSetup &setup)=0
 
- - - - - - - - - - - - - -

-Protected Attributes

-const unsigned intendpointType
 
-PluggableUSBModulenext = NULL
 
-const uint8_t numEndpoints
 
-const uint8_t numInterfaces
 
-uint8_t pluggedEndpoint
 
-uint8_t pluggedInterface
 
- - - -

-Friends

-class PluggableUSB_
 
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_print-members.html b/docs/html/classarduino_1_1_print-members.html deleted file mode 100644 index 276ed92..0000000 --- a/docs/html/classarduino_1_1_print-members.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::Print Member List
-
-
- -

This is the complete list of members for arduino::Print, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
flush() (defined in arduino::Print)arduino::Printinlinevirtual
getWriteError() (defined in arduino::Print)arduino::Printinline
Print() (defined in arduino::Print)arduino::Printinline
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
write(uint8_t)=0 (defined in arduino::Print)arduino::Printpure virtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const uint8_t *buffer, size_t size) (defined in arduino::Print)arduino::Printvirtual
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
- - - - diff --git a/docs/html/classarduino_1_1_print.html b/docs/html/classarduino_1_1_print.html deleted file mode 100644 index 05d2bf5..0000000 --- a/docs/html/classarduino_1_1_print.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - - - - -arduino-emulator: arduino::Print Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::Print Class Referenceabstract
-
-
-
-Inheritance diagram for arduino::Print:
-
-
- - -arduino::Server -arduino::Stream -arduino::EthernetServer -StreamMock -arduino::Client -arduino::FileStream -arduino::HardwareI2C -arduino::HardwareSerial -arduino::RemoteSerialClass -arduino::StdioDevice -arduino::UDP - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-virtual void flush ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
-virtual size_t write (const uint8_t *buffer, size_t size)
 
-virtual size_t write (uint8_t)=0
 
- - - -

-Protected Member Functions

-void setWriteError (int err=1)
 
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-API/api/Print.h
  • -
  • ArduinoCore-API/api/Print.cpp
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_print.png b/docs/html/classarduino_1_1_print.png deleted file mode 100644 index 041408f6967dca897a3866f430c33b303b3b7db9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4551 zcmd5=X;@Ro8a_yS&=|m0)C3i{*Hns95)lzuL)A)L0)j=fkPxX*1VX6nONhqEwXH;h zf{GBUp>bieAW*g}6u6ZF8c?Y0O+i8k0g(g<%bj3bY@g>YKiWPw&tx()IdkUBeBb+i z?|0655clXKj1dq7=@Z;`c|y<<7<^YO)deGsRBt2jv({t(q22TI^Po96JQ2kf^X+gJ zG*rg-gF>MYjC*lfZiD}pMS2pwAkbg&VZTcqc!R(Dn?VoLRx-nHs65|+4lVQNm$%3w?c*s>VGsrKC!?VDH87-N z=`fP!>-?Rko8rnF1Sx9gEFwQo4EZ;cYI`H?vuw*pXcdQ1(7M|}dLNgSRy5$V4`Y*4 z4pv!7>!#+oXkS&Hra0j`k>3)|(h+7m?J)6@3bE+@#zcPpk&@JZwm`jjCl`xDh^Vs6 zzj4V!EdlZLT=fpHh~9EthEoFFGd5L(a0d$%xDXK(Xmno2MRgJQ(5#S9r(9zP;jp0L zu=yXlkWvhpz4gYc{r_&}Z@R*^R&~<+hdLO>VO3bhHY7wM{rfe4Gn0|D*zNhyBB!#f z`jRK9Lp?`gU~jug9*3YowOp4FAGcrQ)Oogchz0v1EMQkzIYe4M-319NTO3aFm;*t1h9Uf^@epyo&m~w5D!gt{|lGR7=;> z?0p=%9E+TrOeiotueVLpy3$QjFq@42euJIwKl_ho<&Pw0r5J`AhN?1E7kFHaE;CtE zwOuf=L`HcqKTi0P^sIkXIl6o5?4{POr`4BvWQ~+J%IWDaF@iHvq(vD~mFxjse%zO{ zZeSgDnz)Cqbd1n9NAb_$+RKXQf?R1~o8eKoLFU7ukB~RA1T)?JY51&x-5h%3S<$Bt zlV-jqaz~skDt}VvE6#}e`+N$%Ewrz;H03qcuI)Z=T7pbBB}lNd5uTGR%Jn(lyS#`$ z1h$)^0jD;7hyqRwm{Vm5POVmZVwE_ky$E-Kw`L8@dHF)?!(u##H=S-9 zSUH~!^iMq(sdygs0a0@ku}|)V1{5l@ZX(iK-wWy4dt&uwIL7MH(9@2o)P5lv`oWHLc_1(ZGyLt1wBn&)xRigCR{g^r z2`PIl3^`q`jM>M@zEg#7Fh6CVmwo`oUNxdprRR^#>%cC1%V)_%ZlGs-C0@R{tg|xd z{5!J8CFZQSvak3P(-r&_^~*?8p5=Dz{01pAk7%zTPK0YNDtI2?UP~u(&?z0CJFp+N z7}x^$dHnS;GeWo(Qf#(Z7}3jqw#&mCmplzjg;YhuLW7Y|VGX%Kd;V}o`CnYn4}Hn= z;g~KhoD6d!U%vjlV(62MTh@cNPcaYn#msFF75vaYvV~K;30Zv_FiKQcKm#5HIkr(y z$Wm1tgx%mUlUI{ScL-faO5fn5*x_t!g;mfwF9RqvGgx}X@RkpGBb)}`2}w^E6^A`I z$e~*x4Qv6=H#$`x{pgFi)lAJw7A9;Jte0stcTPl01UD!5sAuT}NkA0G+iBLu$7BcbG9MxKkAZV8eL4wsc3jrMFR=p=?>EuzFX<|@UXg0bNYGec z;N4mSQ&ub%e8swy*N_~@?kh^DcavaQB3CVV746uzbR0%@PTX6BJliqp$jCUjZtm&d zoCND_4X~fz=SGKemq-JCjQ?st81GFe_d+FJ650HtWb^H2IK%_Q=KyY&(ZH$7{8Vg1(9HB) zL1xO1FNsSg_D|$EUB!g0fw{-c2zu`>A_mxP5j42il}yjQI})K0#Y4zUXI<5wL9PD{ zF|WwhP*|1pd#YWkd&AE_c%#E7%?4Xjzjm#1xQ9AYJ~kMgLz@^Cd#vu z32NNr3g%edaK6-LCXX2nAQMXMzA9?G*oecHKDl3Dj0wJnn?y40BVP$4Uj7kpb#zxu zVBxb8JD^MGLp#&n*A$Z2@eaLFqyqPpjt$Q%lBBsV2lObTGD6=DSiz%ZxK@PuaNXaA zAr~M=1Y}O6mwE6LCK8y*sz?;|flqkIa~2MoykqF7|5W#g`E(FEmy7IJS(o@(7?Lvj z4S|wfUT{yk&q30HYP)~k+0XQdUflh>y=ZT~#ZHblOOyh(6oL39(%eP>V>SI;3A07J zT~TFQ%Qh`#c4_&g5Ae%j7+Tgls1=WY37lSAsC2W|ap=Ht8t|M{66%cWVu2Jd2n(ty z4(;6C9vd_trE>l$2MGvBtjxoSGivj%f5t+&ZLS zv{_U;ucxxFr$jyoJ5AF>prB6G$ZPiV-b#F{p(a1P2J%0$fU*uHXZj$tQH(@z7Y3z zaCeCwm53N$iAfWmb_Ir|hB+@Y33!D3F^ex!q;>?64+P-vntYJ;8Zyu5 zJhH0ye-xHWIFUXw6W*Oj4>mxT5>8|!1aXRe#JvoyVdVzny;v2ugdj0RFq^lalszN% z#Wg+lO$%9#3HR*$i-SeU<7a%T$-{+qX_)sAO!k)Bx3(F~a6~*x^p?cfWOiV0xWRS7 z0SjY6@>1jR#QBh%iBF&GPIFUd_$?Bmja>& zfaIc)UNgGxOiENOo-?uoVS; zz5KKCi~ke^J1%Q|#syNVK&%Fe^;c=N5UY1sGpPXwB$d7{&hs*>`FwfHXBa0RRHD8v z;n{8LE8VTD2=RqDJ7cCS+hk-kn30k(-XS~N6IeKEMlf6r>jmJtnlnzBm=z;8>U*|X z0?E+4KFssB(LjVBd)~3B6ln!ATcC0nX<`?klFXMgmouxCnl28nUXIB_=rXX%@3f$? zn=`cb3BAZ$cw?Zc0W>(IrNKHu6F7ERj^_nl5V+VWAsys^Ku3Ta@Ku_of#G*RemJ}w zbqS0 - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::Printable Member List
-
-
- -

This is the complete list of members for arduino::Printable, including all inherited members.

- - -
printTo(Print &p) const =0 (defined in arduino::Printable)arduino::Printablepure virtual
- - - - diff --git a/docs/html/classarduino_1_1_printable.html b/docs/html/classarduino_1_1_printable.html deleted file mode 100644 index a17df7c..0000000 --- a/docs/html/classarduino_1_1_printable.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -arduino-emulator: arduino::Printable Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::Printable Class Referenceabstract
-
-
- -

#include <Printable.h>

-
-Inheritance diagram for arduino::Printable:
-
-
- - -PrintableMock -arduino::CanMsg -arduino::IPAddress - -
- - - - -

-Public Member Functions

-virtual size_t printTo (Print &p) const =0
 
-

Detailed Description

-

The Printable class provides a way for new classes to allow themselves to be printed. By deriving from Printable and implementing the printTo method, it will then be possible for users to print out instances of this class by passing them into the usual Print::print and Print::println methods.

-

The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_printable.png b/docs/html/classarduino_1_1_printable.png deleted file mode 100644 index 8f8f2f1fc2120f979c7c8a7a1709a9dcde094beb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1021 zcmeAS@N?(olHy`uVBq!ia0y~yV5|hP12~w09#O zew+04tp}H$%dhh9o&C^ke{`;$@qL^1ztY!OUY!;>ReJXO@Y(OrmP^MxZ!CH<`@YC~ z;b*bW8Go5vUAD(!{_@NIOY<~6zB=Wd>A(84uIm4~<2V1jlP&{#feGCU2c9u1L4DLT zC5VgR0K=SzYzYi{$DT1V?YO%}?m-pMuMN8^Ri3s56As+I@%@?C6>iH(TN01g z)IZVw{P<aKV$#yJI{w1hd+PpJ719_vAZYz zYRK|bgYR#aZ7}~>`DVw0XBQuz7b$tSx$;|S((00BmqX>|viKdjH*5Z*GxnE{X`D`w z{D1C`NIBpBCz~=?Fil-DjeF9Tq~kS}b4q7eh6opa4Y_^fRmrIj;hb|iV|6e3a$Vg! zWs4Qxm7mv={;uJlasU1YeY0xoiMcD>Dt2>he`(VEP56gNnf9u;*G;Zk?uqzZ`#E_< zmEjrQt6bLkb+b-#ex7~A>lpjl`5m$6t~ZB&pQ$gq&Mfxx-L|Z`rDi8qW_{lH)9-!N zLRo|PDyA}K_m5@1zxw6Zu|M0+m7AYfo`2)-q@BjUmtHDs)?R64XZ+vpTi?&nx$mDA z9{clUQC;2YvsaeczF+;$tUfyT)a>k4*UqMCna?|{^YGcHdrN}vzVY4qQ={zspQ;Cw z5?31Muj*C#8y&YNQT65gf(N|Xp5h<1pY?;dR&{A-{iE+a`+wj_?!9NKFO7hyE;nwH s-V^;9=PjSVUa2;(_}q2jc?asxa7-&dt1v|em{A!#UHx3vIVCg!0NCXVZU6uP diff --git a/docs/html/classarduino_1_1_remote_g_p_i_o-members.html b/docs/html/classarduino_1_1_remote_g_p_i_o-members.html deleted file mode 100644 index cc91512..0000000 --- a/docs/html/classarduino_1_1_remote_g_p_i_o-members.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::RemoteGPIO Member List
-
-
- -

This is the complete list of members for arduino::RemoteGPIO, including all inherited members.

- - - - - - - - - - - - - - - - - - -
analogRead(pin_size_t pinNumber)arduino::RemoteGPIOinlinevirtual
analogReference(uint8_t mode)arduino::RemoteGPIOinlinevirtual
analogWrite(pin_size_t pinNumber, int value)arduino::RemoteGPIOinlinevirtual
digitalRead(pin_size_t pinNumber)arduino::RemoteGPIOinlinevirtual
digitalWrite(pin_size_t pinNumber, PinStatus status)arduino::RemoteGPIOinlinevirtual
HardwareGPIO()=default (defined in arduino::HardwareGPIO)arduino::HardwareGPIO
noTone(uint8_t pinNumber)arduino::RemoteGPIOinlinevirtual
operator boolean() (defined in arduino::RemoteGPIO)arduino::RemoteGPIOinline
pinMode(pin_size_t pinNumber, PinMode pinMode)arduino::RemoteGPIOinlinevirtual
pulseIn(uint8_t pinNumber, uint8_t state, unsigned long timeout=1000000L)arduino::RemoteGPIOinlinevirtual
pulseInLong(uint8_t pinNumber, uint8_t state, unsigned long timeout=1000000L)arduino::RemoteGPIOinlinevirtual
RemoteGPIO()=default (defined in arduino::RemoteGPIO)arduino::RemoteGPIO
RemoteGPIO(Stream *stream) (defined in arduino::RemoteGPIO)arduino::RemoteGPIOinline
service (defined in arduino::RemoteGPIO)arduino::RemoteGPIOprotected
setStream(Stream *stream) (defined in arduino::RemoteGPIO)arduino::RemoteGPIOinline
tone(uint8_t pinNumber, unsigned int frequency, unsigned long duration=0)arduino::RemoteGPIOinlinevirtual
~HardwareGPIO()=default (defined in arduino::HardwareGPIO)arduino::HardwareGPIOvirtual
- - - - diff --git a/docs/html/classarduino_1_1_remote_g_p_i_o.html b/docs/html/classarduino_1_1_remote_g_p_i_o.html deleted file mode 100644 index 5370b0e..0000000 --- a/docs/html/classarduino_1_1_remote_g_p_i_o.html +++ /dev/null @@ -1,625 +0,0 @@ - - - - - - - -arduino-emulator: arduino::RemoteGPIO Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::RemoteGPIO Class Reference
-
-
- -

Remote GPIO implementation that operates over a communication stream. - More...

- -

#include <RemoteGPIO.h>

-
-Inheritance diagram for arduino::RemoteGPIO:
-
-
- - -arduino::HardwareGPIO - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

RemoteGPIO (Stream *stream)
 
int analogRead (pin_size_t pinNumber)
 Read the value from the specified analog pin.
 
void analogReference (uint8_t mode)
 Configure the reference voltage used for analog input.
 
void analogWrite (pin_size_t pinNumber, int value)
 Write an analog value (PWM wave) to a pin.
 
PinStatus digitalRead (pin_size_t pinNumber)
 Read the value from a specified digital pin.
 
void digitalWrite (pin_size_t pinNumber, PinStatus status)
 Write a HIGH or LOW value to a digital pin.
 
virtual void noTone (uint8_t pinNumber)
 Stop the generation of a square wave triggered by tone()
 
operator boolean ()
 
void pinMode (pin_size_t pinNumber, PinMode pinMode)
 Configure the specified pin to behave as an input or output.
 
virtual unsigned long pulseIn (uint8_t pinNumber, uint8_t state, unsigned long timeout=1000000L)
 Read a pulse (HIGH or LOW) on a pin.
 
virtual unsigned long pulseInLong (uint8_t pinNumber, uint8_t state, unsigned long timeout=1000000L)
 Alternative to pulseIn() which is better at handling long pulses.
 
-void setStream (Stream *stream)
 
virtual void tone (uint8_t pinNumber, unsigned int frequency, unsigned long duration=0)
 Generate a square wave of the specified frequency on a pin.
 
- - - -

-Protected Attributes

-HardwareService service
 
-

Detailed Description

-

Remote GPIO implementation that operates over a communication stream.

-

RemoteGPIO provides GPIO functionality by forwarding all operations to a remote GPIO controller via a communication stream (serial, network, etc.). This enables GPIO operations to be performed on remote hardware while maintaining the standard HardwareGPIO interface.

-

Key features:

    -
  • Complete HardwareGPIO interface implementation
  • -
  • Stream-based remote communication protocol
  • -
  • Digital I/O operations (pinMode, digitalWrite, digitalRead)
  • -
  • Analog I/O operations (analogRead, analogWrite, analogReference)
  • -
  • PWM and tone generation (analogWrite, tone, noTone)
  • -
  • Pulse measurement and timing functions (pulseIn, pulseInLong)
  • -
  • Real-time bidirectional communication with remote GPIO hardware
  • -
-

The class uses HardwareService for protocol handling and can work with any Stream implementation (Serial, TCP, etc.) for remote connectivity.

-
See also
HardwareGPIO
-
-HardwareService
-
-Stream
-

Member Function Documentation

- -

◆ analogRead()

- -
-
- - - - - -
- - - - - - - - -
int arduino::RemoteGPIO::analogRead (pin_size_t pinNumber)
-
-inlinevirtual
-
- -

Read the value from the specified analog pin.

-
Parameters
- - -
pinNumberThe analog pin to read from (A0, A1, etc.)
-
-
-
Returns
The analog reading on the pin (0-1023 for 10-bit ADC)
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ analogReference()

- -
-
- - - - - -
- - - - - - - - -
void arduino::RemoteGPIO::analogReference (uint8_t mode)
-
-inlinevirtual
-
- -

Configure the reference voltage used for analog input.

-
Parameters
- - -
modeThe reference type (DEFAULT, INTERNAL, EXTERNAL, etc.)
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ analogWrite()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void arduino::RemoteGPIO::analogWrite (pin_size_t pinNumber,
int value 
)
-
-inlinevirtual
-
- -

Write an analog value (PWM wave) to a pin.

-
Parameters
- - - -
pinNumberThe pin to write to
valueThe duty cycle (0-255 for 8-bit PWM)
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ digitalRead()

- -
-
- - - - - -
- - - - - - - - -
PinStatus arduino::RemoteGPIO::digitalRead (pin_size_t pinNumber)
-
-inlinevirtual
-
- -

Read the value from a specified digital pin.

-
Parameters
- - -
pinNumberThe pin number to read from
-
-
-
Returns
HIGH or LOW
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ digitalWrite()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void arduino::RemoteGPIO::digitalWrite (pin_size_t pinNumber,
PinStatus status 
)
-
-inlinevirtual
-
- -

Write a HIGH or LOW value to a digital pin.

-
Parameters
- - - -
pinNumberThe pin number to write to
statusThe value to write (HIGH or LOW)
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ noTone()

- -
-
- - - - - -
- - - - - - - - -
virtual void arduino::RemoteGPIO::noTone (uint8_t _pin)
-
-inlinevirtual
-
- -

Stop the generation of a square wave triggered by tone()

-
Parameters
- - -
_pinThe pin on which to stop generating the tone
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ pinMode()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void arduino::RemoteGPIO::pinMode (pin_size_t pinNumber,
PinMode pinMode 
)
-
-inlinevirtual
-
- -

Configure the specified pin to behave as an input or output.

-
Parameters
- - - -
pinNumberThe pin number to configure
pinModeThe mode to set (INPUT, OUTPUT, INPUT_PULLUP, etc.)
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ pulseIn()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual unsigned long arduino::RemoteGPIO::pulseIn (uint8_t pin,
uint8_t state,
unsigned long timeout = 1000000L 
)
-
-inlinevirtual
-
- -

Read a pulse (HIGH or LOW) on a pin.

-
Parameters
- - - - -
pinThe pin on which you want to read the pulse
stateType of pulse to read (HIGH or LOW)
timeoutTimeout in microseconds (default 1 second)
-
-
-
Returns
The length of the pulse in microseconds, or 0 if timeout
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ pulseInLong()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual unsigned long arduino::RemoteGPIO::pulseInLong (uint8_t pin,
uint8_t state,
unsigned long timeout = 1000000L 
)
-
-inlinevirtual
-
- -

Alternative to pulseIn() which is better at handling long pulses.

-
Parameters
- - - - -
pinThe pin on which you want to read the pulse
stateType of pulse to read (HIGH or LOW)
timeoutTimeout in microseconds (default 1 second)
-
-
-
Returns
The length of the pulse in microseconds, or 0 if timeout
- -

Implements arduino::HardwareGPIO.

- -
-
- -

◆ tone()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void arduino::RemoteGPIO::tone (uint8_t _pin,
unsigned int frequency,
unsigned long duration = 0 
)
-
-inlinevirtual
-
- -

Generate a square wave of the specified frequency on a pin.

-
Parameters
- - - - -
_pinThe pin on which to generate the tone
frequencyThe frequency of the tone in hertz
durationThe duration of the tone in milliseconds (0 = continuous)
-
-
- -

Implements arduino::HardwareGPIO.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_remote_g_p_i_o.png b/docs/html/classarduino_1_1_remote_g_p_i_o.png deleted file mode 100644 index 4cce274429895c369807f297452d82c15cb3f28c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 652 zcmV;70(1R|P)vTJr#LVva2S`&=)l0h|Ns9}lGCUF000SeQchC<|NsC0|NsC0Hv*f~0006P zNkl#m$I41_0xw3_#S;&LE2hfu@mQ5#iW?U0LO`%7^6jcwbu#e|I{mr^j1 zq_1EiNnf{2Y0@Lv{^#_>c(cA+u>W#%wB6iOCX$@!+e{~eZA*V(%Ao03c0Q}mJ}kSL zFkL)LmSf!8YWjgK&*i2v)i`;TWooXqSDCJ!jcKrT`JXTuE|biLYa!3you|z-Mm-o? zJ>4;N759v(e|NV`z3uFq^R?aEclVkpksNdu)xqS1^&JuSJ=*ZQIro0Q`(T0I--A zWcqy8gIbVjM_LYQMW(oS0PsY?1OUE*2>^Tr69D)MCIIjiOaS03m;k_6FadzCU;+SN z!2|%lf(Zb81rq@H`p=nCN@+16NzzgZCQ0%YOp@fwV`|o$b;m`Kq`7)iURgX2)6Dxh zlO#=aMwXuFm8opLX8jtsN6XwX<+%}IU@G26tlE?i zEmG|byZ+k7WhZ_9Z!j4yn{Ax1^)!Ocz4EaYkB3Y)#RI1H>e?|5r&}!cz}~;RH%vDC z?3}8{4=~xX@|cp;|81`?QDd&rglz - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::RemoteI2C Member List
-
-
- -

This is the complete list of members for arduino::RemoteI2C, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
available() (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
begin() (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
begin(uint8_t address) (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
beginTransmission(uint8_t address) (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
end() (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
endTransmission(bool stopBit) (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
endTransmission(void) (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush() (defined in arduino::Print)arduino::Printinlinevirtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
onReceive(void(*)(int)) (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
onRequest(void(*)(void)) (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
operator boolean() (defined in arduino::RemoteI2C)arduino::RemoteI2Cinline
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
peek() (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
Print() (defined in arduino::Print)arduino::Printinline
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
read() (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytes(uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
RemoteI2C()=default (defined in arduino::RemoteI2C)arduino::RemoteI2C
RemoteI2C(Stream *stream) (defined in arduino::RemoteI2C)arduino::RemoteI2Cinline
requestFrom(uint8_t address, size_t len, bool stopBit) (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
requestFrom(uint8_t address, size_t len) (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
service (defined in arduino::RemoteI2C)arduino::RemoteI2Cprotected
setClock(uint32_t freq) (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
setStream(Stream *stream) (defined in arduino::RemoteI2C)arduino::RemoteI2Cinline
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
write(uint8_t c) (defined in arduino::RemoteI2C)arduino::RemoteI2Cinlinevirtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const uint8_t *buffer, size_t size) (defined in arduino::Print)arduino::Printvirtual
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
- - - - diff --git a/docs/html/classarduino_1_1_remote_i2_c.html b/docs/html/classarduino_1_1_remote_i2_c.html deleted file mode 100644 index c1d34f3..0000000 --- a/docs/html/classarduino_1_1_remote_i2_c.html +++ /dev/null @@ -1,812 +0,0 @@ - - - - - - - -arduino-emulator: arduino::RemoteI2C Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::RemoteI2C Class Reference
-
-
- -

Remote I2C implementation that operates over a communication stream. - More...

- -

#include <RemoteI2C.h>

-
-Inheritance diagram for arduino::RemoteI2C:
-
-
- - -arduino::HardwareI2C -arduino::Stream -arduino::Print - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

RemoteI2C (Stream *stream)
 
int available ()
 
virtual void begin ()
 
virtual void begin (uint8_t address)
 
virtual void beginTransmission (uint8_t address)
 
virtual void end ()
 
virtual uint8_t endTransmission (bool stopBit)
 
virtual uint8_t endTransmission (void)
 
virtual void onReceive (void(*)(int))
 
virtual void onRequest (void(*)(void))
 
operator boolean ()
 
int peek ()
 
int read ()
 
virtual size_t requestFrom (uint8_t address, size_t len)
 
virtual size_t requestFrom (uint8_t address, size_t len, bool stopBit)
 
virtual void setClock (uint32_t freq)
 
-void setStream (Stream *stream)
 
size_t write (uint8_t c)
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-virtual void flush ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
-virtual size_t write (const uint8_t *buffer, size_t size)
 
- - - - - - - - -

-Protected Attributes

-HardwareService service
 
- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
- - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
-

Detailed Description

-

Remote I2C implementation that operates over a communication stream.

-

RemoteI2C provides I2C functionality by forwarding all operations to a remote I2C controller via a communication stream (serial, network, etc.). This enables I2C operations to be performed on remote hardware while maintaining the standard HardwareI2C interface.

-

Key features:

    -
  • Complete HardwareI2C interface implementation
  • -
  • Stream-based remote communication protocol
  • -
  • Automatic command serialization and response handling
  • -
  • Support for all I2C operations (master/slave, read/write, transactions)
  • -
  • Real-time bidirectional communication with remote I2C hardware
  • -
-

The class uses HardwareService for protocol handling and can work with any Stream implementation (Serial, TCP, etc.) for remote connectivity.

-
See also
HardwareI2C
-
-HardwareService
-
-Stream
-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - -
- - - - - - - - -
int arduino::RemoteI2C::available (void )
-
-inlinevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ begin() [1/2]

- -
-
- - - - - -
- - - - - - - -
virtual void arduino::RemoteI2C::begin ()
-
-inlinevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ begin() [2/2]

- -
-
- - - - - -
- - - - - - - - -
virtual void arduino::RemoteI2C::begin (uint8_t address)
-
-inlinevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ beginTransmission()

- -
-
- - - - - -
- - - - - - - - -
virtual void arduino::RemoteI2C::beginTransmission (uint8_t address)
-
-inlinevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ end()

- -
-
- - - - - -
- - - - - - - -
virtual void arduino::RemoteI2C::end ()
-
-inlinevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ endTransmission() [1/2]

- -
-
- - - - - -
- - - - - - - - -
virtual uint8_t arduino::RemoteI2C::endTransmission (bool stopBit)
-
-inlinevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ endTransmission() [2/2]

- -
-
- - - - - -
- - - - - - - - -
virtual uint8_t arduino::RemoteI2C::endTransmission (void )
-
-inlinevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ onReceive()

- -
-
- - - - - -
- - - - - - - - -
virtual void arduino::RemoteI2C::onReceive (void(*)(int)
-
-inlinevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ onRequest()

- -
-
- - - - - -
- - - - - - - - -
virtual void arduino::RemoteI2C::onRequest (void(*)(void)
-
-inlinevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ peek()

- -
-
- - - - - -
- - - - - - - - -
int arduino::RemoteI2C::peek (void )
-
-inlinevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ read()

- -
-
- - - - - -
- - - - - - - - -
int arduino::RemoteI2C::read (void )
-
-inlinevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ requestFrom() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual size_t arduino::RemoteI2C::requestFrom (uint8_t address,
size_t len 
)
-
-inlinevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ requestFrom() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual size_t arduino::RemoteI2C::requestFrom (uint8_t address,
size_t len,
bool stopBit 
)
-
-inlinevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ setClock()

- -
-
- - - - - -
- - - - - - - - -
virtual void arduino::RemoteI2C::setClock (uint32_t freq)
-
-inlinevirtual
-
- -

Implements arduino::HardwareI2C.

- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - -
size_t arduino::RemoteI2C::write (uint8_t c)
-
-inlinevirtual
-
- -

Implements arduino::Print.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_remote_i2_c.png b/docs/html/classarduino_1_1_remote_i2_c.png deleted file mode 100644 index 8755d0130056be57b2b7d90bfdac4432de8d27ca..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1098 zcmeAS@N?(olHy`uVBq!ia0vp^9YB15gBeJ^$iJNkq@)9ULR|m<{|^#*^R=}9&~gg{ z%>s$(XI>mQZ~!PCJn8ZZpd4pOkY6wZkPimtOtY^rFfd>Bba4!+V0=3_yYH|9PfNRF zSIvLne5pgp95>Z+x4LSF8&@{)#v6PwPwFXTQ=atX`&$JSS3akp5@{8lc^+Y{$KMxy zQFrhtdZ7D2;;Y?>f3*({ul)M4V_Bj3+qtE@S|^mZ9oZtNQu!fxLhUt^sGX@3&N#QZ zE$-=`vh2VV&e@)?*WOlc&zNNMb?K!$%r8IKvkG~X&0~5J@nb*J&2QB=n{OxE+LWrl z*6MY*XKSkRQ@l)Ik`lY3W|6?8MKc|MPGVv{a6676f$cogCY{L>&M<8%I^$@>+c95? zA;6l0VPZ3bfF*wF;(w-2!();?9+U2GZ=N7x$>DjCcY;BM(oKyu`{Q?ce!8OHIN`~G z=mS+hEj)hhE4_34!ON($sQBRYU0at#U!Hg6$P`A8PcPyfK4~p4{H)uYGS6$8lYMD=K=lrVn(g=<_;C-=VmWeC#1cPWu17;y>8!rW}r9!$u7COW|tJt8l{tq*Ehci z+sSq5^8TnYCbtEbj>vwju+Z~H4?z6N2T-y7bla9%sja6FgRKC+n_kUvt55bKS>;5Y1ByOujqZx-_S0OYO^@e4mz> zY+9O5kvCu-A_K&37)X$up12dux2!;9Y9Wy)UHD0+lc}MQ?*)x0B{DY@sLkW zTUN)kDEg_She38}Tgl%mS9<50uj7gAcZ~kEudqJf-}mSF%7^tw&b;w|qmZUn1a);9 f6Q^Pe=O5->&da_rUNB4m=6VKCS3j3^P6 - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::RemoteSPI Member List
-
-
- -

This is the complete list of members for arduino::RemoteSPI, including all inherited members.

- - - - - - - - - - - - - - - - - - -
attachInterrupt() (defined in arduino::RemoteSPI)arduino::RemoteSPIinlinevirtual
begin() (defined in arduino::RemoteSPI)arduino::RemoteSPIinlinevirtual
beginTransaction(SPISettings settings) (defined in arduino::RemoteSPI)arduino::RemoteSPIinlinevirtual
detachInterrupt() (defined in arduino::RemoteSPI)arduino::RemoteSPIinlinevirtual
end() (defined in arduino::RemoteSPI)arduino::RemoteSPIinlinevirtual
endTransaction(void) (defined in arduino::RemoteSPI)arduino::RemoteSPIinlinevirtual
notUsingInterrupt(int interruptNumber) (defined in arduino::RemoteSPI)arduino::RemoteSPIinlinevirtual
operator boolean() (defined in arduino::RemoteSPI)arduino::RemoteSPIinline
RemoteSPI()=default (defined in arduino::RemoteSPI)arduino::RemoteSPI
RemoteSPI(Stream *stream) (defined in arduino::RemoteSPI)arduino::RemoteSPIinline
service (defined in arduino::RemoteSPI)arduino::RemoteSPIprotected
setStream(Stream *stream) (defined in arduino::RemoteSPI)arduino::RemoteSPIinline
transfer(uint8_t data) (defined in arduino::RemoteSPI)arduino::RemoteSPIinlinevirtual
transfer(void *buf, size_t count) (defined in arduino::RemoteSPI)arduino::RemoteSPIinlinevirtual
transfer16(uint16_t data) (defined in arduino::RemoteSPI)arduino::RemoteSPIinlinevirtual
usingInterrupt(int interruptNumber) (defined in arduino::RemoteSPI)arduino::RemoteSPIinlinevirtual
~HardwareSPI() (defined in arduino::HardwareSPI)arduino::HardwareSPIinlinevirtual
- - - - diff --git a/docs/html/classarduino_1_1_remote_s_p_i.html b/docs/html/classarduino_1_1_remote_s_p_i.html deleted file mode 100644 index b79e0d9..0000000 --- a/docs/html/classarduino_1_1_remote_s_p_i.html +++ /dev/null @@ -1,481 +0,0 @@ - - - - - - - -arduino-emulator: arduino::RemoteSPI Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::RemoteSPI Class Reference
-
-
- -

Remote SPI implementation that operates over a communication stream. - More...

- -

#include <RemoteSPI.h>

-
-Inheritance diagram for arduino::RemoteSPI:
-
-
- - -arduino::HardwareSPI - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

RemoteSPI (Stream *stream)
 
void attachInterrupt ()
 
void begin ()
 
void beginTransaction (SPISettings settings)
 
void detachInterrupt ()
 
void end ()
 
void endTransaction (void)
 
void notUsingInterrupt (int interruptNumber)
 
operator boolean ()
 
-void setStream (Stream *stream)
 
uint8_t transfer (uint8_t data)
 
void transfer (void *buf, size_t count)
 
uint16_t transfer16 (uint16_t data)
 
void usingInterrupt (int interruptNumber)
 
- - - -

-Protected Attributes

-HardwareService service
 
-

Detailed Description

-

Remote SPI implementation that operates over a communication stream.

-

RemoteSPI provides SPI functionality by forwarding all operations to a remote SPI controller via a communication stream (serial, network, etc.). This enables SPI operations to be performed on remote hardware while maintaining the standard HardwareSPI interface.

-

Key features:

    -
  • Complete HardwareSPI interface implementation
  • -
  • Stream-based remote communication protocol
  • -
  • Support for all SPI transfer modes (8-bit, 16-bit, buffer transfers)
  • -
  • Transaction management with SPISettings support
  • -
  • Interrupt handling and configuration
  • -
  • Real-time bidirectional communication with remote SPI hardware
  • -
-

The class uses HardwareService for protocol handling and can work with any Stream implementation (Serial, TCP, etc.) for remote connectivity.

-
See also
HardwareSPI
-
-HardwareService
-
-SPISettings
-
-Stream
-

Member Function Documentation

- -

◆ attachInterrupt()

- -
-
- - - - - -
- - - - - - - -
void arduino::RemoteSPI::attachInterrupt ()
-
-inlinevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ begin()

- -
-
- - - - - -
- - - - - - - -
void arduino::RemoteSPI::begin ()
-
-inlinevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ beginTransaction()

- -
-
- - - - - -
- - - - - - - - -
void arduino::RemoteSPI::beginTransaction (SPISettings settings)
-
-inlinevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ detachInterrupt()

- -
-
- - - - - -
- - - - - - - -
void arduino::RemoteSPI::detachInterrupt ()
-
-inlinevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ end()

- -
-
- - - - - -
- - - - - - - -
void arduino::RemoteSPI::end ()
-
-inlinevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ endTransaction()

- -
-
- - - - - -
- - - - - - - - -
void arduino::RemoteSPI::endTransaction (void )
-
-inlinevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ notUsingInterrupt()

- -
-
- - - - - -
- - - - - - - - -
void arduino::RemoteSPI::notUsingInterrupt (int interruptNumber)
-
-inlinevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ transfer() [1/2]

- -
-
- - - - - -
- - - - - - - - -
uint8_t arduino::RemoteSPI::transfer (uint8_t data)
-
-inlinevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ transfer() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void arduino::RemoteSPI::transfer (voidbuf,
size_t count 
)
-
-inlinevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ transfer16()

- -
-
- - - - - -
- - - - - - - - -
uint16_t arduino::RemoteSPI::transfer16 (uint16_t data)
-
-inlinevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ usingInterrupt()

- -
-
- - - - - -
- - - - - - - - -
void arduino::RemoteSPI::usingInterrupt (int interruptNumber)
-
-inlinevirtual
-
- -

Implements arduino::HardwareSPI.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_remote_s_p_i.png b/docs/html/classarduino_1_1_remote_s_p_i.png deleted file mode 100644 index 9411a30a953bef1c901519e3f3d8d63db98842b6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 617 zcmeAS@N?(olHy`uVBq!ia0vp^9Y7qw!3-q7a-LNJQqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCG95?_J51w>+1yGK&B*-tA0mugfbEer>7#JA8c)B=-R4~4s8_V}tfv2V2 zaaGNKVSUwy=^R^5zH`2K>Z*iP&V$1im2N$T?-DvxepVL?Oj2T3)QoCsIcY!1_xOh+ zJ3I3KeX-ts=RTX_$5V{f?9uR-1DTe{h}J>F|p*~OLs!Yq06OJBTKuV+Wh{R(yHirK>`V2P?mN8cDHB-FFs#5sIaT9OHep7}8 z&lDJ3_?R4?5TO2xdvGYeN#ICJ+i%WpXgslb#>^Me9-s9d6&;;D^X%H)g7c=l|d6Hhpv@p+<< irsk!f*s`JVFC)8O!NwGp5>{ZMVDNPHb6Mw<&;$UJJ{qt9 diff --git a/docs/html/classarduino_1_1_remote_serial_class-members.html b/docs/html/classarduino_1_1_remote_serial_class-members.html deleted file mode 100644 index e8348cd..0000000 --- a/docs/html/classarduino_1_1_remote_serial_class-members.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::RemoteSerialClass Member List
-
-
- -

This is the complete list of members for arduino::RemoteSerialClass, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
available() (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassinlinevirtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
begin(unsigned long baudrate) (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassinlinevirtual
begin(unsigned long baudrate, uint16_t config) (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassinlinevirtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
end() (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassinlinevirtual
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush() (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassinlinevirtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
max_buffer_len (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassprotectedstatic
max_buffer_len (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassprotected
no (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassprotected
operator boolean() (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassinline
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
peek() (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassinlinevirtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
Print() (defined in arduino::Print)arduino::Printinline
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
read() (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassinlinevirtual
read_buffer (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassprotected
readBytes(uint8_t *buffer, size_t length) (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassinlinevirtual
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
RemoteSerialClass(Stream &stream, uint8_t no) (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassinline
service (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassprotected
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
write(uint8_t c) (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassinlinevirtual
write(uint8_t *str, size_t len) (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassinlinevirtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const uint8_t *buffer, size_t size) (defined in arduino::Print)arduino::Printvirtual
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
write_buffer (defined in arduino::RemoteSerialClass)arduino::RemoteSerialClassprotected
- - - - diff --git a/docs/html/classarduino_1_1_remote_serial_class.html b/docs/html/classarduino_1_1_remote_serial_class.html deleted file mode 100644 index 837c764..0000000 --- a/docs/html/classarduino_1_1_remote_serial_class.html +++ /dev/null @@ -1,517 +0,0 @@ - - - - - - - -arduino-emulator: arduino::RemoteSerialClass Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::RemoteSerialClass Class Reference
-
-
- -

Remote Serial implementation that operates over a communication stream. - More...

- -

#include <RemoteSerial.h>

-
-Inheritance diagram for arduino::RemoteSerialClass:
-
-
- - -arduino::Stream -arduino::Print - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

RemoteSerialClass (Stream &stream, uint8_t no)
 
virtual int available ()
 
-virtual void begin (unsigned long baudrate)
 
-virtual void begin (unsigned long baudrate, uint16_t config)
 
-virtual void end ()
 
void flush ()
 
operator boolean ()
 
virtual int peek ()
 
virtual int read ()
 
-virtual size_t readBytes (uint8_t *buffer, size_t length)
 
-virtual size_t write (uint8_t *str, size_t len)
 
virtual size_t write (uint8_t c)
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
-virtual size_t write (const uint8_t *buffer, size_t size)
 
- - - - - - - - - - - - - - - - -

-Protected Attributes

-int max_buffer_len = 512
 
-uint8_t no
 
-RingBufferExt read_buffer
 
-HardwareService service
 
-RingBufferExt write_buffer
 
- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
- - - -

-Static Protected Attributes

-static constexpr int max_buffer_len = 512
 
- - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
-

Detailed Description

-

Remote Serial implementation that operates over a communication stream.

-

RemoteSerialClass provides Serial/UART functionality by forwarding all operations to a remote Serial controller via a communication stream. This enables Serial communication to be performed on remote hardware while maintaining the standard Stream interface with buffering capabilities.

-

Key features:

    -
  • Complete Stream interface implementation
  • -
  • Stream-based remote communication protocol
  • -
  • Bidirectional buffering for read and write operations
  • -
  • Support for multiple serial ports via port numbering
  • -
  • Standard Serial operations (begin, end, baud rate configuration)
  • -
  • Optimized buffering for single character and bulk operations
  • -
  • Real-time bidirectional communication with remote Serial hardware
  • -
-

The class uses HardwareService for protocol handling and maintains separate read and write buffers for efficient data transfer. It can work with any Stream implementation (Serial, TCP, etc.) for remote connectivity.

-
See also
Stream
-
-HardwareService
-
-RingBufferExt
-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::RemoteSerialClass::available (void )
-
-inlinevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ flush()

- -
-
- - - - - -
- - - - - - - - -
void arduino::RemoteSerialClass::flush (void )
-
-inlinevirtual
-
- -

Reimplemented from arduino::Print.

- -
-
- -

◆ peek()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::RemoteSerialClass::peek (void )
-
-inlinevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ read()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::RemoteSerialClass::read (void )
-
-inlinevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - -
virtual size_t arduino::RemoteSerialClass::write (uint8_t c)
-
-inlinevirtual
-
- -

Implements arduino::Print.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_remote_serial_class.png b/docs/html/classarduino_1_1_remote_serial_class.png deleted file mode 100644 index 4f87979b45891359919ec2f77fecf34c30a2b953..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 914 zcmeAS@N?(olHy`uVBq!ia0vp^%Ye9pgBeIheMkUN(g8jpuK)l42Qpv0`C8h4Xt{-f zW`V@?GcOJtH~!=C$S;@y$Oi*+rrB2*7?@=}T^vIy7~jr)UG!Ot$5njx z%$|GyJNuK{yE!xG)MfSCh8{aDu5-bt>6^ag^P0L7lS;~*f+y|a@b&!kDBkq)6Tcwq zOMlBPq9&#N$n?6@V*0@H)pAq$;>qtir``Ttd3u*z|Mc8{v!2;*JN89z(w9DeQ+dDW zbyb?Pj)r;NHGKV%+jae_(B;8d(-U*;T)i&^?hF2M-lV<%x9nM!%m+-f&U3$$ne|$3 zt#$I=TuVZ`Un*QTpWgtM$6EiPkfNp4?g) z_p1&Vlt0p;z88eKv^(vb<$O7Y{5*!|&!uKsibXPYf=DqOzU zzKH+%^jW`EfB6~D{CfQJ@wd}n-B{mWvD@tZg6 zOW*!L&NE)*?wL1xT9(b6DZVf>?U^gkN1*gHCCJM5KV# - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::RingBufferExt Member List
-
-
- -

This is the complete list of members for arduino::RingBufferExt, including all inherited members.

- - - - - - - - - - - - - - - - -
actual_len (defined in arduino::RingBufferExt)arduino::RingBufferExtprotected
actual_read_pos (defined in arduino::RingBufferExt)arduino::RingBufferExtprotected
actual_write_pos (defined in arduino::RingBufferExt)arduino::RingBufferExtprotected
available() (defined in arduino::RingBufferExt)arduino::RingBufferExtinline
availableToWrite() (defined in arduino::RingBufferExt)arduino::RingBufferExtinline
buffer (defined in arduino::RingBufferExt)arduino::RingBufferExtprotected
max_len (defined in arduino::RingBufferExt)arduino::RingBufferExtprotected
peek() (defined in arduino::RingBufferExt)arduino::RingBufferExtinline
read() (defined in arduino::RingBufferExt)arduino::RingBufferExtinline
read(char *str, int len) (defined in arduino::RingBufferExt)arduino::RingBufferExtinline
read(uint8_t *str, int len) (defined in arduino::RingBufferExt)arduino::RingBufferExtinline
RingBufferExt(int size=1024) (defined in arduino::RingBufferExt)arduino::RingBufferExtinline
write(uint8_t ch) (defined in arduino::RingBufferExt)arduino::RingBufferExtinline
write(char *str, int len) (defined in arduino::RingBufferExt)arduino::RingBufferExtinline
write(uint8_t *str, int len) (defined in arduino::RingBufferExt)arduino::RingBufferExtinline
- - - - diff --git a/docs/html/classarduino_1_1_ring_buffer_ext.html b/docs/html/classarduino_1_1_ring_buffer_ext.html deleted file mode 100644 index 3786d2a..0000000 --- a/docs/html/classarduino_1_1_ring_buffer_ext.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - -arduino-emulator: arduino::RingBufferExt Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::RingBufferExt Class Reference
-
-
- -

Implementation of a Simple Circular Buffer. Instead of comparing the position of the read and write pointer in order to figure out if we still have characters available or space left to write we keep track of the actual length which is easier to follow. This class was implemented to support the reading and writing of arrays. - More...

- -

#include <RingBufferExt.h>

- - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

RingBufferExt (int size=1024)
 
-int available ()
 
-int availableToWrite ()
 
-int peek ()
 
-int read ()
 
-int read (char *str, int len)
 
-int read (uint8_t *str, int len)
 
-size_t write (char *str, int len)
 
-size_t write (uint8_t *str, int len)
 
-size_t write (uint8_t ch)
 
- - - - - - - - - - - -

-Protected Attributes

-int actual_len = 0
 
-int actual_read_pos = 0
 
-int actual_write_pos = 0
 
-std::vector< charbuffer
 
-int max_len
 
-

Detailed Description

-

Implementation of a Simple Circular Buffer. Instead of comparing the position of the read and write pointer in order to figure out if we still have characters available or space left to write we keep track of the actual length which is easier to follow. This class was implemented to support the reading and writing of arrays.

-

The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_ring_buffer_n-members.html b/docs/html/classarduino_1_1_ring_buffer_n-members.html deleted file mode 100644 index c7be615..0000000 --- a/docs/html/classarduino_1_1_ring_buffer_n-members.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::RingBufferN< N > Member List
-
- - - - - diff --git a/docs/html/classarduino_1_1_ring_buffer_n.html b/docs/html/classarduino_1_1_ring_buffer_n.html deleted file mode 100644 index aa3d6e3..0000000 --- a/docs/html/classarduino_1_1_ring_buffer_n.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - -arduino-emulator: arduino::RingBufferN< N > Class Template Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::RingBufferN< N > Class Template Reference
-
-
- - - - - - - - - - - - - - - - -

-Public Member Functions

-int available ()
 
-int availableForStore ()
 
-void clear ()
 
-bool isFull ()
 
-int peek ()
 
-int read_char ()
 
-void store_char (uint8_t c)
 
- - - - - - - - - -

-Public Attributes

-uint8_t _aucBuffer [N]
 
-volatile int _iHead
 
-volatile int _iTail
 
-volatile int _numElems
 
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_s_p_i_settings-members.html b/docs/html/classarduino_1_1_s_p_i_settings-members.html deleted file mode 100644 index 0b941cd..0000000 --- a/docs/html/classarduino_1_1_s_p_i_settings-members.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::SPISettings Member List
-
-
- -

This is the complete list of members for arduino::SPISettings, including all inherited members.

- - - - - - - - - - - -
getBitOrder() const (defined in arduino::SPISettings)arduino::SPISettingsinline
getBusMode() const (defined in arduino::SPISettings)arduino::SPISettingsinline
getClockFreq() const (defined in arduino::SPISettings)arduino::SPISettingsinline
getDataMode() const (defined in arduino::SPISettings)arduino::SPISettingsinline
HardwareSPI (defined in arduino::SPISettings)arduino::SPISettingsfriend
operator!=(const SPISettings &rhs) const (defined in arduino::SPISettings)arduino::SPISettingsinline
operator==(const SPISettings &rhs) const (defined in arduino::SPISettings)arduino::SPISettingsinline
SPISettings(uint32_t clock, BitOrder bitOrder, SPIMode dataMode, SPIBusMode busMode=SPI_CONTROLLER) (defined in arduino::SPISettings)arduino::SPISettingsinline
SPISettings(uint32_t clock, BitOrder bitOrder, int dataMode, SPIBusMode busMode=SPI_CONTROLLER) (defined in arduino::SPISettings)arduino::SPISettingsinline
SPISettings() (defined in arduino::SPISettings)arduino::SPISettingsinline
- - - - diff --git a/docs/html/classarduino_1_1_s_p_i_settings.html b/docs/html/classarduino_1_1_s_p_i_settings.html deleted file mode 100644 index 2e68c2b..0000000 --- a/docs/html/classarduino_1_1_s_p_i_settings.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - -arduino-emulator: arduino::SPISettings Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::SPISettings Class Reference
-
-
- - - - - - - - - - - - - - - - - - -

-Public Member Functions

SPISettings (uint32_t clock, BitOrder bitOrder, int dataMode, SPIBusMode busMode=SPI_CONTROLLER)
 
SPISettings (uint32_t clock, BitOrder bitOrder, SPIMode dataMode, SPIBusMode busMode=SPI_CONTROLLER)
 
-BitOrder getBitOrder () const
 
-SPIBusMode getBusMode () const
 
-uint32_t getClockFreq () const
 
-SPIMode getDataMode () const
 
-bool operator!= (const SPISettings &rhs) const
 
-bool operator== (const SPISettings &rhs) const
 
- - - -

-Friends

-class HardwareSPI
 
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_s_p_i_source-members.html b/docs/html/classarduino_1_1_s_p_i_source-members.html deleted file mode 100644 index 11a8dab..0000000 --- a/docs/html/classarduino_1_1_s_p_i_source-members.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::SPISource Member List
-
-
- -

This is the complete list of members for arduino::SPISource, including all inherited members.

- - -
getSPI()=0 (defined in arduino::SPISource)arduino::SPISourcepure virtual
- - - - diff --git a/docs/html/classarduino_1_1_s_p_i_source.html b/docs/html/classarduino_1_1_s_p_i_source.html deleted file mode 100644 index 1bb1b63..0000000 --- a/docs/html/classarduino_1_1_s_p_i_source.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - -arduino-emulator: arduino::SPISource Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::SPISource Class Referenceabstract
-
-
- -

Abstract interface for providing SPI hardware implementations. - More...

- -

#include <Sources.h>

-
-Inheritance diagram for arduino::SPISource:
-
-
- - -arduino::HardwareSetupRPI -arduino::HardwareSetupRemote - -
- - - - -

-Public Member Functions

-virtual HardwareSPIgetSPI ()=0
 
-

Detailed Description

-

Abstract interface for providing SPI hardware implementations.

-

SPISource defines a factory interface for supplying HardwareSPI implementations. This abstraction allows wrapper classes to obtain SPI hardware instances from various sources without coupling to specific hardware providers.

-
See also
HardwareSPI
-
-SPIWrapper
-

The documentation for this class was generated from the following file:
    -
  • ArduinoCore-Linux/cores/arduino/Sources.h
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_s_p_i_source.png b/docs/html/classarduino_1_1_s_p_i_source.png deleted file mode 100644 index c6b799db2095ae1ab86af130dbd42e070dc485c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 979 zcmeAS@N?(olHy`uVBq!ia0y~yU~B`j12~w0q?VsjAdr#{@CkAK|NlRb`Qpvj(*8rs zEetdZB&MHvap1rKpm^}4%PW9#oFzei!3;n?7??B7zQVx39Ovoc7*fIbcJ9r-R|W#C z+Ui19|NkGI-l(!|^W7Aa70f1!PCR1We!6Tw)1Eo&Uhn$O`atI{(XRW9+^! z0a?>O)LffBdB+Lf$E#&mYu6!_q7Fk{+Z3cbg|Sdk-aCbS?@l$ zt$(7_Es>AeywcKVw();h+8#9X)bY0knUivD=a%|q#PNPzmNzS0-R#KpWf`~k39UT1 z?JySKB;00k%zyFoi_{i*4*{i*k&9f>zs9B|TvXqMEoGS{RK&w2to_Dn6J@pIv zX&1jf~-p+qCfBNOnNmBpTE7p9Nw8bg9#IIRp?T6bQa!0K{n@lqg_k3FI z1`>I7(EAb>y9tlfZub}G?`O)r>py?UtF$xaVo}VI{^z^aMBeQ`K7anpdas|6yy4P+ zLTb5E*2MEB`yT%C{_u_49>*G%tot>sGAnwTM_TITTG1@gFGaujvvxdr(Ed)WJBcgv zb-*gILs_?fR%x(5+>|==K;%t{(_!!TpXI$S^=HlM$5OZW_*{bCzdq~nYLiy&R6%{^ z%qF`!jo9oDr9X4>{bb+Dc`a9dsdBbr-bU@z&ztL&C;c+8D%FV1`5?Xfp+{cE`CXqU zo)N!(>yOU)SG{*WSo2<&s8PRq|8aZJ)a%D - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::SPIWrapper Member List
-
-
- -

This is the complete list of members for arduino::SPIWrapper, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - -
attachInterrupt() (defined in arduino::SPIWrapper)arduino::SPIWrappervirtual
begin() (defined in arduino::SPIWrapper)arduino::SPIWrappervirtual
beginTransaction(SPISettings settings) (defined in arduino::SPIWrapper)arduino::SPIWrappervirtual
detachInterrupt() (defined in arduino::SPIWrapper)arduino::SPIWrappervirtual
end() (defined in arduino::SPIWrapper)arduino::SPIWrappervirtual
endTransaction(void) (defined in arduino::SPIWrapper)arduino::SPIWrappervirtual
getSPI() (defined in arduino::SPIWrapper)arduino::SPIWrapperinlineprotected
notUsingInterrupt(int interruptNumber) (defined in arduino::SPIWrapper)arduino::SPIWrappervirtual
p_source (defined in arduino::SPIWrapper)arduino::SPIWrapperprotected
p_spi (defined in arduino::SPIWrapper)arduino::SPIWrapperprotected
setSource(SPISource *source)arduino::SPIWrapperinline
setSPI(HardwareSPI *spi)arduino::SPIWrapperinline
SPIWrapper()=default (defined in arduino::SPIWrapper)arduino::SPIWrapper
SPIWrapper(SPISource &source) (defined in arduino::SPIWrapper)arduino::SPIWrapperinline
SPIWrapper(HardwareSPI &spi) (defined in arduino::SPIWrapper)arduino::SPIWrapperinline
transfer(uint8_t data) (defined in arduino::SPIWrapper)arduino::SPIWrappervirtual
transfer(void *data, size_t count) (defined in arduino::SPIWrapper)arduino::SPIWrappervirtual
transfer16(uint16_t data) (defined in arduino::SPIWrapper)arduino::SPIWrappervirtual
usingInterrupt(int interruptNumber) (defined in arduino::SPIWrapper)arduino::SPIWrappervirtual
~HardwareSPI() (defined in arduino::HardwareSPI)arduino::HardwareSPIinlinevirtual
~SPIWrapper()=default (defined in arduino::SPIWrapper)arduino::SPIWrapper
- - - - diff --git a/docs/html/classarduino_1_1_s_p_i_wrapper.html b/docs/html/classarduino_1_1_s_p_i_wrapper.html deleted file mode 100644 index fe94f7a..0000000 --- a/docs/html/classarduino_1_1_s_p_i_wrapper.html +++ /dev/null @@ -1,499 +0,0 @@ - - - - - - - -arduino-emulator: arduino::SPIWrapper Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
- -
- -

SPI wrapper class that provides flexible hardware abstraction. - More...

- -

#include <SPIWrapper.h>

-
-Inheritance diagram for arduino::SPIWrapper:
-
-
- - -arduino::HardwareSPI - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

SPIWrapper (HardwareSPI &spi)
 
SPIWrapper (SPISource &source)
 
void attachInterrupt ()
 
void begin ()
 
void beginTransaction (SPISettings settings)
 
void detachInterrupt ()
 
void end ()
 
void endTransaction (void)
 
void notUsingInterrupt (int interruptNumber)
 
-void setSource (SPISource *source)
 alternatively defines a class that provides the SPI implementation
 
-void setSPI (HardwareSPI *spi)
 defines the spi implementation: use nullptr to reset.
 
uint8_t transfer (uint8_t data)
 
void transfer (void *data, size_t count)
 
uint16_t transfer16 (uint16_t data)
 
void usingInterrupt (int interruptNumber)
 
- - - -

-Protected Member Functions

-HardwareSPIgetSPI ()
 
- - - - - -

-Protected Attributes

-SPISourcep_source = nullptr
 
-HardwareSPIp_spi = nullptr
 
-

Detailed Description

-

SPI wrapper class that provides flexible hardware abstraction.

-

SPIWrapper is a concrete implementation of the HardwareSPI interface that supports multiple delegation patterns for SPI communication. It can delegate operations to:

    -
  • An injected HardwareSPI implementation
  • -
  • An SPISource provider that supplies the SPI implementation
  • -
  • A default fallback implementation
  • -
-

This class implements the complete SPI interface including:

    -
  • Bus initialization and termination (begin/end)
  • -
  • Data transfer operations (8-bit, 16-bit, and buffer transfers)
  • -
  • Transaction management with settings control
  • -
  • Interrupt handling and configuration
  • -
  • Clock, data order, and mode configuration via SPISettings
  • -
-

The wrapper automatically handles null safety and provides appropriate default return values when no underlying SPI implementation is available. It supports both polling and interrupt-driven SPI operations.

-

A global SPI instance is automatically provided for Arduino compatibility.

-
See also
HardwareSPI
-
-SPISource
-
-SPISettings
-

Member Function Documentation

- -

◆ attachInterrupt()

- -
-
- - - - - -
- - - - - - - -
void arduino::SPIWrapper::attachInterrupt ()
-
-virtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ begin()

- -
-
- - - - - -
- - - - - - - -
void arduino::SPIWrapper::begin ()
-
-virtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ beginTransaction()

- -
-
- - - - - -
- - - - - - - - -
void arduino::SPIWrapper::beginTransaction (SPISettings settings)
-
-virtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ detachInterrupt()

- -
-
- - - - - -
- - - - - - - -
void arduino::SPIWrapper::detachInterrupt ()
-
-virtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ end()

- -
-
- - - - - -
- - - - - - - -
void arduino::SPIWrapper::end ()
-
-virtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ endTransaction()

- -
-
- - - - - -
- - - - - - - - -
void arduino::SPIWrapper::endTransaction (void )
-
-virtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ notUsingInterrupt()

- -
-
- - - - - -
- - - - - - - - -
void arduino::SPIWrapper::notUsingInterrupt (int interruptNumber)
-
-virtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ transfer() [1/2]

- -
-
- - - - - -
- - - - - - - - -
uint8_t arduino::SPIWrapper::transfer (uint8_t data)
-
-virtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ transfer() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void arduino::SPIWrapper::transfer (voiddata,
size_t count 
)
-
-virtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ transfer16()

- -
-
- - - - - -
- - - - - - - - -
uint16_t arduino::SPIWrapper::transfer16 (uint16_t data)
-
-virtual
-
- -

Implements arduino::HardwareSPI.

- -
-
- -

◆ usingInterrupt()

- -
-
- - - - - -
- - - - - - - - -
void arduino::SPIWrapper::usingInterrupt (int interruptNumber)
-
-virtual
-
- -

Implements arduino::HardwareSPI.

- -
-
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-Linux/cores/arduino/SPIWrapper.h
  • -
  • ArduinoCore-Linux/cores/arduino/SPIWrapper.cpp
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_s_p_i_wrapper.png b/docs/html/classarduino_1_1_s_p_i_wrapper.png deleted file mode 100644 index b0c70df3b95d6c3408157a66b7f6c9608f9c1689..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 620 zcmeAS@N?(olHy`uVBq!ia0vp^9Y7qw!3-q7a-LNJQqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCG95?_J51w>+1yGK&B*-tA0mugfbEer>7#JA8d%8G=R4~4s`#$f90?(0l z$Ecrw=l|IBhm)t#z{aIpPmx46B&!|<3a&qS5_`!X#{PB?mWO;bp`q+#(uKq_>bE&=RZI5*wnh%xFII&TJN&&_pZ-9 zAoL_ACP>@ksiO08G0$+b2?xu+??vU@(&Xtna)m!~whUMzgN zv-IQDXP>_Q@VD_?Wy#?=v3Y_Bkh;hyl-wgN!SLrs9K(j@w@ja^a-BADpE$UY{iK<~ zzpD%lvzi$MEIAk^5}^LZD=4;XXjYst^Y1>(j+vb@N6xsEE1cat>+`yAmzJ2FUz3*h z?Z&*u88dx#d^K)*|1NjPjx9 zqqp`>Z_J!?`pTrm2|k1iA3v p{p)93_>$5V&2@0%NM!!ayr`@oMdsiV5n#Gt@O1TaS?83{1ON_;D|7$= diff --git a/docs/html/classarduino_1_1_s_p_s_c_queue-members.html b/docs/html/classarduino_1_1_s_p_s_c_queue-members.html deleted file mode 100644 index 2e8f220..0000000 --- a/docs/html/classarduino_1_1_s_p_s_c_queue-members.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::SPSCQueue< T > Member List
-
-
- -

This is the complete list of members for arduino::SPSCQueue< T >, including all inherited members.

- - - - - - - -
empty() (defined in arduino::SPSCQueue< T >)arduino::SPSCQueue< T >inline
operator bool() const (defined in arduino::SPSCQueue< T >)arduino::SPSCQueue< T >inline
pop(bool peek=false) (defined in arduino::SPSCQueue< T >)arduino::SPSCQueue< T >inline
push(T data) (defined in arduino::SPSCQueue< T >)arduino::SPSCQueue< T >inline
reset() (defined in arduino::SPSCQueue< T >)arduino::SPSCQueue< T >inline
SPSCQueue(size_t size=0) (defined in arduino::SPSCQueue< T >)arduino::SPSCQueue< T >inline
- - - - diff --git a/docs/html/classarduino_1_1_s_p_s_c_queue.html b/docs/html/classarduino_1_1_s_p_s_c_queue.html deleted file mode 100644 index a7babdd..0000000 --- a/docs/html/classarduino_1_1_s_p_s_c_queue.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -arduino-emulator: arduino::SPSCQueue< T > Class Template Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::SPSCQueue< T > Class Template Reference
-
-
- - - - - - - - - - - - - - -

-Public Member Functions

SPSCQueue (size_t size=0)
 
-size_t empty ()
 
operator bool () const
 
-T pop (bool peek=false)
 
-bool push (T data)
 
-void reset ()
 
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_serial_impl-members.html b/docs/html/classarduino_1_1_serial_impl-members.html deleted file mode 100644 index 0f87f8a..0000000 --- a/docs/html/classarduino_1_1_serial_impl-members.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::SerialImpl Member List
-
-
- -

This is the complete list of members for arduino::SerialImpl, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
available(void) (defined in arduino::SerialImpl)arduino::SerialImplinlinevirtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
begin(unsigned long baudrate) (defined in arduino::SerialImpl)arduino::SerialImplinlinevirtual
begin(unsigned long baudrate, uint16_t config) (defined in arduino::SerialImpl)arduino::SerialImplinlinevirtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
device (defined in arduino::SerialImpl)arduino::SerialImplprotected
end() (defined in arduino::SerialImpl)arduino::SerialImplinlinevirtual
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush(void) (defined in arduino::SerialImpl)arduino::SerialImplinlinevirtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
is_open (defined in arduino::SerialImpl)arduino::SerialImplprotected
open(unsigned long baudrate) (defined in arduino::SerialImpl)arduino::SerialImplinlineprotectedvirtual
operator bool() (defined in arduino::SerialImpl)arduino::SerialImplinlinevirtual
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
peek(void) (defined in arduino::SerialImpl)arduino::SerialImplinlinevirtual
peek_char (defined in arduino::SerialImpl)arduino::SerialImplprotected
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
Print() (defined in arduino::Print)arduino::Printinline
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
read(void) (defined in arduino::SerialImpl)arduino::SerialImplinlinevirtual
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytes(uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
serial (defined in arduino::SerialImpl)arduino::SerialImplprotected
SerialImpl(const char *device="/dev/ttyACM0") (defined in arduino::SerialImpl)arduino::SerialImplinline
setTimeout(unsigned long timeout) (defined in arduino::SerialImpl)arduino::SerialImplinline
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
timeout (defined in arduino::SerialImpl)arduino::SerialImplprotected
write(uint8_t c) (defined in arduino::SerialImpl)arduino::SerialImplinlinevirtual
write(const char *str) (defined in arduino::HardwareSerial)arduino::HardwareSerialinline
write(const uint8_t *buffer, size_t size) (defined in arduino::HardwareSerial)arduino::HardwareSerialvirtual
write(const char *buffer, size_t size) (defined in arduino::HardwareSerial)arduino::HardwareSerialinline
- - - - diff --git a/docs/html/classarduino_1_1_serial_impl.html b/docs/html/classarduino_1_1_serial_impl.html deleted file mode 100644 index 53259b2..0000000 --- a/docs/html/classarduino_1_1_serial_impl.html +++ /dev/null @@ -1,615 +0,0 @@ - - - - - - - -arduino-emulator: arduino::SerialImpl Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
- -
- -

#include <Serial.h>

-
-Inheritance diagram for arduino::SerialImpl:
-
-
- - -arduino::HardwareSerial -arduino::Stream -arduino::Print - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

SerialImpl (const char *device="/dev/ttyACM0")
 
virtual int available (void)
 
virtual void begin (unsigned long baudrate)
 
virtual void begin (unsigned long baudrate, uint16_t config)
 
virtual void end ()
 
virtual void flush (void)
 
virtual operator bool ()
 
virtual int peek (void)
 
virtual int read (void)
 
-void setTimeout (unsigned long timeout)
 
virtual size_t write (uint8_t c)
 
- Public Member Functions inherited from arduino::HardwareSerial
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
virtual size_t write (const uint8_t *buffer, size_t size)
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
- - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

-virtual void open (unsigned long baudrate)
 
- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
- - - - - - - - - - - - - - - - -

-Protected Attributes

-const chardevice
 
-bool is_open = false
 
-int peek_char = -1
 
-serialib serial
 
-long timeout = 1000
 
- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
-

Detailed Description

-

Arduino Stream implementation which is using serialib https://github.com/imabot2/serialib

-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::SerialImpl::available (void )
-
-inlinevirtual
-
- -

Implements arduino::HardwareSerial.

- -
-
- -

◆ begin() [1/2]

- -
-
- - - - - -
- - - - - - - - -
virtual void arduino::SerialImpl::begin (unsigned long baudrate)
-
-inlinevirtual
-
- -

Implements arduino::HardwareSerial.

- -
-
- -

◆ begin() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void arduino::SerialImpl::begin (unsigned long baudrate,
uint16_t config 
)
-
-inlinevirtual
-
- -

Implements arduino::HardwareSerial.

- -
-
- -

◆ end()

- -
-
- - - - - -
- - - - - - - -
virtual void arduino::SerialImpl::end ()
-
-inlinevirtual
-
- -

Implements arduino::HardwareSerial.

- -
-
- -

◆ flush()

- -
-
- - - - - -
- - - - - - - - -
virtual void arduino::SerialImpl::flush (void )
-
-inlinevirtual
-
- -

Implements arduino::HardwareSerial.

- -
-
- -

◆ operator bool()

- -
-
- - - - - -
- - - - - - - -
virtual arduino::SerialImpl::operator bool ()
-
-inlinevirtual
-
- -

Implements arduino::HardwareSerial.

- -
-
- -

◆ peek()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::SerialImpl::peek (void )
-
-inlinevirtual
-
- -

Implements arduino::HardwareSerial.

- -
-
- -

◆ read()

- -
-
- - - - - -
- - - - - - - - -
virtual int arduino::SerialImpl::read (void )
-
-inlinevirtual
-
- -

Implements arduino::HardwareSerial.

- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - -
virtual size_t arduino::SerialImpl::write (uint8_t c)
-
-inlinevirtual
-
- -

Implements arduino::HardwareSerial.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • ArduinoCore-Linux/cores/arduino/Serial.h
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_serial_impl.png b/docs/html/classarduino_1_1_serial_impl.png deleted file mode 100644 index 2d4ddd26c8d499cf6aca8aa560cde9e48c3498be..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1155 zcmeAS@N?(olHy`uVBq!ia0vp^(}4H@2Q!eo$dP3Qq@)9ULR|m<{|{uoc=NTi|Il&^ z1I+@7>1SRXIB)1-2JIo*V8I7^TVB2d24guWWKAYnzKH8+R~h z*A=#La!~j=rMg7H)lt6pHMiVO%(vY-ZAp2}rjGfUvTUENqdYG)GH#t`erEs0sB-~# zPo7S;p77S@P5K9)*Y_rCc>Y&jsOlL9bBJWP_VYRI%n$VB7#{$@LjgldpEf zHD?|5WceT*#SrJjeZV_|v4T^VL4P6Z1Jx}Ids@UAre9$CAcTypE zBo%#-4R+VP)cq&znzZbGca~?>asMqUFI$!#Ecuzbw)9Q#G|Q`1Yb%#u-&(Zy>%G&< zbys8uTTfWxeJ^|J*NDwiqAzNdoh|;mga6fS9p%dBPos~l+IGI+&jsHNOG*~-?{Zvy z`(WJKyT>i}-Fbi6YZBj{Yp=HdsarPXN|#FPr;XR@x+}N#CGSiZ%=W*Xw>ExP>#IrA zT~|APy>{I5lIX|t?vNPZ)b;!%6gBBd>ZMbb&mS`E=w?4q(X;Yv1PK6U*aX8%{^>r>5{ z&fb&!euQPO+?Vrt$<|)Qv!<6H*Tl}&O^R=1Z+5kM?PXCbo^LvDssy7$EMkYT6 ztrpzNcC~9V#{+e&sRA>oKCy2J^2)UFNK0ER7?qY5=XCnaneO=2TX%QO@SiaAYpQsO zQ2EWP;y@{N9bUcYyUVur+UnY_yMF8MmtA3HpM&S`I-r_VxwdfW>`zzEyy?tdD`eWf zK51{*$xENs%KJ0@Hv9bHl!d<9g^eAi&e5&O>tfHBvQ?EusmsooDO0~kuiMI144 zlW#7pSw8j5n*-TvH$6SwzInmzt>2>G%)NFs;+OBYze?9meBCH}BCm1RlcyZhCf~SK zQn-8ZpU?ZF)6%|wRLjno8L8czHFM@(g)L{!0CV%qnbSSBmriMWZ2#cIj=w_EHs!$L Og2B_(&t;ucLK6T - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::Server Member List
-
-
- -

This is the complete list of members for arduino::Server, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
begin()=0 (defined in arduino::Server)arduino::Serverpure virtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
flush() (defined in arduino::Print)arduino::Printinlinevirtual
getWriteError() (defined in arduino::Print)arduino::Printinline
Print() (defined in arduino::Print)arduino::Printinline
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
write(uint8_t)=0 (defined in arduino::Print)arduino::Printpure virtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const uint8_t *buffer, size_t size) (defined in arduino::Print)arduino::Printvirtual
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
- - - - diff --git a/docs/html/classarduino_1_1_server.html b/docs/html/classarduino_1_1_server.html deleted file mode 100644 index bdf1ef1..0000000 --- a/docs/html/classarduino_1_1_server.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - - -arduino-emulator: arduino::Server Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::Server Class Referenceabstract
-
-
-
-Inheritance diagram for arduino::Server:
-
-
- - -arduino::Print -arduino::EthernetServer - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

-virtual void begin ()=0
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-virtual void flush ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
-virtual size_t write (const uint8_t *buffer, size_t size)
 
-virtual size_t write (uint8_t)=0
 
- - - - -

-Additional Inherited Members

- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_server.png b/docs/html/classarduino_1_1_server.png deleted file mode 100644 index 8d9bf4d46d27c288dfc3e757119e244cc4fc26fc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 877 zcmeAS@N?(olHy`uVBq!ia0vp^lYzK{gBeI((bB93QqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCG95?_J51w>+1yGK&B*-tA0mugfbEer>7#Ns-c)B=-R4~4s`!esb0S}w| z{Dy}2|Bpz=Th&bQdwo}wi)~)WM2$?Ht{3q|=PC_OOfnI9sN!h{!uLzO)O9_-dR~5B zwq?n)pBpEu%r#(_Su9r?b>GT&^}gAczi&GFXHE0hlvS5SqLXfMcv?MQc3EqKPRzd? zzuB{<%zB=4?D9_SxYYM)|9_>I&*!^1>5HlSlXu3;@6P_ix?Cmmc!u9`?@#h`o^@%4 zm*-vkw3_w8{JS$RH)mmR|LVNiWHsIWzWw<<+NR-S;wsS5NYOUYI1j z-F3#yxkc*bscZ9IK92j^az;lsvwqgh*h2O4`BrPwBh>R=X74_8MsLU5-Mjs6%igz& zT0Xn<)575TwKmJG0#!y7+nP(K z9AkPQ8OP9UxZv_@(|K1K{PLGRT;f*JwTpR&GhzROg6L1t@;SwIE#c=Z?U^DcwJFU} zIjIiB&o61t-J)_;{p|e8A4-ejb2_J~^h^6qDmf%pa5=MYr+VnzYu7zKGo3DveEYXp zGAFJy*Ee?e!<~!YMkV$AUL#!+z1^?0X5)*wS$$rsZI|a&{M{0@bhG68o;g>}Cmxf!e>L{=-Lj+q r#XNU8TX;_LhvM_MHJ{Hp{)qoZ`OM|j;t!_-GX{gFtDnm{r-UW|@9DLo diff --git a/docs/html/classarduino_1_1_socket_impl-members.html b/docs/html/classarduino_1_1_socket_impl-members.html deleted file mode 100644 index 129e5ed..0000000 --- a/docs/html/classarduino_1_1_socket_impl-members.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::SocketImpl Member List
-
-
- -

This is the complete list of members for arduino::SocketImpl, including all inherited members.

- - - - - - - - - - - - - - - - - - - - -
available() (defined in arduino::SocketImpl)arduino::SocketImplvirtual
close() (defined in arduino::SocketImpl)arduino::SocketImplvirtual
connect(const char *address, uint16_t port) (defined in arduino::SocketImpl)arduino::SocketImplvirtual
connected() (defined in arduino::SocketImpl)arduino::SocketImplvirtual
fd() (defined in arduino::SocketImpl)arduino::SocketImplinline
getIPAddress() (defined in arduino::SocketImpl)arduino::SocketImpl
getIPAddress(const char *validEntries[]) (defined in arduino::SocketImpl)arduino::SocketImpl
is_connected (defined in arduino::SocketImpl)arduino::SocketImplprotected
peek() (defined in arduino::SocketImpl)arduino::SocketImplvirtual
read(uint8_t *buffer, size_t len) (defined in arduino::SocketImpl)arduino::SocketImplvirtual
serv_addr (defined in arduino::SocketImpl)arduino::SocketImplprotected
setCACert(const char *cert) (defined in arduino::SocketImpl)arduino::SocketImplinlinevirtual
setInsecure() (defined in arduino::SocketImpl)arduino::SocketImplinlinevirtual
sock (defined in arduino::SocketImpl)arduino::SocketImplprotected
SocketImpl()=default (defined in arduino::SocketImpl)arduino::SocketImpl
SocketImpl(int socket) (defined in arduino::SocketImpl)arduino::SocketImplinline
SocketImpl(int socket, struct sockaddr_in *address) (defined in arduino::SocketImpl)arduino::SocketImplinline
valread (defined in arduino::SocketImpl)arduino::SocketImplprotected
write(const uint8_t *str, size_t len) (defined in arduino::SocketImpl)arduino::SocketImplvirtual
- - - - diff --git a/docs/html/classarduino_1_1_socket_impl.html b/docs/html/classarduino_1_1_socket_impl.html deleted file mode 100644 index 56c1a27..0000000 --- a/docs/html/classarduino_1_1_socket_impl.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - -arduino-emulator: arduino::SocketImpl Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::SocketImpl Class Reference
-
-
-
-Inheritance diagram for arduino::SocketImpl:
-
-
- - -arduino::SocketImplSecure - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

SocketImpl (int socket)
 
SocketImpl (int socket, struct sockaddr_in *address)
 
-virtual size_t available ()
 
-virtual void close ()
 
-virtual int connect (const char *address, uint16_t port)
 
-virtual uint8_t connected ()
 
-int fd ()
 
-const chargetIPAddress ()
 
-const chargetIPAddress (const char *validEntries[])
 
-virtual int peek ()
 
-virtual size_t read (uint8_t *buffer, size_t len)
 
-virtual void setCACert (const char *cert)
 
-virtual void setInsecure ()
 
-virtual size_t write (const uint8_t *str, size_t len)
 
- - - - - - - - - -

-Protected Attributes

-bool is_connected = false
 
-struct sockaddr_in serv_addr
 
-int sock = -1
 
-int valread
 
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-Linux/cores/arduino/SocketImpl.h
  • -
  • ArduinoCore-Linux/cores/arduino/SocketImpl.cpp
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_socket_impl.png b/docs/html/classarduino_1_1_socket_impl.png deleted file mode 100644 index 9cf11f45b24f0757b4b067483b621157dd5e8bc5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 719 zcmeAS@N?(olHy`uVBq!ia0vp^i-0(QgBeJ!EsL`TQqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCG95?_J51w>+1yGK&B*-tA0mugfbEer>7#NtMJY5_^Dj46+eZ6V1fS1{EOpoJ2PQRq3ICLqPMN2x;#swcDR9yrE*H;Fue6Vd{W@nN z@8BtA^2LYua1Gl>XBSVSEi5vN{%Jj$HhBxrp19XK!Ns*Vp02$o`Z!4R_MI8}t9SN< zI;otzqM2lO?TbZ02=eg-i;lkY)c^7?K^E97l-5upchFvO= zzjj=>uOuaW-8ElxH?N`Rt(P(zmt?o!U{}oyf9E2z{fVm!vzq7HitkCb^{yzJS}VCZMU@I$nN;X$YZQ$u(o2SXgI5<>-kfxpu`ET7k` zjsp_QCwP83$>lQXisSueaabeSLRQ%&Mf>(w|dJr*Hfva5?(Xua#O!wfh`~}H)qPX5aov*m%QsU&&g}0? zC-d*qdM;gFT5qxSuc7?6lh@FzGRPy85}Sb4q9e062 - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::SocketImplSecure Member List
-
-
- -

This is the complete list of members for arduino::SocketImplSecure, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - -
available() (defined in arduino::SocketImpl)arduino::SocketImplvirtual
close() (defined in arduino::SocketImpl)arduino::SocketImplvirtual
connect(const char *address, uint16_t port) override (defined in arduino::SocketImplSecure)arduino::SocketImplSecureinlinevirtual
connected() (defined in arduino::SocketImpl)arduino::SocketImplvirtual
fd() (defined in arduino::SocketImpl)arduino::SocketImplinline
getIPAddress() (defined in arduino::SocketImpl)arduino::SocketImpl
getIPAddress(const char *validEntries[]) (defined in arduino::SocketImpl)arduino::SocketImpl
is_connected (defined in arduino::SocketImpl)arduino::SocketImplprotected
is_insecure (defined in arduino::SocketImplSecure)arduino::SocketImplSecureprotected
peek() (defined in arduino::SocketImpl)arduino::SocketImplvirtual
read(uint8_t *buffer, size_t len) (defined in arduino::SocketImplSecure)arduino::SocketImplSecureinlinevirtual
serv_addr (defined in arduino::SocketImpl)arduino::SocketImplprotected
setCACert(const char *cert) override (defined in arduino::SocketImplSecure)arduino::SocketImplSecureinlinevirtual
setInsecure() (defined in arduino::SocketImplSecure)arduino::SocketImplSecureinlinevirtual
sock (defined in arduino::SocketImpl)arduino::SocketImplprotected
SocketImpl()=default (defined in arduino::SocketImpl)arduino::SocketImpl
SocketImpl(int socket) (defined in arduino::SocketImpl)arduino::SocketImplinline
SocketImpl(int socket, struct sockaddr_in *address) (defined in arduino::SocketImpl)arduino::SocketImplinline
SocketImplSecure() (defined in arduino::SocketImplSecure)arduino::SocketImplSecureinline
ssl (defined in arduino::SocketImplSecure)arduino::SocketImplSecureprotected
valread (defined in arduino::SocketImpl)arduino::SocketImplprotected
write(const uint8_t *str, size_t len) (defined in arduino::SocketImplSecure)arduino::SocketImplSecureinlinevirtual
~SocketImplSecure() (defined in arduino::SocketImplSecure)arduino::SocketImplSecureinline
- - - - diff --git a/docs/html/classarduino_1_1_socket_impl_secure.html b/docs/html/classarduino_1_1_socket_impl_secure.html deleted file mode 100644 index 879aedc..0000000 --- a/docs/html/classarduino_1_1_socket_impl_secure.html +++ /dev/null @@ -1,342 +0,0 @@ - - - - - - - -arduino-emulator: arduino::SocketImplSecure Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::SocketImplSecure Class Reference
-
-
- -

SSL Socket using wolf ssl. For error codes see https://wolfssl.jp/docs-3/wolfssl-manual/appendix-c. - More...

- -

#include <NetworkClientSecure.h>

-
-Inheritance diagram for arduino::SocketImplSecure:
-
-
- - -arduino::SocketImpl - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

int connect (const char *address, uint16_t port) override
 
size_t read (uint8_t *buffer, size_t len)
 
void setCACert (const char *cert) override
 
void setInsecure ()
 
size_t write (const uint8_t *str, size_t len)
 
- Public Member Functions inherited from arduino::SocketImpl
SocketImpl (int socket)
 
SocketImpl (int socket, struct sockaddr_in *address)
 
-virtual size_t available ()
 
-virtual void close ()
 
-virtual uint8_t connected ()
 
-int fd ()
 
-const chargetIPAddress ()
 
-const chargetIPAddress (const char *validEntries[])
 
-virtual int peek ()
 
- - - - - - - - - - - - - - -

-Protected Attributes

-bool is_insecure = false
 
-WOLFSSLssl = nullptr
 
- Protected Attributes inherited from arduino::SocketImpl
-bool is_connected = false
 
-struct sockaddr_in serv_addr
 
-int sock = -1
 
-int valread
 
-

Detailed Description

-

SSL Socket using wolf ssl. For error codes see https://wolfssl.jp/docs-3/wolfssl-manual/appendix-c.

-

Member Function Documentation

- -

◆ connect()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int arduino::SocketImplSecure::connect (const charaddress,
uint16_t port 
)
-
-inlineoverridevirtual
-
- -

Reimplemented from arduino::SocketImpl.

- -
-
- -

◆ read()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
size_t arduino::SocketImplSecure::read (uint8_tbuffer,
size_t len 
)
-
-inlinevirtual
-
- -

Reimplemented from arduino::SocketImpl.

- -
-
- -

◆ setCACert()

- -
-
- - - - - -
- - - - - - - - -
void arduino::SocketImplSecure::setCACert (const charcert)
-
-inlineoverridevirtual
-
- -

Reimplemented from arduino::SocketImpl.

- -
-
- -

◆ setInsecure()

- -
-
- - - - - -
- - - - - - - -
void arduino::SocketImplSecure::setInsecure ()
-
-inlinevirtual
-
- -

Reimplemented from arduino::SocketImpl.

- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
size_t arduino::SocketImplSecure::write (const uint8_tstr,
size_t len 
)
-
-inlinevirtual
-
- -

Reimplemented from arduino::SocketImpl.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_socket_impl_secure.png b/docs/html/classarduino_1_1_socket_impl_secure.png deleted file mode 100644 index fb286fd40967ccb8d8333a26e561ac699d093546..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 712 zcmeAS@N?(olHy`uVBq!ia0vp^i-0(QgBeJ!EsL`TQqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCG95?_J51w>+1yGK&B*-tA0mugfbEer>7#Ns>JzX3_Dj46+eZ6k60Z)s1 zbI94>_8*H*ir%>-R~~K|70xqZLg7A(>Hm&y(m8$Skkce%Z2`|qs~uE4*V{Sy9Fsoz z&g*r*3Olc9_CW*t?&m;p=jvwf)%&|<6i@ng;P~Eeo5cG2WAD9+HhkBgberq;TZ8El zOF2DfRdq(3sebcIqoZ|;q5Rad5%Q)1>F3s*^`0~>PkmQ+p1{_8-TLImr)-s^0zEEW zdh1f(l~EF-zIW-H?2gVSp6dm@clmYHE_Ru>E?=q7`;)H=v)aVBpVl4S^}p}sDe0sa zpEhOx&b3=JIp)Qmw=q9%?ev%wf9-9cbcagi;`j!SN#HiY1f4f~1p}zCN&)YjcT#4Q-%imxB^Zlp8^OypIcGod3Qu*u9sNoq0^6XZnWm7I) b`Ndp#uC@HZ|9L6EG{@lS>gTe~DWM4f(+^GH diff --git a/docs/html/classarduino_1_1_stdio_device-members.html b/docs/html/classarduino_1_1_stdio_device-members.html deleted file mode 100644 index 161a16e..0000000 --- a/docs/html/classarduino_1_1_stdio_device-members.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::StdioDevice Member List
-
-
- -

This is the complete list of members for arduino::StdioDevice, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
auto_flush (defined in arduino::StdioDevice)arduino::StdioDeviceprotected
available() override (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
begin(int speed) (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush() override (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
operator bool() const (defined in arduino::StdioDevice)arduino::StdioDeviceinline
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
peek() override (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
Print() (defined in arduino::Print)arduino::Printinline
print(const char *str) (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
print(int val, int radix=DEC) (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
print(String &str) (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
print(Printable &p) (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
println(const char *str="") (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
println(int val, int radix=DEC) (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
println(String &str) (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
println(Printable &p) (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
read() override (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytes(uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
StdioDevice(bool autoFlush=true) (defined in arduino::StdioDevice)arduino::StdioDeviceinline
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
write(const char *str, size_t len) (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
write(uint8_t *str, size_t len) (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
write(const uint8_t *str, size_t len) override (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
write(int32_t value) (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
write(uint8_t value) override (defined in arduino::StdioDevice)arduino::StdioDeviceinlinevirtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
~StdioDevice() (defined in arduino::StdioDevice)arduino::StdioDeviceinline
- - - - diff --git a/docs/html/classarduino_1_1_stdio_device.html b/docs/html/classarduino_1_1_stdio_device.html deleted file mode 100644 index 656fb73..0000000 --- a/docs/html/classarduino_1_1_stdio_device.html +++ /dev/null @@ -1,548 +0,0 @@ - - - - - - - -arduino-emulator: arduino::StdioDevice Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::StdioDevice Class Reference
-
-
- -

Provides a Stream interface for standard input/output operations outside the Arduino environment. - More...

- -

#include <StdioDevice.h>

-
-Inheritance diagram for arduino::StdioDevice:
-
-
- - -arduino::Stream -arduino::Print - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

StdioDevice (bool autoFlush=true)
 
int available () override
 
-virtual void begin (int speed)
 
void flush () override
 
operator bool () const
 
int peek () override
 
-virtual size_t print (const char *str)
 
-virtual size_t print (int val, int radix=DEC)
 
-virtual size_t print (Printable &p)
 
-virtual size_t print (String &str)
 
-virtual size_t println (const char *str="")
 
-virtual size_t println (int val, int radix=DEC)
 
-virtual size_t println (Printable &p)
 
-virtual size_t println (String &str)
 
int read () override
 
-virtual size_t write (const char *str, size_t len)
 
size_t write (const uint8_t *str, size_t len) override
 
-virtual size_t write (int32_t value)
 
-virtual size_t write (uint8_t *str, size_t len)
 
size_t write (uint8_t value) override
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
- - - - - - - - -

-Protected Attributes

-bool auto_flush = true
 
- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
- - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
-

Detailed Description

-

Provides a Stream interface for standard input/output operations outside the Arduino environment.

-

This class implements the Arduino Stream interface using standard C++ streams (std::cout and std::cin), allowing code that expects Arduino Serial-like objects to work in non-Arduino environments. It supports printing, reading, and flushing, and can be used to provide Serial, Serial1, and Serial2 objects for desktop or emulated environments. The class supports auto-flushing after each print/write operation.

-

Key features:

    -
  • Implements print, println, and write methods for various data types.
  • -
  • Supports auto-flush to ensure output is immediately visible.
  • -
  • Provides input methods compatible with Arduino's Stream interface.
  • -
  • Can be used as a drop-in replacement for Serial in non-Arduino builds.
  • -
  • Designed for use in emulators or desktop testing of Arduino code.
  • -
-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - -
- - - - - - - - -
int arduino::StdioDevice::available (void )
-
-inlineoverridevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ flush()

- -
-
- - - - - -
- - - - - - - - -
void arduino::StdioDevice::flush (void )
-
-inlineoverridevirtual
-
- -

Reimplemented from arduino::Print.

- -
-
- -

◆ peek()

- -
-
- - - - - -
- - - - - - - - -
int arduino::StdioDevice::peek (void )
-
-inlineoverridevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ read()

- -
-
- - - - - -
- - - - - - - - -
int arduino::StdioDevice::read (void )
-
-inlineoverridevirtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ write() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
size_t arduino::StdioDevice::write (const uint8_tstr,
size_t len 
)
-
-inlineoverridevirtual
-
- -

Reimplemented from arduino::Print.

- -
-
- -

◆ write() [2/2]

- -
-
- - - - - -
- - - - - - - - -
size_t arduino::StdioDevice::write (uint8_t value)
-
-inlineoverridevirtual
-
- -

Implements arduino::Print.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_stdio_device.png b/docs/html/classarduino_1_1_stdio_device.png deleted file mode 100644 index d5fbf8c8b6edff516d13fecfc148a1cf783b491b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 733 zcmV<30wVp1P)vTJr#LVva2S`&=)l0h|Ns9}lGCUF000SeQchC<|NsC0|NsC0Hv*f~0007L zNkl48_YKF}(j1Ulk|?(b4s8I@z2FM-=+!2bB3NF~;aBi2&dz5|H3I zL72P&Xf15N+t#lL0AQls;Ar)NpsXltG1k}ZnFH>vOtw`wg3VTKtOWpcx+W;;av1F@ zK?MPVX)}*^r=S#?$z*HYPzMKV0GR6YDLf+>xL*?l0E2u9j)(i}1bY>0f$gvDO0+WV z_hm-#O2ml6M6WB`Z*N=eK0ASEPg1#K?5{%f7PeGkZ5$TB8X_Ke! zx;klR{Q#gB|CLEV0umU47-RI5h{!7~A|kGGCs-D51b2cJz!|}xfOmleBp?9^NFXAn zk$?mwAOQ(T@Ye`J2*FhnQcB5DBp|^hK^s0p-0HYZubpuzb15a;rjc$Cq?FP`yFts_ z+1I(0Qu?GuP^iNmH9s}Q`k5!q%4+6q$k>~G>AyPz6G;iwu;lCsDo8`hgXb0|=fSaM z8&ARDe)22pzc4%}Fj>Y^cuH`bJ`iZsZpN1C@f7Y7m`c3f1Ff!k-JTKjkWxx6A^{0V@I?e6gy5-v_>Y7{s^%?u P00000NkvXXu0mjf%Mw3x diff --git a/docs/html/classarduino_1_1_stream-members.html b/docs/html/classarduino_1_1_stream-members.html deleted file mode 100644 index 918a76c..0000000 --- a/docs/html/classarduino_1_1_stream-members.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::Stream Member List
-
-
- -

This is the complete list of members for arduino::Stream, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
available()=0 (defined in arduino::Stream)arduino::Streampure virtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush() (defined in arduino::Print)arduino::Printinlinevirtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
peek()=0 (defined in arduino::Stream)arduino::Streampure virtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
Print() (defined in arduino::Print)arduino::Printinline
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
read()=0 (defined in arduino::Stream)arduino::Streampure virtual
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytes(uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
write(uint8_t)=0 (defined in arduino::Print)arduino::Printpure virtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const uint8_t *buffer, size_t size) (defined in arduino::Print)arduino::Printvirtual
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
- - - - diff --git a/docs/html/classarduino_1_1_stream.html b/docs/html/classarduino_1_1_stream.html deleted file mode 100644 index 2c2db95..0000000 --- a/docs/html/classarduino_1_1_stream.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - - - -arduino-emulator: arduino::Stream Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::Stream Class Referenceabstract
-
-
-
-Inheritance diagram for arduino::Stream:
-
-
- - -arduino::Print -StreamMock -arduino::Client -arduino::FileStream -arduino::HardwareI2C -arduino::HardwareSerial -arduino::RemoteSerialClass -arduino::StdioDevice -arduino::UDP - -
- - - - -

-Classes

struct  MultiTarget
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

-virtual int available ()=0
 
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-virtual int peek ()=0
 
-virtual int read ()=0
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-virtual void flush ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
-virtual size_t write (const uint8_t *buffer, size_t size)
 
-virtual size_t write (uint8_t)=0
 
- - - - - - - - - - - - - - - - -

-Protected Member Functions

-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
- - - - - -

-Protected Attributes

-unsigned long _startMillis
 
-unsigned long _timeout
 
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-API/api/Stream.h
  • -
  • ArduinoCore-API/api/Stream.cpp
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_stream.png b/docs/html/classarduino_1_1_stream.png deleted file mode 100644 index 4c752fe20dfa067637c8160b5cf5e2f03c23d6a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3844 zcmdT{YgAKL8Vy)W)d5=9a%jt|owlOor9}im65A?5twezU0RkdKikg5x2(KidRcaZa z+JTI`V%0%O0^uFV3lud%3^-yEBqWHGSFTBTg^&coTr73zOsBubt~K}1KKIa{P%tyoNl6&0m)Y) zukIVZdAa+kk&&Kddh-Z=hS(?fjsO0`dpCnCog{jJXWWN_)ut05_+v4KDfqlPfLU8?w_uh-gb1{!)f@R!=F00afpz1YD{U>q{tE2 zaWII}5YV^d&PzjsjaZse1RZWVy*xa#<6s}&uveT=T2;~GVH4f$b+B))PSEfDX~hi} zM!s}fIrYN+>d)SxuD03H5Z$0tNXUeTAnYroi5!v&!%ga z^BXEdr;txs15WWF(Q}*Ri~oqW3r_>as}f3$;w)EW-;RUJuEn_0s;yDT>j|Y#e`hFn zjk7%$ldgk6xoh^U@e2vbNzMBbWpZmJ8;6@~A&fXZ&K!jT2N z$+avOnu7LfooLt5JEzB+f(V1zIst~15uiC>-;sH27jLmZlf1-oq$wz@hVr~;N%PzX z!q|mRdB?cyk?{t~_H|AitAVqMliBiGp5v%UH9n$oE1{#YC}zJtfX1PQOjr8hrm#}9^5e^yLw3MjY;2ncGp#F-o2Yx(dz*

wa zeaHxn=+zw>wuocK{ZNVE=_W4;oGmGbxxkl5gw|`QK0aKm>}ThcUvpt>SS{+}GBw9S z)`ulf6!uvs#I)gk=*L2OW32@ZBlL=9vv26ha^l9YZ$e|IRNq`}kJHD|nr5_eQ5!5g9JC zw>7mIsn8}F8nWb@*dAAHG;~wnXV9tB-PBU76YY3wJ)JsSNCo92Ezp^EyrEG6mM|Eq z4h*$;(-XJXBNzWgg043dj(GBjkjY8`Rj(*UxJMxoBdfsO1=OWnleY{nrtmndk!00B z-KeC=*f0b>JOW$P@_-7PkcGK+K6@)Uu#Mxgm(L{UlVx|4d8d57VstJn`qRwFa0KB& zS$)rzS#72u)6n3$KSHb-k;21a=|=71V~x2(?ww=#r$|TLnZy|GEjd%Wd}wLFI=~bb zD=QQOBS1n7rafF{goRn=bq*&~LysR)>)!z+pPcXxwB=x^mYI?^+@&}14kB26PaK|J zv>7d8aECumI@9LlB)BBP>xtPeWb!8@Ze&e>{SfIdG{uJC-;(kb-nRdMv*AyVuJO|b zhvf9qUz1+^rUw14h}6Es9ja^vg=bWItXupm&S%~3I8-#-W(fN8P~$2O9$uDf4vIhL z0-xPfMM}S>+PgD*4hW6cK)E+uV8cEigdVlmR&36dKEk6;j=9m)(-p$(d1KdFObX^g zdq6j{3n@FPZi=hs`Mt2zgB~Ra_rb6bQPO@<1J&2N8hm|>)L1>Q&TOzcK^4CQN_rI1 zEl*%=rh^oT+tT8mDV>StL~xah=dv6R6OR~Ql{P+$?zSDN5M@kkrGMB2@(3MerOue z0AJ+@4FhsyGjLgsyX1!l@tx?%*za8-YU`^%>bkFjS^V)I6TrDGbZ-=&KcM=&qIlYsY!<8 ziwgfI@pNXQ60;~Pn3i6v&twym@EcnTrX1j=prlPTrR`T}!$P-M`T{+tn+%iqA3J1# z_5B(_aGQ6vs?mZa=Na901}T?P0B<=K>qF3C^L3ooL02d~_N4k}Wdw(=5E!xZo+=4` zu*X>D4|#&DDRB}>=+6yj)puS7;)ej(cni#aP*u|*6yzU8s1@e=6t5_(22|L{5K-ta zmiX(|)CI`AijQ#3=6s5DbOfuprzvI0?FbiHkD;f*%*~p6+!rp*x{H<{c-KeqB}r8* zjth3ha%kH$RM7=blm?-B89Y!n=Svqvlg`lnI;+wD zhHqgl|{8gWG%Zs|P0hMfSj;%IdNm?-TX6gMhMdGu3)tFvu7Z{9Pj z3Bh@o&_vw=66%W=g!;GJ#EWZ0DjdCb;r?$L#A}*VSJOv43mNu%SmO;;UgoPiwC8(0 zv#Dk(v-Jy~l@ojTv$+Zn!;uhC#h=AGVe)0YP)@Sp0d{Z5u51f*wLqFqyUQr za!Rm$9k%wy%1S - - - - - - -arduino-emulator: Member List - - - - - - - - - -

-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::String Member List
-
-
- -

This is the complete list of members for arduino::String, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
begin() (defined in arduino::String)arduino::Stringinline
begin() const (defined in arduino::String)arduino::Stringinline
buffer (defined in arduino::String)arduino::Stringprotected
c_str() const (defined in arduino::String)arduino::Stringinline
capacity (defined in arduino::String)arduino::Stringprotected
changeBuffer(unsigned int maxStrLen) (defined in arduino::String)arduino::Stringprotected
charAt(unsigned int index) const (defined in arduino::String)arduino::String
compareTo(const String &s) const (defined in arduino::String)arduino::String
compareTo(const char *cstr) const (defined in arduino::String)arduino::String
concat(const String &str) (defined in arduino::String)arduino::String
concat(const char *cstr) (defined in arduino::String)arduino::String
concat(const char *cstr, unsigned int length) (defined in arduino::String)arduino::String
concat(const uint8_t *cstr, unsigned int length) (defined in arduino::String)arduino::Stringinline
concat(char c) (defined in arduino::String)arduino::String
concat(unsigned char num) (defined in arduino::String)arduino::String
concat(int num) (defined in arduino::String)arduino::String
concat(unsigned int num) (defined in arduino::String)arduino::String
concat(long num) (defined in arduino::String)arduino::String
concat(unsigned long num) (defined in arduino::String)arduino::String
concat(float num) (defined in arduino::String)arduino::String
concat(double num) (defined in arduino::String)arduino::String
concat(const __FlashStringHelper *str) (defined in arduino::String)arduino::String
copy(const char *cstr, unsigned int length) (defined in arduino::String)arduino::Stringprotected
copy(const __FlashStringHelper *pstr, unsigned int length) (defined in arduino::String)arduino::Stringprotected
end() (defined in arduino::String)arduino::Stringinline
end() const (defined in arduino::String)arduino::Stringinline
endsWith(const String &suffix) const (defined in arduino::String)arduino::String
equals(const String &s) const (defined in arduino::String)arduino::String
equals(const char *cstr) const (defined in arduino::String)arduino::String
equalsIgnoreCase(const String &s) const (defined in arduino::String)arduino::String
getBytes(unsigned char *buf, unsigned int bufsize, unsigned int index=0) const (defined in arduino::String)arduino::String
indexOf(char ch) const (defined in arduino::String)arduino::String
indexOf(char ch, unsigned int fromIndex) const (defined in arduino::String)arduino::String
indexOf(const String &str) const (defined in arduino::String)arduino::String
indexOf(const String &str, unsigned int fromIndex) const (defined in arduino::String)arduino::String
init(void) (defined in arduino::String)arduino::Stringinlineprotected
invalidate(void) (defined in arduino::String)arduino::Stringprotected
isEmpty(void) const (defined in arduino::String)arduino::Stringinline
lastIndexOf(char ch) const (defined in arduino::String)arduino::String
lastIndexOf(char ch, unsigned int fromIndex) const (defined in arduino::String)arduino::String
lastIndexOf(const String &str) const (defined in arduino::String)arduino::String
lastIndexOf(const String &str, unsigned int fromIndex) const (defined in arduino::String)arduino::String
len (defined in arduino::String)arduino::Stringprotected
length(void) const (defined in arduino::String)arduino::Stringinline
move(String &rhs) (defined in arduino::String)arduino::Stringprotected
operator StringIfHelperType() const (defined in arduino::String)arduino::Stringinline
operator!= (defined in arduino::String)arduino::Stringfriend
operator!= (defined in arduino::String)arduino::Stringfriend
operator!= (defined in arduino::String)arduino::Stringfriend
operator+ (defined in arduino::String)arduino::Stringfriend
operator+ (defined in arduino::String)arduino::Stringfriend
operator+ (defined in arduino::String)arduino::Stringfriend
operator+ (defined in arduino::String)arduino::Stringfriend
operator+ (defined in arduino::String)arduino::Stringfriend
operator+ (defined in arduino::String)arduino::Stringfriend
operator+ (defined in arduino::String)arduino::Stringfriend
operator+ (defined in arduino::String)arduino::Stringfriend
operator+ (defined in arduino::String)arduino::Stringfriend
operator+ (defined in arduino::String)arduino::Stringfriend
operator+ (defined in arduino::String)arduino::Stringfriend
operator+=(const String &rhs) (defined in arduino::String)arduino::Stringinline
operator+=(const char *cstr) (defined in arduino::String)arduino::Stringinline
operator+=(char c) (defined in arduino::String)arduino::Stringinline
operator+=(unsigned char num) (defined in arduino::String)arduino::Stringinline
operator+=(int num) (defined in arduino::String)arduino::Stringinline
operator+=(unsigned int num) (defined in arduino::String)arduino::Stringinline
operator+=(long num) (defined in arduino::String)arduino::Stringinline
operator+=(unsigned long num) (defined in arduino::String)arduino::Stringinline
operator+=(float num) (defined in arduino::String)arduino::Stringinline
operator+=(double num) (defined in arduino::String)arduino::Stringinline
operator+=(const __FlashStringHelper *str) (defined in arduino::String)arduino::Stringinline
operator< (defined in arduino::String)arduino::Stringfriend
operator< (defined in arduino::String)arduino::Stringfriend
operator< (defined in arduino::String)arduino::Stringfriend
operator<= (defined in arduino::String)arduino::Stringfriend
operator<= (defined in arduino::String)arduino::Stringfriend
operator<= (defined in arduino::String)arduino::Stringfriend
operator=(const String &rhs) (defined in arduino::String)arduino::String
operator=(const char *cstr) (defined in arduino::String)arduino::String
operator=(const __FlashStringHelper *str) (defined in arduino::String)arduino::String
operator=(String &&rval) (defined in arduino::String)arduino::String
operator== (defined in arduino::String)arduino::Stringfriend
operator== (defined in arduino::String)arduino::Stringfriend
operator== (defined in arduino::String)arduino::Stringfriend
operator> (defined in arduino::String)arduino::Stringfriend
operator> (defined in arduino::String)arduino::Stringfriend
operator> (defined in arduino::String)arduino::Stringfriend
operator>= (defined in arduino::String)arduino::Stringfriend
operator>= (defined in arduino::String)arduino::Stringfriend
operator>= (defined in arduino::String)arduino::Stringfriend
operator[](unsigned int index) const (defined in arduino::String)arduino::String
operator[](unsigned int index) (defined in arduino::String)arduino::String
remove(unsigned int index) (defined in arduino::String)arduino::String
remove(unsigned int index, unsigned int count) (defined in arduino::String)arduino::String
replace(char find, char replace) (defined in arduino::String)arduino::String
replace(const String &find, const String &replace) (defined in arduino::String)arduino::String
reserve(unsigned int size) (defined in arduino::String)arduino::String
setCharAt(unsigned int index, char c) (defined in arduino::String)arduino::String
startsWith(const String &prefix) const (defined in arduino::String)arduino::String
startsWith(const String &prefix, unsigned int offset) const (defined in arduino::String)arduino::String
String(const char *cstr="") (defined in arduino::String)arduino::String
String(const char *cstr, unsigned int length) (defined in arduino::String)arduino::String
String(const uint8_t *cstr, unsigned int length) (defined in arduino::String)arduino::Stringinline
String(const String &str) (defined in arduino::String)arduino::String
String(const __FlashStringHelper *str) (defined in arduino::String)arduino::String
String(String &&rval) (defined in arduino::String)arduino::String
String(char c) (defined in arduino::String)arduino::Stringexplicit
String(unsigned char, unsigned char base=10) (defined in arduino::String)arduino::Stringexplicit
String(int, unsigned char base=10) (defined in arduino::String)arduino::Stringexplicit
String(unsigned int, unsigned char base=10) (defined in arduino::String)arduino::Stringexplicit
String(long, unsigned char base=10) (defined in arduino::String)arduino::Stringexplicit
String(unsigned long, unsigned char base=10) (defined in arduino::String)arduino::Stringexplicit
String(float, unsigned char decimalPlaces=2) (defined in arduino::String)arduino::Stringexplicit
String(double, unsigned char decimalPlaces=2) (defined in arduino::String)arduino::Stringexplicit
StringSumHelper (defined in arduino::String)arduino::Stringfriend
substring(unsigned int beginIndex) const (defined in arduino::String)arduino::Stringinline
substring(unsigned int beginIndex, unsigned int endIndex) const (defined in arduino::String)arduino::String
toCharArray(char *buf, unsigned int bufsize, unsigned int index=0) const (defined in arduino::String)arduino::Stringinline
toDouble(void) const (defined in arduino::String)arduino::String
toFloat(void) const (defined in arduino::String)arduino::String
toInt(void) const (defined in arduino::String)arduino::String
toLowerCase(void) (defined in arduino::String)arduino::String
toUpperCase(void) (defined in arduino::String)arduino::String
trim(void) (defined in arduino::String)arduino::String
~String(void) (defined in arduino::String)arduino::String
- - - - diff --git a/docs/html/classarduino_1_1_string.html b/docs/html/classarduino_1_1_string.html deleted file mode 100644 index e0135c1..0000000 --- a/docs/html/classarduino_1_1_string.html +++ /dev/null @@ -1,489 +0,0 @@ - - - - - - - -arduino-emulator: arduino::String Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
- -
-
-Inheritance diagram for arduino::String:
-
-
- - -arduino::StringSumHelper - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

String (char c)
 
String (const __FlashStringHelper *str)
 
String (const char *cstr, unsigned int length)
 
String (const char *cstr="")
 
String (const String &str)
 
String (const uint8_t *cstr, unsigned int length)
 
String (double, unsigned char decimalPlaces=2)
 
String (float, unsigned char decimalPlaces=2)
 
String (int, unsigned char base=10)
 
String (long, unsigned char base=10)
 
String (String &&rval)
 
String (unsigned char, unsigned char base=10)
 
String (unsigned int, unsigned char base=10)
 
String (unsigned long, unsigned char base=10)
 
-charbegin ()
 
-const charbegin () const
 
-const charc_str () const
 
-char charAt (unsigned int index) const
 
-int compareTo (const char *cstr) const
 
-int compareTo (const String &s) const
 
-bool concat (char c)
 
-bool concat (const __FlashStringHelper *str)
 
-bool concat (const char *cstr)
 
-bool concat (const char *cstr, unsigned int length)
 
-bool concat (const String &str)
 
-bool concat (const uint8_t *cstr, unsigned int length)
 
-bool concat (double num)
 
-bool concat (float num)
 
-bool concat (int num)
 
-bool concat (long num)
 
-bool concat (unsigned char num)
 
-bool concat (unsigned int num)
 
-bool concat (unsigned long num)
 
-charend ()
 
-const charend () const
 
-bool endsWith (const String &suffix) const
 
-bool equals (const char *cstr) const
 
-bool equals (const String &s) const
 
-bool equalsIgnoreCase (const String &s) const
 
-void getBytes (unsigned char *buf, unsigned int bufsize, unsigned int index=0) const
 
-int indexOf (char ch) const
 
-int indexOf (char ch, unsigned int fromIndex) const
 
-int indexOf (const String &str) const
 
-int indexOf (const String &str, unsigned int fromIndex) const
 
-bool isEmpty (void) const
 
-int lastIndexOf (char ch) const
 
-int lastIndexOf (char ch, unsigned int fromIndex) const
 
-int lastIndexOf (const String &str) const
 
-int lastIndexOf (const String &str, unsigned int fromIndex) const
 
-unsigned int length (void) const
 
operator StringIfHelperType () const
 
-Stringoperator+= (char c)
 
-Stringoperator+= (const __FlashStringHelper *str)
 
-Stringoperator+= (const char *cstr)
 
-Stringoperator+= (const String &rhs)
 
-Stringoperator+= (double num)
 
-Stringoperator+= (float num)
 
-Stringoperator+= (int num)
 
-Stringoperator+= (long num)
 
-Stringoperator+= (unsigned char num)
 
-Stringoperator+= (unsigned int num)
 
-Stringoperator+= (unsigned long num)
 
-Stringoperator= (const __FlashStringHelper *str)
 
-Stringoperator= (const char *cstr)
 
-Stringoperator= (const String &rhs)
 
-Stringoperator= (String &&rval)
 
-charoperator[] (unsigned int index)
 
-char operator[] (unsigned int index) const
 
-void remove (unsigned int index)
 
-void remove (unsigned int index, unsigned int count)
 
-void replace (char find, char replace)
 
-void replace (const String &find, const String &replace)
 
-bool reserve (unsigned int size)
 
-void setCharAt (unsigned int index, char c)
 
-bool startsWith (const String &prefix) const
 
-bool startsWith (const String &prefix, unsigned int offset) const
 
-String substring (unsigned int beginIndex) const
 
-String substring (unsigned int beginIndex, unsigned int endIndex) const
 
-void toCharArray (char *buf, unsigned int bufsize, unsigned int index=0) const
 
-double toDouble (void) const
 
-float toFloat (void) const
 
-long toInt (void) const
 
-void toLowerCase (void)
 
-void toUpperCase (void)
 
-void trim (void)
 
- - - - - - - - - - - - - -

-Protected Member Functions

-bool changeBuffer (unsigned int maxStrLen)
 
-Stringcopy (const __FlashStringHelper *pstr, unsigned int length)
 
-Stringcopy (const char *cstr, unsigned int length)
 
-void init (void)
 
-void invalidate (void)
 
-void move (String &rhs)
 
- - - - - - - -

-Protected Attributes

-charbuffer
 
-unsigned int capacity
 
-unsigned int len
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Friends

-bool operator!= (const char *a, const String &b)
 
-bool operator!= (const String &a, const char *b)
 
-bool operator!= (const String &a, const String &b)
 
-StringSumHelperoperator+ (const StringSumHelper &lhs, char c)
 
-StringSumHelperoperator+ (const StringSumHelper &lhs, const __FlashStringHelper *rhs)
 
-StringSumHelperoperator+ (const StringSumHelper &lhs, const char *cstr)
 
-StringSumHelperoperator+ (const StringSumHelper &lhs, const String &rhs)
 
-StringSumHelperoperator+ (const StringSumHelper &lhs, double num)
 
-StringSumHelperoperator+ (const StringSumHelper &lhs, float num)
 
-StringSumHelperoperator+ (const StringSumHelper &lhs, int num)
 
-StringSumHelperoperator+ (const StringSumHelper &lhs, long num)
 
-StringSumHelperoperator+ (const StringSumHelper &lhs, unsigned char num)
 
-StringSumHelperoperator+ (const StringSumHelper &lhs, unsigned int num)
 
-StringSumHelperoperator+ (const StringSumHelper &lhs, unsigned long num)
 
-bool operator< (const char *a, const String &b)
 
-bool operator< (const String &a, const char *b)
 
-bool operator< (const String &a, const String &b)
 
-bool operator<= (const char *a, const String &b)
 
-bool operator<= (const String &a, const char *b)
 
-bool operator<= (const String &a, const String &b)
 
-bool operator== (const char *a, const String &b)
 
-bool operator== (const String &a, const char *b)
 
-bool operator== (const String &a, const String &b)
 
-bool operator> (const char *a, const String &b)
 
-bool operator> (const String &a, const char *b)
 
-bool operator> (const String &a, const String &b)
 
-bool operator>= (const char *a, const String &b)
 
-bool operator>= (const String &a, const char *b)
 
-bool operator>= (const String &a, const String &b)
 
-class StringSumHelper
 
-
The documentation for this class was generated from the following files:
    -
  • ArduinoCore-API/api/String.h
  • -
  • ArduinoCore-API/api/String.cpp
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_string.png b/docs/html/classarduino_1_1_string.png deleted file mode 100644 index 01698a47ddda0cfeb52663443641ca09ab893a04..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 678 zcmV;X0$KfuP)vTJr#LVva2S`&=)l0h|Ns9}lGCUF000SeQchC<|NsC0|NsC0Hv*f~0006p zNkl|aXCq{ z;Bt~=!78`4I%_{?TUBit=I3&f)L{vjEMfIlKwG zsC-o}uTUB*-?ChG+-y@}x6%3}Ngw!TS&QJdV0)`(O3I!)G`M-@>ivCHt|@#{E=bz( zUan4vUzR)UqVMGH-gEP+<}bsVZlz?)mRe(dJIddlt&(&j!^%C7t&(&T^|xA*PWh96 z{F3xIE+SNd%K(aYg+2{T*$&qA-C1ARo2Ic^g&1sQae`Z()OxH5{ z^qMNGsaT(uqB*sPyMd{CA5~y&C*!;mgTbJW}6DTjn=0oAQ@NEZ~D&- z+hr}4hsI4owW-b;WP`Rcn=Hqh{__~kvVJSK@39lM@1~i#;#elP&9URMUX`m8qARxx z=*V^an-n>dJM5zG - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::StringSumHelper Member List
-
-
- -

This is the complete list of members for arduino::StringSumHelper, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
begin() (defined in arduino::String)arduino::Stringinline
begin() const (defined in arduino::String)arduino::Stringinline
buffer (defined in arduino::String)arduino::Stringprotected
c_str() const (defined in arduino::String)arduino::Stringinline
capacity (defined in arduino::String)arduino::Stringprotected
changeBuffer(unsigned int maxStrLen) (defined in arduino::String)arduino::Stringprotected
charAt(unsigned int index) const (defined in arduino::String)arduino::String
compareTo(const String &s) const (defined in arduino::String)arduino::String
compareTo(const char *cstr) const (defined in arduino::String)arduino::String
concat(const String &str) (defined in arduino::String)arduino::String
concat(const char *cstr) (defined in arduino::String)arduino::String
concat(const char *cstr, unsigned int length) (defined in arduino::String)arduino::String
concat(const uint8_t *cstr, unsigned int length) (defined in arduino::String)arduino::Stringinline
concat(char c) (defined in arduino::String)arduino::String
concat(unsigned char num) (defined in arduino::String)arduino::String
concat(int num) (defined in arduino::String)arduino::String
concat(unsigned int num) (defined in arduino::String)arduino::String
concat(long num) (defined in arduino::String)arduino::String
concat(unsigned long num) (defined in arduino::String)arduino::String
concat(float num) (defined in arduino::String)arduino::String
concat(double num) (defined in arduino::String)arduino::String
concat(const __FlashStringHelper *str) (defined in arduino::String)arduino::String
copy(const char *cstr, unsigned int length) (defined in arduino::String)arduino::Stringprotected
copy(const __FlashStringHelper *pstr, unsigned int length) (defined in arduino::String)arduino::Stringprotected
end() (defined in arduino::String)arduino::Stringinline
end() const (defined in arduino::String)arduino::Stringinline
endsWith(const String &suffix) const (defined in arduino::String)arduino::String
equals(const String &s) const (defined in arduino::String)arduino::String
equals(const char *cstr) const (defined in arduino::String)arduino::String
equalsIgnoreCase(const String &s) const (defined in arduino::String)arduino::String
getBytes(unsigned char *buf, unsigned int bufsize, unsigned int index=0) const (defined in arduino::String)arduino::String
indexOf(char ch) const (defined in arduino::String)arduino::String
indexOf(char ch, unsigned int fromIndex) const (defined in arduino::String)arduino::String
indexOf(const String &str) const (defined in arduino::String)arduino::String
indexOf(const String &str, unsigned int fromIndex) const (defined in arduino::String)arduino::String
init(void) (defined in arduino::String)arduino::Stringinlineprotected
invalidate(void) (defined in arduino::String)arduino::Stringprotected
isEmpty(void) const (defined in arduino::String)arduino::Stringinline
lastIndexOf(char ch) const (defined in arduino::String)arduino::String
lastIndexOf(char ch, unsigned int fromIndex) const (defined in arduino::String)arduino::String
lastIndexOf(const String &str) const (defined in arduino::String)arduino::String
lastIndexOf(const String &str, unsigned int fromIndex) const (defined in arduino::String)arduino::String
len (defined in arduino::String)arduino::Stringprotected
length(void) const (defined in arduino::String)arduino::Stringinline
move(String &rhs) (defined in arduino::String)arduino::Stringprotected
operator StringIfHelperType() const (defined in arduino::String)arduino::Stringinline
operator+=(const String &rhs) (defined in arduino::String)arduino::Stringinline
operator+=(const char *cstr) (defined in arduino::String)arduino::Stringinline
operator+=(char c) (defined in arduino::String)arduino::Stringinline
operator+=(unsigned char num) (defined in arduino::String)arduino::Stringinline
operator+=(int num) (defined in arduino::String)arduino::Stringinline
operator+=(unsigned int num) (defined in arduino::String)arduino::Stringinline
operator+=(long num) (defined in arduino::String)arduino::Stringinline
operator+=(unsigned long num) (defined in arduino::String)arduino::Stringinline
operator+=(float num) (defined in arduino::String)arduino::Stringinline
operator+=(double num) (defined in arduino::String)arduino::Stringinline
operator+=(const __FlashStringHelper *str) (defined in arduino::String)arduino::Stringinline
operator=(const String &rhs) (defined in arduino::String)arduino::String
operator=(const char *cstr) (defined in arduino::String)arduino::String
operator=(const __FlashStringHelper *str) (defined in arduino::String)arduino::String
operator=(String &&rval) (defined in arduino::String)arduino::String
operator[](unsigned int index) const (defined in arduino::String)arduino::String
operator[](unsigned int index) (defined in arduino::String)arduino::String
remove(unsigned int index) (defined in arduino::String)arduino::String
remove(unsigned int index, unsigned int count) (defined in arduino::String)arduino::String
replace(char find, char replace) (defined in arduino::String)arduino::String
replace(const String &find, const String &replace) (defined in arduino::String)arduino::String
reserve(unsigned int size) (defined in arduino::String)arduino::String
setCharAt(unsigned int index, char c) (defined in arduino::String)arduino::String
startsWith(const String &prefix) const (defined in arduino::String)arduino::String
startsWith(const String &prefix, unsigned int offset) const (defined in arduino::String)arduino::String
String(const char *cstr="") (defined in arduino::String)arduino::String
String(const char *cstr, unsigned int length) (defined in arduino::String)arduino::String
String(const uint8_t *cstr, unsigned int length) (defined in arduino::String)arduino::Stringinline
String(const String &str) (defined in arduino::String)arduino::String
String(const __FlashStringHelper *str) (defined in arduino::String)arduino::String
String(String &&rval) (defined in arduino::String)arduino::String
String(char c) (defined in arduino::String)arduino::Stringexplicit
String(unsigned char, unsigned char base=10) (defined in arduino::String)arduino::Stringexplicit
String(int, unsigned char base=10) (defined in arduino::String)arduino::Stringexplicit
String(unsigned int, unsigned char base=10) (defined in arduino::String)arduino::Stringexplicit
String(long, unsigned char base=10) (defined in arduino::String)arduino::Stringexplicit
String(unsigned long, unsigned char base=10) (defined in arduino::String)arduino::Stringexplicit
String(float, unsigned char decimalPlaces=2) (defined in arduino::String)arduino::Stringexplicit
String(double, unsigned char decimalPlaces=2) (defined in arduino::String)arduino::Stringexplicit
StringSumHelper(const String &s) (defined in arduino::StringSumHelper)arduino::StringSumHelperinline
StringSumHelper(const char *p) (defined in arduino::StringSumHelper)arduino::StringSumHelperinline
StringSumHelper(char c) (defined in arduino::StringSumHelper)arduino::StringSumHelperinline
StringSumHelper(unsigned char num) (defined in arduino::StringSumHelper)arduino::StringSumHelperinline
StringSumHelper(int num) (defined in arduino::StringSumHelper)arduino::StringSumHelperinline
StringSumHelper(unsigned int num) (defined in arduino::StringSumHelper)arduino::StringSumHelperinline
StringSumHelper(long num) (defined in arduino::StringSumHelper)arduino::StringSumHelperinline
StringSumHelper(unsigned long num) (defined in arduino::StringSumHelper)arduino::StringSumHelperinline
StringSumHelper(float num) (defined in arduino::StringSumHelper)arduino::StringSumHelperinline
StringSumHelper(double num) (defined in arduino::StringSumHelper)arduino::StringSumHelperinline
substring(unsigned int beginIndex) const (defined in arduino::String)arduino::Stringinline
substring(unsigned int beginIndex, unsigned int endIndex) const (defined in arduino::String)arduino::String
toCharArray(char *buf, unsigned int bufsize, unsigned int index=0) const (defined in arduino::String)arduino::Stringinline
toDouble(void) const (defined in arduino::String)arduino::String
toFloat(void) const (defined in arduino::String)arduino::String
toInt(void) const (defined in arduino::String)arduino::String
toLowerCase(void) (defined in arduino::String)arduino::String
toUpperCase(void) (defined in arduino::String)arduino::String
trim(void) (defined in arduino::String)arduino::String
~String(void) (defined in arduino::String)arduino::String
- - - - diff --git a/docs/html/classarduino_1_1_string_sum_helper.html b/docs/html/classarduino_1_1_string_sum_helper.html deleted file mode 100644 index c92ebaf..0000000 --- a/docs/html/classarduino_1_1_string_sum_helper.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - - -arduino-emulator: arduino::StringSumHelper Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::StringSumHelper Class Reference
-
-
-
-Inheritance diagram for arduino::StringSumHelper:
-
-
- - -arduino::String - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

StringSumHelper (char c)
 
StringSumHelper (const char *p)
 
StringSumHelper (const String &s)
 
StringSumHelper (double num)
 
StringSumHelper (float num)
 
StringSumHelper (int num)
 
StringSumHelper (long num)
 
StringSumHelper (unsigned char num)
 
StringSumHelper (unsigned int num)
 
StringSumHelper (unsigned long num)
 
- Public Member Functions inherited from arduino::String
String (char c)
 
String (const __FlashStringHelper *str)
 
String (const char *cstr, unsigned int length)
 
String (const char *cstr="")
 
String (const String &str)
 
String (const uint8_t *cstr, unsigned int length)
 
String (double, unsigned char decimalPlaces=2)
 
String (float, unsigned char decimalPlaces=2)
 
String (int, unsigned char base=10)
 
String (long, unsigned char base=10)
 
String (String &&rval)
 
String (unsigned char, unsigned char base=10)
 
String (unsigned int, unsigned char base=10)
 
String (unsigned long, unsigned char base=10)
 
-charbegin ()
 
-const charbegin () const
 
-const charc_str () const
 
-char charAt (unsigned int index) const
 
-int compareTo (const char *cstr) const
 
-int compareTo (const String &s) const
 
-bool concat (char c)
 
-bool concat (const __FlashStringHelper *str)
 
-bool concat (const char *cstr)
 
-bool concat (const char *cstr, unsigned int length)
 
-bool concat (const String &str)
 
-bool concat (const uint8_t *cstr, unsigned int length)
 
-bool concat (double num)
 
-bool concat (float num)
 
-bool concat (int num)
 
-bool concat (long num)
 
-bool concat (unsigned char num)
 
-bool concat (unsigned int num)
 
-bool concat (unsigned long num)
 
-charend ()
 
-const charend () const
 
-bool endsWith (const String &suffix) const
 
-bool equals (const char *cstr) const
 
-bool equals (const String &s) const
 
-bool equalsIgnoreCase (const String &s) const
 
-void getBytes (unsigned char *buf, unsigned int bufsize, unsigned int index=0) const
 
-int indexOf (char ch) const
 
-int indexOf (char ch, unsigned int fromIndex) const
 
-int indexOf (const String &str) const
 
-int indexOf (const String &str, unsigned int fromIndex) const
 
-bool isEmpty (void) const
 
-int lastIndexOf (char ch) const
 
-int lastIndexOf (char ch, unsigned int fromIndex) const
 
-int lastIndexOf (const String &str) const
 
-int lastIndexOf (const String &str, unsigned int fromIndex) const
 
-unsigned int length (void) const
 
operator StringIfHelperType () const
 
-Stringoperator+= (char c)
 
-Stringoperator+= (const __FlashStringHelper *str)
 
-Stringoperator+= (const char *cstr)
 
-Stringoperator+= (const String &rhs)
 
-Stringoperator+= (double num)
 
-Stringoperator+= (float num)
 
-Stringoperator+= (int num)
 
-Stringoperator+= (long num)
 
-Stringoperator+= (unsigned char num)
 
-Stringoperator+= (unsigned int num)
 
-Stringoperator+= (unsigned long num)
 
-Stringoperator= (const __FlashStringHelper *str)
 
-Stringoperator= (const char *cstr)
 
-Stringoperator= (const String &rhs)
 
-Stringoperator= (String &&rval)
 
-charoperator[] (unsigned int index)
 
-char operator[] (unsigned int index) const
 
-void remove (unsigned int index)
 
-void remove (unsigned int index, unsigned int count)
 
-void replace (char find, char replace)
 
-void replace (const String &find, const String &replace)
 
-bool reserve (unsigned int size)
 
-void setCharAt (unsigned int index, char c)
 
-bool startsWith (const String &prefix) const
 
-bool startsWith (const String &prefix, unsigned int offset) const
 
-String substring (unsigned int beginIndex) const
 
-String substring (unsigned int beginIndex, unsigned int endIndex) const
 
-void toCharArray (char *buf, unsigned int bufsize, unsigned int index=0) const
 
-double toDouble (void) const
 
-float toFloat (void) const
 
-long toInt (void) const
 
-void toLowerCase (void)
 
-void toUpperCase (void)
 
-void trim (void)
 
- - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from arduino::String
-bool changeBuffer (unsigned int maxStrLen)
 
-Stringcopy (const __FlashStringHelper *pstr, unsigned int length)
 
-Stringcopy (const char *cstr, unsigned int length)
 
-void init (void)
 
-void invalidate (void)
 
-void move (String &rhs)
 
- Protected Attributes inherited from arduino::String
-charbuffer
 
-unsigned int capacity
 
-unsigned int len
 
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_string_sum_helper.png b/docs/html/classarduino_1_1_string_sum_helper.png deleted file mode 100644 index 598f9714b13cecb03822f344d8cc22f956d08b57..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 672 zcmeAS@N?(olHy`uVBq!ia0vp^bAUL2gBeKP_Ia}bNJ$6ygt-3y{~ySF@#br3|Doj; z2ATyD)6cv(aNqz?Jb2RO6+k)8k|4ie1|S~{%$a6iVPIg=_H=O!sbG9N_wBkR3IZhzjn+GN*y5T=g3a@b$B+Loiu3wyX|gmtQ+(?BQ%gm= zl9zf<^6p!m%VQ?3Tdwl6)%x@-*6Xadqe6oxeZRBr;9=wNckfphg?{ke=}>fdXH2Ak z{j}R}7gZPezu%b|dU<-H=60FL)l08L%=`AKKU~|>&SQI#eh83u`MFl@r1QU%^?y`; zT7g_yHC-C$Xc2~r3H%ISyv`TR_di}{d%8F8@2yhZ=U2HH%wqT$bau!vL=;#uYQnHjkC*crr-6@0Ki*(%_)Ucn=1{*E~+kp-5Xn+i0xxAnhSUZfTG z{_->y&#QvT_kZtKQTOD1*7C7r#tb2q(013npT>u6pdqnoM%U9kKHrz2QJHghNAC8y zX!3RTzvowi^h~=^0wvVRL~n`zFMr6Tdszd-b;4!PmdVY>q0P zzA>&Sw3ojTslX^ qw(+#*B-ZJZRk#<&a443XlD}io&^FQkLq0GqF?hQAxvX - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::UDP Member List
-
-
- -

This is the complete list of members for arduino::UDP, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
available()=0 (defined in arduino::UDP)arduino::UDPpure virtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
begin(uint16_t)=0 (defined in arduino::UDP)arduino::UDPpure virtual
beginMulticast(IPAddress, uint16_t) (defined in arduino::UDP)arduino::UDPinlinevirtual
beginPacket(IPAddress ip, uint16_t port)=0 (defined in arduino::UDP)arduino::UDPpure virtual
beginPacket(const char *host, uint16_t port)=0 (defined in arduino::UDP)arduino::UDPpure virtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
endPacket()=0 (defined in arduino::UDP)arduino::UDPpure virtual
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush()=0 (defined in arduino::UDP)arduino::UDPpure virtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parsePacket()=0 (defined in arduino::UDP)arduino::UDPpure virtual
peek()=0 (defined in arduino::UDP)arduino::UDPpure virtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
Print() (defined in arduino::Print)arduino::Printinline
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
rawIPAddress(IPAddress &addr) (defined in arduino::UDP)arduino::UDPinlineprotected
read()=0 (defined in arduino::UDP)arduino::UDPpure virtual
read(unsigned char *buffer, size_t len)=0 (defined in arduino::UDP)arduino::UDPpure virtual
read(char *buffer, size_t len)=0 (defined in arduino::UDP)arduino::UDPpure virtual
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytes(uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
remoteIP()=0 (defined in arduino::UDP)arduino::UDPpure virtual
remotePort()=0 (defined in arduino::UDP)arduino::UDPpure virtual
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
stop()=0 (defined in arduino::UDP)arduino::UDPpure virtual
Stream() (defined in arduino::Stream)arduino::Streaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
write(uint8_t)=0 (defined in arduino::UDP)arduino::UDPpure virtual
write(const uint8_t *buffer, size_t size)=0 (defined in arduino::UDP)arduino::UDPpure virtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
- - - - diff --git a/docs/html/classarduino_1_1_u_d_p.html b/docs/html/classarduino_1_1_u_d_p.html deleted file mode 100644 index 9ff3547..0000000 --- a/docs/html/classarduino_1_1_u_d_p.html +++ /dev/null @@ -1,522 +0,0 @@ - - - - - - - -arduino-emulator: arduino::UDP Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::UDP Class Referenceabstract
-
-
-
-Inheritance diagram for arduino::UDP:
-
-
- - -arduino::Stream -arduino::Print -arduino::EthernetUDP -arduino::WiFiUDPStream - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual int available ()=0
 
-virtual uint8_t begin (uint16_t)=0
 
-virtual uint8_t beginMulticast (IPAddress, uint16_t)
 
-virtual int beginPacket (const char *host, uint16_t port)=0
 
-virtual int beginPacket (IPAddress ip, uint16_t port)=0
 
-virtual int endPacket ()=0
 
virtual void flush ()=0
 
-virtual int parsePacket ()=0
 
virtual int peek ()=0
 
virtual int read ()=0
 
-virtual int read (char *buffer, size_t len)=0
 
-virtual int read (unsigned char *buffer, size_t len)=0
 
-virtual IPAddress remoteIP ()=0
 
-virtual uint16_t remotePort ()=0
 
-virtual void stop ()=0
 
virtual size_t write (const uint8_t *buffer, size_t size)=0
 
virtual size_t write (uint8_t)=0
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
- - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

-uint8_trawIPAddress (IPAddress &addr)
 
- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
- - - - - - -

-Additional Inherited Members

- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - -
- - - - - - - -
virtual int arduino::UDP::available ()
-
-pure virtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ flush()

- -
-
- - - - - -
- - - - - - - -
virtual void arduino::UDP::flush ()
-
-pure virtual
-
- -

Reimplemented from arduino::Print.

- -
-
- -

◆ peek()

- -
-
- - - - - -
- - - - - - - -
virtual int arduino::UDP::peek ()
-
-pure virtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ read()

- -
-
- - - - - -
- - - - - - - -
virtual int arduino::UDP::read ()
-
-pure virtual
-
- -

Implements arduino::Stream.

- -
-
- -

◆ write() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual size_t arduino::UDP::write (const uint8_tbuffer,
size_t size 
)
-
-pure virtual
-
- -

Reimplemented from arduino::Print.

- -
-
- -

◆ write() [2/2]

- -
-
- - - - - -
- - - - - - - - -
virtual size_t arduino::UDP::write (uint8_t )
-
-pure virtual
-
- -

Implements arduino::Print.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • ArduinoCore-API/api/Udp.h
  • -
-
- - - - diff --git a/docs/html/classarduino_1_1_u_d_p.png b/docs/html/classarduino_1_1_u_d_p.png deleted file mode 100644 index 61430128a3430859856d4fb3854fd8ea2f33f19e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1388 zcmeAS@N?(olHy`uVBq!ia0vp^(}4H~2Q!egRDAynNJ$6ygt-3y{~ySF@#br3|Doj; z2ATyD)6cv(aNqz?Jb2RO6+k)8k|4ie1|S~{%$a6iVPIhS?&;zfQo;Ck?#rUhRsyWE z7i(qR``@Y0wk46{aZ62jsHA&t%eKtibMZl5nKmAiOr#d7dd4|%rcum!p2)S$_S1_qVTmT_Z2YMP6T?wfELEvs`Y^U58e0wa!VN z?tbl5*`+H>Hp}hb(CNCiC12##W14e2P($#n5 z)_#xLQl52d3Zu%)N!4rj$VX54b0X^Ix~ja^+U48MT1~drzpo~?)$Y*71(6A!mm9ZT zW{x_``7Nuob^X7eKj(lvdp+vy#P{J|ld~o*@wU76s((iKYm4dWW*d99%)b_NDJMkO zCO_(Bh+M9{=PspxKRqBGhed@>l;%StchL&r?5&&T-n_D;e!a{PF-VTeYkUUKu$c&_(8<@Kt<0=)AP<%y(_my^u91%5q8Ig!JbeY!#r-kU}}&T zzv1#JmyD6)d*{_zenpeAW?efUReN!fbWZN)s=U3k&X{jidD(L3LGao;+f(*kJ2m;n zvMKH-P6wt{T&WV3U3I-_TSoR}zlC3a2Wk5&y!T!oYQFl(t*ftAZNENQ?*7GBSF(;j zeo?yM@Xf5P>)Kvytx3<$e|r7Zd0*ibvWxbM<*!y<>3x0n59YPs7k*-_@mg)4RHu7i zt&I8Z{UeuhcUvx9BKPc@)Ent7+jH|DMfdNm{ayU@%A_U#=YkSGEdF~|1HD7LP`LsQ zl`7HqdoKMtnZGsT?Dmty!7! ze`C|*ujbmmUZI+@Jao|$-wOYFPb| zee185Szfj}_b*5Ib;9pwPbQ_^+`sG3*=Hs8;i+;v7qw{in+5&(JaGv>hpy)*p{Pku jRDq?&=|!Nh`Y3-q@J3U&n$mV)xyaz@>gTe~DWM4fMDMij diff --git a/docs/html/classarduino_1_1_wi_fi_u_d_p_stream-members.html b/docs/html/classarduino_1_1_wi_fi_u_d_p_stream-members.html deleted file mode 100644 index 188c94e..0000000 --- a/docs/html/classarduino_1_1_wi_fi_u_d_p_stream-members.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::WiFiUDPStream Member List
-
-
- -

This is the complete list of members for arduino::WiFiUDPStream, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_startMillis (defined in arduino::Stream)arduino::Streamprotected
_timeout (defined in arduino::Stream)arduino::Streamprotected
active (defined in arduino::WiFiUDPStream)arduino::WiFiUDPStreamprotected
available() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
availableForWrite() (defined in arduino::Print)arduino::Printinlinevirtual
begin(IPAddress a, uint16_t p) (defined in arduino::EthernetUDP)arduino::EthernetUDP
begin(uint16_t p) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
beginMulticast(IPAddress a, uint16_t p) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
beginMulticastPacket() (defined in arduino::EthernetUDP)arduino::EthernetUDP
beginPacket() (defined in arduino::EthernetUDP)arduino::EthernetUDP
beginPacket(IPAddress ip, uint16_t port) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
beginPacket(const char *host, uint16_t port) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
clearWriteError() (defined in arduino::Print)arduino::Printinline
endPacket() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
EthernetUDP() (defined in arduino::EthernetUDP)arduino::EthernetUDP
find(const char *target) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target) (defined in arduino::Stream)arduino::Streaminline
find(const char *target, size_t length) (defined in arduino::Stream)arduino::Stream
find(const uint8_t *target, size_t length) (defined in arduino::Stream)arduino::Streaminline
find(char target) (defined in arduino::Stream)arduino::Streaminline
findMulti(struct MultiTarget *targets, int tCount) (defined in arduino::Stream)arduino::Streamprotected
findUntil(const char *target, const char *terminator) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, const char *terminator) (defined in arduino::Stream)arduino::Streaminline
findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Stream
findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) (defined in arduino::Stream)arduino::Streaminline
flush() (defined in arduino::WiFiUDPStream)arduino::WiFiUDPStreaminlinevirtual
getTimeout(void) (defined in arduino::Stream)arduino::Streaminline
getWriteError() (defined in arduino::Print)arduino::Printinline
isActive() (defined in arduino::WiFiUDPStream)arduino::WiFiUDPStreaminline
parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseFloat(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) (defined in arduino::Stream)arduino::Stream
parseInt(char ignore) (defined in arduino::Stream)arduino::Streaminlineprotected
parsePacket() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
peek() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
peekNextDigit(LookaheadMode lookahead, bool detectDecimal) (defined in arduino::Stream)arduino::Streamprotected
port (defined in arduino::WiFiUDPStream)arduino::WiFiUDPStreamprotected
Print() (defined in arduino::Print)arduino::Printinline
print(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
print(const String &) (defined in arduino::Print)arduino::Print
print(const char[]) (defined in arduino::Print)arduino::Print
print(char) (defined in arduino::Print)arduino::Print
print(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
print(int, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
print(long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
print(long long, int=DEC) (defined in arduino::Print)arduino::Print
print(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
print(double, int=2) (defined in arduino::Print)arduino::Print
print(const Printable &) (defined in arduino::Print)arduino::Print
println(const __FlashStringHelper *) (defined in arduino::Print)arduino::Print
println(const String &s) (defined in arduino::Print)arduino::Print
println(const char[]) (defined in arduino::Print)arduino::Print
println(char) (defined in arduino::Print)arduino::Print
println(unsigned char, int=DEC) (defined in arduino::Print)arduino::Print
println(int, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned int, int=DEC) (defined in arduino::Print)arduino::Print
println(long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long, int=DEC) (defined in arduino::Print)arduino::Print
println(long long, int=DEC) (defined in arduino::Print)arduino::Print
println(unsigned long long, int=DEC) (defined in arduino::Print)arduino::Print
println(double, int=2) (defined in arduino::Print)arduino::Print
println(const Printable &) (defined in arduino::Print)arduino::Print
println(void) (defined in arduino::Print)arduino::Print
rawIPAddress(IPAddress &addr) (defined in arduino::UDP)arduino::UDPinlineprotected
read() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
read(unsigned char *buffer, size_t len) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
read(char *buffer, size_t len) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
readBytes(uint8_t *values, size_t len) (defined in arduino::WiFiUDPStream)arduino::WiFiUDPStreaminline
readBytes(char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, char *buffer, size_t length) (defined in arduino::Stream)arduino::Stream
readBytesUntil(char terminator, uint8_t *buffer, size_t length) (defined in arduino::Stream)arduino::Streaminline
readString() (defined in arduino::Stream)arduino::Stream
readStringUntil(char terminator) (defined in arduino::Stream)arduino::Stream
registerCleanup() (defined in arduino::EthernetUDP)arduino::EthernetUDPinlineprotected
remoteIP() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
remotePort() (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
setTarget(IPAddress targetAdress, int port) (defined in arduino::WiFiUDPStream)arduino::WiFiUDPStreaminline
setTimeout(unsigned long timeout) (defined in arduino::Stream)arduino::Stream
setWriteError(int err=1) (defined in arduino::Print)arduino::Printinlineprotected
stop() (defined in arduino::WiFiUDPStream)arduino::WiFiUDPStreaminlinevirtual
Stream() (defined in arduino::Stream)arduino::Streaminline
target_adress (defined in arduino::WiFiUDPStream)arduino::WiFiUDPStreamprotected
targetDefined() (defined in arduino::WiFiUDPStream)arduino::WiFiUDPStreaminline
timedPeek() (defined in arduino::Stream)arduino::Streamprotected
timedRead() (defined in arduino::Stream)arduino::Streamprotected
WiFiUDPStream()=default (defined in arduino::WiFiUDPStream)arduino::WiFiUDPStream
WiFiUDPStream(IPAddress targetAdress, int port) (defined in arduino::WiFiUDPStream)arduino::WiFiUDPStreaminline
write(uint8_t) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
write(const uint8_t *buffer, size_t size) (defined in arduino::EthernetUDP)arduino::EthernetUDPvirtual
write(const char *str) (defined in arduino::Print)arduino::Printinline
write(const char *buffer, size_t size) (defined in arduino::Print)arduino::Printinline
~EthernetUDP() (defined in arduino::EthernetUDP)arduino::EthernetUDP
- - - - diff --git a/docs/html/classarduino_1_1_wi_fi_u_d_p_stream.html b/docs/html/classarduino_1_1_wi_fi_u_d_p_stream.html deleted file mode 100644 index 6685690..0000000 --- a/docs/html/classarduino_1_1_wi_fi_u_d_p_stream.html +++ /dev/null @@ -1,453 +0,0 @@ - - - - - - - -arduino-emulator: arduino::WiFiUDPStream Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::WiFiUDPStream Class Reference
-
-
- -

UDP Stream implementation for single-target communication. - More...

- -

#include <WiFiUdpStream.h>

-
-Inheritance diagram for arduino::WiFiUDPStream:
-
-
- - -arduino::EthernetUDP -arduino::UDP -arduino::Stream -arduino::Print - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

WiFiUDPStream (IPAddress targetAdress, int port)
 
void flush ()
 
-bool isActive ()
 
-size_t readBytes (uint8_t *values, size_t len)
 
-void setTarget (IPAddress targetAdress, int port)
 
void stop ()
 
-bool targetDefined ()
 
- Public Member Functions inherited from arduino::EthernetUDP
int available ()
 
-uint8_t begin (IPAddress a, uint16_t p)
 
uint8_t begin (uint16_t p)
 
uint8_t beginMulticast (IPAddress a, uint16_t p)
 
-int beginMulticastPacket ()
 
-int beginPacket ()
 
int beginPacket (const char *host, uint16_t port)
 
int beginPacket (IPAddress ip, uint16_t port)
 
int endPacket ()
 
int parsePacket ()
 
int peek ()
 
int read ()
 
int read (char *buffer, size_t len)
 
int read (unsigned char *buffer, size_t len)
 
IPAddress remoteIP ()
 
uint16_t remotePort ()
 
size_t write (const uint8_t *buffer, size_t size)
 
size_t write (uint8_t)
 
- Public Member Functions inherited from arduino::Stream
-bool find (char target)
 
-bool find (const char *target)
 
-bool find (const char *target, size_t length)
 
-bool find (const uint8_t *target)
 
-bool find (const uint8_t *target, size_t length)
 
-bool findUntil (const char *target, const char *terminator)
 
-bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
-bool findUntil (const uint8_t *target, const char *terminator)
 
-bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
-unsigned long getTimeout (void)
 
-float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
-size_t readBytes (char *buffer, size_t length)
 
-size_t readBytes (uint8_t *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
-size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
-String readString ()
 
-String readStringUntil (char terminator)
 
-void setTimeout (unsigned long timeout)
 
- Public Member Functions inherited from arduino::Print
-virtual int availableForWrite ()
 
-void clearWriteError ()
 
-int getWriteError ()
 
-size_t print (char)
 
-size_t print (const __FlashStringHelper *)
 
-size_t print (const char[])
 
-size_t print (const Printable &)
 
-size_t print (const String &)
 
-size_t print (double, int=2)
 
-size_t print (int, int=DEC)
 
-size_t print (long long, int=DEC)
 
-size_t print (long, int=DEC)
 
-size_t print (unsigned char, int=DEC)
 
-size_t print (unsigned int, int=DEC)
 
-size_t print (unsigned long long, int=DEC)
 
-size_t print (unsigned long, int=DEC)
 
-size_t println (char)
 
-size_t println (const __FlashStringHelper *)
 
-size_t println (const char[])
 
-size_t println (const Printable &)
 
-size_t println (const String &s)
 
-size_t println (double, int=2)
 
-size_t println (int, int=DEC)
 
-size_t println (long long, int=DEC)
 
-size_t println (long, int=DEC)
 
-size_t println (unsigned char, int=DEC)
 
-size_t println (unsigned int, int=DEC)
 
-size_t println (unsigned long long, int=DEC)
 
-size_t println (unsigned long, int=DEC)
 
-size_t println (void)
 
-size_t write (const char *buffer, size_t size)
 
-size_t write (const char *str)
 
- - - - - - - - - - - - -

-Protected Attributes

-bool active = false
 
-int port = 0
 
-IPAddress target_adress {0, 0, 0, 0}
 
- Protected Attributes inherited from arduino::Stream
-unsigned long _startMillis
 
-unsigned long _timeout
 
- - - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from arduino::EthernetUDP
-void registerCleanup ()
 
- Protected Member Functions inherited from arduino::UDP
-uint8_trawIPAddress (IPAddress &addr)
 
- Protected Member Functions inherited from arduino::Stream
-int findMulti (struct MultiTarget *targets, int tCount)
 
-float parseFloat (char ignore)
 
-long parseInt (char ignore)
 
-int peekNextDigit (LookaheadMode lookahead, bool detectDecimal)
 
-int timedPeek ()
 
-int timedRead ()
 
- Protected Member Functions inherited from arduino::Print
-void setWriteError (int err=1)
 
-

Detailed Description

-

UDP Stream implementation for single-target communication.

-

WiFiUDPStream extends WiFiUDP to provide a stream-like interface for UDP communication with a single target endpoint. It automatically manages packet boundaries and provides buffered read/write operations suitable for streaming protocols over UDP.

-

Key features:

    -
  • Stream-based UDP communication with automatic packet management
  • -
  • Single target endpoint configuration (IP address and port)
  • -
  • Automatic target discovery from incoming packets when target unknown
  • -
  • Buffered operations with flush-triggered packet transmission
  • -
  • Thread-safe operations for concurrent access
  • -
  • Integration with WiFiUDP for underlying network operations
  • -
-

The class maintains an internal target address and automatically begins/ends UDP packets as needed. Data is sent when flush() is called, making it suitable for protocols that require message boundaries or batch transmission.

-
See also
WiFiUDP
-
-IPAddress
-
-Stream
-

Member Function Documentation

- -

◆ flush()

- -
-
- - - - - -
- - - - - - - - -
void arduino::WiFiUDPStream::flush (void )
-
-inlinevirtual
-
- -

Reimplemented from arduino::EthernetUDP.

- -
-
- -

◆ stop()

- -
-
- - - - - -
- - - - - - - -
void arduino::WiFiUDPStream::stop ()
-
-inlinevirtual
-
- -

Reimplemented from arduino::EthernetUDP.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/classarduino_1_1_wi_fi_u_d_p_stream.png b/docs/html/classarduino_1_1_wi_fi_u_d_p_stream.png deleted file mode 100644 index f4ad483ba4ef6abeeada5c304615dd747cb46d95..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1373 zcma)6c~BEq99~34aiBU54uVw~0-DAsC=@{;nh|spNrA-;ESI3Am>7-`Qbi4@)Cf{& zS3oRKP&ulwfgvm)A_gid@e0>Q?n{mUVnK)o3v{)0tYiP^n|bf|-uumbGvD!EoGWLK zp01HD004U6-reqGO(o}>CEDa_Yw~i2EXJ<;Je=m|=gIBx*mPu4ZT@x(YM9}rN5e9i zjJ$`?rr*fk(g=4B1d!+V!)8HxGXN|c26ylBIHvU?b13AM-SS0Zag6MBbYHvzhhA`HG|dccZyD zrE{X*T$C4?_UL8sB2Z^>bCiR{d=e2QmVf#T8MMTo#SR(-;MK#sCPPD7dtEZl|movD|ba1Boozs0Ef?0uB-rK$g z_{LHz;eHy@WR;^#L!>R|{m$|d75nPa} zZt#y(@9!j}i3n4On6bK&MHl21%A4NUsSrV$Fg9|$HLvro&|eZ*{t%yy)KPiRvM}GV zy~cx11-41u!JQbqZMxF(#Dl?-H8_){lKn`GhF3T6Xfr7+la?tC`6RmexbKtFL@A^F zuHCb0+nYIF>hCYzY0VfPy79=An`|-A;5-@aNX?zndQZcLmYZBy0kf!HmvQEjfbDbI Yl9uMG@CN=0@*@O5C(dpO^T3(E0M>G%*#H0l diff --git a/docs/html/classarduino_1_1_wifi_mock-members.html b/docs/html/classarduino_1_1_wifi_mock-members.html deleted file mode 100644 index 4b5353f..0000000 --- a/docs/html/classarduino_1_1_wifi_mock-members.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino::WifiMock Member List
-
-
- -

This is the complete list of members for arduino::WifiMock, including all inherited members.

- - - - - - - - - - -
adress (defined in arduino::WifiMock)arduino::WifiMockprotected
begin(const char *name, const char *pwd) (defined in arduino::WifiMock)arduino::WifiMockinlinevirtual
localIP() (defined in arduino::WifiMock)arduino::WifiMockinline
mac (defined in arduino::WifiMock)arduino::WifiMockprotected
macAddress() (defined in arduino::WifiMock)arduino::WifiMockinline
setClientInsecure() (defined in arduino::WifiMock)arduino::WifiMockinline
setSleep(bool) (defined in arduino::WifiMock)arduino::WifiMockinline
setSleep(wifi_ps_type_t) (defined in arduino::WifiMock)arduino::WifiMockinline
status() (defined in arduino::WifiMock)arduino::WifiMockinline
- - - - diff --git a/docs/html/classarduino_1_1_wifi_mock.html b/docs/html/classarduino_1_1_wifi_mock.html deleted file mode 100644 index 8a909d7..0000000 --- a/docs/html/classarduino_1_1_wifi_mock.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - -arduino-emulator: arduino::WifiMock Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
- -
arduino::WifiMock Class Reference
-
-
- - - - - - - - - - - - - - - - -

-Public Member Functions

-virtual void begin (const char *name, const char *pwd)
 
-IPAddresslocalIP ()
 
-int macAddress ()
 
-void setClientInsecure ()
 
-void setSleep (bool)
 
-void setSleep (wifi_ps_type_t)
 
-wl_status_t status ()
 
- - - - - -

-Protected Attributes

-IPAddress adress
 
-int mac = 0
 
-
The documentation for this class was generated from the following file:
    -
  • ArduinoCore-Linux/cores/arduino/WiFi.h
  • -
-
- - - - diff --git a/docs/html/classes.html b/docs/html/classes.html deleted file mode 100644 index e2c3471..0000000 --- a/docs/html/classes.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - -arduino-emulator: Class Index - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Class Index
-
-
-
A | C | D | E | F | G | H | I | M | N | P | R | S | T | U | W | _
- -
- - - - diff --git a/docs/html/classserialib-members.html b/docs/html/classserialib-members.html deleted file mode 100644 index 7ba6da3..0000000 --- a/docs/html/classserialib-members.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
-
serialib Member List
-
-
- -

This is the complete list of members for serialib, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - -
available()serialib
clearDTR()serialib
clearRTS()serialib
closeDevice()serialib
DTR(bool status)serialib
flushReceiver()serialib
isCTS()serialib
isDCD()serialib
isDSR()serialib
isDTR()serialib
isRI()serialib
isRTS()serialib
openDevice(const char *Device, const unsigned int Bauds)serialib
readBytes(void *buffer, unsigned int maxNbBytes, const unsigned int timeOut_ms=0, unsigned int sleepDuration_us=100)serialib
readChar(char *pByte, const unsigned int timeOut_ms=0)serialib
readString(char *receivedString, char finalChar, unsigned int maxNbBytes, const unsigned int timeOut_ms=0)serialib
RTS(bool status)serialib
serialib()serialib
setDTR()serialib
setRTS()serialib
writeBytes(const void *Buffer, const unsigned int NbBytes)serialib
writeChar(char)serialib
writeString(const char *String)serialib
~serialib()serialib
- - - - diff --git a/docs/html/classserialib.html b/docs/html/classserialib.html deleted file mode 100644 index e702243..0000000 --- a/docs/html/classserialib.html +++ /dev/null @@ -1,812 +0,0 @@ - - - - - - - -arduino-emulator: serialib Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
- -
serialib Class Reference
-
-
- -

This class is used for communication over a serial device. - More...

- -

#include <serialib.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

serialib ()
 Constructor of the class serialib.
 
~serialib ()
 Destructor of the class serialib. It close the connection.
 
int available ()
 Return the number of bytes in the received buffer (UNIX only)
 
bool clearDTR ()
 Clear the bit DTR (pin 4) DTR stands for Data Terminal Ready.
 
bool clearRTS ()
 Clear the bit RTS (pin 7) RTS stands for Data Terminal Ready.
 
-void closeDevice ()
 Close the connection with the current device.
 
bool DTR (bool status)
 Set or unset the bit DTR (pin 4) DTR stands for Data Terminal Ready Convenience method :This method calls setDTR and clearDTR.
 
char flushReceiver ()
 Empty receiver buffer.
 
bool isCTS ()
 Get the CTS's status (pin 8) CTS stands for Clear To Send.
 
bool isDCD ()
 Get the DCD's status (pin 1) CDC stands for Data Carrier Detect.
 
bool isDSR ()
 Get the DSR's status (pin 6) DSR stands for Data Set Ready.
 
bool isDTR ()
 Get the DTR's status (pin 4) DTR stands for Data Terminal Ready May behave abnormally on Windows.
 
bool isRI ()
 Get the RING's status (pin 9) Ring Indicator.
 
bool isRTS ()
 Get the RTS's status (pin 7) RTS stands for Request To Send May behave abnormally on Windows.
 
char openDevice (const char *Device, const unsigned int Bauds)
 Open the serial port.
 
int readBytes (void *buffer, unsigned int maxNbBytes, const unsigned int timeOut_ms=0, unsigned int sleepDuration_us=100)
 Read an array of bytes from the serial device (with timeout)
 
char readChar (char *pByte, const unsigned int timeOut_ms=0)
 Wait for a byte from the serial device and return the data read.
 
int readString (char *receivedString, char finalChar, unsigned int maxNbBytes, const unsigned int timeOut_ms=0)
 Read a string from the serial device (with timeout)
 
bool RTS (bool status)
 Set or unset the bit RTS (pin 7) RTS stands for Data Termina Ready Convenience method :This method calls setDTR and clearDTR.
 
bool setDTR ()
 Set the bit DTR (pin 4) DTR stands for Data Terminal Ready.
 
bool setRTS ()
 Set the bit RTS (pin 7) RTS stands for Data Terminal Ready.
 
char writeBytes (const void *Buffer, const unsigned int NbBytes)
 Write an array of data on the current serial port.
 
char writeChar (char)
 Write a char on the current serial port.
 
char writeString (const char *String)
 Write a string on the current serial port.
 
-

Detailed Description

-

This class is used for communication over a serial device.

-

Member Function Documentation

- -

◆ available()

- -
-
- - - - - - - -
int serialib::available ()
-
- -

Return the number of bytes in the received buffer (UNIX only)

-
Returns
The number of bytes received by the serial provider but not yet read.
- -
-
- -

◆ clearDTR()

- -
-
- - - - - - - -
bool serialib::clearDTR ()
-
- -

Clear the bit DTR (pin 4) DTR stands for Data Terminal Ready.

-
Returns
If the function fails, the return value is false If the function succeeds, the return value is true.
- -
-
- -

◆ clearRTS()

- -
-
- - - - - - - -
bool serialib::clearRTS ()
-
- -

Clear the bit RTS (pin 7) RTS stands for Data Terminal Ready.

-
Returns
If the function fails, the return value is false If the function succeeds, the return value is true.
- -
-
- -

◆ DTR()

- -
-
- - - - - - - - -
bool serialib::DTR (bool status)
-
- -

Set or unset the bit DTR (pin 4) DTR stands for Data Terminal Ready Convenience method :This method calls setDTR and clearDTR.

-
Parameters
- - -
status= true set DTR status = false unset DTR
-
-
-
Returns
If the function fails, the return value is false If the function succeeds, the return value is true.
- -
-
- -

◆ flushReceiver()

- -
-
- - - - - - - -
char serialib::flushReceiver ()
-
- -

Empty receiver buffer.

-
Returns
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.
- -
-
- -

◆ isCTS()

- -
-
- - - - - - - -
bool serialib::isCTS ()
-
- -

Get the CTS's status (pin 8) CTS stands for Clear To Send.

-
Returns
Return true if CTS is set otherwise false
- -
-
- -

◆ isDCD()

- -
-
- - - - - - - -
bool serialib::isDCD ()
-
- -

Get the DCD's status (pin 1) CDC stands for Data Carrier Detect.

-
Returns
true if DCD is set
-
-false otherwise
- -
-
- -

◆ isDSR()

- -
-
- - - - - - - -
bool serialib::isDSR ()
-
- -

Get the DSR's status (pin 6) DSR stands for Data Set Ready.

-
Returns
Return true if DTR is set otherwise false
- -
-
- -

◆ isDTR()

- -
-
- - - - - - - -
bool serialib::isDTR ()
-
- -

Get the DTR's status (pin 4) DTR stands for Data Terminal Ready May behave abnormally on Windows.

-
Returns
Return true if CTS is set otherwise false
- -
-
- -

◆ isRI()

- -
-
- - - - - - - -
bool serialib::isRI ()
-
- -

Get the RING's status (pin 9) Ring Indicator.

-
Returns
Return true if RING is set otherwise false
- -
-
- -

◆ isRTS()

- -
-
- - - - - - - -
bool serialib::isRTS ()
-
- -

Get the RTS's status (pin 7) RTS stands for Request To Send May behave abnormally on Windows.

-
Returns
Return true if RTS is set otherwise false
- -
-
- -

◆ openDevice()

- -
-
- - - - - - - - - - - - - - - - - - -
char serialib::openDevice (const char * Device,
const unsigned int Bauds 
)
-
- -

Open the serial port.

-
Parameters
- - - -
Device: Port name (COM1, COM2, ... for Windows ) or (/dev/ttyS0, /dev/ttyACM0, /dev/ttyUSB0 ... for linux)
Bauds: Baud rate of the serial port.
- Supported baud rate for Windows :
    -
  • 110
  • -
  • 300
  • -
  • 600
  • -
  • 1200
  • -
  • 2400
  • -
  • 4800
  • -
  • 9600
  • -
  • 14400
  • -
  • 19200
  • -
  • 38400
  • -
  • 56000
  • -
  • 57600
  • -
  • 115200
  • -
  • 128000
  • -
  • 256000
    - Supported baud rate for Linux :
    -
  • -
  • 110
  • -
  • 300
  • -
  • 600
  • -
  • 1200
  • -
  • 2400
  • -
  • 4800
  • -
  • 9600
  • -
  • 19200
  • -
  • 38400
  • -
  • 57600
  • -
  • 115200
  • -
-
-
-
-
Returns
1 success
-
--1 device not found
-
--2 error while opening the device
-
--3 error while getting port parameters
-
--4 Speed (Bauds) not recognized
-
--5 error while writing port parameters
-
--6 error while writing timeout parameters
- -
-
- -

◆ readBytes()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int serialib::readBytes (void * buffer,
unsigned int maxNbBytes,
const unsigned int timeOut_ms = 0,
unsigned int sleepDuration_us = 100 
)
-
- -

Read an array of bytes from the serial device (with timeout)

-
Parameters
- - - - - -
buffer: array of bytes read from the serial device
maxNbBytes: maximum allowed number of bytes read
timeOut_ms: delay of timeout before giving up the reading
sleepDuration_us: delay of CPU relaxing in microseconds (Linux only) In the reading loop, a sleep can be performed after each reading This allows CPU to perform other tasks
-
-
-
Returns
>=0 return the number of bytes read before timeout or requested data is completed
-
--1 error while setting the Timeout
-
--2 error while reading the byte
- -
-
- -

◆ readChar()

- -
-
- - - - - - - - - - - - - - - - - - -
char serialib::readChar (char * pByte,
const unsigned int timeOut_ms = 0 
)
-
- -

Wait for a byte from the serial device and return the data read.

-
Parameters
- - - -
pByte: data read on the serial device
timeOut_ms: delay of timeout before giving up the reading If set to zero, timeout is disable (Optional)
-
-
-
Returns
1 success
-
-0 Timeout reached
-
--1 error while setting the Timeout
-
--2 error while reading the byte
- -
-
- -

◆ readString()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int serialib::readString (char * receivedString,
char finalChar,
unsigned int maxNbBytes,
const unsigned int timeOut_ms = 0 
)
-
- -

Read a string from the serial device (with timeout)

-
Parameters
- - - - - -
receivedString: string read on the serial device
finalChar: final char of the string
maxNbBytes: maximum allowed number of bytes read
timeOut_ms: delay of timeout before giving up the reading (optional)
-
-
-
Returns
>0 success, return the number of bytes read
-
-0 timeout is reached
-
--1 error while setting the Timeout
-
--2 error while reading the byte
-
--3 MaxNbBytes is reached
- -
-
- -

◆ RTS()

- -
-
- - - - - - - - -
bool serialib::RTS (bool status)
-
- -

Set or unset the bit RTS (pin 7) RTS stands for Data Termina Ready Convenience method :This method calls setDTR and clearDTR.

-
Parameters
- - -
status= true set DTR status = false unset DTR
-
-
-
Returns
false if the function fails
-
-true if the function succeeds
- -
-
- -

◆ setDTR()

- -
-
- - - - - - - -
bool serialib::setDTR ()
-
- -

Set the bit DTR (pin 4) DTR stands for Data Terminal Ready.

-
Returns
If the function fails, the return value is false If the function succeeds, the return value is true.
- -
-
- -

◆ setRTS()

- -
-
- - - - - - - -
bool serialib::setRTS ()
-
- -

Set the bit RTS (pin 7) RTS stands for Data Terminal Ready.

-
Returns
If the function fails, the return value is false If the function succeeds, the return value is true.
- -
-
- -

◆ writeBytes()

- -
-
- - - - - - - - - - - - - - - - - - -
char serialib::writeBytes (const void * Buffer,
const unsigned int NbBytes 
)
-
- -

Write an array of data on the current serial port.

-
Parameters
- - - -
Buffer: array of bytes to send on the port
NbBytes: number of byte to send
-
-
-
Returns
1 success
-
--1 error while writting data
- -
-
- -

◆ writeChar()

- -
-
- - - - - - - - -
char serialib::writeChar (char Byte)
-
- -

Write a char on the current serial port.

-
Parameters
- - -
Byte: char to send on the port (must be terminated by '\0')
-
-
-
Returns
1 success
-
--1 error while writting data
- -
-
- -

◆ writeString()

- -
-
- - - - - - - - -
char serialib::writeString (const char * receivedString)
-
- -

Write a string on the current serial port.

-
Parameters
- - -
receivedString: string to send on the port (must be terminated by '\0')
-
-
-
Returns
1 success
-
--1 error while writting data
- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff --git a/docs/html/classtime_out-members.html b/docs/html/classtime_out-members.html deleted file mode 100644 index 552920e..0000000 --- a/docs/html/classtime_out-members.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
-
timeOut Member List
-
-
- -

This is the complete list of members for timeOut, including all inherited members.

- - - - -
elapsedTime_ms()timeOut
initTimer()timeOut
timeOut()timeOut
- - - - diff --git a/docs/html/classtime_out.html b/docs/html/classtime_out.html deleted file mode 100644 index e80bfd2..0000000 --- a/docs/html/classtime_out.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - -arduino-emulator: timeOut Class Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
- -
timeOut Class Reference
-
-
- -

This class can manage a timer which is used as a timeout. - More...

- -

#include <serialib.h>

- - - - - - - - - - - -

-Public Member Functions

timeOut ()
 Constructor of the class timeOut.
 
unsigned long int elapsedTime_ms ()
 Returns the time elapsed since initialization. It write the current time of the day in the structure CurrentTime. Then it returns the difference between CurrentTime and PreviousTime.
 
-void initTimer ()
 Initialise the timer. It writes the current time of the day in the structure PreviousTime.
 
-

Detailed Description

-

This class can manage a timer which is used as a timeout.

-

Member Function Documentation

- -

◆ elapsedTime_ms()

- -
-
- - - - - - - -
unsigned long int timeOut::elapsedTime_ms ()
-
- -

Returns the time elapsed since initialization. It write the current time of the day in the structure CurrentTime. Then it returns the difference between CurrentTime and PreviousTime.

-
Returns
The number of microseconds elapsed since the functions InitTimer was called.
- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff --git a/docs/html/closed.png b/docs/html/closed.png deleted file mode 100644 index 98cc2c909da37a6df914fbf67780eebd99c597f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 132 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{V-kvUwAr*{o@8{^CZMh(5KoB^r_<4^zF@3)Cp&&t3hdujKf f*?bjBoY!V+E))@{xMcbjXe@)LtDnm{r-UW|*e5JT diff --git a/docs/html/cores_2arduino_2_s_p_i_8h_source.html b/docs/html/cores_2arduino_2_s_p_i_8h_source.html deleted file mode 100644 index 7659a7a..0000000 --- a/docs/html/cores_2arduino_2_s_p_i_8h_source.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/SPI.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
SPI.h
-
-
-
1#pragma once
-
2#include "SPIWrapper.h"
-
- - - - diff --git a/docs/html/deprecated_2_client_8h_source.html b/docs/html/deprecated_2_client_8h_source.html deleted file mode 100644 index cbe6442..0000000 --- a/docs/html/deprecated_2_client_8h_source.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated/Client.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Client.h
-
-
-
1/*
-
2 Copyright (c) 2016 Arduino LLC. All right reserved.
-
3
-
4 This library is free software; you can redistribute it and/or
-
5 modify it under the terms of the GNU Lesser General Public
-
6 License as published by the Free Software Foundation; either
-
7 version 2.1 of the License, or (at your option) any later version.
-
8
-
9 This library is distributed in the hope that it will be useful,
-
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
12 See the GNU Lesser General Public License for more details.
-
13
-
14 You should have received a copy of the GNU Lesser General Public
-
15 License along with this library; if not, write to the Free Software
-
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
17*/
-
18
-
19// including Client.h is deprecated, for all future projects use Arduino.h instead
-
20
-
21// This include is added for compatibility, it will be removed on the next
-
22// major release of the API
-
23#include "../Client.h"
-
24
-
25
-
- - - - diff --git a/docs/html/deprecated_2_hardware_serial_8h_source.html b/docs/html/deprecated_2_hardware_serial_8h_source.html deleted file mode 100644 index d6ae535..0000000 --- a/docs/html/deprecated_2_hardware_serial_8h_source.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated/HardwareSerial.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
HardwareSerial.h
-
-
-
1/*
-
2 Copyright (c) 2016 Arduino LLC. All right reserved.
-
3
-
4 This library is free software; you can redistribute it and/or
-
5 modify it under the terms of the GNU Lesser General Public
-
6 License as published by the Free Software Foundation; either
-
7 version 2.1 of the License, or (at your option) any later version.
-
8
-
9 This library is distributed in the hope that it will be useful,
-
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
12 See the GNU Lesser General Public License for more details.
-
13
-
14 You should have received a copy of the GNU Lesser General Public
-
15 License along with this library; if not, write to the Free Software
-
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
17*/
-
18
-
19// including HardwareSerial.h is deprecated, for all future projects use Arduino.h instead
-
20
-
21// This include is added for compatibility, it will be removed on the next
-
22// major release of the API
-
23#include "../HardwareSerial.h"
-
24
-
25
-
- - - - diff --git a/docs/html/deprecated_2_i_p_address_8h_source.html b/docs/html/deprecated_2_i_p_address_8h_source.html deleted file mode 100644 index 95be328..0000000 --- a/docs/html/deprecated_2_i_p_address_8h_source.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated/IPAddress.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
IPAddress.h
-
-
-
1/*
-
2 Copyright (c) 2016 Arduino LLC. All right reserved.
-
3
-
4 This library is free software; you can redistribute it and/or
-
5 modify it under the terms of the GNU Lesser General Public
-
6 License as published by the Free Software Foundation; either
-
7 version 2.1 of the License, or (at your option) any later version.
-
8
-
9 This library is distributed in the hope that it will be useful,
-
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
12 See the GNU Lesser General Public License for more details.
-
13
-
14 You should have received a copy of the GNU Lesser General Public
-
15 License along with this library; if not, write to the Free Software
-
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
17*/
-
18
-
19// including IPAddress.h is deprecated, for all future projects use Arduino.h instead
-
20
-
21// This include is added for compatibility, it will be removed on the next
-
22// major release of the API
-
23#include "../IPAddress.h"
-
24
-
25
-
- - - - diff --git a/docs/html/deprecated_2_print_8h_source.html b/docs/html/deprecated_2_print_8h_source.html deleted file mode 100644 index 923f8e8..0000000 --- a/docs/html/deprecated_2_print_8h_source.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated/Print.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Print.h
-
-
-
1/*
-
2 Copyright (c) 2016 Arduino LLC. All right reserved.
-
3
-
4 This library is free software; you can redistribute it and/or
-
5 modify it under the terms of the GNU Lesser General Public
-
6 License as published by the Free Software Foundation; either
-
7 version 2.1 of the License, or (at your option) any later version.
-
8
-
9 This library is distributed in the hope that it will be useful,
-
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
12 See the GNU Lesser General Public License for more details.
-
13
-
14 You should have received a copy of the GNU Lesser General Public
-
15 License along with this library; if not, write to the Free Software
-
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
17*/
-
18
-
19// including Print.h is deprecated, for all future projects use Arduino.h instead
-
20
-
21// This include is added for compatibility, it will be removed on the next
-
22// major release of the API
-
23#include "../Print.h"
-
24
-
- - - - diff --git a/docs/html/deprecated_2_printable_8h_source.html b/docs/html/deprecated_2_printable_8h_source.html deleted file mode 100644 index d73b6f6..0000000 --- a/docs/html/deprecated_2_printable_8h_source.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated/Printable.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Printable.h
-
-
-
1/*
-
2 Copyright (c) 2016 Arduino LLC. All right reserved.
-
3
-
4 This library is free software; you can redistribute it and/or
-
5 modify it under the terms of the GNU Lesser General Public
-
6 License as published by the Free Software Foundation; either
-
7 version 2.1 of the License, or (at your option) any later version.
-
8
-
9 This library is distributed in the hope that it will be useful,
-
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
12 See the GNU Lesser General Public License for more details.
-
13
-
14 You should have received a copy of the GNU Lesser General Public
-
15 License along with this library; if not, write to the Free Software
-
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
17*/
-
18
-
19// including Printable.h is deprecated, for all future projects use Arduino.h instead
-
20
-
21// This include is added for compatibility, it will be removed on the next
-
22// major release of the API
-
23#include "../Printable.h"
-
24
-
- - - - diff --git a/docs/html/deprecated_2_server_8h_source.html b/docs/html/deprecated_2_server_8h_source.html deleted file mode 100644 index 4c792ea..0000000 --- a/docs/html/deprecated_2_server_8h_source.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated/Server.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Server.h
-
-
-
1/*
-
2 Copyright (c) 2016 Arduino LLC. All right reserved.
-
3
-
4 This library is free software; you can redistribute it and/or
-
5 modify it under the terms of the GNU Lesser General Public
-
6 License as published by the Free Software Foundation; either
-
7 version 2.1 of the License, or (at your option) any later version.
-
8
-
9 This library is distributed in the hope that it will be useful,
-
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
12 See the GNU Lesser General Public License for more details.
-
13
-
14 You should have received a copy of the GNU Lesser General Public
-
15 License along with this library; if not, write to the Free Software
-
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
17*/
-
18
-
19// including Server.h is deprecated, for all future projects use Arduino.h instead
-
20
-
21// This include is added for compatibility, it will be removed on the next
-
22// major release of the API
-
23#include "../Server.h"
-
24
-
25
-
- - - - diff --git a/docs/html/deprecated_2_stream_8h_source.html b/docs/html/deprecated_2_stream_8h_source.html deleted file mode 100644 index e21fea2..0000000 --- a/docs/html/deprecated_2_stream_8h_source.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated/Stream.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Stream.h
-
-
-
1/*
-
2 Copyright (c) 2016 Arduino LLC. All right reserved.
-
3
-
4 This library is free software; you can redistribute it and/or
-
5 modify it under the terms of the GNU Lesser General Public
-
6 License as published by the Free Software Foundation; either
-
7 version 2.1 of the License, or (at your option) any later version.
-
8
-
9 This library is distributed in the hope that it will be useful,
-
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
12 See the GNU Lesser General Public License for more details.
-
13
-
14 You should have received a copy of the GNU Lesser General Public
-
15 License along with this library; if not, write to the Free Software
-
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
17*/
-
18
-
19// including Stream.h is deprecated, for all future projects use Arduino.h instead
-
20
-
21// This include is added for compatibility, it will be removed on the next
-
22// major release of the API
-
23#include "../Stream.h"
-
24
-
25
-
- - - - diff --git a/docs/html/deprecated_2_udp_8h_source.html b/docs/html/deprecated_2_udp_8h_source.html deleted file mode 100644 index 1e24015..0000000 --- a/docs/html/deprecated_2_udp_8h_source.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated/Udp.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Udp.h
-
-
-
1/*
-
2 Copyright (c) 2016 Arduino LLC. All right reserved.
-
3
-
4 This library is free software; you can redistribute it and/or
-
5 modify it under the terms of the GNU Lesser General Public
-
6 License as published by the Free Software Foundation; either
-
7 version 2.1 of the License, or (at your option) any later version.
-
8
-
9 This library is distributed in the hope that it will be useful,
-
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
12 See the GNU Lesser General Public License for more details.
-
13
-
14 You should have received a copy of the GNU Lesser General Public
-
15 License along with this library; if not, write to the Free Software
-
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
17*/
-
18
-
19// including Udp.h is deprecated, for all future projects use Arduino.h instead
-
20
-
21// This include is added for compatibility, it will be removed on the next
-
22// major release of the API
-
23#include "../Udp.h"
-
24
-
25
-
- - - - diff --git a/docs/html/dir_003636776c31d8d3d98ec36a2ef93f8d.html b/docs/html/dir_003636776c31d8d3d98ec36a2ef93f8d.html deleted file mode 100644 index 542fc2f..0000000 --- a/docs/html/dir_003636776c31d8d3d98ec36a2ef93f8d.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/esp8266 Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
esp8266 Directory Reference
-
-
- - - - -

-Files

 pins_arduino.h
 
-
- - - - diff --git a/docs/html/dir_08e6408c2be0588ccd1f72f005fa1d13.html b/docs/html/dir_08e6408c2be0588ccd1f72f005fa1d13.html deleted file mode 100644 index 1819275..0000000 --- a/docs/html/dir_08e6408c2be0588ccd1f72f005fa1d13.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/src/CanMsgRingbuffer Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
CanMsgRingbuffer Directory Reference
-
-
-
- - - - diff --git a/docs/html/dir_1493e53abac0e6bf8b661d0a9f51f4b1.html b/docs/html/dir_1493e53abac0e6bf8b661d0a9f51f4b1.html deleted file mode 100644 index 936c886..0000000 --- a/docs/html/dir_1493e53abac0e6bf8b661d0a9f51f4b1.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
cores Directory Reference
-
-
- - - - - - - - - - - - -

-Directories

 arduino
 
 avr
 
 esp32
 
 esp8266
 
 rasperry_pi
 
-
- - - - diff --git a/docs/html/dir_172a2df5bcefead855c386f653873ed6.html b/docs/html/dir_172a2df5bcefead855c386f653873ed6.html deleted file mode 100644 index c786806..0000000 --- a/docs/html/dir_172a2df5bcefead855c386f653873ed6.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
deprecated Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - -

-Files

 Client.h
 
 HardwareSerial.h
 
 IPAddress.h
 
 Print.h
 
 Printable.h
 
 Server.h
 
 Stream.h
 
 Udp.h
 
 WString.h
 
-
- - - - diff --git a/docs/html/dir_1cb87cd7e91a52ac83e841db90a87493.html b/docs/html/dir_1cb87cd7e91a52ac83e841db90a87493.html deleted file mode 100644 index ed538c0..0000000 --- a/docs/html/dir_1cb87cd7e91a52ac83e841db90a87493.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/rasperry_pi Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
rasperry_pi Directory Reference
-
-
- - - - - - - - - - -

-Files

 HardwareGPIO_RPI.h
 
 HardwareI2C_RPI.h
 
 HardwareSetupRPI.h
 
 HardwareSPI_RPI.h
 
-
- - - - diff --git a/docs/html/dir_28cc55446563df5a015bdfdafa319bb2.html b/docs/html/dir_28cc55446563df5a015bdfdafa319bb2.html deleted file mode 100644 index dd791cb..0000000 --- a/docs/html/dir_28cc55446563df5a015bdfdafa319bb2.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/src/Ringbuffer Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Ringbuffer Directory Reference
-
-
-
- - - - diff --git a/docs/html/dir_2ba506666022b9e33e4ecc950aca3a7c.html b/docs/html/dir_2ba506666022b9e33e4ecc950aca3a7c.html deleted file mode 100644 index 6c0895b..0000000 --- a/docs/html/dir_2ba506666022b9e33e4ecc950aca3a7c.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
arduino Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

 Arduino.h
 
 ArduinoLogger.h
 
 Ethernet.h
 
 EthernetServer.h
 
 EthernetUDP.h
 
 FileStream.h
 
 GPIOWrapper.h
 
 HardwareGPIO.h
 
 HardwareService.h
 
 HardwareSetup.h
 
 HardwareSetupRemote.h
 
 I2CWrapper.h
 
 NetworkClientSecure.h
 
 RemoteGPIO.h
 
 RemoteI2C.h
 
 RemoteSerial.h
 
 RemoteSPI.h
 
 RingBufferExt.h
 
 Serial.h
 
 serialib.cpp
 Source file of the class serialib. This class is used for communication over a serial device.
 
 serialib.h
 Header file of the class serialib. This class is used for communication over a serial device.
 
 SignalHandler.h
 
 SocketImpl.h
 
 Sources.h
 
 SPI.h
 
 SPIWrapper.h
 
 StdioDevice.h
 
 WiFi.h
 
 WiFiClient.h
 
 WiFiClientSecure.h
 
 WiFiServer.h
 
 WiFiUDP.h
 
 WiFiUdpStream.h
 
 Wire.h
 
-
- - - - diff --git a/docs/html/dir_2cca4b4e19fc60062d5bd4d6ebfdb1a0.html b/docs/html/dir_2cca4b4e19fc60062d5bd4d6ebfdb1a0.html deleted file mode 100644 index f5de416..0000000 --- a/docs/html/dir_2cca4b4e19fc60062d5bd4d6ebfdb1a0.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
ArduinoCore-Linux Directory Reference
-
-
- - - - -

-Directories

 libraries
 
-
- - - - diff --git a/docs/html/dir_3ab4fc018861724598989e8298b2f15a.html b/docs/html/dir_3ab4fc018861724598989e8298b2f15a.html deleted file mode 100644 index 0603eda..0000000 --- a/docs/html/dir_3ab4fc018861724598989e8298b2f15a.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
test Directory Reference
-
-
- - - - - - -

-Directories

 include
 
 src
 
-
- - - - diff --git a/docs/html/dir_545f08dfc4fc1da15e2fdcad7887aefd.html b/docs/html/dir_545f08dfc4fc1da15e2fdcad7887aefd.html deleted file mode 100644 index 9846ba4..0000000 --- a/docs/html/dir_545f08dfc4fc1da15e2fdcad7887aefd.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/src/CanMsg Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
CanMsg Directory Reference
-
-
-
- - - - diff --git a/docs/html/dir_5e0f52f1d37fd883ed7d12deeca0b8bf.html b/docs/html/dir_5e0f52f1d37fd883ed7d12deeca0b8bf.html deleted file mode 100644 index e73f07d..0000000 --- a/docs/html/dir_5e0f52f1d37fd883ed7d12deeca0b8bf.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/esp32 Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
esp32 Directory Reference
-
-
- - - - -

-Files

 pins_arduino.h
 
-
- - - - diff --git a/docs/html/dir_675771fc8bb55899657590d83ea2e7fa.html b/docs/html/dir_675771fc8bb55899657590d83ea2e7fa.html deleted file mode 100644 index 726e51c..0000000 --- a/docs/html/dir_675771fc8bb55899657590d83ea2e7fa.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/include Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
include Directory Reference
-
-
- - - - - - - - - - -

-Files

 MillisFake.h
 
 PrintableMock.h
 
 PrintMock.h
 
 StreamMock.h
 
-
- - - - diff --git a/docs/html/dir_72b5c6a539c3080a02bc17e85e292ae1.html b/docs/html/dir_72b5c6a539c3080a02bc17e85e292ae1.html deleted file mode 100644 index 2c70f2b..0000000 --- a/docs/html/dir_72b5c6a539c3080a02bc17e85e292ae1.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/src/String Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
String Directory Reference
-
-
- - - - -

-Files

 StringPrinter.h
 
-
- - - - diff --git a/docs/html/dir_8960f4941a66020b00d3f073ecd78e2b.html b/docs/html/dir_8960f4941a66020b00d3f073ecd78e2b.html deleted file mode 100644 index e731986..0000000 --- a/docs/html/dir_8960f4941a66020b00d3f073ecd78e2b.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/src/WCharacter Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
WCharacter Directory Reference
-
-
-
- - - - diff --git a/docs/html/dir_8d9fc4d15c79b33ee2846ed1c5ab9791.html b/docs/html/dir_8d9fc4d15c79b33ee2846ed1c5ab9791.html deleted file mode 100644 index 9d3fab2..0000000 --- a/docs/html/dir_8d9fc4d15c79b33ee2846ed1c5ab9791.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/src/Print Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Print Directory Reference
-
-
-
- - - - diff --git a/docs/html/dir_9e49f3b13e30306266f7920d40ece3b6.html b/docs/html/dir_9e49f3b13e30306266f7920d40ece3b6.html deleted file mode 100644 index e597d79..0000000 --- a/docs/html/dir_9e49f3b13e30306266f7920d40ece3b6.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/src Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
src Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - -

-Directories

 CanMsg
 
 CanMsgRingbuffer
 
 Common
 
 IPAddress
 
 Print
 
 Ringbuffer
 
 Stream
 
 String
 
 WCharacter
 
-
- - - - diff --git a/docs/html/dir_a1d53a571a5419d4e6067cbbae405b93.html b/docs/html/dir_a1d53a571a5419d4e6067cbbae405b93.html deleted file mode 100644 index a2d595f..0000000 --- a/docs/html/dir_a1d53a571a5419d4e6067cbbae405b93.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated-avr-comp/avr Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
avr Directory Reference
-
-
- - - - - - - - -

-Files

 dtostrf.h
 
 interrupt.h
 
 pgmspace.h
 
-
- - - - diff --git a/docs/html/dir_b074d1b1aa70f3c10763fb8f33d8f4cb.html b/docs/html/dir_b074d1b1aa70f3c10763fb8f33d8f4cb.html deleted file mode 100644 index 0e43f6d..0000000 --- a/docs/html/dir_b074d1b1aa70f3c10763fb8f33d8f4cb.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
ArduinoCore-API Directory Reference
-
-
- - - - -

-Directories

 api
 
-
- - - - diff --git a/docs/html/dir_b6f1a12a6c71929bbf113e74a9b81305.html b/docs/html/dir_b6f1a12a6c71929bbf113e74a9b81305.html deleted file mode 100644 index 7b10dc6..0000000 --- a/docs/html/dir_b6f1a12a6c71929bbf113e74a9b81305.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
api Directory Reference
-
-
- - - - -

-Directories

 deprecated
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

 ArduinoAPI.h
 
 Binary.h
 
 CanMsg.h
 
 CanMsgRingbuffer.h
 
 Client.h
 
 Common.h
 
 Compat.h
 
 DMAPool.h
 
 HardwareCAN.h
 
 HardwareI2C.h
 
 HardwareSerial.h
 
 HardwareSPI.h
 
 Interrupts.h
 
 IPAddress.h
 
 itoa.h
 
 PluggableUSB.h
 
 Print.h
 
 Printable.h
 
 RingBuffer.h
 
 Server.h
 
 Stream.h
 
 String.h
 
 Udp.h
 
 USBAPI.h
 
 WCharacter.h
 
-
- - - - diff --git a/docs/html/dir_b85ee9f09a3ff1d7d01590c4db171083.html b/docs/html/dir_b85ee9f09a3ff1d7d01590c4db171083.html deleted file mode 100644 index 4aa0b88..0000000 --- a/docs/html/dir_b85ee9f09a3ff1d7d01590c4db171083.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/avr Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
avr Directory Reference
-
-
- - - - -

-Files

 pins_arduino.h
 
-
- - - - diff --git a/docs/html/dir_bde93be90b18866d5c3c461eb8a7941b.html b/docs/html/dir_bde93be90b18866d5c3c461eb8a7941b.html deleted file mode 100644 index a06f19c..0000000 --- a/docs/html/dir_bde93be90b18866d5c3c461eb8a7941b.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/libraries Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
libraries Directory Reference
-
-
- - - - - - - - - - -

-Files

 SD.h
 The most important functions of SD library implemented based on std.
 
 SdFat.h
 The most important functions of SdFat library implemented based on std.
 
 SPI.h
 
-
- - - - diff --git a/docs/html/dir_c30b687a999e0b32ea4d8e0403705692.html b/docs/html/dir_c30b687a999e0b32ea4d8e0403705692.html deleted file mode 100644 index 03b53b1..0000000 --- a/docs/html/dir_c30b687a999e0b32ea4d8e0403705692.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/src/Common Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Common Directory Reference
-
-
-
- - - - diff --git a/docs/html/dir_d23751650123521b31f29a723923c402.html b/docs/html/dir_d23751650123521b31f29a723923c402.html deleted file mode 100644 index 94a7d3f..0000000 --- a/docs/html/dir_d23751650123521b31f29a723923c402.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/src/Stream Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
Stream Directory Reference
-
-
-
- - - - diff --git a/docs/html/dir_dff48a7d0ae0c8296c1f49f9e31985b1.html b/docs/html/dir_dff48a7d0ae0c8296c1f49f9e31985b1.html deleted file mode 100644 index 0061af6..0000000 --- a/docs/html/dir_dff48a7d0ae0c8296c1f49f9e31985b1.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated-avr-comp Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
deprecated-avr-comp Directory Reference
-
-
- - - - -

-Directories

 avr
 
-
- - - - diff --git a/docs/html/dir_e348cc18a5c4a65747adb39f55fe4c7b.html b/docs/html/dir_e348cc18a5c4a65747adb39f55fe4c7b.html deleted file mode 100644 index d3a2a17..0000000 --- a/docs/html/dir_e348cc18a5c4a65747adb39f55fe4c7b.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/test/src/IPAddress Directory Reference - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
IPAddress Directory Reference
-
-
-
- - - - diff --git a/docs/html/doc.png b/docs/html/doc.png deleted file mode 100644 index 17edabff95f7b8da13c9516a04efe05493c29501..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t diff --git a/docs/html/doc.svg b/docs/html/doc.svg deleted file mode 100644 index 0b928a5..0000000 --- a/docs/html/doc.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - diff --git a/docs/html/docd.svg b/docs/html/docd.svg deleted file mode 100644 index ac18b27..0000000 --- a/docs/html/docd.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - diff --git a/docs/html/doxygen.css b/docs/html/doxygen.css deleted file mode 100644 index 009a9b5..0000000 --- a/docs/html/doxygen.css +++ /dev/null @@ -1,2045 +0,0 @@ -/* The standard CSS for doxygen 1.9.8*/ - -html { -/* page base colors */ ---page-background-color: white; ---page-foreground-color: black; ---page-link-color: #3D578C; ---page-visited-link-color: #4665A2; - -/* index */ ---index-odd-item-bg-color: #F8F9FC; ---index-even-item-bg-color: white; ---index-header-color: black; ---index-separator-color: #A0A0A0; - -/* header */ ---header-background-color: #F9FAFC; ---header-separator-color: #C4CFE5; ---header-gradient-image: url('nav_h.png'); ---group-header-separator-color: #879ECB; ---group-header-color: #354C7B; ---inherit-header-color: gray; - ---footer-foreground-color: #2A3D61; ---footer-logo-width: 104px; ---citation-label-color: #334975; ---glow-color: cyan; - ---title-background-color: white; ---title-separator-color: #5373B4; ---directory-separator-color: #9CAFD4; ---separator-color: #4A6AAA; - ---blockquote-background-color: #F7F8FB; ---blockquote-border-color: #9CAFD4; - ---scrollbar-thumb-color: #9CAFD4; ---scrollbar-background-color: #F9FAFC; - ---icon-background-color: #728DC1; ---icon-foreground-color: white; ---icon-doc-image: url('doc.svg'); ---icon-folder-open-image: url('folderopen.svg'); ---icon-folder-closed-image: url('folderclosed.svg'); - -/* brief member declaration list */ ---memdecl-background-color: #F9FAFC; ---memdecl-separator-color: #DEE4F0; ---memdecl-foreground-color: #555; ---memdecl-template-color: #4665A2; - -/* detailed member list */ ---memdef-border-color: #A8B8D9; ---memdef-title-background-color: #E2E8F2; ---memdef-title-gradient-image: url('nav_f.png'); ---memdef-proto-background-color: #DFE5F1; ---memdef-proto-text-color: #253555; ---memdef-proto-text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); ---memdef-doc-background-color: white; ---memdef-param-name-color: #602020; ---memdef-template-color: #4665A2; - -/* tables */ ---table-cell-border-color: #2D4068; ---table-header-background-color: #374F7F; ---table-header-foreground-color: #FFFFFF; - -/* labels */ ---label-background-color: #728DC1; ---label-left-top-border-color: #5373B4; ---label-right-bottom-border-color: #C4CFE5; ---label-foreground-color: white; - -/** navigation bar/tree/menu */ ---nav-background-color: #F9FAFC; ---nav-foreground-color: #364D7C; ---nav-gradient-image: url('tab_b.png'); ---nav-gradient-hover-image: url('tab_h.png'); ---nav-gradient-active-image: url('tab_a.png'); ---nav-gradient-active-image-parent: url("../tab_a.png"); ---nav-separator-image: url('tab_s.png'); ---nav-breadcrumb-image: url('bc_s.png'); ---nav-breadcrumb-border-color: #C2CDE4; ---nav-splitbar-image: url('splitbar.png'); ---nav-font-size-level1: 13px; ---nav-font-size-level2: 10px; ---nav-font-size-level3: 9px; ---nav-text-normal-color: #283A5D; ---nav-text-hover-color: white; ---nav-text-active-color: white; ---nav-text-normal-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); ---nav-text-hover-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); ---nav-text-active-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); ---nav-menu-button-color: #364D7C; ---nav-menu-background-color: white; ---nav-menu-foreground-color: #555555; ---nav-menu-toggle-color: rgba(255, 255, 255, 0.5); ---nav-arrow-color: #9CAFD4; ---nav-arrow-selected-color: #9CAFD4; - -/* table of contents */ ---toc-background-color: #F4F6FA; ---toc-border-color: #D8DFEE; ---toc-header-color: #4665A2; ---toc-down-arrow-image: url("data:image/svg+xml;utf8,&%238595;"); - -/** search field */ ---search-background-color: white; ---search-foreground-color: #909090; ---search-magnification-image: url('mag.svg'); ---search-magnification-select-image: url('mag_sel.svg'); ---search-active-color: black; ---search-filter-background-color: #F9FAFC; ---search-filter-foreground-color: black; ---search-filter-border-color: #90A5CE; ---search-filter-highlight-text-color: white; ---search-filter-highlight-bg-color: #3D578C; ---search-results-foreground-color: #425E97; ---search-results-background-color: #EEF1F7; ---search-results-border-color: black; ---search-box-shadow: inset 0.5px 0.5px 3px 0px #555; - -/** code fragments */ ---code-keyword-color: #008000; ---code-type-keyword-color: #604020; ---code-flow-keyword-color: #E08000; ---code-comment-color: #800000; ---code-preprocessor-color: #806020; ---code-string-literal-color: #002080; ---code-char-literal-color: #008080; ---code-xml-cdata-color: black; ---code-vhdl-digit-color: #FF00FF; ---code-vhdl-char-color: #000000; ---code-vhdl-keyword-color: #700070; ---code-vhdl-logic-color: #FF0000; ---code-link-color: #4665A2; ---code-external-link-color: #4665A2; ---fragment-foreground-color: black; ---fragment-background-color: #FBFCFD; ---fragment-border-color: #C4CFE5; ---fragment-lineno-border-color: #00FF00; ---fragment-lineno-background-color: #E8E8E8; ---fragment-lineno-foreground-color: black; ---fragment-lineno-link-fg-color: #4665A2; ---fragment-lineno-link-bg-color: #D8D8D8; ---fragment-lineno-link-hover-fg-color: #4665A2; ---fragment-lineno-link-hover-bg-color: #C8C8C8; ---tooltip-foreground-color: black; ---tooltip-background-color: white; ---tooltip-border-color: gray; ---tooltip-doc-color: grey; ---tooltip-declaration-color: #006318; ---tooltip-link-color: #4665A2; ---tooltip-shadow: 1px 1px 7px gray; ---fold-line-color: #808080; ---fold-minus-image: url('minus.svg'); ---fold-plus-image: url('plus.svg'); ---fold-minus-image-relpath: url('../../minus.svg'); ---fold-plus-image-relpath: url('../../plus.svg'); - -/** font-family */ ---font-family-normal: Roboto,sans-serif; ---font-family-monospace: 'JetBrains Mono',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace,fixed; ---font-family-nav: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; ---font-family-title: Tahoma,Arial,sans-serif; ---font-family-toc: Verdana,'DejaVu Sans',Geneva,sans-serif; ---font-family-search: Arial,Verdana,sans-serif; ---font-family-icon: Arial,Helvetica; ---font-family-tooltip: Roboto,sans-serif; - -} - -@media (prefers-color-scheme: dark) { - html:not(.dark-mode) { - color-scheme: dark; - -/* page base colors */ ---page-background-color: black; ---page-foreground-color: #C9D1D9; ---page-link-color: #90A5CE; ---page-visited-link-color: #A3B4D7; - -/* index */ ---index-odd-item-bg-color: #0B101A; ---index-even-item-bg-color: black; ---index-header-color: #C4CFE5; ---index-separator-color: #334975; - -/* header */ ---header-background-color: #070B11; ---header-separator-color: #141C2E; ---header-gradient-image: url('nav_hd.png'); ---group-header-separator-color: #283A5D; ---group-header-color: #90A5CE; ---inherit-header-color: #A0A0A0; - ---footer-foreground-color: #5B7AB7; ---footer-logo-width: 60px; ---citation-label-color: #90A5CE; ---glow-color: cyan; - ---title-background-color: #090D16; ---title-separator-color: #354C79; ---directory-separator-color: #283A5D; ---separator-color: #283A5D; - ---blockquote-background-color: #101826; ---blockquote-border-color: #283A5D; - ---scrollbar-thumb-color: #283A5D; ---scrollbar-background-color: #070B11; - ---icon-background-color: #334975; ---icon-foreground-color: #C4CFE5; ---icon-doc-image: url('docd.svg'); ---icon-folder-open-image: url('folderopend.svg'); ---icon-folder-closed-image: url('folderclosedd.svg'); - -/* brief member declaration list */ ---memdecl-background-color: #0B101A; ---memdecl-separator-color: #2C3F65; ---memdecl-foreground-color: #BBB; ---memdecl-template-color: #7C95C6; - -/* detailed member list */ ---memdef-border-color: #233250; ---memdef-title-background-color: #1B2840; ---memdef-title-gradient-image: url('nav_fd.png'); ---memdef-proto-background-color: #19243A; ---memdef-proto-text-color: #9DB0D4; ---memdef-proto-text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.9); ---memdef-doc-background-color: black; ---memdef-param-name-color: #D28757; ---memdef-template-color: #7C95C6; - -/* tables */ ---table-cell-border-color: #283A5D; ---table-header-background-color: #283A5D; ---table-header-foreground-color: #C4CFE5; - -/* labels */ ---label-background-color: #354C7B; ---label-left-top-border-color: #4665A2; ---label-right-bottom-border-color: #283A5D; ---label-foreground-color: #CCCCCC; - -/** navigation bar/tree/menu */ ---nav-background-color: #101826; ---nav-foreground-color: #364D7C; ---nav-gradient-image: url('tab_bd.png'); ---nav-gradient-hover-image: url('tab_hd.png'); ---nav-gradient-active-image: url('tab_ad.png'); ---nav-gradient-active-image-parent: url("../tab_ad.png"); ---nav-separator-image: url('tab_sd.png'); ---nav-breadcrumb-image: url('bc_sd.png'); ---nav-breadcrumb-border-color: #2A3D61; ---nav-splitbar-image: url('splitbard.png'); ---nav-font-size-level1: 13px; ---nav-font-size-level2: 10px; ---nav-font-size-level3: 9px; ---nav-text-normal-color: #B6C4DF; ---nav-text-hover-color: #DCE2EF; ---nav-text-active-color: #DCE2EF; ---nav-text-normal-shadow: 0px 1px 1px black; ---nav-text-hover-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); ---nav-text-active-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); ---nav-menu-button-color: #B6C4DF; ---nav-menu-background-color: #05070C; ---nav-menu-foreground-color: #BBBBBB; ---nav-menu-toggle-color: rgba(255, 255, 255, 0.2); ---nav-arrow-color: #334975; ---nav-arrow-selected-color: #90A5CE; - -/* table of contents */ ---toc-background-color: #151E30; ---toc-border-color: #202E4A; ---toc-header-color: #A3B4D7; ---toc-down-arrow-image: url("data:image/svg+xml;utf8,&%238595;"); - -/** search field */ ---search-background-color: black; ---search-foreground-color: #C5C5C5; ---search-magnification-image: url('mag_d.svg'); ---search-magnification-select-image: url('mag_seld.svg'); ---search-active-color: #C5C5C5; ---search-filter-background-color: #101826; ---search-filter-foreground-color: #90A5CE; ---search-filter-border-color: #7C95C6; ---search-filter-highlight-text-color: #BCC9E2; ---search-filter-highlight-bg-color: #283A5D; ---search-results-background-color: #101826; ---search-results-foreground-color: #90A5CE; ---search-results-border-color: #7C95C6; ---search-box-shadow: inset 0.5px 0.5px 3px 0px #2F436C; - -/** code fragments */ ---code-keyword-color: #CC99CD; ---code-type-keyword-color: #AB99CD; ---code-flow-keyword-color: #E08000; ---code-comment-color: #717790; ---code-preprocessor-color: #65CABE; ---code-string-literal-color: #7EC699; ---code-char-literal-color: #00E0F0; ---code-xml-cdata-color: #C9D1D9; ---code-vhdl-digit-color: #FF00FF; ---code-vhdl-char-color: #C0C0C0; ---code-vhdl-keyword-color: #CF53C9; ---code-vhdl-logic-color: #FF0000; ---code-link-color: #79C0FF; ---code-external-link-color: #79C0FF; ---fragment-foreground-color: #C9D1D9; ---fragment-background-color: black; ---fragment-border-color: #30363D; ---fragment-lineno-border-color: #30363D; ---fragment-lineno-background-color: black; ---fragment-lineno-foreground-color: #6E7681; ---fragment-lineno-link-fg-color: #6E7681; ---fragment-lineno-link-bg-color: #303030; ---fragment-lineno-link-hover-fg-color: #8E96A1; ---fragment-lineno-link-hover-bg-color: #505050; ---tooltip-foreground-color: #C9D1D9; ---tooltip-background-color: #202020; ---tooltip-border-color: #C9D1D9; ---tooltip-doc-color: #D9E1E9; ---tooltip-declaration-color: #20C348; ---tooltip-link-color: #79C0FF; ---tooltip-shadow: none; ---fold-line-color: #808080; ---fold-minus-image: url('minusd.svg'); ---fold-plus-image: url('plusd.svg'); ---fold-minus-image-relpath: url('../../minusd.svg'); ---fold-plus-image-relpath: url('../../plusd.svg'); - -/** font-family */ ---font-family-normal: Roboto,sans-serif; ---font-family-monospace: 'JetBrains Mono',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace,fixed; ---font-family-nav: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; ---font-family-title: Tahoma,Arial,sans-serif; ---font-family-toc: Verdana,'DejaVu Sans',Geneva,sans-serif; ---font-family-search: Arial,Verdana,sans-serif; ---font-family-icon: Arial,Helvetica; ---font-family-tooltip: Roboto,sans-serif; - -}} -body { - background-color: var(--page-background-color); - color: var(--page-foreground-color); -} - -body, table, div, p, dl { - font-weight: 400; - font-size: 14px; - font-family: var(--font-family-normal); - line-height: 22px; -} - -/* @group Heading Levels */ - -.title { - font-weight: 400; - font-size: 14px; - font-family: var(--font-family-normal); - line-height: 28px; - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h1.groupheader { - font-size: 150%; -} - -h2.groupheader { - border-bottom: 1px solid var(--group-header-separator-color); - color: var(--group-header-color); - font-size: 150%; - font-weight: normal; - margin-top: 1.75em; - padding-top: 8px; - padding-bottom: 4px; - width: 100%; -} - -h3.groupheader { - font-size: 100%; -} - -h1, h2, h3, h4, h5, h6 { - -webkit-transition: text-shadow 0.5s linear; - -moz-transition: text-shadow 0.5s linear; - -ms-transition: text-shadow 0.5s linear; - -o-transition: text-shadow 0.5s linear; - transition: text-shadow 0.5s linear; - margin-right: 15px; -} - -h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { - text-shadow: 0 0 15px var(--glow-color); -} - -dt { - font-weight: bold; -} - -p.startli, p.startdd { - margin-top: 2px; -} - -th p.starttd, th p.intertd, th p.endtd { - font-size: 100%; - font-weight: 700; -} - -p.starttd { - margin-top: 0px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -p.interli { -} - -p.interdd { -} - -p.intertd { -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.navtab { - padding-right: 15px; - text-align: right; - line-height: 110%; -} - -div.navtab table { - border-spacing: 0; -} - -td.navtab { - padding-right: 6px; - padding-left: 6px; -} - -td.navtabHL { - background-image: var(--nav-gradient-active-image); - background-repeat:repeat-x; - padding-right: 6px; - padding-left: 6px; -} - -td.navtabHL a, td.navtabHL a:visited { - color: var(--nav-text-hover-color); - text-shadow: var(--nav-text-hover-shadow); -} - -a.navtab { - font-weight: bold; -} - -div.qindex{ - text-align: center; - width: 100%; - line-height: 140%; - font-size: 130%; - color: var(--index-separator-color); -} - -#main-menu a:focus { - outline: auto; - z-index: 10; - position: relative; -} - -dt.alphachar{ - font-size: 180%; - font-weight: bold; -} - -.alphachar a{ - color: var(--index-header-color); -} - -.alphachar a:hover, .alphachar a:visited{ - text-decoration: none; -} - -.classindex dl { - padding: 25px; - column-count:1 -} - -.classindex dd { - display:inline-block; - margin-left: 50px; - width: 90%; - line-height: 1.15em; -} - -.classindex dl.even { - background-color: var(--index-even-item-bg-color); -} - -.classindex dl.odd { - background-color: var(--index-odd-item-bg-color); -} - -@media(min-width: 1120px) { - .classindex dl { - column-count:2 - } -} - -@media(min-width: 1320px) { - .classindex dl { - column-count:3 - } -} - - -/* @group Link Styling */ - -a { - color: var(--page-link-color); - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: var(--page-visited-link-color); -} - -a:hover { - text-decoration: underline; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code, a.code:visited, a.line, a.line:visited { - color: var(--code-link-color); -} - -a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { - color: var(--code-external-link-color); -} - -a.code.hl_class { /* style for links to class names in code snippets */ } -a.code.hl_struct { /* style for links to struct names in code snippets */ } -a.code.hl_union { /* style for links to union names in code snippets */ } -a.code.hl_interface { /* style for links to interface names in code snippets */ } -a.code.hl_protocol { /* style for links to protocol names in code snippets */ } -a.code.hl_category { /* style for links to category names in code snippets */ } -a.code.hl_exception { /* style for links to exception names in code snippets */ } -a.code.hl_service { /* style for links to service names in code snippets */ } -a.code.hl_singleton { /* style for links to singleton names in code snippets */ } -a.code.hl_concept { /* style for links to concept names in code snippets */ } -a.code.hl_namespace { /* style for links to namespace names in code snippets */ } -a.code.hl_package { /* style for links to package names in code snippets */ } -a.code.hl_define { /* style for links to macro names in code snippets */ } -a.code.hl_function { /* style for links to function names in code snippets */ } -a.code.hl_variable { /* style for links to variable names in code snippets */ } -a.code.hl_typedef { /* style for links to typedef names in code snippets */ } -a.code.hl_enumvalue { /* style for links to enum value names in code snippets */ } -a.code.hl_enumeration { /* style for links to enumeration names in code snippets */ } -a.code.hl_signal { /* style for links to Qt signal names in code snippets */ } -a.code.hl_slot { /* style for links to Qt slot names in code snippets */ } -a.code.hl_friend { /* style for links to friend names in code snippets */ } -a.code.hl_dcop { /* style for links to KDE3 DCOP names in code snippets */ } -a.code.hl_property { /* style for links to property names in code snippets */ } -a.code.hl_event { /* style for links to event names in code snippets */ } -a.code.hl_sequence { /* style for links to sequence names in code snippets */ } -a.code.hl_dictionary { /* style for links to dictionary names in code snippets */ } - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -ul { - overflow: visible; -} - -ul.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; - column-count: 3; - list-style-type: none; -} - -#side-nav ul { - overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */ -} - -#main-nav ul { - overflow: visible; /* reset ul rule for the navigation bar drop down lists */ -} - -.fragment { - text-align: left; - direction: ltr; - overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/ - overflow-y: hidden; -} - -pre.fragment { - border: 1px solid var(--fragment-border-color); - background-color: var(--fragment-background-color); - color: var(--fragment-foreground-color); - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; - font-family: var(--font-family-monospace); - font-size: 105%; -} - -div.fragment { - padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ - margin: 4px 8px 4px 2px; - color: var(--fragment-foreground-color); - background-color: var(--fragment-background-color); - border: 1px solid var(--fragment-border-color); -} - -div.line { - font-family: var(--font-family-monospace); - font-size: 13px; - min-height: 13px; - line-height: 1.2; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - text-indent: -53px; - padding-left: 53px; - padding-bottom: 0px; - margin: 0px; - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -div.line:after { - content:"\000A"; - white-space: pre; -} - -div.line.glow { - background-color: var(--glow-color); - box-shadow: 0 0 10px var(--glow-color); -} - -span.fold { - margin-left: 5px; - margin-right: 1px; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; - display: inline-block; - width: 12px; - height: 12px; - background-repeat:no-repeat; - background-position:center; -} - -span.lineno { - padding-right: 4px; - margin-right: 9px; - text-align: right; - border-right: 2px solid var(--fragment-lineno-border-color); - color: var(--fragment-lineno-foreground-color); - background-color: var(--fragment-lineno-background-color); - white-space: pre; -} -span.lineno a, span.lineno a:visited { - color: var(--fragment-lineno-link-fg-color); - background-color: var(--fragment-lineno-link-bg-color); -} - -span.lineno a:hover { - color: var(--fragment-lineno-link-hover-fg-color); - background-color: var(--fragment-lineno-link-hover-bg-color); -} - -.lineno { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -div.classindex ul { - list-style: none; - padding-left: 0; -} - -div.classindex span.ai { - display: inline-block; -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - color: var(--page-foreground-color); - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 12px; - margin-right: 8px; -} - -p.formulaDsp { - text-align: center; -} - -img.dark-mode-visible { - display: none; -} -img.light-mode-visible { - display: none; -} - -img.formulaDsp { - -} - -img.formulaInl, img.inline { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; - width: var(--footer-logo-width); -} - -.compoundTemplParams { - color: var(--memdecl-template-color); - font-size: 80%; - line-height: 120%; -} - -/* @group Code Colorization */ - -span.keyword { - color: var(--code-keyword-color); -} - -span.keywordtype { - color: var(--code-type-keyword-color); -} - -span.keywordflow { - color: var(--code-flow-keyword-color); -} - -span.comment { - color: var(--code-comment-color); -} - -span.preprocessor { - color: var(--code-preprocessor-color); -} - -span.stringliteral { - color: var(--code-string-literal-color); -} - -span.charliteral { - color: var(--code-char-literal-color); -} - -span.xmlcdata { - color: var(--code-xml-cdata-color); -} - -span.vhdldigit { - color: var(--code-vhdl-digit-color); -} - -span.vhdlchar { - color: var(--code-vhdl-char-color); -} - -span.vhdlkeyword { - color: var(--code-vhdl-keyword-color); -} - -span.vhdllogic { - color: var(--code-vhdl-logic-color); -} - -blockquote { - background-color: var(--blockquote-background-color); - border-left: 2px solid var(--blockquote-border-color); - margin: 0 24px 0 4px; - padding: 0 12px 0 16px; -} - -/* @end */ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid var(--table-cell-border-color); -} - -th.dirtab { - background-color: var(--table-header-background-color); - color: var(--table-header-foreground-color); - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid var(--separator-color); -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.memberdecls td, .fieldtable tr { - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -.memberdecls td.glow, .fieldtable tr.glow { - background-color: var(--glow-color); - box-shadow: 0 0 15px var(--glow-color); -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: var(--memdecl-background-color); - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: var(--memdecl-foreground-color); -} - -.memSeparator { - border-bottom: 1px solid var(--memdecl-separator-color); - line-height: 1px; - margin: 0px; - padding: 0px; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight, .memTemplItemRight { - width: 100%; -} - -.memTemplParams { - color: var(--memdecl-template-color); - white-space: nowrap; - font-size: 80%; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtitle { - padding: 8px; - border-top: 1px solid var(--memdef-border-color); - border-left: 1px solid var(--memdef-border-color); - border-right: 1px solid var(--memdef-border-color); - border-top-right-radius: 4px; - border-top-left-radius: 4px; - margin-bottom: -1px; - background-image: var(--memdef-title-gradient-image); - background-repeat: repeat-x; - background-color: var(--memdef-title-background-color); - line-height: 1.25; - font-weight: 300; - float:left; -} - -.permalink -{ - font-size: 65%; - display: inline-block; - vertical-align: middle; -} - -.memtemplate { - font-size: 80%; - color: var(--memdef-template-color); - font-weight: normal; - margin-left: 9px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; - -webkit-transition: box-shadow 0.5s linear; - -moz-transition: box-shadow 0.5s linear; - -ms-transition: box-shadow 0.5s linear; - -o-transition: box-shadow 0.5s linear; - transition: box-shadow 0.5s linear; - display: table !important; - width: 100%; -} - -.memitem.glow { - box-shadow: 0 0 15px var(--glow-color); -} - -.memname { - font-weight: 400; - margin-left: 6px; -} - -.memname td { - vertical-align: bottom; -} - -.memproto, dl.reflist dt { - border-top: 1px solid var(--memdef-border-color); - border-left: 1px solid var(--memdef-border-color); - border-right: 1px solid var(--memdef-border-color); - padding: 6px 0px 6px 0px; - color: var(--memdef-proto-text-color); - font-weight: bold; - text-shadow: var(--memdef-proto-text-shadow); - background-color: var(--memdef-proto-background-color); - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 4px; -} - -.overload { - font-family: var(--font-family-monospace); - font-size: 65%; -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid var(--memdef-border-color); - border-left: 1px solid var(--memdef-border-color); - border-right: 1px solid var(--memdef-border-color); - padding: 6px 10px 2px 10px; - border-top-width: 0; - background-image:url('nav_g.png'); - background-repeat:repeat-x; - background-color: var(--memdef-doc-background-color); - /* opera specific markup */ - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-bottomright: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: var(--memdef-param-name-color); - white-space: nowrap; -} -.paramname em { - font-style: normal; -} -.paramname code { - line-height: 14px; -} - -.params, .retval, .exception, .tparams { - margin-left: 0px; - padding-left: 0px; -} - -.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype, .tparams .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir, .tparams .paramdir { - font-family: var(--font-family-monospace); - vertical-align: top; -} - -table.mlabels { - border-spacing: 0px; -} - -td.mlabels-left { - width: 100%; - padding: 0px; -} - -td.mlabels-right { - vertical-align: bottom; - padding: 0px; - white-space: nowrap; -} - -span.mlabels { - margin-left: 8px; -} - -span.mlabel { - background-color: var(--label-background-color); - border-top:1px solid var(--label-left-top-border-color); - border-left:1px solid var(--label-left-top-border-color); - border-right:1px solid var(--label-right-bottom-border-color); - border-bottom:1px solid var(--label-right-bottom-border-color); - text-shadow: none; - color: var(--label-foreground-color); - margin-right: 4px; - padding: 2px 3px; - border-radius: 3px; - font-size: 7pt; - white-space: nowrap; - vertical-align: middle; -} - - - -/* @end */ - -/* these are for tree view inside a (index) page */ - -div.directory { - margin: 10px 0px; - border-top: 1px solid var(--directory-separator-color); - border-bottom: 1px solid var(--directory-separator-color); - width: 100%; -} - -.directory table { - border-collapse:collapse; -} - -.directory td { - margin: 0px; - padding: 0px; - vertical-align: top; -} - -.directory td.entry { - white-space: nowrap; - padding-right: 6px; - padding-top: 3px; -} - -.directory td.entry a { - outline:none; -} - -.directory td.entry a img { - border: none; -} - -.directory td.desc { - width: 100%; - padding-left: 6px; - padding-right: 6px; - padding-top: 3px; - border-left: 1px solid rgba(0,0,0,0.05); -} - -.directory tr.odd { - padding-left: 6px; - background-color: var(--index-odd-item-bg-color); -} - -.directory tr.even { - padding-left: 6px; - background-color: var(--index-even-item-bg-color); -} - -.directory img { - vertical-align: -30%; -} - -.directory .levels { - white-space: nowrap; - width: 100%; - text-align: right; - font-size: 9pt; -} - -.directory .levels span { - cursor: pointer; - padding-left: 2px; - padding-right: 2px; - color: var(--page-link-color); -} - -.arrow { - color: var(--nav-arrow-color); - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - cursor: pointer; - font-size: 80%; - display: inline-block; - width: 16px; - height: 22px; -} - -.icon { - font-family: var(--font-family-icon); - line-height: normal; - font-weight: bold; - font-size: 12px; - height: 14px; - width: 16px; - display: inline-block; - background-color: var(--icon-background-color); - color: var(--icon-foreground-color); - text-align: center; - border-radius: 4px; - margin-left: 2px; - margin-right: 2px; -} - -.icona { - width: 24px; - height: 22px; - display: inline-block; -} - -.iconfopen { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:var(--icon-folder-open-image); - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.iconfclosed { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:var(--icon-folder-closed-image); - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.icondoc { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:var(--icon-doc-image); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -/* @end */ - -div.dynheader { - margin-top: 8px; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -address { - font-style: normal; - color: var(--footer-foreground-color); -} - -table.doxtable caption { - caption-side: top; -} - -table.doxtable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.doxtable td, table.doxtable th { - border: 1px solid var(--table-cell-border-color); - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: var(--table-header-background-color); - color: var(--table-header-foreground-color); - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -table.fieldtable { - margin-bottom: 10px; - border: 1px solid var(--memdef-border-color); - border-spacing: 0px; - border-radius: 4px; - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - white-space: nowrap; - border-right: 1px solid var(--memdef-border-color); - border-bottom: 1px solid var(--memdef-border-color); - vertical-align: top; -} - -.fieldtable td.fieldname { - padding-top: 3px; -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid var(--memdef-border-color); -} - -.fieldtable td.fielddoc p:first-child { - margin-top: 0px; -} - -.fieldtable td.fielddoc p:last-child { - margin-bottom: 2px; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image: var(--memdef-title-gradient-image); - background-repeat:repeat-x; - background-color: var(--memdef-title-background-color); - font-size: 90%; - color: var(--memdef-proto-text-color); - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - font-weight: 400; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid var(--memdef-border-color); -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: var(--nav-gradient-image); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image: var(--nav-gradient-image); - background-repeat:repeat-x; - background-position: 0 -5px; - height:30px; - line-height:30px; - color:var(--nav-text-normal-color); - border:solid 1px var(--nav-breadcrumb-border-color); - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:var(--nav-breadcrumb-image); - background-repeat:no-repeat; - background-position:right; - color: var(--nav-foreground-color); -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; - color: var(--nav-text-normal-color); - font-family: var(--font-family-nav); - text-shadow: var(--nav-text-normal-shadow); - text-decoration: none; -} - -.navpath li.navelem a:hover -{ - color: var(--nav-text-hover-color); - text-shadow: var(--nav-text-hover-shadow); -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color: var(--footer-foreground-color); - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -table.classindex -{ - margin: 10px; - white-space: nowrap; - margin-left: 3%; - margin-right: 3%; - width: 94%; - border: 0; - border-spacing: 0; - padding: 0; -} - -div.ingroups -{ - font-size: 8pt; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image: var(--header-gradient-image); - background-repeat:repeat-x; - background-color: var(--header-background-color); - margin: 0px; - border-bottom: 1px solid var(--header-separator-color); -} - -div.headertitle -{ - padding: 5px 5px 5px 10px; -} - -.PageDocRTL-title div.headertitle { - text-align: right; - direction: rtl; -} - -dl { - padding: 0 0 0 0; -} - -/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */ -dl.section { - margin-left: 0px; - padding-left: 0px; -} - -dl.note { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #D0C000; -} - -dl.warning, dl.attention { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #00D000; -} - -dl.deprecated { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #505050; -} - -dl.todo { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #00C0E0; -} - -dl.test { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #3030E0; -} - -dl.bug { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #C08050; -} - -dl.section dd { - margin-bottom: 6px; -} - - -#projectrow -{ - height: 56px; -} - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectalign -{ - vertical-align: middle; - padding-left: 0.5em; -} - -#projectname -{ - font-size: 200%; - font-family: var(--font-family-title); - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font-size: 90%; - font-family: var(--font-family-title); - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font-size: 50%; - font-family: 50% var(--font-family-title); - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid var(--title-separator-color); - background-color: var(--title-background-color); -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.plantumlgraph -{ - text-align: center; -} - -.diagraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:var(--citation-label-color); - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; - text-align:right; - width:52px; -} - -dl.citelist dd { - margin:2px 0 2px 72px; - padding:5px 0; -} - -div.toc { - padding: 14px 25px; - background-color: var(--toc-background-color); - border: 1px solid var(--toc-border-color); - border-radius: 7px 7px 7px 7px; - float: right; - height: auto; - margin: 0 8px 10px 10px; - width: 200px; -} - -div.toc li { - background: var(--toc-down-arrow-image) no-repeat scroll 0 5px transparent; - font: 10px/1.2 var(--font-family-toc); - margin-top: 5px; - padding-left: 10px; - padding-top: 2px; -} - -div.toc h3 { - font: bold 12px/1.2 var(--font-family-toc); - color: var(--toc-header-color); - border-bottom: 0 none; - margin: 0; -} - -div.toc ul { - list-style: none outside none; - border: medium none; - padding: 0px; -} - -div.toc li.level1 { - margin-left: 0px; -} - -div.toc li.level2 { - margin-left: 15px; -} - -div.toc li.level3 { - margin-left: 15px; -} - -div.toc li.level4 { - margin-left: 15px; -} - -span.emoji { - /* font family used at the site: https://unicode.org/emoji/charts/full-emoji-list.html - * font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", Times, Symbola, Aegyptus, Code2000, Code2001, Code2002, Musica, serif, LastResort; - */ -} - -span.obfuscator { - display: none; -} - -.inherit_header { - font-weight: bold; - color: var(--inherit-header-color); - cursor: pointer; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.inherit_header td { - padding: 6px 0px 2px 5px; -} - -.inherit { - display: none; -} - -tr.heading h2 { - margin-top: 12px; - margin-bottom: 4px; -} - -/* tooltip related style info */ - -.ttc { - position: absolute; - display: none; -} - -#powerTip { - cursor: default; - /*white-space: nowrap;*/ - color: var(--tooltip-foreground-color); - background-color: var(--tooltip-background-color); - border: 1px solid var(--tooltip-border-color); - border-radius: 4px 4px 4px 4px; - box-shadow: var(--tooltip-shadow); - display: none; - font-size: smaller; - max-width: 80%; - opacity: 0.9; - padding: 1ex 1em 1em; - position: absolute; - z-index: 2147483647; -} - -#powerTip div.ttdoc { - color: var(--tooltip-doc-color); - font-style: italic; -} - -#powerTip div.ttname a { - font-weight: bold; -} - -#powerTip a { - color: var(--tooltip-link-color); -} - -#powerTip div.ttname { - font-weight: bold; -} - -#powerTip div.ttdeci { - color: var(--tooltip-declaration-color); -} - -#powerTip div { - margin: 0px; - padding: 0px; - font-size: 12px; - font-family: var(--font-family-tooltip); - line-height: 16px; -} - -#powerTip:before, #powerTip:after { - content: ""; - position: absolute; - margin: 0px; -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.s:after, #powerTip.s:before, -#powerTip.w:after, #powerTip.w:before, -#powerTip.e:after, #powerTip.e:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.nw:after, #powerTip.nw:before, -#powerTip.sw:after, #powerTip.sw:before { - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; -} - -#powerTip.n:after, #powerTip.s:after, -#powerTip.w:after, #powerTip.e:after, -#powerTip.nw:after, #powerTip.ne:after, -#powerTip.sw:after, #powerTip.se:after { - border-color: rgba(255, 255, 255, 0); -} - -#powerTip.n:before, #powerTip.s:before, -#powerTip.w:before, #powerTip.e:before, -#powerTip.nw:before, #powerTip.ne:before, -#powerTip.sw:before, #powerTip.se:before { - border-color: rgba(128, 128, 128, 0); -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.nw:after, #powerTip.nw:before { - top: 100%; -} - -#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { - border-top-color: var(--tooltip-background-color); - border-width: 10px; - margin: 0px -10px; -} -#powerTip.n:before, #powerTip.ne:before, #powerTip.nw:before { - border-top-color: var(--tooltip-border-color); - border-width: 11px; - margin: 0px -11px; -} -#powerTip.n:after, #powerTip.n:before { - left: 50%; -} - -#powerTip.nw:after, #powerTip.nw:before { - right: 14px; -} - -#powerTip.ne:after, #powerTip.ne:before { - left: 14px; -} - -#powerTip.s:after, #powerTip.s:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.sw:after, #powerTip.sw:before { - bottom: 100%; -} - -#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { - border-bottom-color: var(--tooltip-background-color); - border-width: 10px; - margin: 0px -10px; -} - -#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { - border-bottom-color: var(--tooltip-border-color); - border-width: 11px; - margin: 0px -11px; -} - -#powerTip.s:after, #powerTip.s:before { - left: 50%; -} - -#powerTip.sw:after, #powerTip.sw:before { - right: 14px; -} - -#powerTip.se:after, #powerTip.se:before { - left: 14px; -} - -#powerTip.e:after, #powerTip.e:before { - left: 100%; -} -#powerTip.e:after { - border-left-color: var(--tooltip-border-color); - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.e:before { - border-left-color: var(--tooltip-border-color); - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -#powerTip.w:after, #powerTip.w:before { - right: 100%; -} -#powerTip.w:after { - border-right-color: var(--tooltip-border-color); - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.w:before { - border-right-color: var(--tooltip-border-color); - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } -} - -/* @group Markdown */ - -table.markdownTable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.markdownTable td, table.markdownTable th { - border: 1px solid var(--table-cell-border-color); - padding: 3px 7px 2px; -} - -table.markdownTable tr { -} - -th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { - background-color: var(--table-header-background-color); - color: var(--table-header-foreground-color); - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -th.markdownTableHeadLeft, td.markdownTableBodyLeft { - text-align: left -} - -th.markdownTableHeadRight, td.markdownTableBodyRight { - text-align: right -} - -th.markdownTableHeadCenter, td.markdownTableBodyCenter { - text-align: center -} - -tt, code, kbd, samp -{ - display: inline-block; -} -/* @end */ - -u { - text-decoration: underline; -} - -details>summary { - list-style-type: none; -} - -details > summary::-webkit-details-marker { - display: none; -} - -details>summary::before { - content: "\25ba"; - padding-right:4px; - font-size: 80%; -} - -details[open]>summary::before { - content: "\25bc"; - padding-right:4px; - font-size: 80%; -} - -body { - scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-background-color); -} - -::-webkit-scrollbar { - background-color: var(--scrollbar-background-color); - height: 12px; - width: 12px; -} -::-webkit-scrollbar-thumb { - border-radius: 6px; - box-shadow: inset 0 0 12px 12px var(--scrollbar-thumb-color); - border: solid 2px transparent; -} -::-webkit-scrollbar-corner { - background-color: var(--scrollbar-background-color); -} - diff --git a/docs/html/doxygen.svg b/docs/html/doxygen.svg deleted file mode 100644 index 79a7635..0000000 --- a/docs/html/doxygen.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/html/dtostrf_8h_source.html b/docs/html/dtostrf_8h_source.html deleted file mode 100644 index 1ee9e26..0000000 --- a/docs/html/dtostrf_8h_source.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated-avr-comp/avr/dtostrf.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
dtostrf.h
-
-
-
1/*
-
2 dtostrf - Emulation for dtostrf function from avr-libc
-
3 Copyright (c) 2015 Arduino LLC. All rights reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#pragma once
-
21
-
22#if !defined(ARDUINO_ARCH_AVR)
-
23
-
24#ifdef __cplusplus
-
25extern "C" {
-
26#endif
-
27
-
28char *dtostrf(double val, signed char width, unsigned char prec, char *sout);
-
29
-
30#ifdef __cplusplus
-
31}
-
32#endif
-
33
-
34#endif
-
- - - - diff --git a/docs/html/dynsections.js b/docs/html/dynsections.js deleted file mode 100644 index b73c828..0000000 --- a/docs/html/dynsections.js +++ /dev/null @@ -1,192 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file - */ -function toggleVisibility(linkObj) -{ - var base = $(linkObj).attr('id'); - var summary = $('#'+base+'-summary'); - var content = $('#'+base+'-content'); - var trigger = $('#'+base+'-trigger'); - var src=$(trigger).attr('src'); - if (content.is(':visible')===true) { - content.hide(); - summary.show(); - $(linkObj).addClass('closed').removeClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); - } else { - content.show(); - summary.hide(); - $(linkObj).removeClass('closed').addClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); - } - return false; -} - -function updateStripes() -{ - $('table.directory tr'). - removeClass('even').filter(':visible:even').addClass('even'); - $('table.directory tr'). - removeClass('odd').filter(':visible:odd').addClass('odd'); -} - -function toggleLevel(level) -{ - $('table.directory tr').each(function() { - var l = this.id.split('_').length-1; - var i = $('#img'+this.id.substring(3)); - var a = $('#arr'+this.id.substring(3)); - if (l'); - // add vertical lines to other rows - $('span[class=lineno]').not(':eq(0)').append(''); - // add toggle controls to lines with fold divs - $('div[class=foldopen]').each(function() { - // extract specific id to use - var id = $(this).attr('id').replace('foldopen',''); - // extract start and end foldable fragment attributes - var start = $(this).attr('data-start'); - var end = $(this).attr('data-end'); - // replace normal fold span with controls for the first line of a foldable fragment - $(this).find('span[class=fold]:first').replaceWith(''); - // append div for folded (closed) representation - $(this).after(''); - // extract the first line from the "open" section to represent closed content - var line = $(this).children().first().clone(); - // remove any glow that might still be active on the original line - $(line).removeClass('glow'); - if (start) { - // if line already ends with a start marker (e.g. trailing {), remove it - $(line).html($(line).html().replace(new RegExp('\\s*'+start+'\\s*$','g'),'')); - } - // replace minus with plus symbol - $(line).find('span[class=fold]').css('background-image',plusImg[relPath]); - // append ellipsis - $(line).append(' '+start+''+end); - // insert constructed line into closed div - $('#foldclosed'+id).html(line); - }); -} - -/* @license-end */ diff --git a/docs/html/esp32_2pins__arduino_8h_source.html b/docs/html/esp32_2pins__arduino_8h_source.html deleted file mode 100644 index 300fe04..0000000 --- a/docs/html/esp32_2pins__arduino_8h_source.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/esp32/pins_arduino.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
pins_arduino.h
-
-
-
1#ifndef Pins_Arduino_h
-
2#define Pins_Arduino_h
-
3
-
4#include <stdint.h>
-
5
-
6#define EXTERNAL_NUM_INTERRUPTS 16
-
7#define NUM_DIGITAL_PINS 38
-
8#define NUM_ANALOG_INPUTS 16
-
9
-
10#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
-
11#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
-
12#define digitalPinHasPWM(p) (p < 34)
-
13
-
14static const uint8_t LED_BUILTIN = 16;
-
15#define BUILTIN_LED LED_BUILTIN // backward compatibility
-
16#define LED_BUILTIN LED_BUILTIN
-
17
-
18static const uint8_t BUILTIN_KEY = 0;
-
19
-
20static const uint8_t TX = 1;
-
21static const uint8_t RX = 3;
-
22
-
23static const uint8_t SDA = 21;
-
24static const uint8_t SCL = 22;
-
25
-
26static const uint8_t SS = 5;
-
27static const uint8_t MOSI = 23;
-
28static const uint8_t MISO = 19;
-
29static const uint8_t SCK = 18;
-
30
-
31static const uint8_t A0 = 36;
-
32static const uint8_t A3 = 39;
-
33static const uint8_t A4 = 32;
-
34static const uint8_t A5 = 33;
-
35static const uint8_t A6 = 34;
-
36static const uint8_t A7 = 35;
-
37static const uint8_t A10 = 4;
-
38static const uint8_t A11 = 0;
-
39static const uint8_t A12 = 2;
-
40static const uint8_t A13 = 15;
-
41static const uint8_t A14 = 13;
-
42static const uint8_t A15 = 12;
-
43static const uint8_t A16 = 14;
-
44static const uint8_t A17 = 27;
-
45static const uint8_t A18 = 25;
-
46static const uint8_t A19 = 26;
-
47
-
48static const uint8_t T0 = 4;
-
49static const uint8_t T1 = 0;
-
50static const uint8_t T2 = 2;
-
51static const uint8_t T3 = 15;
-
52static const uint8_t T4 = 13;
-
53static const uint8_t T5 = 12;
-
54static const uint8_t T6 = 14;
-
55static const uint8_t T7 = 27;
-
56static const uint8_t T8 = 33;
-
57static const uint8_t T9 = 32;
-
58
-
59static const uint8_t DAC1 = 25;
-
60static const uint8_t DAC2 = 26;
-
61
-
62#endif /* Pins_Arduino_h */
-
- - - - diff --git a/docs/html/esp8266_2pins__arduino_8h_source.html b/docs/html/esp8266_2pins__arduino_8h_source.html deleted file mode 100644 index b00b624..0000000 --- a/docs/html/esp8266_2pins__arduino_8h_source.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/esp8266/pins_arduino.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
pins_arduino.h
-
-
-
1/*
-
2 pins_arduino.h - Pin definition functions for Arduino
-
3 Part of Arduino - http://www.arduino.cc/
-
4 Copyright (c) 2007 David A. Mellis
-
5 Modified for ESP8266 platform by Ivan Grokhotkov, 2014-2015.
-
6 This library is free software; you can redistribute it and/or
-
7 modify it under the terms of the GNU Lesser General Public
-
8 License as published by the Free Software Foundation; either
-
9 version 2.1 of the License, or (at your option) any later version.
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14 You should have received a copy of the GNU Lesser General
-
15 Public License along with this library; if not, write to the
-
16 Free Software Foundation, Inc., 59 Temple Place, Suite 330,
-
17 Boston, MA 02111-1307 USA
-
18 $Id: wiring.h 249 2007-02-03 16:52:51Z mellis $
-
19*/
-
20
-
21#ifndef Pins_Arduino_h
-
22#define Pins_Arduino_h
-
23
-
24#define PIN_WIRE_SDA (4)
-
25#define PIN_WIRE_SCL (5)
-
26
-
27static const uint8_t SDA = PIN_WIRE_SDA;
-
28static const uint8_t SCL = PIN_WIRE_SCL;
-
29
-
30#define LED_BUILTIN 2
-
31
-
32static const uint8_t D0 = 16;
-
33static const uint8_t D1 = 5;
-
34static const uint8_t D2 = 4;
-
35static const uint8_t D3 = 0;
-
36static const uint8_t D4 = 2;
-
37static const uint8_t D5 = 14;
-
38static const uint8_t D6 = 12;
-
39static const uint8_t D7 = 13;
-
40static const uint8_t D8 = 15;
-
41static const uint8_t RX = 3;
-
42static const uint8_t TX = 1;
-
43
-
44#include "../generic/common.h"
-
45
-
46#endif /* Pins_Arduino_h */
-
- - - - diff --git a/docs/html/files.html b/docs/html/files.html deleted file mode 100644 index 16ed039..0000000 --- a/docs/html/files.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - -arduino-emulator: File List - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
File List
-
-
-
Here is a list of all documented files with brief descriptions:
-
[detail level 12345]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  ArduinoCore-API
  api
  deprecated
 Client.h
 HardwareSerial.h
 IPAddress.h
 Print.h
 Printable.h
 Server.h
 Stream.h
 Udp.h
 WString.h
  deprecated-avr-comp
  avr
 ArduinoAPI.h
 Binary.h
 CanMsg.h
 CanMsgRingbuffer.h
 Client.h
 Common.h
 Compat.h
 DMAPool.h
 HardwareCAN.h
 HardwareI2C.h
 HardwareSerial.h
 HardwareSPI.h
 Interrupts.h
 IPAddress.h
 itoa.h
 PluggableUSB.h
 Print.h
 Printable.h
 RingBuffer.h
 Server.h
 Stream.h
 String.h
 Udp.h
 USBAPI.h
 WCharacter.h
  test
  include
 MillisFake.h
 PrintableMock.h
 PrintMock.h
 StreamMock.h
  src
  String
  ArduinoCore-Linux
  cores
  arduino
 Arduino.h
 ArduinoLogger.h
 Ethernet.h
 EthernetServer.h
 EthernetUDP.h
 FileStream.h
 GPIOWrapper.h
 HardwareGPIO.h
 HardwareService.h
 HardwareSetup.h
 HardwareSetupRemote.h
 I2CWrapper.h
 NetworkClientSecure.h
 RemoteGPIO.h
 RemoteI2C.h
 RemoteSerial.h
 RemoteSPI.h
 RingBufferExt.h
 Serial.h
 serialib.cppSource file of the class serialib. This class is used for communication over a serial device
 serialib.hHeader file of the class serialib. This class is used for communication over a serial device
 SignalHandler.h
 SocketImpl.h
 Sources.h
 SPI.h
 SPIWrapper.h
 StdioDevice.h
 WiFi.h
 WiFiClient.h
 WiFiClientSecure.h
 WiFiServer.h
 WiFiUDP.h
 WiFiUdpStream.h
 Wire.h
  avr
 pins_arduino.h
  esp32
 pins_arduino.h
  esp8266
 pins_arduino.h
  rasperry_pi
 HardwareGPIO_RPI.h
 HardwareI2C_RPI.h
 HardwareSetupRPI.h
 HardwareSPI_RPI.h
  libraries
 SD.hThe most important functions of SD library implemented based on std
 SdFat.hThe most important functions of SdFat library implemented based on std
 SPI.h
-
-
- - - - diff --git a/docs/html/folderclosed.png b/docs/html/folderclosed.png deleted file mode 100644 index bb8ab35edce8e97554e360005ee9fc5bffb36e66..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 616 zcmV-u0+;=XP)a9#ETzayK)T~Jw&MMH>OIr#&;dC}is*2Mqdf&akCc=O@`qC+4i z5Iu3w#1M@KqXCz8TIZd1wli&kkl2HVcAiZ8PUn5z_kG@-y;?yK06=cA0U%H0PH+kU zl6dp}OR(|r8-RG+YLu`zbI}5TlOU6ToR41{9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6` zBLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XUdOZN~c=dLt_h_k!dbxm_*ibDM zlFX`g{k$X}yIe%$N)cn1LNu=q9_CS)*>A zsX_mM4L@`(cSNQKMFc$RtYbx{79#j-J7hk*>*+ZZhM4Hw?I?rsXCi#mRWJ=-0LGV5a-WR0Qgt<|Nqf)C-@80`5gIz45^_20000 - - - - - - - - - diff --git a/docs/html/folderclosedd.svg b/docs/html/folderclosedd.svg deleted file mode 100644 index 52f0166..0000000 --- a/docs/html/folderclosedd.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - diff --git a/docs/html/folderopen.png b/docs/html/folderopen.png deleted file mode 100644 index d6c7f676a3b3ef8c2c307d319dff3c6a604eb227..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 597 zcmV-b0;>IqP)X=#(TiCT&PiIIVc55T}TU}EUh*{q$|`3@{d>{Tc9Bo>e= zfmF3!f>fbI9#GoEHh0f`i5)wkLpva0ztf%HpZneK?w-7AK@b4Itw{y|Zd3k!fH?q2 zlhckHd_V2M_X7+)U&_Xcfvtw60l;--DgZmLSw-Y?S>)zIqMyJ1#FwLU*%bl38ok+! zh78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5jDplgxd44}9;IRqUH1YHH|@6oFe%z( zo4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=|)Rz|V`sGfHNrJ)0gJb8xx+SBmRf@1l zvuzt=vGfI)<-F9!o&3l?>9~0QbUDT(wFdnQPv%xdD)m*g%!20>Bc9iYmGAp<9YAa( z0QgYgTWqf1qN++Gqp z8@AYPTB3E|6s=WLG?xw0tm|U!o=&zd+H0oRYE;Dbx+Na9s^STqX|Gnq%H8s(nGDGJ j8vwW|`Ts`)fSK|Kx=IK@RG@g200000NkvXXu0mjfauFEA diff --git a/docs/html/folderopen.svg b/docs/html/folderopen.svg deleted file mode 100644 index f6896dd..0000000 --- a/docs/html/folderopen.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - diff --git a/docs/html/folderopend.svg b/docs/html/folderopend.svg deleted file mode 100644 index 2d1f06e..0000000 --- a/docs/html/folderopend.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - diff --git a/docs/html/functions.html b/docs/html/functions.html deleted file mode 100644 index 7099881..0000000 --- a/docs/html/functions.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - - -arduino-emulator: Class Members - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- a -

- - -

- b -

- - -

- c -

- - -

- d -

- - -

- e -

- - -

- f -

- - -

- h -

- - -

- i -

- - -

- l -

- - -

- n -

- - -

- o -

- - -

- p -

- - -

- r -

- - -

- s -

- - -

- t -

- - -

- w -

- - -

- ~ -

-
- - - - diff --git a/docs/html/functions_enum.html b/docs/html/functions_enum.html deleted file mode 100644 index 0f311ba..0000000 --- a/docs/html/functions_enum.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - -arduino-emulator: Class Members - Enumerations - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all documented enums with links to the class documentation for each member:
-
- - - - diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html deleted file mode 100644 index 680500a..0000000 --- a/docs/html/functions_func.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - - -arduino-emulator: Class Members - Functions - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Here is a list of all documented functions with links to the class documentation for each member:
- -

- a -

- - -

- b -

- - -

- c -

- - -

- d -

- - -

- e -

- - -

- f -

- - -

- h -

- - -

- i -

- - -

- n -

- - -

- o -

- - -

- p -

- - -

- r -

- - -

- s -

- - -

- t -

- - -

- w -

- - -

- ~ -

-
- - - - diff --git a/docs/html/hierarchy.html b/docs/html/hierarchy.html deleted file mode 100644 index 29976af..0000000 --- a/docs/html/hierarchy.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - -arduino-emulator: Class Hierarchy - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
Class Hierarchy
-
-
-
This inheritance list is sorted roughly, but not completely, alphabetically:
-
[detail level 12345]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Carduino::__container__< T >
 Carduino::ArduinoLoggerA simple Logger that writes messages dependent on the log level
 Carduino::CanMsgRingbuffer
 Carduino::DMABuffer< T, A >
 Carduino::DMAPool< T, A >
 Carduino::DMAPool< T, __CACHE_LINE_SIZE__ >
 Carduino::EthernetImpl
 Carduino::GPIOSourceAbstract interface for providing GPIO hardware implementations
 Carduino::HardwareSetupRPISets up hardware interfaces for Raspberry Pi (GPIO, I2C, SPI)
 Carduino::HardwareSetupRemoteConfigures and manages remote hardware interfaces for Arduino emulation
 Carduino::HardwareCAN
 Carduino::HardwareGPIOAbstract base class for GPIO (General Purpose Input/Output) functions
 Carduino::GPIOWrapperGPIO wrapper class that provides flexible hardware abstraction
 Carduino::HardwareGPIO_RPIGPIO hardware abstraction for Raspberry Pi in the Arduino emulator
 Carduino::RemoteGPIORemote GPIO implementation that operates over a communication stream
 Carduino::HardwareServiceProvides a virtualized hardware communication service for SPI, I2C, I2S, and GPIO over a stream
 Carduino::HardwareSPI
 Carduino::HardwareSPI_RPIImplementation of SPI communication for Raspberry Pi using Linux SPI device interface
 Carduino::RemoteSPIRemote SPI implementation that operates over a communication stream
 Carduino::SPIWrapperSPI wrapper class that provides flexible hardware abstraction
 CHardwareSPI
 CSPIClassMock SPIClass is a class that implements the HardwareSPI interface. e.g. Using Files do not need SPI, but usually do some SPI setup
 Carduino::I2CSourceAbstract interface for providing I2C hardware implementations
 Carduino::HardwareSetupRPISets up hardware interfaces for Raspberry Pi (GPIO, I2C, SPI)
 Carduino::HardwareSetupRemoteConfigures and manages remote hardware interfaces for Arduino emulation
 Carduino::Stream::MultiTarget
 Carduino::PluggableUSB_
 Carduino::PluggableUSBModule
 Carduino::Print
 Carduino::Server
 Carduino::EthernetServer
 Carduino::Stream
 CStreamMock
 Carduino::Client
 Carduino::EthernetClient
 Carduino::NetworkClientSecureNetworkClientSecure based on wolf ssl
 Carduino::FileStreamWe use the FileStream class to be able to provide Serail, Serial1 and Serial2 outside of the Arduino environment;
 Carduino::HardwareI2C
 Carduino::HardwareI2C_RPIImplementation of I2C communication for Raspberry Pi using Linux I2C device interface
 Carduino::I2CWrapperI2C wrapper class that provides flexible hardware abstraction
 Carduino::RemoteI2CRemote I2C implementation that operates over a communication stream
 Carduino::HardwareSerial
 Carduino::SerialImpl
 Carduino::RemoteSerialClassRemote Serial implementation that operates over a communication stream
 Carduino::StdioDeviceProvides a Stream interface for standard input/output operations outside the Arduino environment
 Carduino::UDP
 Carduino::EthernetUDP
 Carduino::WiFiUDPStreamUDP Stream implementation for single-target communication
 CPrint
 CPrintMock
 Carduino::Printable
 CPrintableMock
 Carduino::CanMsg
 Carduino::IPAddress
 Carduino::RingBufferExtImplementation of a Simple Circular Buffer. Instead of comparing the position of the read and write pointer in order to figure out if we still have characters available or space left to write we keep track of the actual length which is easier to follow. This class was implemented to support the reading and writing of arrays
 Carduino::RingBufferN< N >
 CSdFatC++ std based emulatoion ofr SdFat
 CSdSpiConfigC++ std based emulatoion of SdSpiConfig
 CserialibThis class is used for communication over a serial device
 CSignalHandler
 Carduino::SocketImpl
 Carduino::SocketImplSecureSSL Socket using wolf ssl. For error codes see https://wolfssl.jp/docs-3/wolfssl-manual/appendix-c
 Carduino::SPISettings
 Carduino::SPISourceAbstract interface for providing SPI hardware implementations
 Carduino::HardwareSetupRPISets up hardware interfaces for Raspberry Pi (GPIO, I2C, SPI)
 Carduino::HardwareSetupRemoteConfigures and manages remote hardware interfaces for Arduino emulation
 Carduino::SPSCQueue< T >
 Carduino::SPSCQueue< arduino::DMABuffer< T > * >
 CStream
 CFileC++ std based emulatoion ofr File
 CSdFileC++ std based emulatoion ofr SdFile
 Carduino::String
 Carduino::StringSumHelper
 CCatch::StringMaker< arduino::String >
 CtimeOutThis class can manage a timer which is used as a timeout
 Carduino::WifiMock
-
-
- - - - diff --git a/docs/html/index.html b/docs/html/index.html deleted file mode 100644 index aa2dc04..0000000 --- a/docs/html/index.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - -arduino-emulator: An Arduino C++ Emulator Library - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
An Arduino C++ Emulator Library
-
-
-

Linux build Unit tests

-

-Using this Project as a library

-

If you have an Arduino Sketch that you want to run e.g in Linux, OS/X or Windows you can include this library with cmake. Here is an example cmake file for an Arduino Audio Sketch).

-

-GPIO/SPI/I2C

-

We provide some alternative implementations:

-
    -
  • Dummy Implementatin which does nothing
  • -
  • Communicates changes to/from a Microcontroller using UDP
  • -
  • Rasperry PI
  • -
-

-Rasperry PI

-

You can run this emulator on an Rasperry PI

-
    -
  • make sure that the -DUSE_RPI cmake option is set to ON
  • -
  • install libgpiod-dev (sudo apt install libgpiod-dev)
  • -
  • activate SPI and I2C with raspi-config
  • -
-

-Jupyter

-

I initially really wanted to have an interactive Jupyter environemnt in which I could play around with Arduino commands and when I discovered that Arduino provides a good starting point with their ArduinoCore-API I decided to start this project.

-

You can also use xeus-cling as a runtime environment to simulate an Arduino Development board and I have added the missing implementation using C or the C++ std library.

-

Here is a quick demo:

- -

-Supported Defines

-

You can activate/deactivate some functionality with the help of the following defines:

-
    -
  • USE_RPI: activates support for Rasperry PI
  • -
  • USE_REMOTE: activates support for GPIO/SPI/I2C using UDP or Stream
  • -
  • USE_HTTPS: provide https support using wolfSSL
  • -
  • SKIP_HARDWARE_SETUP: deactivate all GPIO/SPI/I2C implementations
  • -
  • SKIP_HARDWARE_WIFI: deactivate WiFi
  • -
-

-Build instructions

-

Execute the following commends in the root of the Arduino-Emulator:

-
git clone --recurse-submodules https://github.com/pschatzmann/Arduino-Emulator
-
cd Arduino-Emulator
-
mkdir build
-
cd build
-
cmake -DUSE_RPI=OFF -DUSE_HTTPS=OFF -DCMAKE_BUILD_TYPE=Debug ..
-
make
-

Adjust the cmake parameters dependent on your requirements.

-

-Documentation

- -

-Usage notes

-

-Case-insensitive file systems (Windows, OSX, WSL)

-

To avoid conflicts between system string.h and Arduino’s string library String.h, just do not put (include)/api to include path. Put (include) and (include)/api/deprecated instead. This usual way to resolve this conflict in all Arduino cores.

-
-
- - - - diff --git a/docs/html/interrupt_8h_source.html b/docs/html/interrupt_8h_source.html deleted file mode 100644 index 2fe2c38..0000000 --- a/docs/html/interrupt_8h_source.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated-avr-comp/avr/interrupt.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
interrupt.h
-
-
-
1/*
-
2 Copyright (c) 2015 Arduino LCC. All right reserved.
-
3
-
4 This library is free software; you can redistribute it and/or
-
5 modify it under the terms of the GNU Lesser General Public
-
6 License as published by the Free Software Foundation; either
-
7 version 2.1 of the License, or (at your option) any later version.
-
8
-
9 This library is distributed in the hope that it will be useful,
-
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
12 See the GNU Lesser General Public License for more details.
-
13
-
14 You should have received a copy of the GNU Lesser General Public
-
15 License along with this library; if not, write to the Free Software
-
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
17*/
-
18
-
19/*
-
20 Empty file.
-
21 This file is here to allow compatibility with sketches (made for AVR)
-
22 that include <AVR/interrupt.h>
-
23*/
-
- - - - diff --git a/docs/html/itoa_8h_source.html b/docs/html/itoa_8h_source.html deleted file mode 100644 index 0f65c8d..0000000 --- a/docs/html/itoa_8h_source.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/itoa.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
itoa.h
-
-
-
1/*
-
2 itoa.h - Integer to ASCII conversion
-
3 Copyright (c) 2016 Arduino LLC. All right reserved.
-
4
-
5 This library is free software; you can redistribute it and/or
-
6 modify it under the terms of the GNU Lesser General Public
-
7 License as published by the Free Software Foundation; either
-
8 version 2.1 of the License, or (at your option) any later version.
-
9
-
10 This library is distributed in the hope that it will be useful,
-
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-
13 Lesser General Public License for more details.
-
14
-
15 You should have received a copy of the GNU Lesser General Public
-
16 License along with this library; if not, write to the Free Software
-
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
18*/
-
19
-
20#pragma once
-
21
-
22// Standard C functions required in Arduino API
-
23// If these functions are not provided by the standard library, the
-
24// core should supply an implementation of them.
-
25
-
26#ifdef __cplusplus
-
27extern "C" {
-
28#endif
-
29
-
30extern char* itoa(int value, char *string, int radix);
-
31extern char* ltoa(long value, char *string, int radix);
-
32extern char* utoa(unsigned value, char *string, int radix);
-
33extern char* ultoa(unsigned long value, char *string, int radix);
-
34
-
35#ifdef __cplusplus
-
36} // extern "C"
-
37#endif
-
38
-
- - - - diff --git a/docs/html/jquery.js b/docs/html/jquery.js deleted file mode 100644 index 1dffb65..0000000 --- a/docs/html/jquery.js +++ /dev/null @@ -1,34 +0,0 @@ -/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=y(e||this.defaultElement||this)[0],this.element=y(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=y(),this.hoverable=y(),this.focusable=y(),this.classesElementLookup={},e!==this&&(y.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=y(e.style?e.ownerDocument:e.document||e),this.window=y(this.document[0].defaultView||this.document[0].parentWindow)),this.options=y.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:y.noop,_create:y.noop,_init:y.noop,destroy:function(){var i=this;this._destroy(),y.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:y.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return y.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=y.widget.extend({},this.options[t]),n=0;n
"),i=e.children()[0];return y("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthx(D(s),D(n))?o.important="horizontal":o.important="vertical",p.using.call(this,t,o)}),h.offset(y.extend(l,{using:t}))})},y.ui.position={fit:{left:function(t,e){var i=e.within,s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,h=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),y.ui.plugin={add:function(t,e,i){var s,n=y.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;n").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),e.autoHide&&y(this.element).on("mouseenter",function(){e.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){e.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();function t(t){y(t).removeData("resizable").removeData("ui-resizable").off(".resizable")}var e;return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!e}},_setupHandles:function(){var t,e,i,s,n,o=this.options,h=this;if(this.handles=o.handles||(y(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=y(),this._addedHandles=y(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},e=0;e"),this._addClass(n,"ui-resizable-handle "+s),n.css({zIndex:o.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.children(this.handles[t]).length||(this.element.append(n),this._addedHandles=this._addedHandles.add(n));this._renderAxis=function(t){var e,i,s;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String?this.handles[e]=this.element.children(this.handles[e]).first().show():(this.handles[e].jquery||this.handles[e].nodeType)&&(this.handles[e]=y(this.handles[e]),this._on(this.handles[e],{mousedown:h._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=y(this.handles[e],this.element),s=/sw|ne|nw|se|n|s/.test(e)?i.outerHeight():i.outerWidth(),i=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(i,s),this._proportionallyResize()),this._handles=this._handles.add(this.handles[e])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){h.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),h.axis=n&&n[1]?n[1]:"se")}),o.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(t){var e,i,s=!1;for(e in this.handles)(i=y(this.handles[e])[0])!==t.target&&!y.contains(i,t.target)||(s=!0);return!this.options.disabled&&s},_mouseStart:function(t){var e,i,s=this.options,n=this.element;return this.resizing=!0,this._renderProxy(),e=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),s.containment&&(e+=y(s.containment).scrollLeft()||0,i+=y(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:n.width(),height:n.height()},this.originalSize=this._helper?{width:n.outerWidth(),height:n.outerHeight()}:{width:n.width(),height:n.height()},this.sizeDiff={width:n.outerWidth()-n.width(),height:n.outerHeight()-n.height()},this.originalPosition={left:e,top:i},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=y(".ui-resizable-"+this.axis).css("cursor"),y("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.originalMousePosition,i=this.axis,s=t.pageX-e.left||0,e=t.pageY-e.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(e=i.apply(this,[t,s,e]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate("resize",t),e=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),y.isEmptyObject(e)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,s,n=this.options,o=this;return this._helper&&(s=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:o.sizeDiff.height,i=e?0:o.sizeDiff.width,e={width:o.helper.width()-i,height:o.helper.height()-s},i=parseFloat(o.element.css("left"))+(o.position.left-o.originalPosition.left)||null,s=parseFloat(o.element.css("top"))+(o.position.top-o.originalPosition.top)||null,n.animate||this.element.css(y.extend(e,{top:s,left:i})),o.helper.height(o.size.height),o.helper.width(o.size.width),this._helper&&!n.animate&&this._proportionallyResize()),y("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s=this.options,n={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0};(this._aspectRatio||t)&&(e=n.minHeight*this.aspectRatio,i=n.minWidth/this.aspectRatio,s=n.maxHeight*this.aspectRatio,t=n.maxWidth/this.aspectRatio,e>n.minWidth&&(n.minWidth=e),i>n.minHeight&&(n.minHeight=i),st.width,h=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,r=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),h&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=a-e.minWidth),s&&l&&(t.left=a-e.maxWidth),h&&i&&(t.top=r-e.minHeight),n&&i&&(t.top=r-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){y.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),y.ui.plugin.add("resizable","animate",{stop:function(e){var i=y(this).resizable("instance"),t=i.options,s=i._proportionallyResizeElements,n=s.length&&/textarea/i.test(s[0].nodeName),o=n&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,h=n?0:i.sizeDiff.width,n={width:i.size.width-h,height:i.size.height-o},h=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,o=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(y.extend(n,o&&h?{top:o,left:h}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};s&&s.length&&y(s[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),y.ui.plugin.add("resizable","containment",{start:function(){var i,s,n=y(this).resizable("instance"),t=n.options,e=n.element,o=t.containment,h=o instanceof y?o.get(0):/parent/.test(o)?e.parent().get(0):o;h&&(n.containerElement=y(h),/document/.test(o)||o===document?(n.containerOffset={left:0,top:0},n.containerPosition={left:0,top:0},n.parentData={element:y(document),left:0,top:0,width:y(document).width(),height:y(document).height()||document.body.parentNode.scrollHeight}):(i=y(h),s=[],y(["Top","Right","Left","Bottom"]).each(function(t,e){s[t]=n._num(i.css("padding"+e))}),n.containerOffset=i.offset(),n.containerPosition=i.position(),n.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},t=n.containerOffset,e=n.containerSize.height,o=n.containerSize.width,o=n._hasScroll(h,"left")?h.scrollWidth:o,e=n._hasScroll(h)?h.scrollHeight:e,n.parentData={element:h,left:t.left,top:t.top,width:o,height:e}))},resize:function(t){var e=y(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.position,o=e._aspectRatio||t.shiftKey,h={top:0,left:0},a=e.containerElement,t=!0;a[0]!==document&&/static/.test(a.css("position"))&&(h=s),n.left<(e._helper?s.left:0)&&(e.size.width=e.size.width+(e._helper?e.position.left-s.left:e.position.left-h.left),o&&(e.size.height=e.size.width/e.aspectRatio,t=!1),e.position.left=i.helper?s.left:0),n.top<(e._helper?s.top:0)&&(e.size.height=e.size.height+(e._helper?e.position.top-s.top:e.position.top),o&&(e.size.width=e.size.height*e.aspectRatio,t=!1),e.position.top=e._helper?s.top:0),i=e.containerElement.get(0)===e.element.parent().get(0),n=/relative|absolute/.test(e.containerElement.css("position")),i&&n?(e.offset.left=e.parentData.left+e.position.left,e.offset.top=e.parentData.top+e.position.top):(e.offset.left=e.element.offset().left,e.offset.top=e.element.offset().top),n=Math.abs(e.sizeDiff.width+(e._helper?e.offset.left-h.left:e.offset.left-s.left)),s=Math.abs(e.sizeDiff.height+(e._helper?e.offset.top-h.top:e.offset.top-s.top)),n+e.size.width>=e.parentData.width&&(e.size.width=e.parentData.width-n,o&&(e.size.height=e.size.width/e.aspectRatio,t=!1)),s+e.size.height>=e.parentData.height&&(e.size.height=e.parentData.height-s,o&&(e.size.width=e.size.height*e.aspectRatio,t=!1)),t||(e.position.left=e.prevPosition.left,e.position.top=e.prevPosition.top,e.size.width=e.prevSize.width,e.size.height=e.prevSize.height)},stop:function(){var t=y(this).resizable("instance"),e=t.options,i=t.containerOffset,s=t.containerPosition,n=t.containerElement,o=y(t.helper),h=o.offset(),a=o.outerWidth()-t.sizeDiff.width,o=o.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o}),t._helper&&!e.animate&&/static/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o})}}),y.ui.plugin.add("resizable","alsoResize",{start:function(){var t=y(this).resizable("instance").options;y(t.alsoResize).each(function(){var t=y(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})})},resize:function(t,i){var e=y(this).resizable("instance"),s=e.options,n=e.originalSize,o=e.originalPosition,h={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-o.top||0,left:e.position.left-o.left||0};y(s.alsoResize).each(function(){var t=y(this),s=y(this).data("ui-resizable-alsoresize"),n={},e=t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];y.each(e,function(t,e){var i=(s[e]||0)+(h[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})},stop:function(){y(this).removeData("ui-resizable-alsoresize")}}),y.ui.plugin.add("resizable","ghost",{start:function(){var t=y(this).resizable("instance"),e=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==y.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=y(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=y(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),y.ui.plugin.add("resizable","grid",{resize:function(){var t,e=y(this).resizable("instance"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,h=e.axis,a="number"==typeof i.grid?[i.grid,i.grid]:i.grid,r=a[0]||1,l=a[1]||1,u=Math.round((s.width-n.width)/r)*r,p=Math.round((s.height-n.height)/l)*l,d=n.width+u,c=n.height+p,f=i.maxWidth&&i.maxWidthd,s=i.minHeight&&i.minHeight>c;i.grid=a,m&&(d+=r),s&&(c+=l),f&&(d-=r),g&&(c-=l),/^(se|s|e)$/.test(h)?(e.size.width=d,e.size.height=c):/^(ne)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.top=o.top-p):/^(sw)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.left=o.left-u):((c-l<=0||d-r<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),0=f[g]?0:Math.min(f[g],n));!a&&1-1){targetElements.on(evt+EVENT_NAMESPACE,function elementToggle(event){$.powerTip.toggle(this,event)})}else{targetElements.on(evt+EVENT_NAMESPACE,function elementOpen(event){$.powerTip.show(this,event)})}});$.each(options.closeEvents,function(idx,evt){if($.inArray(evt,options.openEvents)<0){targetElements.on(evt+EVENT_NAMESPACE,function elementClose(event){$.powerTip.hide(this,!isMouseEvent(event))})}});targetElements.on("keydown"+EVENT_NAMESPACE,function elementKeyDown(event){if(event.keyCode===27){$.powerTip.hide(this,true)}})}return targetElements};$.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",popupClass:null,intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false,openEvents:["mouseenter","focus"],closeEvents:["mouseleave","blur"]};$.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};$.powerTip={show:function apiShowTip(element,event){if(isMouseEvent(event)){trackMouse(event);session.previousX=event.pageX;session.previousY=event.pageY;$(element).data(DATA_DISPLAYCONTROLLER).show()}else{$(element).first().data(DATA_DISPLAYCONTROLLER).show(true,true)}return element},reposition:function apiResetPosition(element){$(element).first().data(DATA_DISPLAYCONTROLLER).resetPosition();return element},hide:function apiCloseTip(element,immediate){var displayController;immediate=element?immediate:true;if(element){displayController=$(element).first().data(DATA_DISPLAYCONTROLLER)}else if(session.activeHover){displayController=session.activeHover.data(DATA_DISPLAYCONTROLLER)}if(displayController){displayController.hide(immediate)}return element},toggle:function apiToggle(element,event){if(session.activeHover&&session.activeHover.is(element)){$.powerTip.hide(element,!isMouseEvent(event))}else{$.powerTip.show(element,event)}return element}};$.powerTip.showTip=$.powerTip.show;$.powerTip.closeTip=$.powerTip.hide;function CSSCoordinates(){var me=this;me.top="auto";me.left="auto";me.right="auto";me.bottom="auto";me.set=function(property,value){if($.isNumeric(value)){me[property]=Math.round(value)}}}function DisplayController(element,options,tipController){var hoverTimer=null,myCloseDelay=null;function openTooltip(immediate,forceOpen){cancelTimer();if(!element.data(DATA_HASACTIVEHOVER)){if(!immediate){session.tipOpenImminent=true;hoverTimer=setTimeout(function intentDelay(){hoverTimer=null;checkForIntent()},options.intentPollInterval)}else{if(forceOpen){element.data(DATA_FORCEDOPEN,true)}closeAnyDelayed();tipController.showTip(element)}}else{cancelClose()}}function closeTooltip(disableDelay){if(myCloseDelay){myCloseDelay=session.closeDelayTimeout=clearTimeout(myCloseDelay);session.delayInProgress=false}cancelTimer();session.tipOpenImminent=false;if(element.data(DATA_HASACTIVEHOVER)){element.data(DATA_FORCEDOPEN,false);if(!disableDelay){session.delayInProgress=true;session.closeDelayTimeout=setTimeout(function closeDelay(){session.closeDelayTimeout=null;tipController.hideTip(element);session.delayInProgress=false;myCloseDelay=null},options.closeDelay);myCloseDelay=session.closeDelayTimeout}else{tipController.hideTip(element)}}}function checkForIntent(){var xDifference=Math.abs(session.previousX-session.currentX),yDifference=Math.abs(session.previousY-session.currentY),totalDifference=xDifference+yDifference;if(totalDifference",{id:options.popupId});if($body.length===0){$body=$("body")}$body.append(tipElement);session.tooltips=session.tooltips?session.tooltips.add(tipElement):tipElement}if(options.followMouse){if(!tipElement.data(DATA_HASMOUSEMOVE)){$document.on("mousemove"+EVENT_NAMESPACE,positionTipOnCursor);$window.on("scroll"+EVENT_NAMESPACE,positionTipOnCursor);tipElement.data(DATA_HASMOUSEMOVE,true)}}function beginShowTip(element){element.data(DATA_HASACTIVEHOVER,true);tipElement.queue(function queueTipInit(next){showTip(element);next()})}function showTip(element){var tipContent;if(!element.data(DATA_HASACTIVEHOVER)){return}if(session.isTipOpen){if(!session.isClosing){hideTip(session.activeHover)}tipElement.delay(100).queue(function queueTipAgain(next){showTip(element);next()});return}element.trigger("powerTipPreRender");tipContent=getTooltipContent(element);if(tipContent){tipElement.empty().append(tipContent)}else{return}element.trigger("powerTipRender");session.activeHover=element;session.isTipOpen=true;tipElement.data(DATA_MOUSEONTOTIP,options.mouseOnToPopup);tipElement.addClass(options.popupClass);if(!options.followMouse||element.data(DATA_FORCEDOPEN)){positionTipOnElement(element);session.isFixedTipOpen=true}else{positionTipOnCursor()}if(!element.data(DATA_FORCEDOPEN)&&!options.followMouse){$document.on("click"+EVENT_NAMESPACE,function documentClick(event){var target=event.target;if(target!==element[0]){if(options.mouseOnToPopup){if(target!==tipElement[0]&&!$.contains(tipElement[0],target)){$.powerTip.hide()}}else{$.powerTip.hide()}}})}if(options.mouseOnToPopup&&!options.manual){tipElement.on("mouseenter"+EVENT_NAMESPACE,function tipMouseEnter(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).cancel()}});tipElement.on("mouseleave"+EVENT_NAMESPACE,function tipMouseLeave(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).hide()}})}tipElement.fadeIn(options.fadeInTime,function fadeInCallback(){if(!session.desyncTimeout){session.desyncTimeout=setInterval(closeDesyncedTip,500)}element.trigger("powerTipOpen")})}function hideTip(element){session.isClosing=true;session.isTipOpen=false;session.desyncTimeout=clearInterval(session.desyncTimeout);element.data(DATA_HASACTIVEHOVER,false);element.data(DATA_FORCEDOPEN,false);$document.off("click"+EVENT_NAMESPACE);tipElement.off(EVENT_NAMESPACE);tipElement.fadeOut(options.fadeOutTime,function fadeOutCallback(){var coords=new CSSCoordinates;session.activeHover=null;session.isClosing=false;session.isFixedTipOpen=false;tipElement.removeClass();coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);tipElement.css(coords);element.trigger("powerTipClose")})}function positionTipOnCursor(){var tipWidth,tipHeight,coords,collisions,collisionCount;if(!session.isFixedTipOpen&&(session.isTipOpen||session.tipOpenImminent&&tipElement.data(DATA_HASMOUSEMOVE))){tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=new CSSCoordinates;coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);collisions=getViewportCollisions(coords,tipWidth,tipHeight);if(collisions!==Collision.none){collisionCount=countFlags(collisions);if(collisionCount===1){if(collisions===Collision.right){coords.set("left",session.scrollLeft+session.windowWidth-tipWidth)}else if(collisions===Collision.bottom){coords.set("top",session.scrollTop+session.windowHeight-tipHeight)}}else{coords.set("left",session.currentX-tipWidth-options.offset);coords.set("top",session.currentY-tipHeight-options.offset)}}tipElement.css(coords)}}function positionTipOnElement(element){var priorityList,finalPlacement;if(options.smartPlacement||options.followMouse&&element.data(DATA_FORCEDOPEN)){priorityList=$.fn.powerTip.smartPlacementLists[options.placement];$.each(priorityList,function(idx,pos){var collisions=getViewportCollisions(placeTooltip(element,pos),tipElement.outerWidth(),tipElement.outerHeight());finalPlacement=pos;return collisions!==Collision.none})}else{placeTooltip(element,options.placement);finalPlacement=options.placement}tipElement.removeClass("w nw sw e ne se n s w se-alt sw-alt ne-alt nw-alt");tipElement.addClass(finalPlacement)}function placeTooltip(element,placement){var iterationCount=0,tipWidth,tipHeight,coords=new CSSCoordinates;coords.set("top",0);coords.set("left",0);tipElement.css(coords);do{tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=placementCalculator.compute(element,placement,tipWidth,tipHeight,options.offset);tipElement.css(coords)}while(++iterationCount<=5&&(tipWidth!==tipElement.outerWidth()||tipHeight!==tipElement.outerHeight()));return coords}function closeDesyncedTip(){var isDesynced=false,hasDesyncableCloseEvent=$.grep(["mouseleave","mouseout","blur","focusout"],function(eventType){return $.inArray(eventType,options.closeEvents)!==-1}).length>0;if(session.isTipOpen&&!session.isClosing&&!session.delayInProgress&&hasDesyncableCloseEvent){if(session.activeHover.data(DATA_HASACTIVEHOVER)===false||session.activeHover.is(":disabled")){isDesynced=true}else if(!isMouseOver(session.activeHover)&&!session.activeHover.is(":focus")&&!session.activeHover.data(DATA_FORCEDOPEN)){if(tipElement.data(DATA_MOUSEONTOTIP)){if(!isMouseOver(tipElement)){isDesynced=true}}else{isDesynced=true}}if(isDesynced){hideTip(session.activeHover)}}}this.showTip=beginShowTip;this.hideTip=hideTip;this.resetPosition=positionTipOnElement}function isSvgElement(element){return Boolean(window.SVGElement&&element[0]instanceof SVGElement)}function isMouseEvent(event){return Boolean(event&&$.inArray(event.type,MOUSE_EVENTS)>-1&&typeof event.pageX==="number")}function initTracking(){if(!session.mouseTrackingActive){session.mouseTrackingActive=true;getViewportDimensions();$(getViewportDimensions);$document.on("mousemove"+EVENT_NAMESPACE,trackMouse);$window.on("resize"+EVENT_NAMESPACE,trackResize);$window.on("scroll"+EVENT_NAMESPACE,trackScroll)}}function getViewportDimensions(){session.scrollLeft=$window.scrollLeft();session.scrollTop=$window.scrollTop();session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackResize(){session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackScroll(){var x=$window.scrollLeft(),y=$window.scrollTop();if(x!==session.scrollLeft){session.currentX+=x-session.scrollLeft;session.scrollLeft=x}if(y!==session.scrollTop){session.currentY+=y-session.scrollTop;session.scrollTop=y}}function trackMouse(event){session.currentX=event.pageX;session.currentY=event.pageY}function isMouseOver(element){var elementPosition=element.offset(),elementBox=element[0].getBoundingClientRect(),elementWidth=elementBox.right-elementBox.left,elementHeight=elementBox.bottom-elementBox.top;return session.currentX>=elementPosition.left&&session.currentX<=elementPosition.left+elementWidth&&session.currentY>=elementPosition.top&&session.currentY<=elementPosition.top+elementHeight}function getTooltipContent(element){var tipText=element.data(DATA_POWERTIP),tipObject=element.data(DATA_POWERTIPJQ),tipTarget=element.data(DATA_POWERTIPTARGET),targetElement,content;if(tipText){if($.isFunction(tipText)){tipText=tipText.call(element[0])}content=tipText}else if(tipObject){if($.isFunction(tipObject)){tipObject=tipObject.call(element[0])}if(tipObject.length>0){content=tipObject.clone(true,true)}}else if(tipTarget){targetElement=$("#"+tipTarget);if(targetElement.length>0){content=targetElement.html()}}return content}function getViewportCollisions(coords,elementWidth,elementHeight){var viewportTop=session.scrollTop,viewportLeft=session.scrollLeft,viewportBottom=viewportTop+session.windowHeight,viewportRight=viewportLeft+session.windowWidth,collisions=Collision.none;if(coords.topviewportBottom||Math.abs(coords.bottom-session.windowHeight)>viewportBottom){collisions|=Collision.bottom}if(coords.leftviewportRight){collisions|=Collision.left}if(coords.left+elementWidth>viewportRight||coords.right1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery);/*! SmartMenus jQuery Plugin - v1.1.0 - September 17, 2017 - * http://www.smartmenus.org/ - * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)})(function($){function initMouseDetection(t){var e=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).off(e),mouseDetectionEnabled=!1);else{var i=!0,s=null,o={mousemove:function(t){var e={x:t.pageX,y:t.pageY,timeStamp:(new Date).getTime()};if(s){var o=Math.abs(s.x-e.x),a=Math.abs(s.y-e.y);if((o>0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}};o[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)},$(document).on(getEventsNS(o,e)),mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};for(var s in t)i[s.split(" ").join(e+" ")+e]=t[s];return i}var menuTrees=[],mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)},canAnimate=!!$.fn.animate;return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(getEventsNS({"mouseover focusin":$.proxy(this.rootOver,this),"mouseout focusout":$.proxy(this.rootOut,this),keydown:$.proxy(this.rootKeyDown,this)},i)).on(getEventsNS({mouseenter:$.proxy(this.itemEnter,this),mouseleave:$.proxy(this.itemLeave,this),mousedown:$.proxy(this.itemDown,this),focus:$.proxy(this.itemFocus,this),blur:$.proxy(this.itemBlur,this),click:$.proxy(this.itemClick,this)},i),"a"),i+=this.rootId,this.opts.hideOnClick&&$(document).on(getEventsNS({touchstart:$.proxy(this.docTouchStart,this),touchmove:$.proxy(this.docTouchMove,this),touchend:$.proxy(this.docTouchEnd,this),click:$.proxy(this.docClick,this)},i)),$(window).on(getEventsNS({"resize orientationchange":$.proxy(this.winResize,this)},i)),this.opts.subIndicators&&(this.$subArrow=$("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(e),e+=this.rootId,$(document).off(e),$(window).off(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('
').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?(this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).closest("a").length)&&this.menuHideAll(),void 0)},docTouchEnd:function(){if(this.lastTouch){if(!(!this.visibleSubMenus.length||void 0!==this.lastTouch.x2&&this.lastTouch.x1!=this.lastTouch.x2||void 0!==this.lastTouch.y2&&this.lastTouch.y1!=this.lastTouch.y2||this.lastTouch.target&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for(var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if((!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is(".sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1,a=this.isCollapsible(),n=/toggle$/.test(this.opts.collapsibleBehavior),r=/link$/.test(this.opts.collapsibleBehavior),h=/^accordion/.test(this.opts.collapsibleBehavior);if(s&&!s.is(":visible")){if((!r||!a||i)&&(this.opts.showOnClick&&o&&(this.clickActivated=!0),this.itemActivate(e,h),s.is(":visible")))return this.focusActivated=!0,!1}else if(a&&(n||i))return this.itemActivate(e,h),this.menuHide(s),n&&(this.focusActivated=!1),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(canAnimate&&t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?canAnimate&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);this.opts.isPopup&&(canAnimate&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuInit:function(t){if(!t.dataSM("in-mega")){t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var e=2,i=t[0];(i=i.parentNode.parentNode)!=this.$root[0];)e++;var s=t.prevAll("a").eq(-1);s.length||(s=t.prevAll().find("a").eq(-1)),s.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",s).dataSM("level",e).parent().dataSM("sub",t);var o=s.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;s.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&s[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var e,i,s=t.dataSM("parent-a"),o=s.closest("li"),a=o.parent(),n=t.dataSM("level"),r=this.getWidth(t),h=this.getHeight(t),u=s.offset(),l=u.left,c=u.top,d=this.getWidth(s),m=this.getHeight(s),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),b=this.getViewportWidth(),S=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]")||2==n&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==n?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==n?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(e=M?d-r-w:w,i=this.opts.bottomToTopSubMenus?-h-T:m+T):(e=M?w-r:d-w,i=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+e,I=c+i;if(M&&f>y?e=g?f-y+e:d-w:!M&&y+r>f+b&&(e=g?f+b-r-y+e:w-r),g||(S>h&&I+h>v+S?i+=v+S-h-I:(h>=S||v>I)&&(i+=v-I)),g&&(I+h>v+S+.49||v>I)||!g&&h>S+.49){var x=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('')[0],$('')[0]]).on({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),x.menuScroll(t)},mouseleave:function(e){x.menuScrollStop(t),x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(t){t.preventDefault()}}).insertAfter(t));var A=".smartmenus_scroll";if(t.dataSM("scroll",{y:this.cssTransforms3d?0:i-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).on(getEventsNS({mouseover:function(e){x.menuScrollOver(t,e)},mouseout:function(e){x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(e){x.menuScrollMousewheel(t,e)}},A)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:e+(parseInt(t.css("border-left-width"))||0),width:r-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var C={};C[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(e){x.menuScrollTouch(t,e)},t.css({"touch-action":"none","-ms-touch-action":"none"}).on(getEventsNS(C,A))}}}t.css({top:"auto",left:"0",marginLeft:e,marginTop:i-m})},menuScroll:function(t,e,i){var s,o=t.dataSM("scroll"),a=t.dataSM("scroll-arrows"),n=o.up?o.upEnd:o.downEnd;if(!e&&o.momentum){if(o.momentum*=.92,s=o.momentum,.5>s)return this.menuScrollStop(t),void 0}else s=i||(e||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var r=t.dataSM("level");if(this.activatedItems[r-1]&&this.activatedItems[r-1].dataSM("sub")&&this.activatedItems[r-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(r-1),o.y=o.up&&o.y>=n||!o.up&&n>=o.y?o.y:Math.abs(n-o.y)>s?o.y+(o.up?s:-s):n,t.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y0;t.dataSM("scroll-arrows").eq(i?0:1).is(":visible")&&(t.dataSM("scroll").up=i,this.menuScroll(t,!0))}e.preventDefault()},menuScrollOut:function(t,e){mouse&&(/^scroll-(up|down)/.test((e.relatedTarget||"").className)||(t[0]==e.relatedTarget||$.contains(t[0],e.relatedTarget))&&this.getClosestMenu(e.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(t,e){if(mouse&&!/^scroll-(up|down)/.test(e.target.className)&&this.getClosestMenu(e.target)==t[0]){this.menuScrollRefreshData(t);var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",s).end().eq(1).css("margin-top",s+this.getViewportHeight()-i.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var e=t.dataSM("scroll"),i=$(window).scrollTop()-t.dataSM("parent-a").offset().top-e.itemH;this.cssTransforms3d&&(i=-(parseFloat(t.css("margin-top"))-i)),$.extend(e,{upEnd:i,downEnd:i+this.getViewportHeight()-e.subH})},menuScrollStop:function(t){return this.scrollTimeout?(cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(t,e){if(e=e.originalEvent,isTouchEvent(e)){var i=this.getTouchPoint(e);if(this.getClosestMenu(i.target)==t[0]){var s=t.dataSM("scroll");if(/(start|down)$/i.test(e.type))this.menuScrollStop(t)?(e.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp});else if(/move$/i.test(e.type)){var o=void 0!==s.touchY?s.touchY:s.touchStartY;if(void 0!==o&&o!=i.pageY){this.$touchScrollingSub=t;var a=i.pageY>o;void 0!==s.up&&s.up!=a&&$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp}),$.extend(s,{up:a,touchY:i.pageY}),this.menuScroll(t,!0,Math.abs(i.pageY-o))}e.preventDefault()}else void 0!==s.touchY&&((s.momentum=15*Math.pow(Math.abs(i.pageY-s.touchStartY)/(e.timeStamp-s.touchStartTime),2))&&(this.menuScrollStop(t),this.menuScroll(t),e.preventDefault()),delete s.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",t[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",t[0])!==!1&&(t.dataSM("shown-before",!0),canAnimate&&t.stop(!0,!0),!t.is(":visible"))){var e=t.dataSM("parent-a"),i=this.isCollapsible();if((this.opts.keepHighlighted||i)&&e.addClass("highlighted"),i)t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var s=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),s>this.getWidth(t)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t)}var o=function(){t.css("overflow","")};i?canAnimate&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,o):t.show(this.opts.collapsibleShowDuration,o):canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,t,o):t.show(this.opts.showDuration,o),e.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,e){if(!this.opts.isPopup)return alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.'),void 0;if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),canAnimate&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:e});var i=this,s=function(){i.$root.css("overflow","")};canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,s):this.$root.show(this.opts.showDuration,s),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var e=this.activatedItems[0];if(e){this.menuHideAll(),e[0].focus();var i=e.dataSM("sub");i&&this.menuHide(i)}break;case 32:var s=$(t.target);if(s.is("a")&&this.handleItemEvents(s)){var i=s.dataSM("sub");i&&!i.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(t){this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==t.type){var e=this.isCollapsible();this.wasCollapsible&&e||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=e}}else if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),$.fn.dataSM=function(t,e){return e?this.data(t+"_smartmenus",e):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})}return this.each(function(){var dataOpts=$(this).data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,e){t.fadeOut(200,e)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,e){t.slideDown(200,e)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,e){t.slideUp(200,e)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},$}); \ No newline at end of file diff --git a/docs/html/libraries_2_s_p_i_8h_source.html b/docs/html/libraries_2_s_p_i_8h_source.html deleted file mode 100644 index 4f69496..0000000 --- a/docs/html/libraries_2_s_p_i_8h_source.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/libraries/SPI.h Source File - - - - - - - - - -
-
- - - - - - -
-
arduino-emulator -
-
-
- - - - - - - - - -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- - -
-
-
SPI.h
-
-
-
1#pragma once
-
2#include "api/HardwareSPI.h"
-
3#include "HardwareSetup.h"
-
4
-
5// this usually needs PIN_CS defined
-
6#define PIN_CS -1
-
7
-
-
13class SPIClass : public HardwareSPI {
-
14 public:
-
15 SPIClass() = default;
-
16 virtual ~SPIClass() = default;
-
17
-
18 uint8_t transfer(uint8_t data) override { return 0; }
-
19 uint16_t transfer16(uint16_t data) override { return 0; }
-
20 void transfer(void *buf, size_t count) override {}
-
21
-
22 void usingInterrupt(int interruptNumber) override {}
-
23 void notUsingInterrupt(int interruptNumber) override {}
-
24 void beginTransaction(SPISettings settings) override {}
-
25 void endTransaction(void) override {}
-
26
-
27 void attachInterrupt() override {}
-
28 void detachInterrupt() override {}
-
29
-
30 void begin() override {}
-
31 void end() override {}
-
32};
-
-
33
-
Mock SPIClass is a class that implements the HardwareSPI interface. e.g. Using Files do not need SPI,...
Definition SPI.h:13
-
- - - - diff --git a/docs/html/menu.js b/docs/html/menu.js deleted file mode 100644 index b0b2693..0000000 --- a/docs/html/menu.js +++ /dev/null @@ -1,136 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file - */ -function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { - function makeTree(data,relPath) { - var result=''; - if ('children' in data) { - result+='
    '; - for (var i in data.children) { - var url; - var link; - link = data.children[i].url; - if (link.substring(0,1)=='^') { - url = link.substring(1); - } else { - url = relPath+link; - } - result+='
  • '+ - data.children[i].text+''+ - makeTree(data.children[i],relPath)+'
  • '; - } - result+='
'; - } - return result; - } - var searchBoxHtml; - if (searchEnabled) { - if (serverSide) { - searchBoxHtml='
'+ - '
'+ - '
 '+ - ''+ - '
'+ - '
'+ - '
'+ - '
'; - } else { - searchBoxHtml='
'+ - ''+ - ' '+ - ''+ - ''+ - ''+ - ''+ - ''+ - '
'; - } - } - - $('#main-nav').before('
'+ - ''+ - ''+ - '
'); - $('#main-nav').append(makeTree(menudata,relPath)); - $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); - if (searchBoxHtml) { - $('#main-menu').append('
  • '); - } - var $mainMenuState = $('#main-menu-state'); - var prevWidth = 0; - if ($mainMenuState.length) { - function initResizableIfExists() { - if (typeof initResizable==='function') initResizable(); - } - // animate mobile menu - $mainMenuState.change(function(e) { - var $menu = $('#main-menu'); - var options = { duration: 250, step: initResizableIfExists }; - if (this.checked) { - options['complete'] = function() { $menu.css('display', 'block') }; - $menu.hide().slideDown(options); - } else { - options['complete'] = function() { $menu.css('display', 'none') }; - $menu.show().slideUp(options); - } - }); - // set default menu visibility - function resetState() { - var $menu = $('#main-menu'); - var $mainMenuState = $('#main-menu-state'); - var newWidth = $(window).outerWidth(); - if (newWidth!=prevWidth) { - if ($(window).outerWidth()<768) { - $mainMenuState.prop('checked',false); $menu.hide(); - $('#searchBoxPos1').html(searchBoxHtml); - $('#searchBoxPos2').hide(); - } else { - $menu.show(); - $('#searchBoxPos1').empty(); - $('#searchBoxPos2').html(searchBoxHtml); - $('#searchBoxPos2').show(); - } - if (typeof searchBox!=='undefined') { - searchBox.CloseResultsWindow(); - } - prevWidth = newWidth; - } - } - $(window).ready(function() { resetState(); initResizableIfExists(); }); - $(window).resize(resetState); - } - $('#main-menu').smartmenus(); -} -/* @license-end */ diff --git a/docs/html/menudata.js b/docs/html/menudata.js deleted file mode 100644 index 9915713..0000000 --- a/docs/html/menudata.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file -*/ -var menudata={children:[ -{text:"Main Page",url:"index.html"}, -{text:"Related Pages",url:"pages.html"}, -{text:"Namespaces",url:"namespaces.html",children:[ -{text:"Namespace List",url:"namespaces.html"}, -{text:"Namespace Members",url:"namespacemembers.html",children:[ -{text:"All",url:"namespacemembers.html"}, -{text:"Functions",url:"namespacemembers_func.html"}, -{text:"Variables",url:"namespacemembers_vars.html"}, -{text:"Typedefs",url:"namespacemembers_type.html"}, -{text:"Enumerations",url:"namespacemembers_enum.html"}]}]}, -{text:"Classes",url:"annotated.html",children:[ -{text:"Class List",url:"annotated.html"}, -{text:"Class Index",url:"classes.html"}, -{text:"Class Hierarchy",url:"hierarchy.html"}, -{text:"Class Members",url:"functions.html",children:[ -{text:"All",url:"functions.html",children:[ -{text:"a",url:"functions.html#index_a"}, -{text:"b",url:"functions.html#index_b"}, -{text:"c",url:"functions.html#index_c"}, -{text:"d",url:"functions.html#index_d"}, -{text:"e",url:"functions.html#index_e"}, -{text:"f",url:"functions.html#index_f"}, -{text:"h",url:"functions.html#index_h"}, -{text:"i",url:"functions.html#index_i"}, -{text:"l",url:"functions.html#index_l"}, -{text:"n",url:"functions.html#index_n"}, -{text:"o",url:"functions.html#index_o"}, -{text:"p",url:"functions.html#index_p"}, -{text:"r",url:"functions.html#index_r"}, -{text:"s",url:"functions.html#index_s"}, -{text:"t",url:"functions.html#index_t"}, -{text:"w",url:"functions.html#index_w"}, -{text:"~",url:"functions.html#index__7E"}]}, -{text:"Functions",url:"functions_func.html",children:[ -{text:"a",url:"functions_func.html#index_a"}, -{text:"b",url:"functions_func.html#index_b"}, -{text:"c",url:"functions_func.html#index_c"}, -{text:"d",url:"functions_func.html#index_d"}, -{text:"e",url:"functions_func.html#index_e"}, -{text:"f",url:"functions_func.html#index_f"}, -{text:"h",url:"functions_func.html#index_h"}, -{text:"i",url:"functions_func.html#index_i"}, -{text:"n",url:"functions_func.html#index_n"}, -{text:"o",url:"functions_func.html#index_o"}, -{text:"p",url:"functions_func.html#index_p"}, -{text:"r",url:"functions_func.html#index_r"}, -{text:"s",url:"functions_func.html#index_s"}, -{text:"t",url:"functions_func.html#index_t"}, -{text:"w",url:"functions_func.html#index_w"}, -{text:"~",url:"functions_func.html#index__7E"}]}, -{text:"Enumerations",url:"functions_enum.html"}]}]}, -{text:"Files",url:"files.html",children:[ -{text:"File List",url:"files.html"}]}]} diff --git a/docs/html/minus.svg b/docs/html/minus.svg deleted file mode 100644 index f70d0c1..0000000 --- a/docs/html/minus.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/docs/html/minusd.svg b/docs/html/minusd.svg deleted file mode 100644 index 5f8e879..0000000 --- a/docs/html/minusd.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/docs/html/namespacearduino.html b/docs/html/namespacearduino.html deleted file mode 100644 index 403f40c..0000000 --- a/docs/html/namespacearduino.html +++ /dev/null @@ -1,672 +0,0 @@ - - - - - - - -arduino-emulator: arduino Namespace Reference - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - -
    -
    - -
    arduino Namespace Reference
    -
    -
    - -

    We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is already active. So we dont need to do anything. -More...

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Classes

    struct  __container__
     
    class  ArduinoLogger
     A simple Logger that writes messages dependent on the log level. More...
     
    class  CanMsg
     
    class  CanMsgRingbuffer
     
    class  Client
     
    class  DMABuffer
     
    class  DMAPool
     
    class  EthernetClient
     
    class  EthernetImpl
     
    class  EthernetServer
     
    class  EthernetUDP
     
    class  FileStream
     We use the FileStream class to be able to provide Serail, Serial1 and Serial2 outside of the Arduino environment;. More...
     
    class  GPIOSource
     Abstract interface for providing GPIO hardware implementations. More...
     
    class  GPIOWrapper
     GPIO wrapper class that provides flexible hardware abstraction. More...
     
    class  HardwareCAN
     
    class  HardwareGPIO
     Abstract base class for GPIO (General Purpose Input/Output) functions. More...
     
    class  HardwareGPIO_RPI
     GPIO hardware abstraction for Raspberry Pi in the Arduino emulator. More...
     
    class  HardwareI2C
     
    class  HardwareI2C_RPI
     Implementation of I2C communication for Raspberry Pi using Linux I2C device interface. More...
     
    class  HardwareSerial
     
    class  HardwareService
     Provides a virtualized hardware communication service for SPI, I2C, I2S, and GPIO over a stream. More...
     
    class  HardwareSetupRemote
     Configures and manages remote hardware interfaces for Arduino emulation. More...
     
    class  HardwareSetupRPI
     Sets up hardware interfaces for Raspberry Pi (GPIO, I2C, SPI). More...
     
    class  HardwareSPI
     
    class  HardwareSPI_RPI
     Implementation of SPI communication for Raspberry Pi using Linux SPI device interface. More...
     
    class  I2CSource
     Abstract interface for providing I2C hardware implementations. More...
     
    class  I2CWrapper
     I2C wrapper class that provides flexible hardware abstraction. More...
     
    class  IPAddress
     
    class  NetworkClientSecure
     NetworkClientSecure based on wolf ssl. More...
     
    class  PluggableUSB_
     
    class  PluggableUSBModule
     
    class  Print
     
    class  Printable
     
    class  RemoteGPIO
     Remote GPIO implementation that operates over a communication stream. More...
     
    class  RemoteI2C
     Remote I2C implementation that operates over a communication stream. More...
     
    class  RemoteSerialClass
     Remote Serial implementation that operates over a communication stream. More...
     
    class  RemoteSPI
     Remote SPI implementation that operates over a communication stream. More...
     
    class  RingBufferExt
     Implementation of a Simple Circular Buffer. Instead of comparing the position of the read and write pointer in order to figure out if we still have characters available or space left to write we keep track of the actual length which is easier to follow. This class was implemented to support the reading and writing of arrays. More...
     
    class  RingBufferN
     
    class  SerialImpl
     
    class  Server
     
    class  SocketImpl
     
    class  SocketImplSecure
     SSL Socket using wolf ssl. For error codes see https://wolfssl.jp/docs-3/wolfssl-manual/appendix-c. More...
     
    class  SPISettings
     
    class  SPISource
     Abstract interface for providing SPI hardware implementations. More...
     
    class  SPIWrapper
     SPI wrapper class that provides flexible hardware abstraction. More...
     
    class  SPSCQueue
     
    class  StdioDevice
     Provides a Stream interface for standard input/output operations outside the Arduino environment. More...
     
    class  Stream
     
    class  String
     
    class  StringSumHelper
     
    class  UDP
     
    class  WifiMock
     
    class  WiFiUDPStream
     UDP Stream implementation for single-target communication. More...
     
    - - - - - - - - - - - - - - - - - - - - - - - -

    -Typedefs

    -typedef RingBufferN< SERIAL_BUFFER_SIZERingBuffer
     
    -typedef HardwareSPI SPIClass
     
    -using TwoWire = I2CWrapper
     Type alias for Arduino compatibility - TwoWire refers to I2CWrapper.
     
    -template<typename T >
    using voidTemplateFuncPtrParam = void(*)(T param)
     
    -using WiFiClient = EthernetClient
     Alias for EthernetClient to provide WiFiClient compatibility.
     
    using WiFiClientSecure = EthernetClient
     Alias for EthernetClient to provide WiFiClientSecure compatibility when HTTPS is not used.
     
    -using WiFiServer = EthernetServer
     Alias for EthernetServer to provide WiFiServer compatibility.
     
    -using WiFiUDP = EthernetUDP
     Alias for EthernetUDP to provide WiFiUDP compatibility.
     
    - - - - - - - - - - - - - - - - - - -

    -Enumerations

    enum  { DMA_BUFFER_READ = (1 << 0) -, DMA_BUFFER_WRITE = (1 << 1) -, DMA_BUFFER_DISCONT = (1 << 2) -, DMA_BUFFER_INTRLVD = (1 << 3) - }
     
    enum  HWCalls {
    -  I2cBegin0 -, I2cBegin1 -, I2cEnd -, I2cSetClock -,
    -  I2cBeginTransmission -, I2cEndTransmission1 -, I2cEndTransmission -, I2cRequestFrom3 -,
    -  I2cRequestFrom2 -, I2cOnReceive -, I2cOnRequest -, I2cWrite -,
    -  I2cAvailable -, I2cRead -, I2cPeek -, SpiTransfer -,
    -  SpiTransfer8 -, SpiTransfer16 -, SpiUsingInterrupt -, SpiNotUsingInterrupt -,
    -  SpiBeginTransaction -, SpiEndTransaction -, SpiAttachInterrupt -, SpiDetachInterrupt -,
    -  SpiBegin -, SpiEnd -, GpioPinMode -, GpioDigitalWrite -,
    -  GpioDigitalRead -, GpioAnalogRead -, GpioAnalogReference -, GpioAnalogWrite -,
    -  GpioTone -, GpioNoTone -, GpioPulseIn -, GpioPulseInLong -,
    -  SerialBegin -, SerialEnd -, SerialWrite -, SerialRead -,
    -  SerialAvailable -, SerialPeek -, SerialFlush -, I2sSetup -,
    -  I2sBegin3 -, I2sBegin2 -, I2sEnd -, I2sAvailable -,
    -  I2sRead -, I2sPeek -, I2sFlush -, I2sWrite -,
    -  I2sAvailableForWrite -, I2sSetBufferSize -
    - }
     We virtualize the hardware and send the requests and replys over a stream.
     
    enum  IPType { IPv4 -, IPv6 - }
     
    enum  LookaheadMode { SKIP_ALL -, SKIP_NONE -, SKIP_WHITESPACE - }
     
    enum  SPIBusMode { SPI_CONTROLLER = 0 -, SPI_PERIPHERAL = 1 - }
     
    enum  SPIMode { SPI_MODE0 = 0 -, SPI_MODE1 = 1 -, SPI_MODE2 = 2 -, SPI_MODE3 = 3 - }
     
    enum  wifi_ps_type_t { WIFI_PS_NONE -, WIFI_PS_MIN_MODEM -, WIFI_PS_MAX_MODEM - }
     
    enum  wl_status_t {
    -  WL_NO_SHIELD = 255 -, WL_IDLE_STATUS = 0 -, WL_NO_SSID_AVAIL -, WL_SCAN_COMPLETED -,
    -  WL_CONNECTED -, WL_CONNECT_FAILED -, WL_CONNECTION_LOST -, WL_DISCONNECTED -
    - }
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Functions

    -struct __attribute__ ((packed))
     
    -template<typename T >
    void attachInterrupt (pin_size_t interruptNum, voidTemplateFuncPtrParam< T * > userFunc, PinStatus mode, T *param)
     
    -template<typename T >
    void attachInterrupt (pin_size_t interruptNum, voidTemplateFuncPtrParam< T > userFunc, PinStatus mode, T &param)
     
    -uint32_t CanExtendedId (uint32_t const id)
     
    -uint32_t CanStandardId (uint32_t const id)
     
    -chardefaultInterface ()
     
    -void digitalWrite (pin_size_t pinNumber, int status)
     
    -bool isAlpha (int c) __attribute__((always_inline))
     
    -bool isAlphaNumeric (int c) __attribute__((always_inline))
     
    -bool isAscii (int c) __attribute__((always_inline))
     
    -bool isControl (int c) __attribute__((always_inline))
     
    -bool isDigit (int c) __attribute__((always_inline))
     
    -bool isGraph (int c) __attribute__((always_inline))
     
    -bool isHexadecimalDigit (int c) __attribute__((always_inline))
     
    -bool isLowerCase (int c) __attribute__((always_inline))
     
    -bool isPrintable (int c) __attribute__((always_inline))
     
    -bool isPunct (int c) __attribute__((always_inline))
     
    -bool isSpace (int c) __attribute__((always_inline))
     
    -bool isUpperCase (int c) __attribute__((always_inline))
     
    -bool isWhitespace (int c) __attribute__((always_inline))
     
    -StringSumHelperoperator+ (const StringSumHelper &lhs, char c)
     
    -StringSumHelperoperator+ (const StringSumHelper &lhs, const __FlashStringHelper *rhs)
     
    -StringSumHelperoperator+ (const StringSumHelper &lhs, const char *cstr)
     
    -StringSumHelperoperator+ (const StringSumHelper &lhs, const String &rhs)
     
    -StringSumHelperoperator+ (const StringSumHelper &lhs, double num)
     
    -StringSumHelperoperator+ (const StringSumHelper &lhs, float num)
     
    -StringSumHelperoperator+ (const StringSumHelper &lhs, int num)
     
    -StringSumHelperoperator+ (const StringSumHelper &lhs, long num)
     
    -StringSumHelperoperator+ (const StringSumHelper &lhs, unsigned char num)
     
    -StringSumHelperoperator+ (const StringSumHelper &lhs, unsigned int num)
     
    -StringSumHelperoperator+ (const StringSumHelper &lhs, unsigned long num)
     
    -void pinMode (pin_size_t pinNumber, int mode)
     
    static FileStream Serial1 ("/dev/ttyACM0")
     Global Serial1 instance for secondary serial communication.
     
    static FileStream Serial2 ("/dev/serial0")
     Second hardware serial port for Raspberry Pi.
     
    -void serialEventRun (void) __attribute__((weak))
     
    -int toAscii (int c) __attribute__((always_inline))
     
    -int toLowerCase (int c) __attribute__((always_inline))
     
    -int toUpperCase (int c) __attribute__((always_inline))
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Variables

    -const SPISettings DEFAULT_SPI_SETTINGS = SPISettings()
     
    -enum arduino:: { ... }  DMABufferFlags
     
    -EthernetImpl Ethernet
     
    -GPIOWrapper GPIO
     Global GPIO instance used by Arduino API functions and direct access.
     
    -static gpiod_chipgpio_chip = nullptr
     
    -static std::map< pin_size_t, gpiod_line * > gpio_lines
     
    -const IPAddress IN6ADDR_ANY
     
    -const IPAddress INADDR_NONE
     
    -static ArduinoLogger Logger
     
    -static HardwareSetupRemote Remote {7000}
     
    static HardwareSetupRPI RPI
     Global instance for Raspberry Pi hardware setup.
     
    -static StdioDevice Serial
     
    -static StdioDevice Serial2
     
    -const charSOCKET_IMPL = "SocketImpl"
     
    -SPIWrapper SPI
     Global SPI instance used by Arduino API and direct access.
     
    USBSetup
     
    -WifiMock WiFi
     
    -I2CWrapper Wire
     Global Wire instance used by Arduino API functions and direct access.
     
    -static WOLFSSL_CTXwolf_ctx = nullptr
     
    -static int wolf_ssl_counter = 0
     
    -

    Detailed Description

    -

    We provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is already active. So we dont need to do anything.

    -

    We support different implementations for the GPIO

    -

    We suppport different implementations for the I2C

    -

    Separate implementation class for the WIFI client to prevent import conflicts

    -

    We suppport different implementations for the SPI

    -

    Typedef Documentation

    - -

    ◆ WiFiClientSecure

    - -
    -
    - -

    Alias for EthernetClient to provide WiFiClientSecure compatibility when HTTPS is not used.

    -

    Alias for secure WiFi client using TLS/SSL.

    -

    Use this type for secure network connections (HTTPS, TLS) on platforms supporting NetworkClientSecure.

    - -
    -
    -

    Function Documentation

    - -

    ◆ Serial1()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static FileStream arduino::Serial1 ("/dev/ttyACM0" )
    -
    -static
    -
    - -

    Global Serial1 instance for secondary serial communication.

    -

    This object provides access to the /dev/ttyACM0 device, typically used for USB serial or secondary UART on Linux systems. Use this instance in your sketches to perform serial communication, similar to the standard Arduino Serial1 object. Example: Serial1.begin(9600); Serial1.println("Hello from -Serial1");

    - -
    -
    - -

    ◆ Serial2()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static FileStream arduino::Serial2 ("/dev/serial0" )
    -
    -static
    -
    - -

    Second hardware serial port for Raspberry Pi.

    -

    Serial2 provides access to the Raspberry Pi's primary UART device (usually /dev/serial0). This can be used for serial communication with external devices, similar to Serial1/Serial2 on Arduino boards. Example usage: Serial2.begin(9600); Serial2.println("Hello from Serial2");

    - -
    -
    -

    Variable Documentation

    - -

    ◆ RPI

    - -
    -
    - - - - - -
    - - - - -
    HardwareSetupRPI arduino::RPI
    -
    -static
    -
    - -

    Global instance for Raspberry Pi hardware setup.

    -

    Use this object to access and initialize GPIO, I2C, and SPI interfaces on Raspberry Pi.

    - -
    -
    -
    - - - - diff --git a/docs/html/namespacemembers.html b/docs/html/namespacemembers.html deleted file mode 100644 index bf866cc..0000000 --- a/docs/html/namespacemembers.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - -arduino-emulator: Namespace Members - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - -
    - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - -
    -
    Here is a list of all documented namespace members with links to the namespaces they belong to:
    -
    - - - - diff --git a/docs/html/namespacemembers_enum.html b/docs/html/namespacemembers_enum.html deleted file mode 100644 index 189e775..0000000 --- a/docs/html/namespacemembers_enum.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - -arduino-emulator: Namespace Members - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - -
    - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - -
    -
    Here is a list of all documented namespace enums with links to the namespaces they belong to:
    -
    - - - - diff --git a/docs/html/namespacemembers_func.html b/docs/html/namespacemembers_func.html deleted file mode 100644 index 5101a23..0000000 --- a/docs/html/namespacemembers_func.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - -arduino-emulator: Namespace Members - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - -
    - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - -
    -
    Here is a list of all documented namespace functions with links to the namespaces they belong to:
    -
    - - - - diff --git a/docs/html/namespacemembers_type.html b/docs/html/namespacemembers_type.html deleted file mode 100644 index 7e744bd..0000000 --- a/docs/html/namespacemembers_type.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - -arduino-emulator: Namespace Members - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - -
    - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - -
    -
    Here is a list of all documented namespace typedefs with links to the namespaces they belong to:
    -
    - - - - diff --git a/docs/html/namespacemembers_vars.html b/docs/html/namespacemembers_vars.html deleted file mode 100644 index 51b55d9..0000000 --- a/docs/html/namespacemembers_vars.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - -arduino-emulator: Namespace Members - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - -
    - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - -
    -
    Here is a list of all documented namespace variables with links to the namespaces they belong to:
    -
    - - - - diff --git a/docs/html/namespaces.html b/docs/html/namespaces.html deleted file mode 100644 index c781a6d..0000000 --- a/docs/html/namespaces.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - -arduino-emulator: Namespace List - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - -
    - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - -
    -
    Namespace List
    -
    -
    -
    Here is a list of all documented namespaces with brief descriptions:
    -
    [detail level 123]
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     NarduinoWe provide the WiFi class to simulate the Arduino WIFI. In in Linux we can expect that networking is already active. So we dont need to do anything
     C__container__
     CArduinoLoggerA simple Logger that writes messages dependent on the log level
     CCanMsg
     CCanMsgRingbuffer
     CClient
     CDMABuffer
     CDMAPool
     CEthernetClient
     CEthernetImpl
     CEthernetServer
     CEthernetUDP
     CFileStreamWe use the FileStream class to be able to provide Serail, Serial1 and Serial2 outside of the Arduino environment;
     CGPIOSourceAbstract interface for providing GPIO hardware implementations
     CGPIOWrapperGPIO wrapper class that provides flexible hardware abstraction
     CHardwareCAN
     CHardwareGPIOAbstract base class for GPIO (General Purpose Input/Output) functions
     CHardwareGPIO_RPIGPIO hardware abstraction for Raspberry Pi in the Arduino emulator
     CHardwareI2C
     CHardwareI2C_RPIImplementation of I2C communication for Raspberry Pi using Linux I2C device interface
     CHardwareSerial
     CHardwareServiceProvides a virtualized hardware communication service for SPI, I2C, I2S, and GPIO over a stream
     CHardwareSetupRemoteConfigures and manages remote hardware interfaces for Arduino emulation
     CHardwareSetupRPISets up hardware interfaces for Raspberry Pi (GPIO, I2C, SPI)
     CHardwareSPI
     CHardwareSPI_RPIImplementation of SPI communication for Raspberry Pi using Linux SPI device interface
     CI2CSourceAbstract interface for providing I2C hardware implementations
     CI2CWrapperI2C wrapper class that provides flexible hardware abstraction
     CIPAddress
     CNetworkClientSecureNetworkClientSecure based on wolf ssl
     CPluggableUSB_
     CPluggableUSBModule
     CPrint
     CPrintable
     CRemoteGPIORemote GPIO implementation that operates over a communication stream
     CRemoteI2CRemote I2C implementation that operates over a communication stream
     CRemoteSerialClassRemote Serial implementation that operates over a communication stream
     CRemoteSPIRemote SPI implementation that operates over a communication stream
     CRingBufferExtImplementation of a Simple Circular Buffer. Instead of comparing the position of the read and write pointer in order to figure out if we still have characters available or space left to write we keep track of the actual length which is easier to follow. This class was implemented to support the reading and writing of arrays
     CRingBufferN
     CSerialImpl
     CServer
     CSocketImpl
     CSocketImplSecureSSL Socket using wolf ssl. For error codes see https://wolfssl.jp/docs-3/wolfssl-manual/appendix-c
     CSPISettings
     CSPISourceAbstract interface for providing SPI hardware implementations
     CSPIWrapperSPI wrapper class that provides flexible hardware abstraction
     CSPSCQueue
     CStdioDeviceProvides a Stream interface for standard input/output operations outside the Arduino environment
     CStream
     CMultiTarget
     CString
     CStringSumHelper
     CUDP
     CWifiMock
     CWiFiUDPStreamUDP Stream implementation for single-target communication
    -
    -
    - - - - diff --git a/docs/html/nav_f.png b/docs/html/nav_f.png deleted file mode 100644 index 72a58a529ed3a9ed6aa0c51a79cf207e026deee2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQVE_ejv*C{Z|{2ZH7M}7UYxc) zn!W8uqtnIQ>_z8U diff --git a/docs/html/nav_fd.png b/docs/html/nav_fd.png deleted file mode 100644 index 032fbdd4c54f54fa9a2e6423b94ef4b2ebdfaceb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQU#tajv*C{Z|C~*H7f|XvG1G8 zt7aS*L7xwMeS}!z6R#{C5tIw-s~AJ==F^i}x3XyJseHR@yF& zerFf(Zf;Dd{+(0lDIROL@Sj-Ju2JQ8&-n%4%q?>|^bShc&lR?}7HeMo@BDl5N(aHY Uj$gdr1MOz;boFyt=akR{0D!zeaR2}S diff --git a/docs/html/nav_g.png b/docs/html/nav_g.png deleted file mode 100644 index 2093a237a94f6c83e19ec6e5fd42f7ddabdafa81..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 95 zcmeAS@N?(olHy`uVBq!ia0vp^j6lrB!3HFm1ilyoDK$?Q$B+ufw|5PB85lU25BhtE tr?otc=hd~V+ws&_A@j8Fiv!KF$B+ufw|5=67#uj90@pIL wZ=Q8~_Ju`#59=RjDrmm`tMD@M=!-l18IR?&vFVdQ&MBb@0HFXL6W-eg#Jd_@e6*DPn)w;=|1H}Zvm9l6xXXB%>yL=NQU;mg M>FVdQ&MBb@0Bdt1Qvd(} diff --git a/docs/html/open.png b/docs/html/open.png deleted file mode 100644 index 30f75c7efe2dd0c9e956e35b69777a02751f048b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 123 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{VPM$7~Ar*{o?;hlAFyLXmaDC0y znK1_#cQqJWPES%4Uujug^TE?jMft$}Eq^WaR~)%f)vSNs&gek&x%A9X9sM - - - - - - -arduino-emulator: Related Pages - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - -
    - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - -
    -
    Related Pages
    -
    -
    -
    Here is a list of all related documentation pages:
    - - -
     Todo List
    -
    -
    - - - - diff --git a/docs/html/pgmspace_8h_source.html b/docs/html/pgmspace_8h_source.html deleted file mode 100644 index b2f1d14..0000000 --- a/docs/html/pgmspace_8h_source.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-API/api/deprecated-avr-comp/avr/pgmspace.h Source File - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - - - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - - -
    -
    -
    pgmspace.h
    -
    -
    -
    1/*
    -
    2 pgmspace.h - Definitions for compatibility with AVR pgmspace macros
    -
    3
    -
    4 Copyright (c) 2015 Arduino LLC
    -
    5
    -
    6 Based on work of Paul Stoffregen on Teensy 3 (http://pjrc.com)
    -
    7
    -
    8 Permission is hereby granted, free of charge, to any person obtaining a copy
    -
    9 of this software and associated documentation files (the "Software"), to deal
    -
    10 in the Software without restriction, including without limitation the rights
    -
    11 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    -
    12 copies of the Software, and to permit persons to whom the Software is
    -
    13 furnished to do so, subject to the following conditions:
    -
    14
    -
    15 The above copyright notice and this permission notice shall be included in
    -
    16 all copies or substantial portions of the Software.
    -
    17
    -
    18 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    -
    19 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    -
    20 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    -
    21 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    -
    22 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    -
    23 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    -
    24 THE SOFTWARE
    -
    25*/
    -
    26
    -
    27#ifndef __PGMSPACE_H_
    -
    28#define __PGMSPACE_H_ 1
    -
    29
    -
    30#include <inttypes.h>
    -
    31
    -
    32#define PROGMEM
    -
    33#define __ATTR_PROGMEM__
    -
    34#define PGM_P const char *
    -
    35#define PGM_VOID_P const void *
    -
    36#define PSTR(str) (str)
    -
    37
    -
    38#define _SFR_BYTE(n) (n)
    -
    39
    -
    40typedef void prog_void;
    -
    41typedef char prog_char;
    -
    42typedef unsigned char prog_uchar;
    -
    43typedef int8_t prog_int8_t;
    -
    44typedef uint8_t prog_uint8_t;
    -
    45typedef int16_t prog_int16_t;
    -
    46typedef uint16_t prog_uint16_t;
    -
    47typedef int32_t prog_int32_t;
    -
    48typedef uint32_t prog_uint32_t;
    -
    49typedef int64_t prog_int64_t;
    -
    50typedef uint64_t prog_uint64_t;
    -
    51
    -
    52typedef const void* int_farptr_t;
    -
    53typedef const void* uint_farptr_t;
    -
    54
    -
    55#define memchr_P(s, c, n) memchr((s), (c), (n))
    -
    56#define memcmp_P(s1, s2, n) memcmp((s1), (s2), (n))
    -
    57#define memccpy_P(dest, src, c, n) memccpy((dest), (src), (c), (n))
    -
    58#define memcpy_P(dest, src, n) memcpy((dest), (src), (n))
    -
    59#define memmem_P(haystack, haystacklen, needle, needlelen) memmem((haystack), (haystacklen), (needle), (needlelen))
    -
    60#define memrchr_P(s, c, n) memrchr((s), (c), (n))
    -
    61#define strcat_P(dest, src) strcat((dest), (src))
    -
    62#define strchr_P(s, c) strchr((s), (c))
    -
    63#define strchrnul_P(s, c) strchrnul((s), (c))
    -
    64#define strcmp_P(a, b) strcmp((a), (b))
    -
    65#define strcpy_P(dest, src) strcpy((dest), (src))
    -
    66#define strcasecmp_P(s1, s2) strcasecmp((s1), (s2))
    -
    67#define strcasestr_P(haystack, needle) strcasestr((haystack), (needle))
    -
    68#define strcspn_P(s, accept) strcspn((s), (accept))
    -
    69#define strlcat_P(s1, s2, n) strlcat((s1), (s2), (n))
    -
    70#define strlcpy_P(s1, s2, n) strlcpy((s1), (s2), (n))
    -
    71#define strlen_P(a) strlen((a))
    -
    72#define strnlen_P(s, n) strnlen((s), (n))
    -
    73#define strncmp_P(s1, s2, n) strncmp((s1), (s2), (n))
    -
    74#define strncasecmp_P(s1, s2, n) strncasecmp((s1), (s2), (n))
    -
    75#define strncat_P(s1, s2, n) strncat((s1), (s2), (n))
    -
    76#define strncpy_P(s1, s2, n) strncpy((s1), (s2), (n))
    -
    77#define strpbrk_P(s, accept) strpbrk((s), (accept))
    -
    78#define strrchr_P(s, c) strrchr((s), (c))
    -
    79#define strsep_P(sp, delim) strsep((sp), (delim))
    -
    80#define strspn_P(s, accept) strspn((s), (accept))
    -
    81#define strstr_P(a, b) strstr((a), (b))
    -
    82#define strtok_P(s, delim) strtok((s), (delim))
    -
    83#define strtok_rP(s, delim, last) strtok((s), (delim), (last))
    -
    84
    -
    85#define strlen_PF(a) strlen((a))
    -
    86#define strnlen_PF(src, len) strnlen((src), (len))
    -
    87#define memcpy_PF(dest, src, len) memcpy((dest), (src), (len))
    -
    88#define strcpy_PF(dest, src) strcpy((dest), (src))
    -
    89#define strncpy_PF(dest, src, len) strncpy((dest), (src), (len))
    -
    90#define strcat_PF(dest, src) strcat((dest), (src))
    -
    91#define strlcat_PF(dest, src, len) strlcat((dest), (src), (len))
    -
    92#define strncat_PF(dest, src, len) strncat((dest), (src), (len))
    -
    93#define strcmp_PF(s1, s2) strcmp((s1), (s2))
    -
    94#define strncmp_PF(s1, s2, n) strncmp((s1), (s2), (n))
    -
    95#define strcasecmp_PF(s1, s2) strcasecmp((s1), (s2))
    -
    96#define strncasecmp_PF(s1, s2, n) strncasecmp((s1), (s2), (n))
    -
    97#define strstr_PF(s1, s2) strstr((s1), (s2))
    -
    98#define strlcpy_PF(dest, src, n) strlcpy((dest), (src), (n))
    -
    99#define memcmp_PF(s1, s2, n) memcmp((s1), (s2), (n))
    -
    100
    -
    101#define sprintf_P(s, f, ...) sprintf((s), (f), __VA_ARGS__)
    -
    102#define snprintf_P(s, f, ...) snprintf((s), (f), __VA_ARGS__)
    -
    103
    -
    104#define pgm_read_byte(addr) (*(const unsigned char *)(addr))
    -
    105#define pgm_read_word(addr) (*(const unsigned short *)(addr))
    -
    106#define pgm_read_dword(addr) (*(const unsigned long *)(addr))
    -
    107#define pgm_read_float(addr) (*(const float *)(addr))
    -
    108#define pgm_read_ptr(addr) (*(void *const *)(addr))
    -
    109
    -
    110#define pgm_read_byte_near(addr) pgm_read_byte(addr)
    -
    111#define pgm_read_word_near(addr) pgm_read_word(addr)
    -
    112#define pgm_read_dword_near(addr) pgm_read_dword(addr)
    -
    113#define pgm_read_float_near(addr) pgm_read_float(addr)
    -
    114#define pgm_read_ptr_near(addr) pgm_read_ptr(addr)
    -
    115
    -
    116#define pgm_read_byte_far(addr) pgm_read_byte(addr)
    -
    117#define pgm_read_word_far(addr) pgm_read_word(addr)
    -
    118#define pgm_read_dword_far(addr) pgm_read_dword(addr)
    -
    119#define pgm_read_float_far(addr) pgm_read_float(addr)
    -
    120#define pgm_read_ptr_far(addr) pgm_read_ptr(addr)
    -
    121
    -
    122#define pgm_get_far_address(addr) (&(addr))
    -
    123
    -
    124#endif
    -
    - - - - diff --git a/docs/html/plus.svg b/docs/html/plus.svg deleted file mode 100644 index 0752016..0000000 --- a/docs/html/plus.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/docs/html/plusd.svg b/docs/html/plusd.svg deleted file mode 100644 index 0c65bfe..0000000 --- a/docs/html/plusd.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/docs/html/search/all_0.html b/docs/html/search/all_0.html deleted file mode 100644 index 1ec5b2d..0000000 --- a/docs/html/search/all_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_0.js b/docs/html/search/all_0.js deleted file mode 100644 index 7fdb6ff..0000000 --- a/docs/html/search/all_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['_5f_5fcontainer_5f_5f_0',['__container__',['../structarduino_1_1____container____.html',1,'arduino']]] -]; diff --git a/docs/html/search/all_1.html b/docs/html/search/all_1.html deleted file mode 100644 index 9f80e90..0000000 --- a/docs/html/search/all_1.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_1.js b/docs/html/search/all_1.js deleted file mode 100644 index cb6c920..0000000 --- a/docs/html/search/all_1.js +++ /dev/null @@ -1,18 +0,0 @@ -var searchData= -[ - ['a_20library_0',['Using this Project as a library',['../index.html#autotoc_md1',1,'']]], - ['an_20arduino_20c_20emulator_20library_1',['An Arduino C++ Emulator Library',['../index.html',1,'']]], - ['analogread_2',['analogread',['../classarduino_1_1_g_p_i_o_wrapper.html#a07ca4e15b7f8427964d9c4f91b7ca091',1,'arduino::GPIOWrapper::analogRead()'],['../classarduino_1_1_hardware_g_p_i_o.html#ac93235fd6bdd93a8c91b1f802b191fec',1,'arduino::HardwareGPIO::analogRead()'],['../classarduino_1_1_remote_g_p_i_o.html#ae8e6dbd8a3b1059b4dd13e0949b623bf',1,'arduino::RemoteGPIO::analogRead()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#aaf71da48d37d74033983c013f051d40e',1,'arduino::HardwareGPIO_RPI::analogRead()']]], - ['analogreference_3',['analogreference',['../classarduino_1_1_g_p_i_o_wrapper.html#af2fa37727fa092d979506698f8d53ac2',1,'arduino::GPIOWrapper::analogReference()'],['../classarduino_1_1_hardware_g_p_i_o.html#a0d3948955f19991e75845dfae0ad63e3',1,'arduino::HardwareGPIO::analogReference()'],['../classarduino_1_1_remote_g_p_i_o.html#a3c09a33755589d3731ebe950b38d04e4',1,'arduino::RemoteGPIO::analogReference()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#af398d975b8103b60ad2263e4f341a0e4',1,'arduino::HardwareGPIO_RPI::analogReference()']]], - ['analogwrite_4',['analogwrite',['../classarduino_1_1_g_p_i_o_wrapper.html#aae31378a69ce59e97dee2d87f81f6cfe',1,'arduino::GPIOWrapper::analogWrite()'],['../classarduino_1_1_hardware_g_p_i_o.html#a7ab72b9424d3114395bfce59713c1302',1,'arduino::HardwareGPIO::analogWrite()'],['../classarduino_1_1_remote_g_p_i_o.html#a0ea1bc0fa85e00f118b877f49c608bcc',1,'arduino::RemoteGPIO::analogWrite()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a2a9a12ecf779e1cfbb961a05cc79e71d',1,'arduino::HardwareGPIO_RPI::analogWrite(pin_size_t pinNumber, int value) override']]], - ['analogwritefrequency_5',['analogWriteFrequency',['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a92ae0c482731d62530fec574e8b17450',1,'arduino::HardwareGPIO_RPI']]], - ['and_20credits_6',['License and credits',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md20',1,'']]], - ['and_20run_20unit_20tests_7',['To build and run unit tests',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md17',1,'']]], - ['api_8',['Implementing ArduinoCore-API',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md18',1,'']]], - ['arduino_9',['arduino',['../namespacearduino.html',1,'']]], - ['arduino_20c_20emulator_20library_10',['An Arduino C++ Emulator Library',['../index.html',1,'']]], - ['arduinocore_20api_11',['Implementing ArduinoCore-API',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md18',1,'']]], - ['arduinologger_12',['ArduinoLogger',['../classarduino_1_1_arduino_logger.html',1,'arduino']]], - ['as_20a_20library_13',['Using this Project as a library',['../index.html#autotoc_md1',1,'']]], - ['available_14',['available',['../classserialib.html#a50c91bf8cab23afdfdf05ca58392456f',1,'serialib::available()'],['../classarduino_1_1_hardware_c_a_n.html#a2490c3c429e28464b2ee616ed6dc306a',1,'arduino::HardwareCAN::available()']]] -]; diff --git a/docs/html/search/all_10.html b/docs/html/search/all_10.html deleted file mode 100644 index 3bf1196..0000000 --- a/docs/html/search/all_10.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_10.js b/docs/html/search/all_10.js deleted file mode 100644 index 0a70e5f..0000000 --- a/docs/html/search/all_10.js +++ /dev/null @@ -1,17 +0,0 @@ -var searchData= -[ - ['rasperry_20pi_0',['Rasperry PI',['../index.html#autotoc_md3',1,'']]], - ['read_1',['read',['../classarduino_1_1_hardware_c_a_n.html#a1b4e9c0eec8f32a3ab4402234981d25b',1,'arduino::HardwareCAN']]], - ['readbytes_2',['readBytes',['../classserialib.html#ab05e51ff3bc47c02d7d000d58b45a961',1,'serialib']]], - ['readchar_3',['readChar',['../classserialib.html#a6c78b8a11ae7b8af57eea3dbc7fa237b',1,'serialib']]], - ['readstring_4',['readString',['../classserialib.html#ab155c84352ddefe1304d391c19497ac1',1,'serialib']]], - ['remotegpio_5',['RemoteGPIO',['../classarduino_1_1_remote_g_p_i_o.html',1,'arduino']]], - ['remotei2c_6',['RemoteI2C',['../classarduino_1_1_remote_i2_c.html',1,'arduino']]], - ['remoteserialclass_7',['RemoteSerialClass',['../classarduino_1_1_remote_serial_class.html',1,'arduino']]], - ['remotespi_8',['RemoteSPI',['../classarduino_1_1_remote_s_p_i.html',1,'arduino']]], - ['ringbufferext_9',['RingBufferExt',['../classarduino_1_1_ring_buffer_ext.html',1,'arduino']]], - ['ringbuffern_10',['RingBufferN',['../classarduino_1_1_ring_buffer_n.html',1,'arduino']]], - ['rpi_11',['RPI',['../namespacearduino.html#aaf600ce0d5135956db45dd53f2d9cdab',1,'arduino']]], - ['rts_12',['RTS',['../classserialib.html#a5a73f159762fa4d5c252f36acfe7ab47',1,'serialib']]], - ['run_20unit_20tests_13',['To build and run unit tests',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md17',1,'']]] -]; diff --git a/docs/html/search/all_11.html b/docs/html/search/all_11.html deleted file mode 100644 index c9f79d2..0000000 --- a/docs/html/search/all_11.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_11.js b/docs/html/search/all_11.js deleted file mode 100644 index e373f39..0000000 --- a/docs/html/search/all_11.js +++ /dev/null @@ -1,45 +0,0 @@ -var searchData= -[ - ['sd_2eh_0',['SD.h',['../_s_d_8h.html',1,'']]], - ['sdfat_1',['SdFat',['../class_sd_fat.html',1,'']]], - ['sdfat_2eh_2',['SdFat.h',['../_sd_fat_8h.html',1,'']]], - ['sdfile_3',['SdFile',['../class_sd_file.html',1,'']]], - ['sdspiconfig_4',['SdSpiConfig',['../class_sd_spi_config.html',1,'']]], - ['serial1_5',['Serial1',['../namespacearduino.html#a8bf2dfa8621a2fd45f0f69ee06c2d885',1,'arduino']]], - ['serial2_6',['Serial2',['../namespacearduino.html#aa9b5bb779e9660566ebec490609d5d04',1,'arduino']]], - ['serialib_7',['serialib',['../classserialib.html',1,'serialib'],['../classserialib.html#a26166f63ad73013ca7cbcd2ae59edc91',1,'serialib::serialib()']]], - ['serialib_2ecpp_8',['serialib.cpp',['../serialib_8cpp.html',1,'']]], - ['serialib_2eh_9',['serialib.h',['../serialib_8h.html',1,'']]], - ['serialimpl_10',['SerialImpl',['../classarduino_1_1_serial_impl.html',1,'arduino']]], - ['server_11',['Server',['../classarduino_1_1_server.html',1,'arduino']]], - ['setdtr_12',['setDTR',['../classserialib.html#a7564b9e28b1b50675d9d6d3fabc896c0',1,'serialib']]], - ['setgpio_13',['setGPIO',['../classarduino_1_1_g_p_i_o_wrapper.html#a4fbb67aaa1e606e6eadf23f4723f01a2',1,'arduino::GPIOWrapper']]], - ['seti2c_14',['setI2C',['../classarduino_1_1_i2_c_wrapper.html#af31b2f00dffd4f062d23fce42c1c2678',1,'arduino::I2CWrapper']]], - ['setrts_15',['setRTS',['../classserialib.html#a21767ffe86a76f300a71c496fbcc26a1',1,'serialib']]], - ['setsource_16',['setsource',['../classarduino_1_1_g_p_i_o_wrapper.html#a4aaeb3adb73f412ee1743a33bb829d1a',1,'arduino::GPIOWrapper::setSource()'],['../classarduino_1_1_i2_c_wrapper.html#a3311764d8d6d6a62a86d88d2ad0ce37c',1,'arduino::I2CWrapper::setSource()'],['../classarduino_1_1_s_p_i_wrapper.html#a50ab5983b464332a3d5dab2d7ebc9bde',1,'arduino::SPIWrapper::setSource(SPISource *source)']]], - ['setspi_17',['setSPI',['../classarduino_1_1_s_p_i_wrapper.html#aa32e071cd4ff470892e3f22ad41fd189',1,'arduino::SPIWrapper']]], - ['signalhandler_18',['SignalHandler',['../class_signal_handler.html',1,'']]], - ['socketimpl_19',['SocketImpl',['../classarduino_1_1_socket_impl.html',1,'arduino']]], - ['socketimplsecure_20',['SocketImplSecure',['../classarduino_1_1_socket_impl_secure.html',1,'arduino']]], - ['spi_21',['SPI',['../namespacearduino.html#a5cdbe44f12b33daea39c70b62a63fc66',1,'arduino']]], - ['spi_20i2c_22',['GPIO/SPI/I2C',['../index.html#autotoc_md2',1,'']]], - ['spiclass_23',['SPIClass',['../class_s_p_i_class.html',1,'']]], - ['spisettings_24',['SPISettings',['../classarduino_1_1_s_p_i_settings.html',1,'arduino']]], - ['spisource_25',['SPISource',['../classarduino_1_1_s_p_i_source.html',1,'arduino']]], - ['spiwrapper_26',['SPIWrapper',['../classarduino_1_1_s_p_i_wrapper.html',1,'arduino']]], - ['spscqueue_27',['SPSCQueue',['../classarduino_1_1_s_p_s_c_queue.html',1,'arduino']]], - ['spscqueue_3c_20arduino_3a_3admabuffer_3c_20t_20_3e_20_2a_20_3e_28',['SPSCQueue< arduino::DMABuffer< T > * >',['../classarduino_1_1_s_p_s_c_queue.html',1,'arduino']]], - ['stdiodevice_29',['StdioDevice',['../classarduino_1_1_stdio_device.html',1,'arduino']]], - ['stream_30',['Stream',['../classarduino_1_1_stream.html',1,'arduino']]], - ['streammock_31',['StreamMock',['../class_stream_mock.html',1,'']]], - ['string_32',['String',['../classarduino_1_1_string.html',1,'arduino']]], - ['stringmaker_3c_20arduino_3a_3astring_20_3e_33',['StringMaker< arduino::String >',['../struct_catch_1_1_string_maker_3_01arduino_1_1_string_01_4.html',1,'Catch']]], - ['stringsumhelper_34',['StringSumHelper',['../classarduino_1_1_string_sum_helper.html',1,'arduino']]], - ['support_35',['Support',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md12',1,'']]], - ['supported_20defines_36',['Supported Defines',['../index.html#autotoc_md5',1,'']]], - ['swap_5fint16_37',['swap_int16',['../classarduino_1_1_hardware_service.html#abac939cf64aa5544b0747da2cf356392',1,'arduino::HardwareService']]], - ['swap_5fint32_38',['swap_int32',['../classarduino_1_1_hardware_service.html#a088293bf035a3f094a84484db2905688',1,'arduino::HardwareService']]], - ['swap_5fuint16_39',['swap_uint16',['../classarduino_1_1_hardware_service.html#a2b4a50d915c1796e2af32dcabe87369e',1,'arduino::HardwareService']]], - ['swap_5fuint32_40',['swap_uint32',['../classarduino_1_1_hardware_service.html#af7cb07b87f7adc926a77094837e18b66',1,'arduino::HardwareService']]], - ['systems_20windows_20osx_20wsl_41',['Case-insensitive file systems (Windows, OSX, WSL)',['../index.html#autotoc_md9',1,'']]] -]; diff --git a/docs/html/search/all_12.html b/docs/html/search/all_12.html deleted file mode 100644 index ab93472..0000000 --- a/docs/html/search/all_12.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_12.js b/docs/html/search/all_12.js deleted file mode 100644 index 3d66dc9..0000000 --- a/docs/html/search/all_12.js +++ /dev/null @@ -1,11 +0,0 @@ -var searchData= -[ - ['testing_0',['Unit testing',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md16',1,'']]], - ['tests_1',['To build and run unit tests',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md17',1,'']]], - ['this_20project_20as_20a_20library_2',['Using this Project as a library',['../index.html#autotoc_md1',1,'']]], - ['timeout_3',['timeout',['../classtime_out.html',1,'timeOut'],['../classtime_out.html#a2cffa89f7b90e4501e07e8cb7ccb3117',1,'timeOut::timeOut()']]], - ['to_20build_20and_20run_20unit_20tests_4',['To build and run unit tests',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md17',1,'']]], - ['todo_20list_5',['Todo List',['../todo.html',1,'']]], - ['tone_6',['tone',['../classarduino_1_1_g_p_i_o_wrapper.html#a4eefb039ba6a8b29f2cce5d2ebf86697',1,'arduino::GPIOWrapper::tone()'],['../classarduino_1_1_hardware_g_p_i_o.html#a9af7c209aa41bc66819441981994cbda',1,'arduino::HardwareGPIO::tone()'],['../classarduino_1_1_remote_g_p_i_o.html#a7feee2166c833a0c349fdf0e57737f65',1,'arduino::RemoteGPIO::tone()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a2f12263cb33cfe15f116fc5137785067',1,'arduino::HardwareGPIO_RPI::tone()']]], - ['twowire_7',['TwoWire',['../namespacearduino.html#ad957a99347ea5572b71f24c6d4f2501f',1,'arduino']]] -]; diff --git a/docs/html/search/all_13.html b/docs/html/search/all_13.html deleted file mode 100644 index 51172c2..0000000 --- a/docs/html/search/all_13.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_13.js b/docs/html/search/all_13.js deleted file mode 100644 index 8ccf168..0000000 --- a/docs/html/search/all_13.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['udp_0',['UDP',['../classarduino_1_1_u_d_p.html',1,'arduino']]], - ['unit_20testing_1',['Unit testing',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md16',1,'']]], - ['unit_20tests_2',['To build and run unit tests',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md17',1,'']]], - ['usage_20notes_3',['Usage notes',['../index.html#autotoc_md8',1,'']]], - ['using_20this_20project_20as_20a_20library_4',['Using this Project as a library',['../index.html#autotoc_md1',1,'']]] -]; diff --git a/docs/html/search/all_14.html b/docs/html/search/all_14.html deleted file mode 100644 index afecf56..0000000 --- a/docs/html/search/all_14.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_14.js b/docs/html/search/all_14.js deleted file mode 100644 index 9306f88..0000000 --- a/docs/html/search/all_14.js +++ /dev/null @@ -1,16 +0,0 @@ -var searchData= -[ - ['wificlient_0',['WiFiClient',['../namespacearduino.html#a3faf49cb9bc73386a5484c845be4b3d3',1,'arduino']]], - ['wificlientsecure_1',['WiFiClientSecure',['../namespacearduino.html#a19d9e574f57b774b7e4bb650cd91c677',1,'arduino']]], - ['wifimock_2',['WifiMock',['../classarduino_1_1_wifi_mock.html',1,'arduino']]], - ['wifiserver_3',['WiFiServer',['../namespacearduino.html#a2b52edc77c5220933cda374fc4b169ac',1,'arduino']]], - ['wifiudp_4',['WiFiUDP',['../namespacearduino.html#a1c42c7e192d7c6cb9229562cf928a557',1,'arduino']]], - ['wifiudpstream_5',['WiFiUDPStream',['../classarduino_1_1_wi_fi_u_d_p_stream.html',1,'arduino']]], - ['windows_20osx_20wsl_6',['Case-insensitive file systems (Windows, OSX, WSL)',['../index.html#autotoc_md9',1,'']]], - ['wire_7',['Wire',['../namespacearduino.html#a438e0b6e21770efe4a3aba702b818c4d',1,'arduino']]], - ['write_8',['write',['../classarduino_1_1_hardware_c_a_n.html#ac22cd733cb28a1408e79e98667d23b57',1,'arduino::HardwareCAN']]], - ['writebytes_9',['writeBytes',['../classserialib.html#aa14196b6f422584bf5eebc4ddb71d483',1,'serialib']]], - ['writechar_10',['writeChar',['../classserialib.html#aa6d231cb99664a613bcb503830f73497',1,'serialib']]], - ['writestring_11',['writeString',['../classserialib.html#a6a32655c718b998e5b63d8cdc483ac6d',1,'serialib']]], - ['wsl_12',['Case-insensitive file systems (Windows, OSX, WSL)',['../index.html#autotoc_md9',1,'']]] -]; diff --git a/docs/html/search/all_15.js b/docs/html/search/all_15.js deleted file mode 100644 index bbb2b93..0000000 --- a/docs/html/search/all_15.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['_7ehardwaregpio_5frpi_0',['~HardwareGPIO_RPI',['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a79579e723138b5f682269b99d60b6fdd',1,'arduino::HardwareGPIO_RPI']]], - ['_7ehardwaresetuprpi_1',['~HardwareSetupRPI',['../classarduino_1_1_hardware_setup_r_p_i.html#a3b162b1537ba1028d925a4d30a9f06e0',1,'arduino::HardwareSetupRPI']]], - ['_7eserialib_2',['~serialib',['../classserialib.html#ac44215001ae198f2c196bb7993327a4b',1,'serialib']]] -]; diff --git a/docs/html/search/all_2.html b/docs/html/search/all_2.html deleted file mode 100644 index 02cfffc..0000000 --- a/docs/html/search/all_2.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_2.js b/docs/html/search/all_2.js deleted file mode 100644 index 10220bb..0000000 --- a/docs/html/search/all_2.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['begin_0',['begin',['../classarduino_1_1_hardware_c_a_n.html#a784fbdde8524fa2e2d332a882ed03b5e',1,'arduino::HardwareCAN::begin()'],['../classarduino_1_1_hardware_setup_remote.html#abe57889e4711d7b71f46bfa1d74e57e7',1,'arduino::HardwareSetupRemote::begin(Stream *s, bool asDefault=true, bool doHandShake=true)'],['../classarduino_1_1_hardware_setup_remote.html#a061b8f969e2ff3effdaab762508af04b',1,'arduino::HardwareSetupRemote::begin(int port, bool asDefault)'],['../classarduino_1_1_hardware_setup_remote.html#aa166a81edc67949e56dc14fa8b984fdc',1,'arduino::HardwareSetupRemote::begin(bool asDefault=true)'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a48ddae6a1acd20f13460c94ea620d5b0',1,'arduino::HardwareGPIO_RPI::begin()'],['../classarduino_1_1_hardware_setup_r_p_i.html#a5307755b8fd46e0aaec33ca52c68576b',1,'arduino::HardwareSetupRPI::begin()']]], - ['bugs_20issues_1',['Bugs & Issues',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md14',1,'']]], - ['build_20and_20run_20unit_20tests_2',['To build and run unit tests',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md17',1,'']]], - ['build_20instructions_3',['Build instructions',['../index.html#autotoc_md6',1,'']]] -]; diff --git a/docs/html/search/all_3.html b/docs/html/search/all_3.html deleted file mode 100644 index 39767b8..0000000 --- a/docs/html/search/all_3.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_3.js b/docs/html/search/all_3.js deleted file mode 100644 index cdb2d10..0000000 --- a/docs/html/search/all_3.js +++ /dev/null @@ -1,13 +0,0 @@ -var searchData= -[ - ['c_20emulator_20library_0',['An Arduino C++ Emulator Library',['../index.html',1,'']]], - ['canmsg_1',['CanMsg',['../classarduino_1_1_can_msg.html',1,'arduino']]], - ['canmsgringbuffer_2',['CanMsgRingbuffer',['../classarduino_1_1_can_msg_ringbuffer.html',1,'arduino']]], - ['case_20insensitive_20file_20systems_20windows_20osx_20wsl_3',['Case-insensitive file systems (Windows, OSX, WSL)',['../index.html#autotoc_md9',1,'']]], - ['cleardtr_4',['clearDTR',['../classserialib.html#adf49bff6401d3101b41fb52e98309635',1,'serialib']]], - ['clearrts_5',['clearRTS',['../classserialib.html#ab0b5882339240002fccf7701f5321e0a',1,'serialib']]], - ['client_6',['Client',['../classarduino_1_1_client.html',1,'arduino']]], - ['closedevice_7',['closeDevice',['../classserialib.html#a8a1c8803c8df1a19222d6006328534b8',1,'serialib']]], - ['contributions_8',['Contributions',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md15',1,'']]], - ['credits_9',['License and credits',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md20',1,'']]] -]; diff --git a/docs/html/search/all_4.html b/docs/html/search/all_4.html deleted file mode 100644 index fc40463..0000000 --- a/docs/html/search/all_4.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_4.js b/docs/html/search/all_4.js deleted file mode 100644 index 8537339..0000000 --- a/docs/html/search/all_4.js +++ /dev/null @@ -1,13 +0,0 @@ -var searchData= -[ - ['defines_0',['Supported Defines',['../index.html#autotoc_md5',1,'']]], - ['development_1',['Development',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md13',1,'']]], - ['digitalread_2',['digitalread',['../classarduino_1_1_g_p_i_o_wrapper.html#a38c123198ff08bafe60d37050baa574e',1,'arduino::GPIOWrapper::digitalRead()'],['../classarduino_1_1_hardware_g_p_i_o.html#a408e951f42d9f765cd89c39fe84c8886',1,'arduino::HardwareGPIO::digitalRead()'],['../classarduino_1_1_remote_g_p_i_o.html#ad69e6552972f07584fa2c4c1d232badc',1,'arduino::RemoteGPIO::digitalRead()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#abaf2b8e0d8f46d059b850d4df5b0a863',1,'arduino::HardwareGPIO_RPI::digitalRead()']]], - ['digitalwrite_3',['digitalwrite',['../classarduino_1_1_g_p_i_o_wrapper.html#a01ef49d52dfec84e3fa6375dd79da90d',1,'arduino::GPIOWrapper::digitalWrite()'],['../classarduino_1_1_hardware_g_p_i_o.html#af3608f342505f3885292b318a79bb587',1,'arduino::HardwareGPIO::digitalWrite()'],['../classarduino_1_1_remote_g_p_i_o.html#a6a05b7f35716a1981e732121d1e1d26e',1,'arduino::RemoteGPIO::digitalWrite()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#afb392ff358590dea32dd1d3e2198efd1',1,'arduino::HardwareGPIO_RPI::digitalWrite()']]], - ['dmabuffer_4',['DMABuffer',['../classarduino_1_1_d_m_a_buffer.html',1,'arduino']]], - ['dmapool_5',['DMAPool',['../classarduino_1_1_d_m_a_pool.html',1,'arduino']]], - ['dmapool_3c_20t_2c_20_5f_5fcache_5fline_5fsize_5f_5f_20_3e_6',['DMAPool< T, __CACHE_LINE_SIZE__ >',['../classarduino_1_1_d_m_a_pool.html',1,'arduino']]], - ['documentation_7',['documentation',['../index.html#autotoc_md7',1,'Documentation'],['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md11',1,'Documentation']]], - ['donations_8',['Donations',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md19',1,'']]], - ['dtr_9',['DTR',['../classserialib.html#a3dc0ec56e84ab2b43dc02fc2e02148a1',1,'serialib']]] -]; diff --git a/docs/html/search/all_5.html b/docs/html/search/all_5.html deleted file mode 100644 index 9dd9344..0000000 --- a/docs/html/search/all_5.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_5.js b/docs/html/search/all_5.js deleted file mode 100644 index 3021cc0..0000000 --- a/docs/html/search/all_5.js +++ /dev/null @@ -1,10 +0,0 @@ -var searchData= -[ - ['elapsedtime_5fms_0',['elapsedTime_ms',['../classtime_out.html#af5db5b5f0db4f6ada19187ef8f214214',1,'timeOut']]], - ['emulator_20library_1',['An Arduino C++ Emulator Library',['../index.html',1,'']]], - ['end_2',['end',['../classarduino_1_1_hardware_c_a_n.html#a7071c8f3f967f9c5d1924c024486057a',1,'arduino::HardwareCAN::end()'],['../classarduino_1_1_hardware_setup_r_p_i.html#abccd4a28c7fc70610529e0e84e3972eb',1,'arduino::HardwareSetupRPI::end()']]], - ['ethernetclient_3',['EthernetClient',['../classarduino_1_1_ethernet_client.html',1,'arduino']]], - ['ethernetimpl_4',['EthernetImpl',['../classarduino_1_1_ethernet_impl.html',1,'arduino']]], - ['ethernetserver_5',['EthernetServer',['../classarduino_1_1_ethernet_server.html',1,'arduino']]], - ['ethernetudp_6',['EthernetUDP',['../classarduino_1_1_ethernet_u_d_p.html',1,'arduino']]] -]; diff --git a/docs/html/search/all_6.html b/docs/html/search/all_6.html deleted file mode 100644 index f1e516d..0000000 --- a/docs/html/search/all_6.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_6.js b/docs/html/search/all_6.js deleted file mode 100644 index f4934c9..0000000 --- a/docs/html/search/all_6.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['file_0',['File',['../class_file.html',1,'']]], - ['file_20systems_20windows_20osx_20wsl_1',['Case-insensitive file systems (Windows, OSX, WSL)',['../index.html#autotoc_md9',1,'']]], - ['filestream_2',['FileStream',['../classarduino_1_1_file_stream.html',1,'arduino']]], - ['flushreceiver_3',['flushReceiver',['../classserialib.html#a572dd8d208511ec81d848de72cb05c7a',1,'serialib']]] -]; diff --git a/docs/html/search/all_7.html b/docs/html/search/all_7.html deleted file mode 100644 index 8ddbf6c..0000000 --- a/docs/html/search/all_7.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_7.js b/docs/html/search/all_7.js deleted file mode 100644 index d7e4e8f..0000000 --- a/docs/html/search/all_7.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['gpio_0',['GPIO',['../namespacearduino.html#a67230408a4be8e454f3947313e30c0e1',1,'arduino']]], - ['gpio_20spi_20i2c_1',['GPIO/SPI/I2C',['../index.html#autotoc_md2',1,'']]], - ['gpiosource_2',['GPIOSource',['../classarduino_1_1_g_p_i_o_source.html',1,'arduino']]], - ['gpiowrapper_3',['GPIOWrapper',['../classarduino_1_1_g_p_i_o_wrapper.html',1,'arduino']]] -]; diff --git a/docs/html/search/all_8.html b/docs/html/search/all_8.html deleted file mode 100644 index 83c55ae..0000000 --- a/docs/html/search/all_8.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_8.js b/docs/html/search/all_8.js deleted file mode 100644 index e38b9c4..0000000 --- a/docs/html/search/all_8.js +++ /dev/null @@ -1,15 +0,0 @@ -var searchData= -[ - ['hardwarecan_0',['HardwareCAN',['../classarduino_1_1_hardware_c_a_n.html',1,'arduino']]], - ['hardwaregpio_1',['HardwareGPIO',['../classarduino_1_1_hardware_g_p_i_o.html',1,'arduino']]], - ['hardwaregpio_5frpi_2',['hardwaregpio_rpi',['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html',1,'arduino::HardwareGPIO_RPI'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#abf33b352cae1bb918ce174581d2ce0b5',1,'arduino::HardwareGPIO_RPI::HardwareGPIO_RPI()=default'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a78828fb5ae628266b3f0f99422719ec3',1,'arduino::HardwareGPIO_RPI::HardwareGPIO_RPI(const char *devName)']]], - ['hardwarei2c_3',['HardwareI2C',['../classarduino_1_1_hardware_i2_c.html',1,'arduino']]], - ['hardwarei2c_5frpi_4',['HardwareI2C_RPI',['../classarduino_1_1_hardware_i2_c___r_p_i.html',1,'arduino']]], - ['hardwareserial_5',['HardwareSerial',['../classarduino_1_1_hardware_serial.html',1,'arduino']]], - ['hardwareservice_6',['HardwareService',['../classarduino_1_1_hardware_service.html',1,'arduino']]], - ['hardwaresetupremote_7',['hardwaresetupremote',['../classarduino_1_1_hardware_setup_remote.html',1,'arduino::HardwareSetupRemote'],['../classarduino_1_1_hardware_setup_remote.html#a7139f49808983b073df560033ba7553c',1,'arduino::HardwareSetupRemote::HardwareSetupRemote()=default'],['../classarduino_1_1_hardware_setup_remote.html#a8997876ac8006291fa4e70c3e495451c',1,'arduino::HardwareSetupRemote::HardwareSetupRemote(Stream &stream)'],['../classarduino_1_1_hardware_setup_remote.html#ad12f22a207703fac64394e2c77768843',1,'arduino::HardwareSetupRemote::HardwareSetupRemote(int port)']]], - ['hardwaresetuprpi_8',['hardwaresetuprpi',['../classarduino_1_1_hardware_setup_r_p_i.html',1,'arduino::HardwareSetupRPI'],['../classarduino_1_1_hardware_setup_r_p_i.html#a681480986b415e7610b539a9425faed1',1,'arduino::HardwareSetupRPI::HardwareSetupRPI()']]], - ['hardwarespi_9',['HardwareSPI',['../classarduino_1_1_hardware_s_p_i.html',1,'arduino']]], - ['hardwarespi_5frpi_10',['HardwareSPI_RPI',['../classarduino_1_1_hardware_s_p_i___r_p_i.html',1,'arduino']]], - ['hwcalls_11',['HWCalls',['../namespacearduino.html#a7e2d951f5b63a78013908f24b079292d',1,'arduino']]] -]; diff --git a/docs/html/search/all_9.html b/docs/html/search/all_9.html deleted file mode 100644 index 1e263c1..0000000 --- a/docs/html/search/all_9.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_9.js b/docs/html/search/all_9.js deleted file mode 100644 index f458ec9..0000000 --- a/docs/html/search/all_9.js +++ /dev/null @@ -1,18 +0,0 @@ -var searchData= -[ - ['i2c_0',['GPIO/SPI/I2C',['../index.html#autotoc_md2',1,'']]], - ['i2csource_1',['I2CSource',['../classarduino_1_1_i2_c_source.html',1,'arduino']]], - ['i2cwrapper_2',['I2CWrapper',['../classarduino_1_1_i2_c_wrapper.html',1,'arduino']]], - ['implementing_20arduinocore_20api_3',['Implementing ArduinoCore-API',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md18',1,'']]], - ['inittimer_4',['initTimer',['../classtime_out.html#a88b4caef4ce7bfc42b73a61589c098e8',1,'timeOut']]], - ['insensitive_20file_20systems_20windows_20osx_20wsl_5',['Case-insensitive file systems (Windows, OSX, WSL)',['../index.html#autotoc_md9',1,'']]], - ['instructions_6',['Build instructions',['../index.html#autotoc_md6',1,'']]], - ['ipaddress_7',['IPAddress',['../classarduino_1_1_i_p_address.html',1,'arduino']]], - ['iscts_8',['isCTS',['../classserialib.html#aca544a6f8dfa33f8e771713646768215',1,'serialib']]], - ['isdcd_9',['isDCD',['../classserialib.html#a5f451a5eea7c8c1bdcff684ba131d6ff',1,'serialib']]], - ['isdsr_10',['isDSR',['../classserialib.html#a3f1f0894543dfb17955de50157965dd7',1,'serialib']]], - ['isdtr_11',['isDTR',['../classserialib.html#a4ec78286be81602bf1df44a4eb8372a8',1,'serialib']]], - ['isri_12',['isRI',['../classserialib.html#a605d8a8015fadb5db5521350aefe084e',1,'serialib']]], - ['isrts_13',['isRTS',['../classserialib.html#ab2b121af07fb732f82668f6a14e93cfb',1,'serialib']]], - ['issues_14',['Bugs & Issues',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md14',1,'']]] -]; diff --git a/docs/html/search/all_a.html b/docs/html/search/all_a.html deleted file mode 100644 index 3a6cac1..0000000 --- a/docs/html/search/all_a.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_a.js b/docs/html/search/all_a.js deleted file mode 100644 index a6dda8c..0000000 --- a/docs/html/search/all_a.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['jupyter_0',['Jupyter',['../index.html#autotoc_md4',1,'']]] -]; diff --git a/docs/html/search/all_b.html b/docs/html/search/all_b.html deleted file mode 100644 index 130deb4..0000000 --- a/docs/html/search/all_b.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_b.js b/docs/html/search/all_b.js deleted file mode 100644 index f45ac2e..0000000 --- a/docs/html/search/all_b.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['library_0',['library',['../index.html',1,'An Arduino C++ Emulator Library'],['../index.html#autotoc_md1',1,'Using this Project as a library']]], - ['license_20and_20credits_1',['License and credits',['..//home/pschatzmann/Development/Arduino-Emulator/ArduinoCore-API/README.md#autotoc_md20',1,'']]], - ['list_2',['Todo List',['../todo.html',1,'']]], - ['loglevel_3',['LogLevel',['../classarduino_1_1_arduino_logger.html#a467191041310d59bdf2316798d624305',1,'arduino::ArduinoLogger']]] -]; diff --git a/docs/html/search/all_c.html b/docs/html/search/all_c.html deleted file mode 100644 index 3dd5af0..0000000 --- a/docs/html/search/all_c.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_c.js b/docs/html/search/all_c.js deleted file mode 100644 index 810553c..0000000 --- a/docs/html/search/all_c.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['multitarget_0',['MultiTarget',['../structarduino_1_1_stream_1_1_multi_target.html',1,'arduino::Stream']]] -]; diff --git a/docs/html/search/all_d.html b/docs/html/search/all_d.html deleted file mode 100644 index af7f2f0..0000000 --- a/docs/html/search/all_d.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_d.js b/docs/html/search/all_d.js deleted file mode 100644 index fb30238..0000000 --- a/docs/html/search/all_d.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['networkclientsecure_0',['NetworkClientSecure',['../classarduino_1_1_network_client_secure.html',1,'arduino']]], - ['notes_1',['Usage notes',['../index.html#autotoc_md8',1,'']]], - ['notone_2',['notone',['../classarduino_1_1_g_p_i_o_wrapper.html#a0aeb817fd33c6787d2c50f397d71ec51',1,'arduino::GPIOWrapper::noTone()'],['../classarduino_1_1_hardware_g_p_i_o.html#a67e41cd03e01988d9d3cdb31833ee57b',1,'arduino::HardwareGPIO::noTone()'],['../classarduino_1_1_remote_g_p_i_o.html#ab9703ae97eba599f2bcf1840b6a90aef',1,'arduino::RemoteGPIO::noTone()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#aec6afeddbee12ace5be0a01bdb17a20c',1,'arduino::HardwareGPIO_RPI::noTone()']]] -]; diff --git a/docs/html/search/all_e.html b/docs/html/search/all_e.html deleted file mode 100644 index e25df42..0000000 --- a/docs/html/search/all_e.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_e.js b/docs/html/search/all_e.js deleted file mode 100644 index 4a08ce0..0000000 --- a/docs/html/search/all_e.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['opendevice_0',['openDevice',['../classserialib.html#a5c2f95793e0fcd7fa6615682e8f58f16',1,'serialib']]], - ['osx_20wsl_1',['Case-insensitive file systems (Windows, OSX, WSL)',['../index.html#autotoc_md9',1,'']]] -]; diff --git a/docs/html/search/all_f.html b/docs/html/search/all_f.html deleted file mode 100644 index b23da6c..0000000 --- a/docs/html/search/all_f.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/all_f.js b/docs/html/search/all_f.js deleted file mode 100644 index 83f0daf..0000000 --- a/docs/html/search/all_f.js +++ /dev/null @@ -1,14 +0,0 @@ -var searchData= -[ - ['pi_0',['Rasperry PI',['../index.html#autotoc_md3',1,'']]], - ['pinmode_1',['pinmode',['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a569c784be4729462f1e45e3392064dd4',1,'arduino::HardwareGPIO_RPI::pinMode()'],['../classarduino_1_1_remote_g_p_i_o.html#a835da887c37082e02f176541d3e2946c',1,'arduino::RemoteGPIO::pinMode()'],['../classarduino_1_1_hardware_g_p_i_o.html#a9544ab8bc08731c991cd8f328de7fa4c',1,'arduino::HardwareGPIO::pinMode()'],['../classarduino_1_1_g_p_i_o_wrapper.html#a468eaf21e5509581d2d7f8a8d41db4f5',1,'arduino::GPIOWrapper::pinMode()']]], - ['pluggableusb_5f_2',['PluggableUSB_',['../classarduino_1_1_pluggable_u_s_b__.html',1,'arduino']]], - ['pluggableusbmodule_3',['PluggableUSBModule',['../classarduino_1_1_pluggable_u_s_b_module.html',1,'arduino']]], - ['print_4',['Print',['../classarduino_1_1_print.html',1,'arduino']]], - ['printable_5',['Printable',['../classarduino_1_1_printable.html',1,'arduino']]], - ['printablemock_6',['PrintableMock',['../class_printable_mock.html',1,'']]], - ['printmock_7',['PrintMock',['../class_print_mock.html',1,'']]], - ['project_20as_20a_20library_8',['Using this Project as a library',['../index.html#autotoc_md1',1,'']]], - ['pulsein_9',['pulsein',['../classarduino_1_1_g_p_i_o_wrapper.html#a26250c7e720502faa63b1ed63dfba45d',1,'arduino::GPIOWrapper::pulseIn()'],['../classarduino_1_1_hardware_g_p_i_o.html#a86a07fbfa28a31d8eb75deed3417091e',1,'arduino::HardwareGPIO::pulseIn()'],['../classarduino_1_1_remote_g_p_i_o.html#af2741b3362a60105c9431978649f128c',1,'arduino::RemoteGPIO::pulseIn()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a58e030c09f7776e9f4cd57ae4e7f8d9f',1,'arduino::HardwareGPIO_RPI::pulseIn()']]], - ['pulseinlong_10',['pulseinlong',['../classarduino_1_1_g_p_i_o_wrapper.html#a7bb614e9d5ff68db1564362a5f8b7f4d',1,'arduino::GPIOWrapper::pulseInLong()'],['../classarduino_1_1_hardware_g_p_i_o.html#ae2b49910e4af368da04d2dc2beb07aeb',1,'arduino::HardwareGPIO::pulseInLong()'],['../classarduino_1_1_remote_g_p_i_o.html#ad9ce6f3838574413079c981d9146d4dc',1,'arduino::RemoteGPIO::pulseInLong()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a0aa4b902617e7736626efac673797c85',1,'arduino::HardwareGPIO_RPI::pulseInLong()']]] -]; diff --git a/docs/html/search/classes_0.html b/docs/html/search/classes_0.html deleted file mode 100644 index af8159e..0000000 --- a/docs/html/search/classes_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_0.js b/docs/html/search/classes_0.js deleted file mode 100644 index 7fdb6ff..0000000 --- a/docs/html/search/classes_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['_5f_5fcontainer_5f_5f_0',['__container__',['../structarduino_1_1____container____.html',1,'arduino']]] -]; diff --git a/docs/html/search/classes_1.html b/docs/html/search/classes_1.html deleted file mode 100644 index 576e916..0000000 --- a/docs/html/search/classes_1.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_1.js b/docs/html/search/classes_1.js deleted file mode 100644 index 647b89b..0000000 --- a/docs/html/search/classes_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['arduinologger_0',['ArduinoLogger',['../classarduino_1_1_arduino_logger.html',1,'arduino']]] -]; diff --git a/docs/html/search/classes_10.html b/docs/html/search/classes_10.html deleted file mode 100644 index 4af2c80..0000000 --- a/docs/html/search/classes_10.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_10.js b/docs/html/search/classes_10.js deleted file mode 100644 index d14ce72..0000000 --- a/docs/html/search/classes_10.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['wifimock_0',['WifiMock',['../classarduino_1_1_wifi_mock.html',1,'arduino']]], - ['wifiudpstream_1',['WiFiUDPStream',['../classarduino_1_1_wi_fi_u_d_p_stream.html',1,'arduino']]] -]; diff --git a/docs/html/search/classes_2.html b/docs/html/search/classes_2.html deleted file mode 100644 index 956405e..0000000 --- a/docs/html/search/classes_2.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_2.js b/docs/html/search/classes_2.js deleted file mode 100644 index baecade..0000000 --- a/docs/html/search/classes_2.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['canmsg_0',['CanMsg',['../classarduino_1_1_can_msg.html',1,'arduino']]], - ['canmsgringbuffer_1',['CanMsgRingbuffer',['../classarduino_1_1_can_msg_ringbuffer.html',1,'arduino']]], - ['client_2',['Client',['../classarduino_1_1_client.html',1,'arduino']]] -]; diff --git a/docs/html/search/classes_3.html b/docs/html/search/classes_3.html deleted file mode 100644 index d33343b..0000000 --- a/docs/html/search/classes_3.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_3.js b/docs/html/search/classes_3.js deleted file mode 100644 index 7baab36..0000000 --- a/docs/html/search/classes_3.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['dmabuffer_0',['DMABuffer',['../classarduino_1_1_d_m_a_buffer.html',1,'arduino']]], - ['dmapool_1',['DMAPool',['../classarduino_1_1_d_m_a_pool.html',1,'arduino']]], - ['dmapool_3c_20t_2c_20_5f_5fcache_5fline_5fsize_5f_5f_20_3e_2',['DMAPool< T, __CACHE_LINE_SIZE__ >',['../classarduino_1_1_d_m_a_pool.html',1,'arduino']]] -]; diff --git a/docs/html/search/classes_4.html b/docs/html/search/classes_4.html deleted file mode 100644 index 8430b07..0000000 --- a/docs/html/search/classes_4.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_4.js b/docs/html/search/classes_4.js deleted file mode 100644 index 76140c0..0000000 --- a/docs/html/search/classes_4.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['ethernetclient_0',['EthernetClient',['../classarduino_1_1_ethernet_client.html',1,'arduino']]], - ['ethernetimpl_1',['EthernetImpl',['../classarduino_1_1_ethernet_impl.html',1,'arduino']]], - ['ethernetserver_2',['EthernetServer',['../classarduino_1_1_ethernet_server.html',1,'arduino']]], - ['ethernetudp_3',['EthernetUDP',['../classarduino_1_1_ethernet_u_d_p.html',1,'arduino']]] -]; diff --git a/docs/html/search/classes_5.html b/docs/html/search/classes_5.html deleted file mode 100644 index c2f1b76..0000000 --- a/docs/html/search/classes_5.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_5.js b/docs/html/search/classes_5.js deleted file mode 100644 index 7f4c13f..0000000 --- a/docs/html/search/classes_5.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['file_0',['File',['../class_file.html',1,'']]], - ['filestream_1',['FileStream',['../classarduino_1_1_file_stream.html',1,'arduino']]] -]; diff --git a/docs/html/search/classes_6.html b/docs/html/search/classes_6.html deleted file mode 100644 index e39847c..0000000 --- a/docs/html/search/classes_6.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_6.js b/docs/html/search/classes_6.js deleted file mode 100644 index 90dedb1..0000000 --- a/docs/html/search/classes_6.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['gpiosource_0',['GPIOSource',['../classarduino_1_1_g_p_i_o_source.html',1,'arduino']]], - ['gpiowrapper_1',['GPIOWrapper',['../classarduino_1_1_g_p_i_o_wrapper.html',1,'arduino']]] -]; diff --git a/docs/html/search/classes_7.html b/docs/html/search/classes_7.html deleted file mode 100644 index a2c4d1a..0000000 --- a/docs/html/search/classes_7.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_7.js b/docs/html/search/classes_7.js deleted file mode 100644 index 863ecbc..0000000 --- a/docs/html/search/classes_7.js +++ /dev/null @@ -1,14 +0,0 @@ -var searchData= -[ - ['hardwarecan_0',['HardwareCAN',['../classarduino_1_1_hardware_c_a_n.html',1,'arduino']]], - ['hardwaregpio_1',['HardwareGPIO',['../classarduino_1_1_hardware_g_p_i_o.html',1,'arduino']]], - ['hardwaregpio_5frpi_2',['HardwareGPIO_RPI',['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html',1,'arduino']]], - ['hardwarei2c_3',['HardwareI2C',['../classarduino_1_1_hardware_i2_c.html',1,'arduino']]], - ['hardwarei2c_5frpi_4',['HardwareI2C_RPI',['../classarduino_1_1_hardware_i2_c___r_p_i.html',1,'arduino']]], - ['hardwareserial_5',['HardwareSerial',['../classarduino_1_1_hardware_serial.html',1,'arduino']]], - ['hardwareservice_6',['HardwareService',['../classarduino_1_1_hardware_service.html',1,'arduino']]], - ['hardwaresetupremote_7',['HardwareSetupRemote',['../classarduino_1_1_hardware_setup_remote.html',1,'arduino']]], - ['hardwaresetuprpi_8',['HardwareSetupRPI',['../classarduino_1_1_hardware_setup_r_p_i.html',1,'arduino']]], - ['hardwarespi_9',['HardwareSPI',['../classarduino_1_1_hardware_s_p_i.html',1,'arduino']]], - ['hardwarespi_5frpi_10',['HardwareSPI_RPI',['../classarduino_1_1_hardware_s_p_i___r_p_i.html',1,'arduino']]] -]; diff --git a/docs/html/search/classes_8.html b/docs/html/search/classes_8.html deleted file mode 100644 index 17003e4..0000000 --- a/docs/html/search/classes_8.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_8.js b/docs/html/search/classes_8.js deleted file mode 100644 index 4b42f77..0000000 --- a/docs/html/search/classes_8.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['i2csource_0',['I2CSource',['../classarduino_1_1_i2_c_source.html',1,'arduino']]], - ['i2cwrapper_1',['I2CWrapper',['../classarduino_1_1_i2_c_wrapper.html',1,'arduino']]], - ['ipaddress_2',['IPAddress',['../classarduino_1_1_i_p_address.html',1,'arduino']]] -]; diff --git a/docs/html/search/classes_9.html b/docs/html/search/classes_9.html deleted file mode 100644 index b8afa8c..0000000 --- a/docs/html/search/classes_9.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_9.js b/docs/html/search/classes_9.js deleted file mode 100644 index 810553c..0000000 --- a/docs/html/search/classes_9.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['multitarget_0',['MultiTarget',['../structarduino_1_1_stream_1_1_multi_target.html',1,'arduino::Stream']]] -]; diff --git a/docs/html/search/classes_a.html b/docs/html/search/classes_a.html deleted file mode 100644 index 6788af2..0000000 --- a/docs/html/search/classes_a.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_a.js b/docs/html/search/classes_a.js deleted file mode 100644 index f87f47f..0000000 --- a/docs/html/search/classes_a.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['networkclientsecure_0',['NetworkClientSecure',['../classarduino_1_1_network_client_secure.html',1,'arduino']]] -]; diff --git a/docs/html/search/classes_b.html b/docs/html/search/classes_b.html deleted file mode 100644 index 3fcb498..0000000 --- a/docs/html/search/classes_b.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_b.js b/docs/html/search/classes_b.js deleted file mode 100644 index 194084c..0000000 --- a/docs/html/search/classes_b.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['pluggableusb_5f_0',['PluggableUSB_',['../classarduino_1_1_pluggable_u_s_b__.html',1,'arduino']]], - ['pluggableusbmodule_1',['PluggableUSBModule',['../classarduino_1_1_pluggable_u_s_b_module.html',1,'arduino']]], - ['print_2',['Print',['../classarduino_1_1_print.html',1,'arduino']]], - ['printable_3',['Printable',['../classarduino_1_1_printable.html',1,'arduino']]], - ['printablemock_4',['PrintableMock',['../class_printable_mock.html',1,'']]], - ['printmock_5',['PrintMock',['../class_print_mock.html',1,'']]] -]; diff --git a/docs/html/search/classes_c.html b/docs/html/search/classes_c.html deleted file mode 100644 index 2f7b1f3..0000000 --- a/docs/html/search/classes_c.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_c.js b/docs/html/search/classes_c.js deleted file mode 100644 index 09fe5b8..0000000 --- a/docs/html/search/classes_c.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['remotegpio_0',['RemoteGPIO',['../classarduino_1_1_remote_g_p_i_o.html',1,'arduino']]], - ['remotei2c_1',['RemoteI2C',['../classarduino_1_1_remote_i2_c.html',1,'arduino']]], - ['remoteserialclass_2',['RemoteSerialClass',['../classarduino_1_1_remote_serial_class.html',1,'arduino']]], - ['remotespi_3',['RemoteSPI',['../classarduino_1_1_remote_s_p_i.html',1,'arduino']]], - ['ringbufferext_4',['RingBufferExt',['../classarduino_1_1_ring_buffer_ext.html',1,'arduino']]], - ['ringbuffern_5',['RingBufferN',['../classarduino_1_1_ring_buffer_n.html',1,'arduino']]] -]; diff --git a/docs/html/search/classes_d.html b/docs/html/search/classes_d.html deleted file mode 100644 index f9011e7..0000000 --- a/docs/html/search/classes_d.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_d.js b/docs/html/search/classes_d.js deleted file mode 100644 index 15f356e..0000000 --- a/docs/html/search/classes_d.js +++ /dev/null @@ -1,24 +0,0 @@ -var searchData= -[ - ['sdfat_0',['SdFat',['../class_sd_fat.html',1,'']]], - ['sdfile_1',['SdFile',['../class_sd_file.html',1,'']]], - ['sdspiconfig_2',['SdSpiConfig',['../class_sd_spi_config.html',1,'']]], - ['serialib_3',['serialib',['../classserialib.html',1,'']]], - ['serialimpl_4',['SerialImpl',['../classarduino_1_1_serial_impl.html',1,'arduino']]], - ['server_5',['Server',['../classarduino_1_1_server.html',1,'arduino']]], - ['signalhandler_6',['SignalHandler',['../class_signal_handler.html',1,'']]], - ['socketimpl_7',['SocketImpl',['../classarduino_1_1_socket_impl.html',1,'arduino']]], - ['socketimplsecure_8',['SocketImplSecure',['../classarduino_1_1_socket_impl_secure.html',1,'arduino']]], - ['spiclass_9',['SPIClass',['../class_s_p_i_class.html',1,'']]], - ['spisettings_10',['SPISettings',['../classarduino_1_1_s_p_i_settings.html',1,'arduino']]], - ['spisource_11',['SPISource',['../classarduino_1_1_s_p_i_source.html',1,'arduino']]], - ['spiwrapper_12',['SPIWrapper',['../classarduino_1_1_s_p_i_wrapper.html',1,'arduino']]], - ['spscqueue_13',['SPSCQueue',['../classarduino_1_1_s_p_s_c_queue.html',1,'arduino']]], - ['spscqueue_3c_20arduino_3a_3admabuffer_3c_20t_20_3e_20_2a_20_3e_14',['SPSCQueue< arduino::DMABuffer< T > * >',['../classarduino_1_1_s_p_s_c_queue.html',1,'arduino']]], - ['stdiodevice_15',['StdioDevice',['../classarduino_1_1_stdio_device.html',1,'arduino']]], - ['stream_16',['Stream',['../classarduino_1_1_stream.html',1,'arduino']]], - ['streammock_17',['StreamMock',['../class_stream_mock.html',1,'']]], - ['string_18',['String',['../classarduino_1_1_string.html',1,'arduino']]], - ['stringmaker_3c_20arduino_3a_3astring_20_3e_19',['StringMaker< arduino::String >',['../struct_catch_1_1_string_maker_3_01arduino_1_1_string_01_4.html',1,'Catch']]], - ['stringsumhelper_20',['StringSumHelper',['../classarduino_1_1_string_sum_helper.html',1,'arduino']]] -]; diff --git a/docs/html/search/classes_e.html b/docs/html/search/classes_e.html deleted file mode 100644 index bb33dcf..0000000 --- a/docs/html/search/classes_e.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_e.js b/docs/html/search/classes_e.js deleted file mode 100644 index 52f7254..0000000 --- a/docs/html/search/classes_e.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['timeout_0',['timeOut',['../classtime_out.html',1,'']]] -]; diff --git a/docs/html/search/classes_f.html b/docs/html/search/classes_f.html deleted file mode 100644 index d1b67da..0000000 --- a/docs/html/search/classes_f.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/classes_f.js b/docs/html/search/classes_f.js deleted file mode 100644 index 1790414..0000000 --- a/docs/html/search/classes_f.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['udp_0',['UDP',['../classarduino_1_1_u_d_p.html',1,'arduino']]] -]; diff --git a/docs/html/search/close.svg b/docs/html/search/close.svg deleted file mode 100644 index 337d6cc..0000000 --- a/docs/html/search/close.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - diff --git a/docs/html/search/enums_0.html b/docs/html/search/enums_0.html deleted file mode 100644 index 141fff5..0000000 --- a/docs/html/search/enums_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/enums_0.js b/docs/html/search/enums_0.js deleted file mode 100644 index 95593b7..0000000 --- a/docs/html/search/enums_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['hwcalls_0',['HWCalls',['../namespacearduino.html#a7e2d951f5b63a78013908f24b079292d',1,'arduino']]] -]; diff --git a/docs/html/search/enums_1.html b/docs/html/search/enums_1.html deleted file mode 100644 index d29f3b1..0000000 --- a/docs/html/search/enums_1.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/enums_1.js b/docs/html/search/enums_1.js deleted file mode 100644 index b168ae2..0000000 --- a/docs/html/search/enums_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['loglevel_0',['LogLevel',['../classarduino_1_1_arduino_logger.html#a467191041310d59bdf2316798d624305',1,'arduino::ArduinoLogger']]] -]; diff --git a/docs/html/search/files_0.html b/docs/html/search/files_0.html deleted file mode 100644 index 9498842..0000000 --- a/docs/html/search/files_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/files_0.js b/docs/html/search/files_0.js deleted file mode 100644 index 3f0f4a4..0000000 --- a/docs/html/search/files_0.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['sd_2eh_0',['SD.h',['../_s_d_8h.html',1,'']]], - ['sdfat_2eh_1',['SdFat.h',['../_sd_fat_8h.html',1,'']]], - ['serialib_2ecpp_2',['serialib.cpp',['../serialib_8cpp.html',1,'']]], - ['serialib_2eh_3',['serialib.h',['../serialib_8h.html',1,'']]] -]; diff --git a/docs/html/search/functions_0.html b/docs/html/search/functions_0.html deleted file mode 100644 index eb4c501..0000000 --- a/docs/html/search/functions_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_0.js b/docs/html/search/functions_0.js deleted file mode 100644 index f64ffa3..0000000 --- a/docs/html/search/functions_0.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['analogread_0',['analogread',['../classarduino_1_1_g_p_i_o_wrapper.html#a07ca4e15b7f8427964d9c4f91b7ca091',1,'arduino::GPIOWrapper::analogRead()'],['../classarduino_1_1_hardware_g_p_i_o.html#ac93235fd6bdd93a8c91b1f802b191fec',1,'arduino::HardwareGPIO::analogRead()'],['../classarduino_1_1_remote_g_p_i_o.html#ae8e6dbd8a3b1059b4dd13e0949b623bf',1,'arduino::RemoteGPIO::analogRead()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#aaf71da48d37d74033983c013f051d40e',1,'arduino::HardwareGPIO_RPI::analogRead()']]], - ['analogreference_1',['analogreference',['../classarduino_1_1_g_p_i_o_wrapper.html#af2fa37727fa092d979506698f8d53ac2',1,'arduino::GPIOWrapper::analogReference()'],['../classarduino_1_1_hardware_g_p_i_o.html#a0d3948955f19991e75845dfae0ad63e3',1,'arduino::HardwareGPIO::analogReference()'],['../classarduino_1_1_remote_g_p_i_o.html#a3c09a33755589d3731ebe950b38d04e4',1,'arduino::RemoteGPIO::analogReference()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#af398d975b8103b60ad2263e4f341a0e4',1,'arduino::HardwareGPIO_RPI::analogReference()']]], - ['analogwrite_2',['analogwrite',['../classarduino_1_1_g_p_i_o_wrapper.html#aae31378a69ce59e97dee2d87f81f6cfe',1,'arduino::GPIOWrapper::analogWrite()'],['../classarduino_1_1_hardware_g_p_i_o.html#a7ab72b9424d3114395bfce59713c1302',1,'arduino::HardwareGPIO::analogWrite()'],['../classarduino_1_1_remote_g_p_i_o.html#a0ea1bc0fa85e00f118b877f49c608bcc',1,'arduino::RemoteGPIO::analogWrite()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a2a9a12ecf779e1cfbb961a05cc79e71d',1,'arduino::HardwareGPIO_RPI::analogWrite(pin_size_t pinNumber, int value) override']]], - ['analogwritefrequency_3',['analogWriteFrequency',['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a92ae0c482731d62530fec574e8b17450',1,'arduino::HardwareGPIO_RPI']]], - ['available_4',['available',['../classarduino_1_1_hardware_c_a_n.html#a2490c3c429e28464b2ee616ed6dc306a',1,'arduino::HardwareCAN::available()'],['../classserialib.html#a50c91bf8cab23afdfdf05ca58392456f',1,'serialib::available()']]] -]; diff --git a/docs/html/search/functions_1.html b/docs/html/search/functions_1.html deleted file mode 100644 index ef4088b..0000000 --- a/docs/html/search/functions_1.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_1.js b/docs/html/search/functions_1.js deleted file mode 100644 index af280ff..0000000 --- a/docs/html/search/functions_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['begin_0',['begin',['../classarduino_1_1_hardware_c_a_n.html#a784fbdde8524fa2e2d332a882ed03b5e',1,'arduino::HardwareCAN::begin()'],['../classarduino_1_1_hardware_setup_remote.html#abe57889e4711d7b71f46bfa1d74e57e7',1,'arduino::HardwareSetupRemote::begin(Stream *s, bool asDefault=true, bool doHandShake=true)'],['../classarduino_1_1_hardware_setup_remote.html#a061b8f969e2ff3effdaab762508af04b',1,'arduino::HardwareSetupRemote::begin(int port, bool asDefault)'],['../classarduino_1_1_hardware_setup_remote.html#aa166a81edc67949e56dc14fa8b984fdc',1,'arduino::HardwareSetupRemote::begin(bool asDefault=true)'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a48ddae6a1acd20f13460c94ea620d5b0',1,'arduino::HardwareGPIO_RPI::begin()'],['../classarduino_1_1_hardware_setup_r_p_i.html#a5307755b8fd46e0aaec33ca52c68576b',1,'arduino::HardwareSetupRPI::begin()']]] -]; diff --git a/docs/html/search/functions_2.html b/docs/html/search/functions_2.html deleted file mode 100644 index ca5aa10..0000000 --- a/docs/html/search/functions_2.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_2.js b/docs/html/search/functions_2.js deleted file mode 100644 index a4fa277..0000000 --- a/docs/html/search/functions_2.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['cleardtr_0',['clearDTR',['../classserialib.html#adf49bff6401d3101b41fb52e98309635',1,'serialib']]], - ['clearrts_1',['clearRTS',['../classserialib.html#ab0b5882339240002fccf7701f5321e0a',1,'serialib']]], - ['closedevice_2',['closeDevice',['../classserialib.html#a8a1c8803c8df1a19222d6006328534b8',1,'serialib']]] -]; diff --git a/docs/html/search/functions_3.html b/docs/html/search/functions_3.html deleted file mode 100644 index d79f55b..0000000 --- a/docs/html/search/functions_3.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_3.js b/docs/html/search/functions_3.js deleted file mode 100644 index 082d75a..0000000 --- a/docs/html/search/functions_3.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['digitalread_0',['digitalread',['../classarduino_1_1_g_p_i_o_wrapper.html#a38c123198ff08bafe60d37050baa574e',1,'arduino::GPIOWrapper::digitalRead()'],['../classarduino_1_1_hardware_g_p_i_o.html#a408e951f42d9f765cd89c39fe84c8886',1,'arduino::HardwareGPIO::digitalRead()'],['../classarduino_1_1_remote_g_p_i_o.html#ad69e6552972f07584fa2c4c1d232badc',1,'arduino::RemoteGPIO::digitalRead()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#abaf2b8e0d8f46d059b850d4df5b0a863',1,'arduino::HardwareGPIO_RPI::digitalRead()']]], - ['digitalwrite_1',['digitalwrite',['../classarduino_1_1_g_p_i_o_wrapper.html#a01ef49d52dfec84e3fa6375dd79da90d',1,'arduino::GPIOWrapper::digitalWrite()'],['../classarduino_1_1_hardware_g_p_i_o.html#af3608f342505f3885292b318a79bb587',1,'arduino::HardwareGPIO::digitalWrite()'],['../classarduino_1_1_remote_g_p_i_o.html#a6a05b7f35716a1981e732121d1e1d26e',1,'arduino::RemoteGPIO::digitalWrite()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#afb392ff358590dea32dd1d3e2198efd1',1,'arduino::HardwareGPIO_RPI::digitalWrite()']]], - ['dtr_2',['DTR',['../classserialib.html#a3dc0ec56e84ab2b43dc02fc2e02148a1',1,'serialib']]] -]; diff --git a/docs/html/search/functions_4.html b/docs/html/search/functions_4.html deleted file mode 100644 index 1657cad..0000000 --- a/docs/html/search/functions_4.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_4.js b/docs/html/search/functions_4.js deleted file mode 100644 index bb4bfdd..0000000 --- a/docs/html/search/functions_4.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['elapsedtime_5fms_0',['elapsedTime_ms',['../classtime_out.html#af5db5b5f0db4f6ada19187ef8f214214',1,'timeOut']]], - ['end_1',['end',['../classarduino_1_1_hardware_c_a_n.html#a7071c8f3f967f9c5d1924c024486057a',1,'arduino::HardwareCAN::end()'],['../classarduino_1_1_hardware_setup_r_p_i.html#abccd4a28c7fc70610529e0e84e3972eb',1,'arduino::HardwareSetupRPI::end()']]] -]; diff --git a/docs/html/search/functions_5.html b/docs/html/search/functions_5.html deleted file mode 100644 index 9301d6b..0000000 --- a/docs/html/search/functions_5.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_5.js b/docs/html/search/functions_5.js deleted file mode 100644 index 152b5e8..0000000 --- a/docs/html/search/functions_5.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['flushreceiver_0',['flushReceiver',['../classserialib.html#a572dd8d208511ec81d848de72cb05c7a',1,'serialib']]] -]; diff --git a/docs/html/search/functions_6.html b/docs/html/search/functions_6.html deleted file mode 100644 index 9c4f5fc..0000000 --- a/docs/html/search/functions_6.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_6.js b/docs/html/search/functions_6.js deleted file mode 100644 index 38c63f8..0000000 --- a/docs/html/search/functions_6.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['hardwaregpio_5frpi_0',['hardwaregpio_rpi',['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#abf33b352cae1bb918ce174581d2ce0b5',1,'arduino::HardwareGPIO_RPI::HardwareGPIO_RPI()=default'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a78828fb5ae628266b3f0f99422719ec3',1,'arduino::HardwareGPIO_RPI::HardwareGPIO_RPI(const char *devName)']]], - ['hardwaresetupremote_1',['hardwaresetupremote',['../classarduino_1_1_hardware_setup_remote.html#a7139f49808983b073df560033ba7553c',1,'arduino::HardwareSetupRemote::HardwareSetupRemote()=default'],['../classarduino_1_1_hardware_setup_remote.html#a8997876ac8006291fa4e70c3e495451c',1,'arduino::HardwareSetupRemote::HardwareSetupRemote(Stream &stream)'],['../classarduino_1_1_hardware_setup_remote.html#ad12f22a207703fac64394e2c77768843',1,'arduino::HardwareSetupRemote::HardwareSetupRemote(int port)']]], - ['hardwaresetuprpi_2',['HardwareSetupRPI',['../classarduino_1_1_hardware_setup_r_p_i.html#a681480986b415e7610b539a9425faed1',1,'arduino::HardwareSetupRPI']]] -]; diff --git a/docs/html/search/functions_7.html b/docs/html/search/functions_7.html deleted file mode 100644 index 46b5c0f..0000000 --- a/docs/html/search/functions_7.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_7.js b/docs/html/search/functions_7.js deleted file mode 100644 index cbd3dfb..0000000 --- a/docs/html/search/functions_7.js +++ /dev/null @@ -1,10 +0,0 @@ -var searchData= -[ - ['inittimer_0',['initTimer',['../classtime_out.html#a88b4caef4ce7bfc42b73a61589c098e8',1,'timeOut']]], - ['iscts_1',['isCTS',['../classserialib.html#aca544a6f8dfa33f8e771713646768215',1,'serialib']]], - ['isdcd_2',['isDCD',['../classserialib.html#a5f451a5eea7c8c1bdcff684ba131d6ff',1,'serialib']]], - ['isdsr_3',['isDSR',['../classserialib.html#a3f1f0894543dfb17955de50157965dd7',1,'serialib']]], - ['isdtr_4',['isDTR',['../classserialib.html#a4ec78286be81602bf1df44a4eb8372a8',1,'serialib']]], - ['isri_5',['isRI',['../classserialib.html#a605d8a8015fadb5db5521350aefe084e',1,'serialib']]], - ['isrts_6',['isRTS',['../classserialib.html#ab2b121af07fb732f82668f6a14e93cfb',1,'serialib']]] -]; diff --git a/docs/html/search/functions_8.html b/docs/html/search/functions_8.html deleted file mode 100644 index 31a1d95..0000000 --- a/docs/html/search/functions_8.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_8.js b/docs/html/search/functions_8.js deleted file mode 100644 index e941c21..0000000 --- a/docs/html/search/functions_8.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['notone_0',['notone',['../classarduino_1_1_g_p_i_o_wrapper.html#a0aeb817fd33c6787d2c50f397d71ec51',1,'arduino::GPIOWrapper::noTone()'],['../classarduino_1_1_hardware_g_p_i_o.html#a67e41cd03e01988d9d3cdb31833ee57b',1,'arduino::HardwareGPIO::noTone()'],['../classarduino_1_1_remote_g_p_i_o.html#ab9703ae97eba599f2bcf1840b6a90aef',1,'arduino::RemoteGPIO::noTone()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#aec6afeddbee12ace5be0a01bdb17a20c',1,'arduino::HardwareGPIO_RPI::noTone()']]] -]; diff --git a/docs/html/search/functions_9.html b/docs/html/search/functions_9.html deleted file mode 100644 index 9a8e429..0000000 --- a/docs/html/search/functions_9.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_9.js b/docs/html/search/functions_9.js deleted file mode 100644 index fcea349..0000000 --- a/docs/html/search/functions_9.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['opendevice_0',['openDevice',['../classserialib.html#a5c2f95793e0fcd7fa6615682e8f58f16',1,'serialib']]] -]; diff --git a/docs/html/search/functions_a.html b/docs/html/search/functions_a.html deleted file mode 100644 index 5ecc152..0000000 --- a/docs/html/search/functions_a.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_a.js b/docs/html/search/functions_a.js deleted file mode 100644 index b19c980..0000000 --- a/docs/html/search/functions_a.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['pinmode_0',['pinmode',['../classarduino_1_1_g_p_i_o_wrapper.html#a468eaf21e5509581d2d7f8a8d41db4f5',1,'arduino::GPIOWrapper::pinMode()'],['../classarduino_1_1_hardware_g_p_i_o.html#a9544ab8bc08731c991cd8f328de7fa4c',1,'arduino::HardwareGPIO::pinMode()'],['../classarduino_1_1_remote_g_p_i_o.html#a835da887c37082e02f176541d3e2946c',1,'arduino::RemoteGPIO::pinMode()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a569c784be4729462f1e45e3392064dd4',1,'arduino::HardwareGPIO_RPI::pinMode()']]], - ['pulsein_1',['pulsein',['../classarduino_1_1_g_p_i_o_wrapper.html#a26250c7e720502faa63b1ed63dfba45d',1,'arduino::GPIOWrapper::pulseIn()'],['../classarduino_1_1_hardware_g_p_i_o.html#a86a07fbfa28a31d8eb75deed3417091e',1,'arduino::HardwareGPIO::pulseIn()'],['../classarduino_1_1_remote_g_p_i_o.html#af2741b3362a60105c9431978649f128c',1,'arduino::RemoteGPIO::pulseIn()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a58e030c09f7776e9f4cd57ae4e7f8d9f',1,'arduino::HardwareGPIO_RPI::pulseIn()']]], - ['pulseinlong_2',['pulseinlong',['../classarduino_1_1_g_p_i_o_wrapper.html#a7bb614e9d5ff68db1564362a5f8b7f4d',1,'arduino::GPIOWrapper::pulseInLong()'],['../classarduino_1_1_hardware_g_p_i_o.html#ae2b49910e4af368da04d2dc2beb07aeb',1,'arduino::HardwareGPIO::pulseInLong()'],['../classarduino_1_1_remote_g_p_i_o.html#ad9ce6f3838574413079c981d9146d4dc',1,'arduino::RemoteGPIO::pulseInLong()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a0aa4b902617e7736626efac673797c85',1,'arduino::HardwareGPIO_RPI::pulseInLong()']]] -]; diff --git a/docs/html/search/functions_b.html b/docs/html/search/functions_b.html deleted file mode 100644 index e301fed..0000000 --- a/docs/html/search/functions_b.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_b.js b/docs/html/search/functions_b.js deleted file mode 100644 index 9f16a32..0000000 --- a/docs/html/search/functions_b.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['read_0',['read',['../classarduino_1_1_hardware_c_a_n.html#a1b4e9c0eec8f32a3ab4402234981d25b',1,'arduino::HardwareCAN']]], - ['readbytes_1',['readBytes',['../classserialib.html#ab05e51ff3bc47c02d7d000d58b45a961',1,'serialib']]], - ['readchar_2',['readChar',['../classserialib.html#a6c78b8a11ae7b8af57eea3dbc7fa237b',1,'serialib']]], - ['readstring_3',['readString',['../classserialib.html#ab155c84352ddefe1304d391c19497ac1',1,'serialib']]], - ['rts_4',['RTS',['../classserialib.html#a5a73f159762fa4d5c252f36acfe7ab47',1,'serialib']]] -]; diff --git a/docs/html/search/functions_c.html b/docs/html/search/functions_c.html deleted file mode 100644 index c4f3268..0000000 --- a/docs/html/search/functions_c.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_c.js b/docs/html/search/functions_c.js deleted file mode 100644 index 06dfb98..0000000 --- a/docs/html/search/functions_c.js +++ /dev/null @@ -1,16 +0,0 @@ -var searchData= -[ - ['serial1_0',['Serial1',['../namespacearduino.html#a8bf2dfa8621a2fd45f0f69ee06c2d885',1,'arduino']]], - ['serial2_1',['Serial2',['../namespacearduino.html#aa9b5bb779e9660566ebec490609d5d04',1,'arduino']]], - ['serialib_2',['serialib',['../classserialib.html#a26166f63ad73013ca7cbcd2ae59edc91',1,'serialib']]], - ['setdtr_3',['setDTR',['../classserialib.html#a7564b9e28b1b50675d9d6d3fabc896c0',1,'serialib']]], - ['setgpio_4',['setGPIO',['../classarduino_1_1_g_p_i_o_wrapper.html#a4fbb67aaa1e606e6eadf23f4723f01a2',1,'arduino::GPIOWrapper']]], - ['seti2c_5',['setI2C',['../classarduino_1_1_i2_c_wrapper.html#af31b2f00dffd4f062d23fce42c1c2678',1,'arduino::I2CWrapper']]], - ['setrts_6',['setRTS',['../classserialib.html#a21767ffe86a76f300a71c496fbcc26a1',1,'serialib']]], - ['setsource_7',['setsource',['../classarduino_1_1_g_p_i_o_wrapper.html#a4aaeb3adb73f412ee1743a33bb829d1a',1,'arduino::GPIOWrapper::setSource()'],['../classarduino_1_1_i2_c_wrapper.html#a3311764d8d6d6a62a86d88d2ad0ce37c',1,'arduino::I2CWrapper::setSource()'],['../classarduino_1_1_s_p_i_wrapper.html#a50ab5983b464332a3d5dab2d7ebc9bde',1,'arduino::SPIWrapper::setSource(SPISource *source)']]], - ['setspi_8',['setSPI',['../classarduino_1_1_s_p_i_wrapper.html#aa32e071cd4ff470892e3f22ad41fd189',1,'arduino::SPIWrapper']]], - ['swap_5fint16_9',['swap_int16',['../classarduino_1_1_hardware_service.html#abac939cf64aa5544b0747da2cf356392',1,'arduino::HardwareService']]], - ['swap_5fint32_10',['swap_int32',['../classarduino_1_1_hardware_service.html#a088293bf035a3f094a84484db2905688',1,'arduino::HardwareService']]], - ['swap_5fuint16_11',['swap_uint16',['../classarduino_1_1_hardware_service.html#a2b4a50d915c1796e2af32dcabe87369e',1,'arduino::HardwareService']]], - ['swap_5fuint32_12',['swap_uint32',['../classarduino_1_1_hardware_service.html#af7cb07b87f7adc926a77094837e18b66',1,'arduino::HardwareService']]] -]; diff --git a/docs/html/search/functions_d.html b/docs/html/search/functions_d.html deleted file mode 100644 index 7a1ed06..0000000 --- a/docs/html/search/functions_d.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_d.js b/docs/html/search/functions_d.js deleted file mode 100644 index 73a69c6..0000000 --- a/docs/html/search/functions_d.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['timeout_0',['timeOut',['../classtime_out.html#a2cffa89f7b90e4501e07e8cb7ccb3117',1,'timeOut']]], - ['tone_1',['tone',['../classarduino_1_1_g_p_i_o_wrapper.html#a4eefb039ba6a8b29f2cce5d2ebf86697',1,'arduino::GPIOWrapper::tone()'],['../classarduino_1_1_hardware_g_p_i_o.html#a9af7c209aa41bc66819441981994cbda',1,'arduino::HardwareGPIO::tone()'],['../classarduino_1_1_remote_g_p_i_o.html#a7feee2166c833a0c349fdf0e57737f65',1,'arduino::RemoteGPIO::tone()'],['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a2f12263cb33cfe15f116fc5137785067',1,'arduino::HardwareGPIO_RPI::tone()']]] -]; diff --git a/docs/html/search/functions_e.html b/docs/html/search/functions_e.html deleted file mode 100644 index 22d2a6b..0000000 --- a/docs/html/search/functions_e.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_e.js b/docs/html/search/functions_e.js deleted file mode 100644 index 7f6dbc3..0000000 --- a/docs/html/search/functions_e.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['write_0',['write',['../classarduino_1_1_hardware_c_a_n.html#ac22cd733cb28a1408e79e98667d23b57',1,'arduino::HardwareCAN']]], - ['writebytes_1',['writeBytes',['../classserialib.html#aa14196b6f422584bf5eebc4ddb71d483',1,'serialib']]], - ['writechar_2',['writeChar',['../classserialib.html#aa6d231cb99664a613bcb503830f73497',1,'serialib']]], - ['writestring_3',['writeString',['../classserialib.html#a6a32655c718b998e5b63d8cdc483ac6d',1,'serialib']]] -]; diff --git a/docs/html/search/functions_f.html b/docs/html/search/functions_f.html deleted file mode 100644 index 54b7dee..0000000 --- a/docs/html/search/functions_f.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/functions_f.js b/docs/html/search/functions_f.js deleted file mode 100644 index bbb2b93..0000000 --- a/docs/html/search/functions_f.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['_7ehardwaregpio_5frpi_0',['~HardwareGPIO_RPI',['../classarduino_1_1_hardware_g_p_i_o___r_p_i.html#a79579e723138b5f682269b99d60b6fdd',1,'arduino::HardwareGPIO_RPI']]], - ['_7ehardwaresetuprpi_1',['~HardwareSetupRPI',['../classarduino_1_1_hardware_setup_r_p_i.html#a3b162b1537ba1028d925a4d30a9f06e0',1,'arduino::HardwareSetupRPI']]], - ['_7eserialib_2',['~serialib',['../classserialib.html#ac44215001ae198f2c196bb7993327a4b',1,'serialib']]] -]; diff --git a/docs/html/search/mag.svg b/docs/html/search/mag.svg deleted file mode 100644 index ffb6cf0..0000000 --- a/docs/html/search/mag.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - diff --git a/docs/html/search/mag_d.svg b/docs/html/search/mag_d.svg deleted file mode 100644 index 4122773..0000000 --- a/docs/html/search/mag_d.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - diff --git a/docs/html/search/mag_sel.svg b/docs/html/search/mag_sel.svg deleted file mode 100644 index 553dba8..0000000 --- a/docs/html/search/mag_sel.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - diff --git a/docs/html/search/mag_seld.svg b/docs/html/search/mag_seld.svg deleted file mode 100644 index c906f84..0000000 --- a/docs/html/search/mag_seld.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - diff --git a/docs/html/search/namespaces_0.html b/docs/html/search/namespaces_0.html deleted file mode 100644 index 21db2c3..0000000 --- a/docs/html/search/namespaces_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/namespaces_0.js b/docs/html/search/namespaces_0.js deleted file mode 100644 index 625e934..0000000 --- a/docs/html/search/namespaces_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['arduino_0',['arduino',['../namespacearduino.html',1,'']]] -]; diff --git a/docs/html/search/nomatches.html b/docs/html/search/nomatches.html deleted file mode 100644 index 2b9360b..0000000 --- a/docs/html/search/nomatches.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - -
    -
    No Matches
    -
    - - diff --git a/docs/html/search/pages_0.html b/docs/html/search/pages_0.html deleted file mode 100644 index 8517b48..0000000 --- a/docs/html/search/pages_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/pages_0.js b/docs/html/search/pages_0.js deleted file mode 100644 index 4525059..0000000 --- a/docs/html/search/pages_0.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['an_20arduino_20c_20emulator_20library_0',['An Arduino C++ Emulator Library',['../index.html',1,'']]], - ['arduino_20c_20emulator_20library_1',['An Arduino C++ Emulator Library',['../index.html',1,'']]] -]; diff --git a/docs/html/search/pages_1.html b/docs/html/search/pages_1.html deleted file mode 100644 index a0fb679..0000000 --- a/docs/html/search/pages_1.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/pages_1.js b/docs/html/search/pages_1.js deleted file mode 100644 index 4d9900f..0000000 --- a/docs/html/search/pages_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['c_20emulator_20library_0',['An Arduino C++ Emulator Library',['../index.html',1,'']]] -]; diff --git a/docs/html/search/pages_2.js b/docs/html/search/pages_2.js deleted file mode 100644 index e30bd5b..0000000 --- a/docs/html/search/pages_2.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['emulator_20library_0',['An Arduino C++ Emulator Library',['../index.html',1,'']]] -]; diff --git a/docs/html/search/pages_3.js b/docs/html/search/pages_3.js deleted file mode 100644 index 11070d2..0000000 --- a/docs/html/search/pages_3.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['library_0',['An Arduino C++ Emulator Library',['../index.html',1,'']]], - ['list_1',['Todo List',['../todo.html',1,'']]] -]; diff --git a/docs/html/search/pages_4.js b/docs/html/search/pages_4.js deleted file mode 100644 index 83220ef..0000000 --- a/docs/html/search/pages_4.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['todo_20list_0',['Todo List',['../todo.html',1,'']]] -]; diff --git a/docs/html/search/search.css b/docs/html/search/search.css deleted file mode 100644 index 19f76f9..0000000 --- a/docs/html/search/search.css +++ /dev/null @@ -1,291 +0,0 @@ -/*---------------- Search Box positioning */ - -#main-menu > li:last-child { - /* This
  • object is the parent of the search bar */ - display: flex; - justify-content: center; - align-items: center; - height: 36px; - margin-right: 1em; -} - -/*---------------- Search box styling */ - -.SRPage * { - font-weight: normal; - line-height: normal; -} - -dark-mode-toggle { - margin-left: 5px; - display: flex; - float: right; -} - -#MSearchBox { - display: inline-block; - white-space : nowrap; - background: var(--search-background-color); - border-radius: 0.65em; - box-shadow: var(--search-box-shadow); - z-index: 102; -} - -#MSearchBox .left { - display: inline-block; - vertical-align: middle; - height: 1.4em; -} - -#MSearchSelect { - display: inline-block; - vertical-align: middle; - width: 20px; - height: 19px; - background-image: var(--search-magnification-select-image); - margin: 0 0 0 0.3em; - padding: 0; -} - -#MSearchSelectExt { - display: inline-block; - vertical-align: middle; - width: 10px; - height: 19px; - background-image: var(--search-magnification-image); - margin: 0 0 0 0.5em; - padding: 0; -} - - -#MSearchField { - display: inline-block; - vertical-align: middle; - width: 7.5em; - height: 19px; - margin: 0 0.15em; - padding: 0; - line-height: 1em; - border:none; - color: var(--search-foreground-color); - outline: none; - font-family: var(--font-family-search); - -webkit-border-radius: 0px; - border-radius: 0px; - background: none; -} - -@media(hover: none) { - /* to avoid zooming on iOS */ - #MSearchField { - font-size: 16px; - } -} - -#MSearchBox .right { - display: inline-block; - vertical-align: middle; - width: 1.4em; - height: 1.4em; -} - -#MSearchClose { - display: none; - font-size: inherit; - background : none; - border: none; - margin: 0; - padding: 0; - outline: none; - -} - -#MSearchCloseImg { - padding: 0.3em; - margin: 0; -} - -.MSearchBoxActive #MSearchField { - color: var(--search-active-color); -} - - - -/*---------------- Search filter selection */ - -#MSearchSelectWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid var(--search-filter-border-color); - background-color: var(--search-filter-background-color); - z-index: 10001; - padding-top: 4px; - padding-bottom: 4px; - -moz-border-radius: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -.SelectItem { - font: 8pt var(--font-family-search); - padding-left: 2px; - padding-right: 12px; - border: 0px; -} - -span.SelectionMark { - margin-right: 4px; - font-family: var(--font-family-monospace); - outline-style: none; - text-decoration: none; -} - -a.SelectItem { - display: block; - outline-style: none; - color: var(--search-filter-foreground-color); - text-decoration: none; - padding-left: 6px; - padding-right: 12px; -} - -a.SelectItem:focus, -a.SelectItem:active { - color: var(--search-filter-foreground-color); - outline-style: none; - text-decoration: none; -} - -a.SelectItem:hover { - color: var(--search-filter-highlight-text-color); - background-color: var(--search-filter-highlight-bg-color); - outline-style: none; - text-decoration: none; - cursor: pointer; - display: block; -} - -/*---------------- Search results window */ - -iframe#MSearchResults { - /*width: 60ex;*/ - height: 15em; -} - -#MSearchResultsWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid var(--search-results-border-color); - background-color: var(--search-results-background-color); - z-index:10000; - width: 300px; - height: 400px; - overflow: auto; -} - -/* ----------------------------------- */ - - -#SRIndex { - clear:both; -} - -.SREntry { - font-size: 10pt; - padding-left: 1ex; -} - -.SRPage .SREntry { - font-size: 8pt; - padding: 1px 5px; -} - -div.SRPage { - margin: 5px 2px; - background-color: var(--search-results-background-color); -} - -.SRChildren { - padding-left: 3ex; padding-bottom: .5em -} - -.SRPage .SRChildren { - display: none; -} - -.SRSymbol { - font-weight: bold; - color: var(--search-results-foreground-color); - font-family: var(--font-family-search); - text-decoration: none; - outline: none; -} - -a.SRScope { - display: block; - color: var(--search-results-foreground-color); - font-family: var(--font-family-search); - font-size: 8pt; - text-decoration: none; - outline: none; -} - -a.SRSymbol:focus, a.SRSymbol:active, -a.SRScope:focus, a.SRScope:active { - text-decoration: underline; -} - -span.SRScope { - padding-left: 4px; - font-family: var(--font-family-search); -} - -.SRPage .SRStatus { - padding: 2px 5px; - font-size: 8pt; - font-style: italic; - font-family: var(--font-family-search); -} - -.SRResult { - display: none; -} - -div.searchresults { - margin-left: 10px; - margin-right: 10px; -} - -/*---------------- External search page results */ - -.pages b { - color: white; - padding: 5px 5px 3px 5px; - background-image: var(--nav-gradient-active-image-parent); - background-repeat: repeat-x; - text-shadow: 0 1px 1px #000000; -} - -.pages { - line-height: 17px; - margin-left: 4px; - text-decoration: none; -} - -.hl { - font-weight: bold; -} - -#searchresults { - margin-bottom: 20px; -} - -.searchpages { - margin-top: 10px; -} - diff --git a/docs/html/search/search.js b/docs/html/search/search.js deleted file mode 100644 index 6fd40c6..0000000 --- a/docs/html/search/search.js +++ /dev/null @@ -1,840 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file - */ -function convertToId(search) -{ - var result = ''; - for (i=0;i do a search - { - this.Search(); - } - } - - this.OnSearchSelectKey = function(evt) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==40 && this.searchIndex0) // Up - { - this.searchIndex--; - this.OnSelectItem(this.searchIndex); - } - else if (e.keyCode==13 || e.keyCode==27) - { - e.stopPropagation(); - this.OnSelectItem(this.searchIndex); - this.CloseSelectionWindow(); - this.DOMSearchField().focus(); - } - return false; - } - - // --------- Actions - - // Closes the results window. - this.CloseResultsWindow = function() - { - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.Activate(false); - } - - this.CloseSelectionWindow = function() - { - this.DOMSearchSelectWindow().style.display = 'none'; - } - - // Performs a search. - this.Search = function() - { - this.keyTimeout = 0; - - // strip leading whitespace - var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); - - var code = searchValue.toLowerCase().charCodeAt(0); - var idxChar = searchValue.substr(0, 1).toLowerCase(); - if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair - { - idxChar = searchValue.substr(0, 2); - } - - var jsFile; - - var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); - if (idx!=-1) - { - var hexCode=idx.toString(16); - jsFile = this.resultsPath + indexSectionNames[this.searchIndex] + '_' + hexCode + '.js'; - } - - var loadJS = function(url, impl, loc){ - var scriptTag = document.createElement('script'); - scriptTag.src = url; - scriptTag.onload = impl; - scriptTag.onreadystatechange = impl; - loc.appendChild(scriptTag); - } - - var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); - var domSearchBox = this.DOMSearchBox(); - var domPopupSearchResults = this.DOMPopupSearchResults(); - var domSearchClose = this.DOMSearchClose(); - var resultsPath = this.resultsPath; - - var handleResults = function() { - document.getElementById("Loading").style.display="none"; - if (typeof searchData !== 'undefined') { - createResults(resultsPath); - document.getElementById("NoMatches").style.display="none"; - } - - if (idx!=-1) { - searchResults.Search(searchValue); - } else { // no file with search results => force empty search results - searchResults.Search('===='); - } - - if (domPopupSearchResultsWindow.style.display!='block') - { - domSearchClose.style.display = 'inline-block'; - var left = getXPos(domSearchBox) + 150; - var top = getYPos(domSearchBox) + 20; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - var maxWidth = document.body.clientWidth; - var maxHeight = document.body.clientHeight; - var width = 300; - if (left<10) left=10; - if (width+left+8>maxWidth) width=maxWidth-left-8; - var height = 400; - if (height+top+8>maxHeight) height=maxHeight-top-8; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResultsWindow.style.height = height + 'px'; - } - } - - if (jsFile) { - loadJS(jsFile, handleResults, this.DOMPopupSearchResultsWindow()); - } else { - handleResults(); - } - - this.lastSearchValue = searchValue; - } - - // -------- Activation Functions - - // Activates or deactivates the search panel, resetting things to - // their default values if necessary. - this.Activate = function(isActive) - { - if (isActive || // open it - this.DOMPopupSearchResultsWindow().style.display == 'block' - ) - { - this.DOMSearchBox().className = 'MSearchBoxActive'; - this.searchActive = true; - } - else if (!isActive) // directly remove the panel - { - this.DOMSearchBox().className = 'MSearchBoxInactive'; - this.searchActive = false; - this.lastSearchValue = '' - this.lastResultsPage = ''; - this.DOMSearchField().value = ''; - } - } -} - -// ----------------------------------------------------------------------- - -// The class that handles everything on the search results page. -function SearchResults(name) -{ - // The number of matches from the last run of . - this.lastMatchCount = 0; - this.lastKey = 0; - this.repeatOn = false; - - // Toggles the visibility of the passed element ID. - this.FindChildElement = function(id) - { - var parentElement = document.getElementById(id); - var element = parentElement.firstChild; - - while (element && element!=parentElement) - { - if (element.nodeName.toLowerCase() == 'div' && element.className == 'SRChildren') - { - return element; - } - - if (element.nodeName.toLowerCase() == 'div' && element.hasChildNodes()) - { - element = element.firstChild; - } - else if (element.nextSibling) - { - element = element.nextSibling; - } - else - { - do - { - element = element.parentNode; - } - while (element && element!=parentElement && !element.nextSibling); - - if (element && element!=parentElement) - { - element = element.nextSibling; - } - } - } - } - - this.Toggle = function(id) - { - var element = this.FindChildElement(id); - if (element) - { - if (element.style.display == 'block') - { - element.style.display = 'none'; - } - else - { - element.style.display = 'block'; - } - } - } - - // Searches for the passed string. If there is no parameter, - // it takes it from the URL query. - // - // Always returns true, since other documents may try to call it - // and that may or may not be possible. - this.Search = function(search) - { - if (!search) // get search word from URL - { - search = window.location.search; - search = search.substring(1); // Remove the leading '?' - search = unescape(search); - } - - search = search.replace(/^ +/, ""); // strip leading spaces - search = search.replace(/ +$/, ""); // strip trailing spaces - search = search.toLowerCase(); - search = convertToId(search); - - var resultRows = document.getElementsByTagName("div"); - var matches = 0; - - var i = 0; - while (i < resultRows.length) - { - var row = resultRows.item(i); - if (row.className == "SRResult") - { - var rowMatchName = row.id.toLowerCase(); - rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' - - if (search.length<=rowMatchName.length && - rowMatchName.substr(0, search.length)==search) - { - row.style.display = 'block'; - matches++; - } - else - { - row.style.display = 'none'; - } - } - i++; - } - document.getElementById("Searching").style.display='none'; - if (matches == 0) // no results - { - document.getElementById("NoMatches").style.display='block'; - } - else // at least one result - { - document.getElementById("NoMatches").style.display='none'; - } - this.lastMatchCount = matches; - return true; - } - - // return the first item with index index or higher that is visible - this.NavNext = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index++; - } - return focusItem; - } - - this.NavPrev = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index--; - } - return focusItem; - } - - this.ProcessKeys = function(e) - { - if (e.type == "keydown") - { - this.repeatOn = false; - this.lastKey = e.keyCode; - } - else if (e.type == "keypress") - { - if (!this.repeatOn) - { - if (this.lastKey) this.repeatOn = true; - return false; // ignore first keypress after keydown - } - } - else if (e.type == "keyup") - { - this.lastKey = 0; - this.repeatOn = false; - } - return this.lastKey!=0; - } - - this.Nav = function(evt,itemIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - var newIndex = itemIndex-1; - var focusItem = this.NavPrev(newIndex); - if (focusItem) - { - var child = this.FindChildElement(focusItem.parentNode.parentNode.id); - if (child && child.style.display == 'block') // children visible - { - var n=0; - var tmpElem; - while (1) // search for last child - { - tmpElem = document.getElementById('Item'+newIndex+'_c'+n); - if (tmpElem) - { - focusItem = tmpElem; - } - else // found it! - { - break; - } - n++; - } - } - } - if (focusItem) - { - focusItem.focus(); - } - else // return focus to search field - { - document.getElementById("MSearchField").focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = itemIndex+1; - var focusItem; - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem && elem.style.display == 'block') // children visible - { - focusItem = document.getElementById('Item'+itemIndex+'_c0'); - } - if (!focusItem) focusItem = this.NavNext(newIndex); - if (focusItem) focusItem.focus(); - } - else if (this.lastKey==39) // Right - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'block'; - } - else if (this.lastKey==37) // Left - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'none'; - } - else if (this.lastKey==27) // Escape - { - e.stopPropagation(); - searchBox.CloseResultsWindow(); - document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } - - this.NavChild = function(evt,itemIndex,childIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - if (childIndex>0) - { - var newIndex = childIndex-1; - document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); - } - else // already at first child, jump to parent - { - document.getElementById('Item'+itemIndex).focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = childIndex+1; - var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); - if (!elem) // last child, jump to parent next parent - { - elem = this.NavNext(itemIndex+1); - } - if (elem) - { - elem.focus(); - } - } - else if (this.lastKey==27) // Escape - { - e.stopPropagation(); - searchBox.CloseResultsWindow(); - document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } -} - -function setKeyActions(elem,action) -{ - elem.setAttribute('onkeydown',action); - elem.setAttribute('onkeypress',action); - elem.setAttribute('onkeyup',action); -} - -function setClassAttr(elem,attr) -{ - elem.setAttribute('class',attr); - elem.setAttribute('className',attr); -} - -function createResults(resultsPath) -{ - var results = document.getElementById("SRResults"); - results.innerHTML = ''; - for (var e=0; e(R!W8j_r#qQ#gnr4kAxdU#F0+OBry$Z+ z_0PMi;P|#{d%mw(dnw=jM%@$onTJa%@6Nm3`;2S#nwtVFJI#`U@2Q@@JCCctagvF- z8H=anvo~dTmJ2YA%wA6IHRv%{vxvUm|R)kgZeo zmX%Zb;mpflGZdXCTAgit`||AFzkI#z&(3d4(htA?U2FOL4WF6wY&TB#n3n*I4+hl| z*NBpo#FA92vEu822WQ%mvv4FO#qs` BFGc_W diff --git a/docs/html/search/search_r.png b/docs/html/search/search_r.png deleted file mode 100644 index 1af5d21ee13e070d7600f1c4657fde843b953a69..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 553 zcmeAS@N?(olHy`uVBq!ia0vp^LO?9c!2%@BXHTsJQY`6?zK#qG8~eHcB(ehe3dtTp zz6=bxGZ+|(`xqD=STHa&U1eaXVrO7DwS|Gf*oA>XrmV$GYcEhOQT(QLuS{~ooZ2P@v=Xc@RKW@Irliv8_;wroU0*)0O?temdsA~70jrdux+`@W7 z-N(<(C)L?hOO?KV{>8(jC{hpKsws)#Fh zvsO>IB+gb@b+rGWaO&!a9Z{!U+fV*s7TS>fdt&j$L%^U@Epd$~Nl7e8wMs5Z1yT$~ z28I^8hDN#u<{^fLRz?<9hUVG^237_Jy7tbuQ8eV{r(~v8;?@w8^gA7>fx*+&&t;uc GLK6VEQpiUD diff --git a/docs/html/search/searchdata.js b/docs/html/search/searchdata.js deleted file mode 100644 index 5333482..0000000 --- a/docs/html/search/searchdata.js +++ /dev/null @@ -1,39 +0,0 @@ -var indexSectionsWithContent = -{ - 0: "_abcdefghijlmnoprstuw~", - 1: "_acdefghimnprstuw", - 2: "a", - 3: "s", - 4: "abcdefhinoprstw~", - 5: "grsw", - 6: "tw", - 7: "hl", - 8: "acelt" -}; - -var indexSectionNames = -{ - 0: "all", - 1: "classes", - 2: "namespaces", - 3: "files", - 4: "functions", - 5: "variables", - 6: "typedefs", - 7: "enums", - 8: "pages" -}; - -var indexSectionLabels = -{ - 0: "All", - 1: "Classes", - 2: "Namespaces", - 3: "Files", - 4: "Functions", - 5: "Variables", - 6: "Typedefs", - 7: "Enumerations", - 8: "Pages" -}; - diff --git a/docs/html/search/typedefs_0.html b/docs/html/search/typedefs_0.html deleted file mode 100644 index a4684c4..0000000 --- a/docs/html/search/typedefs_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/typedefs_0.js b/docs/html/search/typedefs_0.js deleted file mode 100644 index c415542..0000000 --- a/docs/html/search/typedefs_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['twowire_0',['TwoWire',['../namespacearduino.html#ad957a99347ea5572b71f24c6d4f2501f',1,'arduino']]] -]; diff --git a/docs/html/search/typedefs_1.html b/docs/html/search/typedefs_1.html deleted file mode 100644 index 46cf01e..0000000 --- a/docs/html/search/typedefs_1.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/typedefs_1.js b/docs/html/search/typedefs_1.js deleted file mode 100644 index 0257d67..0000000 --- a/docs/html/search/typedefs_1.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['wificlient_0',['WiFiClient',['../namespacearduino.html#a3faf49cb9bc73386a5484c845be4b3d3',1,'arduino']]], - ['wificlientsecure_1',['WiFiClientSecure',['../namespacearduino.html#a19d9e574f57b774b7e4bb650cd91c677',1,'arduino']]], - ['wifiserver_2',['WiFiServer',['../namespacearduino.html#a2b52edc77c5220933cda374fc4b169ac',1,'arduino']]], - ['wifiudp_3',['WiFiUDP',['../namespacearduino.html#a1c42c7e192d7c6cb9229562cf928a557',1,'arduino']]] -]; diff --git a/docs/html/search/variables_0.html b/docs/html/search/variables_0.html deleted file mode 100644 index 1e477c0..0000000 --- a/docs/html/search/variables_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/variables_0.js b/docs/html/search/variables_0.js deleted file mode 100644 index c2bddbb..0000000 --- a/docs/html/search/variables_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['gpio_0',['GPIO',['../namespacearduino.html#a67230408a4be8e454f3947313e30c0e1',1,'arduino']]] -]; diff --git a/docs/html/search/variables_1.html b/docs/html/search/variables_1.html deleted file mode 100644 index ea73d9a..0000000 --- a/docs/html/search/variables_1.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/variables_1.js b/docs/html/search/variables_1.js deleted file mode 100644 index 24671fb..0000000 --- a/docs/html/search/variables_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['rpi_0',['RPI',['../namespacearduino.html#aaf600ce0d5135956db45dd53f2d9cdab',1,'arduino']]] -]; diff --git a/docs/html/search/variables_2.html b/docs/html/search/variables_2.html deleted file mode 100644 index 0580462..0000000 --- a/docs/html/search/variables_2.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/variables_2.js b/docs/html/search/variables_2.js deleted file mode 100644 index 02de06e..0000000 --- a/docs/html/search/variables_2.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['spi_0',['SPI',['../namespacearduino.html#a5cdbe44f12b33daea39c70b62a63fc66',1,'arduino']]] -]; diff --git a/docs/html/search/variables_3.html b/docs/html/search/variables_3.html deleted file mode 100644 index 0d69e76..0000000 --- a/docs/html/search/variables_3.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/html/search/variables_3.js b/docs/html/search/variables_3.js deleted file mode 100644 index 1815d17..0000000 --- a/docs/html/search/variables_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['wire_0',['Wire',['../namespacearduino.html#a438e0b6e21770efe4a3aba702b818c4d',1,'arduino']]] -]; diff --git a/docs/html/serialib_8cpp.html b/docs/html/serialib_8cpp.html deleted file mode 100644 index 656e22d..0000000 --- a/docs/html/serialib_8cpp.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/serialib.cpp File Reference - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - - -
    -
    -
    serialib.cpp File Reference
    -
    -
    - -

    Source file of the class serialib. This class is used for communication over a serial device. -More...

    -

    Detailed Description

    -

    Source file of the class serialib. This class is used for communication over a serial device.

    -
    Author
    Philippe Lucidarme (University of Angers)
    -
    Version
    2.0
    -
    Date
    december the 27th of 2019 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. This is a licence-free software, it can be used by anyone who try to build a better world.
    -
    - - - - diff --git a/docs/html/serialib_8h.html b/docs/html/serialib_8h.html deleted file mode 100644 index 02cd87e..0000000 --- a/docs/html/serialib_8h.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/serialib.h File Reference - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - - -
    -
    - -
    serialib.h File Reference
    -
    -
    - -

    Header file of the class serialib. This class is used for communication over a serial device. -More...

    - -

    Go to the source code of this file.

    - - - - - - - - -

    -Classes

    class  serialib
     This class is used for communication over a serial device. More...
     
    class  timeOut
     This class can manage a timer which is used as a timeout. More...
     
    -

    Detailed Description

    -

    Header file of the class serialib. This class is used for communication over a serial device.

    -
    Author
    Philippe Lucidarme (University of Angers)
    -
    Version
    2.0
    -
    Date
    december the 27th of 2019 This Serial library is used to communicate through serial port. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. This is a licence-free software, it can be used by anyone who try to build a better world.
    -
    - - - - diff --git a/docs/html/serialib_8h_source.html b/docs/html/serialib_8h_source.html deleted file mode 100644 index 25dec9a..0000000 --- a/docs/html/serialib_8h_source.html +++ /dev/null @@ -1,315 +0,0 @@ - - - - - - - -arduino-emulator: ArduinoCore-Linux/cores/arduino/serialib.h Source File - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - - - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - - -
    -
    -
    serialib.h
    -
    -
    -Go to the documentation of this file.
    1#pragma once
    -
    17#if USE_SERIALLIB
    -
    18
    -
    19// Used for TimeOut operations
    -
    20#include <sys/time.h>
    -
    21// Include for windows
    -
    22#if defined (_WIN32) || defined (_WIN64)
    -
    23 // Accessing to the serial port under Windows
    -
    24 #include <windows.h>
    -
    25#endif
    -
    26
    -
    27// Include for Linux
    -
    28#ifdef __linux__
    -
    29 #include <stdlib.h>
    -
    30 #include <sys/types.h>
    -
    31 #include <sys/shm.h>
    -
    32 #include <termios.h>
    -
    33 #include <string.h>
    -
    34 #include <iostream>
    -
    35 // File control definitions
    -
    36 #include <fcntl.h>
    -
    37 #include <unistd.h>
    -
    38 #include <sys/ioctl.h>
    -
    39#endif
    -
    40
    -
    41
    -
    43#define UNUSED(x) (void)(x)
    -
    44
    -
    45
    -
    - -
    50{
    -
    51public:
    -
    52
    -
    53 //_____________________________________
    -
    54 // ::: Constructors and destructors :::
    -
    55
    -
    56
    -
    57
    -
    58 // Constructor of the class
    -
    59 serialib ();
    -
    60
    -
    61 // Destructor
    -
    62 ~serialib ();
    -
    63
    -
    64
    -
    65
    -
    66 //_________________________________________
    -
    67 // ::: Configuration and initialization :::
    -
    68
    -
    69
    -
    70 // Open a device
    -
    71 char openDevice (const char *Device,const unsigned int Bauds);
    -
    72
    -
    73 // Close the current device
    -
    74 void closeDevice();
    -
    75
    -
    76
    -
    77
    -
    78
    -
    79 //___________________________________________
    -
    80 // ::: Read/Write operation on characters :::
    -
    81
    -
    82
    -
    83 // Write a char
    -
    84 char writeChar (char);
    -
    85
    -
    86 // Read a char (with timeout)
    -
    87 char readChar (char *pByte,const unsigned int timeOut_ms=0);
    -
    88
    -
    89
    -
    90
    -
    91
    -
    92 //________________________________________
    -
    93 // ::: Read/Write operation on strings :::
    -
    94
    -
    95
    -
    96 // Write a string
    -
    97 char writeString (const char *String);
    -
    98
    -
    99 // Read a string (with timeout)
    -
    100 int readString ( char *receivedString,
    -
    101 char finalChar,
    -
    102 unsigned int maxNbBytes,
    -
    103 const unsigned int timeOut_ms=0);
    -
    104
    -
    105
    -
    106
    -
    107 // _____________________________________
    -
    108 // ::: Read/Write operation on bytes :::
    -
    109
    -
    110
    -
    111 // Write an array of bytes
    -
    112 char writeBytes (const void *Buffer, const unsigned int NbBytes);
    -
    113
    -
    114 // Read an array of byte (with timeout)
    -
    115 int readBytes (void *buffer,unsigned int maxNbBytes,const unsigned int timeOut_ms=0, unsigned int sleepDuration_us=100);
    -
    116
    -
    117
    -
    118
    -
    119
    -
    120 // _________________________
    -
    121 // ::: Special operation :::
    -
    122
    -
    123
    -
    124 // Empty the received buffer
    -
    125 char flushReceiver();
    -
    126
    -
    127 // Return the number of bytes in the received buffer
    -
    128 int available();
    -
    129
    -
    130
    -
    131
    -
    132
    -
    133 // _________________________
    -
    134 // ::: Access to IO bits :::
    -
    135
    -
    136
    -
    137 // Set CTR status (Data Terminal Ready, pin 4)
    -
    138 bool DTR(bool status);
    -
    139 bool setDTR();
    -
    140 bool clearDTR();
    -
    141
    -
    142 // Set RTS status (Request To Send, pin 7)
    -
    143 bool RTS(bool status);
    -
    144 bool setRTS();
    -
    145 bool clearRTS();
    -
    146
    -
    147 // Get RI status (Ring Indicator, pin 9)
    -
    148 bool isRI();
    -
    149
    -
    150 // Get DCD status (Data Carrier Detect, pin 1)
    -
    151 bool isDCD();
    -
    152
    -
    153 // Get CTS status (Clear To Send, pin 8)
    -
    154 bool isCTS();
    -
    155
    -
    156 // Get DSR status (Data Set Ready, pin 9)
    -
    157 bool isDSR();
    -
    158
    -
    159 // Get RTS status (Request To Send, pin 7)
    -
    160 bool isRTS();
    -
    161
    -
    162 // Get CTR status (Data Terminal Ready, pin 4)
    -
    163 bool isDTR();
    -
    164
    -
    165
    -
    166private:
    -
    167 // Read a string (no timeout)
    -
    168 int readStringNoTimeOut (char *String,char FinalChar,unsigned int MaxNbBytes);
    -
    169
    -
    170 // Current DTR and RTS state (can't be read on WIndows)
    -
    171 bool currentStateRTS;
    -
    172 bool currentStateDTR;
    -
    173
    -
    174
    -
    175
    -
    176
    -
    177
    -
    178#if defined (_WIN32) || defined( _WIN64)
    -
    179 // Handle on serial device
    -
    180 HANDLE hSerial;
    -
    181 // For setting serial port timeouts
    -
    182 COMMTIMEOUTS timeouts;
    -
    183#endif
    -
    184#ifdef __linux__
    -
    185 int fd;
    -
    186#endif
    -
    187
    -
    188};
    -
    -
    189
    -
    190
    -
    191
    -
    195// Class timeOut
    -
    - -
    197{
    -
    198public:
    -
    199
    -
    200 // Constructor
    -
    201 timeOut();
    -
    202
    -
    203 // Init the timer
    -
    204 void initTimer();
    -
    205
    -
    206 // Return the elapsed time since initialization
    -
    207 unsigned long int elapsedTime_ms();
    -
    208
    -
    209private:
    -
    210 // Used to store the previous time (for computing timeout)
    -
    211 struct timeval previousTime;
    -
    212};
    -
    -
    213
    -
    214#endif
    -
    This class is used for communication over a serial device.
    Definition serialib.h:50
    -
    bool setRTS()
    Set the bit RTS (pin 7) RTS stands for Data Terminal Ready.
    Definition serialib.cpp:720
    -
    serialib()
    Constructor of the class serialib.
    Definition serialib.cpp:26
    -
    bool DTR(bool status)
    Set or unset the bit DTR (pin 4) DTR stands for Data Terminal Ready Convenience method :This method c...
    Definition serialib.cpp:635
    -
    bool isDSR()
    Get the DSR's status (pin 6) DSR stands for Data Set Ready.
    Definition serialib.cpp:792
    -
    bool isDTR()
    Get the DTR's status (pin 4) DTR stands for Data Terminal Ready May behave abnormally on Windows.
    Definition serialib.cpp:861
    -
    int available()
    Return the number of bytes in the received buffer (UNIX only)
    Definition serialib.cpp:600
    -
    char flushReceiver()
    Empty receiver buffer.
    Definition serialib.cpp:581
    -
    bool RTS(bool status)
    Set or unset the bit RTS (pin 7) RTS stands for Data Termina Ready Convenience method :This method ca...
    Definition serialib.cpp:703
    -
    char openDevice(const char *Device, const unsigned int Bauds)
    Open the serial port.
    Definition serialib.cpp:92
    -
    bool isDCD()
    Get the DCD's status (pin 1) CDC stands for Data Carrier Detect.
    Definition serialib.cpp:818
    -
    bool isRI()
    Get the RING's status (pin 9) Ring Indicator.
    Definition serialib.cpp:839
    -
    char writeString(const char *String)
    Write a string on the current serial port.
    Definition serialib.cpp:273
    -
    char readChar(char *pByte, const unsigned int timeOut_ms=0)
    Wait for a byte from the serial device and return the data read.
    Definition serialib.cpp:339
    -
    bool setDTR()
    Set the bit DTR (pin 4) DTR stands for Data Terminal Ready.
    Definition serialib.cpp:652
    -
    void closeDevice()
    Close the connection with the current device.
    Definition serialib.cpp:217
    -
    char writeBytes(const void *Buffer, const unsigned int NbBytes)
    Write an array of data on the current serial port.
    Definition serialib.cpp:307
    -
    char writeChar(char)
    Write a char on the current serial port.
    Definition serialib.cpp:241
    -
    int readBytes(void *buffer, unsigned int maxNbBytes, const unsigned int timeOut_ms=0, unsigned int sleepDuration_us=100)
    Read an array of bytes from the serial device (with timeout)
    Definition serialib.cpp:513
    -
    bool clearRTS()
    Clear the bit RTS (pin 7) RTS stands for Data Terminal Ready.
    Definition serialib.cpp:745
    -
    int readString(char *receivedString, char finalChar, unsigned int maxNbBytes, const unsigned int timeOut_ms=0)
    Read a string from the serial device (with timeout)
    Definition serialib.cpp:439
    -
    bool isRTS()
    Get the RTS's status (pin 7) RTS stands for Request To Send May behave abnormally on Windows.
    Definition serialib.cpp:882
    -
    ~serialib()
    Destructor of the class serialib. It close the connection.
    Definition serialib.cpp:40
    -
    bool isCTS()
    Get the CTS's status (pin 8) CTS stands for Clear To Send.
    Definition serialib.cpp:770
    -
    bool clearDTR()
    Clear the bit DTR (pin 4) DTR stands for Data Terminal Ready.
    Definition serialib.cpp:675
    -
    This class can manage a timer which is used as a timeout.
    Definition serialib.h:197
    -
    timeOut()
    Constructor of the class timeOut.
    Definition serialib.cpp:909
    -
    void initTimer()
    Initialise the timer. It writes the current time of the day in the structure PreviousTime.
    Definition serialib.cpp:917
    -
    unsigned long int elapsedTime_ms()
    Returns the time elapsed since initialization. It write the current time of the day in the structure ...
    Definition serialib.cpp:928
    -
    - - - - diff --git a/docs/html/splitbar.png b/docs/html/splitbar.png deleted file mode 100644 index fe895f2c58179b471a22d8320b39a4bd7312ec8e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T diff --git a/docs/html/splitbard.png b/docs/html/splitbard.png deleted file mode 100644 index 8367416d757fd7b6dc4272b6432dc75a75abd068..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 282 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf@VhhFKy35^fiT zT~&lUj3=cDh^%3HDY9k5CEku}PHXNoNC(_$U3XPb&Q*ME25pT;2(*BOgAf<+R$lzakPG`kF31()Fx{L5Wrac|GQzjeE= zueY1`Ze{#x<8=S|`~MgGetGce)#vN&|J{Cd^tS%;tBYTo?+^d68<#n_Y_xx`J||4O V@QB{^CqU0Kc)I$ztaD0e0svEzbJzd? diff --git a/docs/html/struct_catch_1_1_string_maker_3_01arduino_1_1_string_01_4-members.html b/docs/html/struct_catch_1_1_string_maker_3_01arduino_1_1_string_01_4-members.html deleted file mode 100644 index 2a298fd..0000000 --- a/docs/html/struct_catch_1_1_string_maker_3_01arduino_1_1_string_01_4-members.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - - -
    -
    -
    Catch::StringMaker< arduino::String > Member List
    -
    -
    - -

    This is the complete list of members for Catch::StringMaker< arduino::String >, including all inherited members.

    - - -
    convert(const arduino::String &str) (defined in Catch::StringMaker< arduino::String >)Catch::StringMaker< arduino::String >inlinestatic
    - - - - diff --git a/docs/html/struct_catch_1_1_string_maker_3_01arduino_1_1_string_01_4.html b/docs/html/struct_catch_1_1_string_maker_3_01arduino_1_1_string_01_4.html deleted file mode 100644 index edf95c9..0000000 --- a/docs/html/struct_catch_1_1_string_maker_3_01arduino_1_1_string_01_4.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - -arduino-emulator: Catch::StringMaker< arduino::String > Struct Reference - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - - -
    -
    - -
    Catch::StringMaker< arduino::String > Struct Reference
    -
    -
    - -

    #include <StringPrinter.h>

    - - - - -

    -Static Public Member Functions

    -static std::string convert (const arduino::String &str)
     
    -

    Detailed Description

    -

    Template specialization that makes sure Catch can properly print Arduino Strings when used in comparisons directly.

    -

    Note that without this, String objects are printed as 0 and 1, because they are implicitly convertible to StringIfHelperType, which is a dummy pointer.

    -

    The documentation for this struct was generated from the following file: -
    - - - - diff --git a/docs/html/structarduino_1_1____container____-members.html b/docs/html/structarduino_1_1____container____-members.html deleted file mode 100644 index 2eea9eb..0000000 --- a/docs/html/structarduino_1_1____container____-members.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - - -
    -
    -
    arduino::__container__< T > Member List
    -
    -
    - -

    This is the complete list of members for arduino::__container__< T >, including all inherited members.

    - - - -
    function (defined in arduino::__container__< T >)arduino::__container__< T >
    param (defined in arduino::__container__< T >)arduino::__container__< T >
    - - - - diff --git a/docs/html/structarduino_1_1____container____.html b/docs/html/structarduino_1_1____container____.html deleted file mode 100644 index 7b5fd98..0000000 --- a/docs/html/structarduino_1_1____container____.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - -arduino-emulator: arduino::__container__< T > Struct Template Reference - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - - -
    -
    - -
    arduino::__container__< T > Struct Template Reference
    -
    -
    - - - - - - -

    -Public Attributes

    -voidTemplateFuncPtrParam< Tfunction
     
    -voidparam
     
    -
    The documentation for this struct was generated from the following file: -
    - - - - diff --git a/docs/html/structarduino_1_1_stream_1_1_multi_target-members.html b/docs/html/structarduino_1_1_stream_1_1_multi_target-members.html deleted file mode 100644 index ce91711..0000000 --- a/docs/html/structarduino_1_1_stream_1_1_multi_target-members.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - -arduino-emulator: Member List - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - - -
    -
    -
    arduino::Stream::MultiTarget Member List
    -
    -
    - -

    This is the complete list of members for arduino::Stream::MultiTarget, including all inherited members.

    - - - - -
    index (defined in arduino::Stream::MultiTarget)arduino::Stream::MultiTarget
    len (defined in arduino::Stream::MultiTarget)arduino::Stream::MultiTarget
    str (defined in arduino::Stream::MultiTarget)arduino::Stream::MultiTarget
    - - - - diff --git a/docs/html/structarduino_1_1_stream_1_1_multi_target.html b/docs/html/structarduino_1_1_stream_1_1_multi_target.html deleted file mode 100644 index 2bf7bb6..0000000 --- a/docs/html/structarduino_1_1_stream_1_1_multi_target.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -arduino-emulator: arduino::Stream::MultiTarget Struct Reference - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - - -
    -
    - -
    arduino::Stream::MultiTarget Struct Reference
    -
    -
    - - - - - - - - -

    -Public Attributes

    -size_t index
     
    -size_t len
     
    -const charstr
     
    -
    The documentation for this struct was generated from the following file: -
    - - - - diff --git a/docs/html/sync_off.png b/docs/html/sync_off.png deleted file mode 100644 index 3b443fc62892114406e3d399421b2a881b897acc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 853 zcmV-b1FHOqP)oT|#XixUYy%lpuf3i8{fX!o zUyDD0jOrAiT^tq>fLSOOABs-#u{dV^F$b{L9&!2=9&RmV;;8s^x&UqB$PCj4FdKbh zoB1WTskPUPu05XzFbA}=KZ-GP1fPpAfSs>6AHb12UlR%-i&uOlTpFNS7{jm@mkU1V zh`nrXr~+^lsV-s1dkZOaI|kYyVj3WBpPCY{n~yd%u%e+d=f%`N0FItMPtdgBb@py; zq@v6NVArhyTC7)ULw-Jy8y42S1~4n(3LkrW8mW(F-4oXUP3E`e#g**YyqI7h-J2zK zK{m9##m4ri!7N>CqQqCcnI3hqo1I;Yh&QLNY4T`*ptiQGozK>FF$!$+84Z`xwmeMh zJ0WT+OH$WYFALEaGj2_l+#DC3t7_S`vHpSivNeFbP6+r50cO8iu)`7i%Z4BTPh@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK& z4RGz|D5HNrW83-#ydk}tVKJrNmyYt-sTxLGlJY5nc&Re zU4SgHNPx8~Yxwr$bsju?4q&%T1874xxzq+_%?h8_ofw~(bld=o3iC)LUNR*BY%c0y zWd_jX{Y8`l%z+ol1$@Qa?Cy!(0CVIEeYpKZ`(9{z>3$CIe;pJDQk$m3p}$>xBm4lb zKo{4S)`wdU9Ba9jJbVJ0C=SOefZe%d$8=2r={nu<_^a3~>c#t_U6dye5)JrR(_a^E f@}b6j1K9lwFJq@>o)+Ry00000NkvXXu0mjfWa5j* diff --git a/docs/html/sync_on.png b/docs/html/sync_on.png deleted file mode 100644 index e08320fb64e6fa33b573005ed6d8fe294e19db76..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 845 zcmV-T1G4;yP)Y;xxyHF2B5Wzm| zOOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<|Q`7I_))aP?*T)ow&n59{}X4$3Goat zgjs?*aasfbrokzG5cT4K=uG`E14xZl@z)F={P0Y^?$4t z>v!teRnNZym<6h{7sLyF1V0HsfEl+l6TrZpsfr1}luH~F7L}ktXu|*uVX^RG$L0`K zWs3j|0tIvVe(N%_?2{(iCPFGf#B6Hjy6o&}D$A%W%jfO8_W%ZO#-mh}EM$LMn7joJ z05dHr!5Y92g+31l<%i1(=L1a1pXX+OYnalY>31V4K}BjyRe3)9n#;-cCVRD_IG1fT zOKGeNY8q;TL@K{dj@D^scf&VCs*-Jb>8b>|`b*osv52-!A?BpbYtTQBns5EAU**$m zSnVSm(teh>tQi*S*A>#ySc=n;`BHz`DuG4&g4Kf8lLhca+zvZ7t7RflD6-i-mcK=M z!=^P$*u2)bkY5asG4gsss!Hn%u~>}kIW`vMs%lJLH+u*9<4PaV_c6U`KqWXQH%+Nu zTv41O(^ZVi@qhjQdG!fbZw&y+2o!iYymO^?ud3{P*HdoX83YV*Uu_HB=?U&W9%AU# z80}k1SS-CXTU7dcQlsm<^oYLxVSseqY6NO}dc`Nj?8vrhNuCdm@^{a3AQ_>6myOj+ z`1RsLUXF|dm|3k7s2jD(B{rzE>WI2scH8i1;=O5Cc9xB3^aJk%fQjqsu+kH#0=_5a z0nCE8@dbQa-|YIuUVvG0L_IwHMEhOj$Mj4Uq05 X8=0q~qBNan00000NkvXXu0mjfptF>5 diff --git a/docs/html/tab_a.png b/docs/html/tab_a.png deleted file mode 100644 index 3b725c41c5a527a3a3e40097077d0e206a681247..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QlXwMjv*C{Z|8b*H5dputLHD# z=<0|*y7z(Vor?d;H&?EG&cXR}?!j-Lm&u1OOI7AIF5&c)RFE;&p0MYK>*Kl@eiymD r@|NpwKX@^z+;{u_Z~trSBfrMKa%3`zocFjEXaR$#tDnm{r-UW|TZ1%4 diff --git a/docs/html/tab_ad.png b/docs/html/tab_ad.png deleted file mode 100644 index e34850acfc24be58da6d2fd1ccc6b29cc84fe34d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 135 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QhuH;jv*C{Z|5d*H3V=pKi{In zd2jxLclDRPylmD}^l7{QOtL{vUjO{-WqItb5sQp2h-99b8^^Scr-=2mblCdZuUm?4 jzOJvgvt3{(cjKLW5(A@0qPS@<&}0TrS3j3^P6y&q2{!U5bk+Tso_B!YCpDh>v z{CM*1U8YvQRyBUHt^Ju0W_sq-?;9@_4equ-bavTs=gk796zopr0EBT&m;e9( diff --git a/docs/html/tab_s.png b/docs/html/tab_s.png deleted file mode 100644 index ab478c95b67371d700a20869f7de1ddd73522d50..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 184 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QuUrLjv*C{Z|^p8HaRdjTwH7) zC?wLlL}}I{)n%R&r+1}IGmDnq;&J#%V6)9VsYhS`O^BVBQlxOUep0c$RENLq#g8A$ z)z7%K_bI&n@J+X_=x}fJoEKed-$<>=ZI-;YrdjIl`U`uzuDWSP?o#Dmo{%SgM#oan kX~E1%D-|#H#QbHoIja2U-MgvsK&LQxy85}Sb4q9e0Efg%P5=M^ diff --git a/docs/html/tab_sd.png b/docs/html/tab_sd.png deleted file mode 100644 index 757a565ced4730f85c833fb2547d8e199ae68f19..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 188 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!Qq7(&jv*C{Z|_!fH5o7*c=%9% zcILh!EA=pAQKdx-Cdiev=v{eg{8Ht<{e8_NAN~b=)%W>-WDCE0PyDHGemi$BoXwcK z{>e9^za6*c1ilttWw&V+U;WCPlV9{LdC~Ey%_H(qj`xgfES(4Yz5jSTZfCt`4E$0YRsR*S^mTCR^;V&sxC8{l_Cp7w8-YPgg&ebxsLQ00$vXK>z>% diff --git a/docs/html/tabs.css b/docs/html/tabs.css deleted file mode 100644 index df7944b..0000000 --- a/docs/html/tabs.css +++ /dev/null @@ -1 +0,0 @@ -.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0px/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.main-menu-btn{position:relative;display:inline-block;width:36px;height:36px;text-indent:36px;margin-left:8px;white-space:nowrap;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.main-menu-btn-icon,.main-menu-btn-icon:before,.main-menu-btn-icon:after{position:absolute;top:50%;left:2px;height:2px;width:24px;background:var(--nav-menu-button-color);-webkit-transition:all 0.25s;transition:all 0.25s}.main-menu-btn-icon:before{content:'';top:-7px;left:0}.main-menu-btn-icon:after{content:'';top:7px;left:0}#main-menu-state:checked~.main-menu-btn .main-menu-btn-icon{height:0}#main-menu-state:checked~.main-menu-btn .main-menu-btn-icon:before{top:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}#main-menu-state:checked~.main-menu-btn .main-menu-btn-icon:after{top:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}#main-menu-state{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(1px, 1px, 1px, 1px)}#main-menu-state:not(:checked)~#main-menu{display:none}#main-menu-state:checked~#main-menu{display:block}@media (min-width: 768px){.main-menu-btn{position:absolute;top:-99999px}#main-menu-state:not(:checked)~#main-menu{display:block}}.sm-dox{background-image:var(--nav-gradient-image)}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0px 12px;padding-right:43px;font-family:var(--font-family-nav);font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:var(--nav-text-normal-shadow);color:var(--nav-text-normal-color);outline:none}.sm-dox a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox a.current{color:#D23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:var(--nav-menu-toggle-color);border-radius:5px}.sm-dox a span.sub-arrow:before{display:block;content:'+'}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{border-radius:0}.sm-dox ul{background:var(--nav-menu-background-color)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:var(--nav-menu-background-color);background-image:none}.sm-dox ul a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:0px 1px 1px #000}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media (min-width: 768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:var(--nav-gradient-image);line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:var(--nav-text-normal-color) transparent transparent transparent;background:transparent;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0px 12px;background-image:var(--nav-separator-image);background-repeat:no-repeat;background-position:right;border-radius:0 !important}.sm-dox a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox a:hover span.sub-arrow{border-color:var(--nav-text-hover-color) transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent var(--nav-menu-background-color) transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:var(--nav-menu-background-color);border-radius:5px !important;box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent var(--nav-menu-foreground-color);border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:var(--nav-menu-foreground-color);background-image:none;border:0 !important;color:var(--nav-menu-foreground-color);background-image:none}.sm-dox ul a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent var(--nav-text-hover-color)}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:var(--nav-menu-background-color);height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #D23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#D23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent var(--nav-menu-foreground-color) transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:var(--nav-menu-foreground-color) transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:var(--nav-gradient-image)}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:var(--nav-menu-background-color)}} diff --git a/docs/html/todo.html b/docs/html/todo.html deleted file mode 100644 index 62d2ed5..0000000 --- a/docs/html/todo.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - -arduino-emulator: Todo List - - - - - - - - - -
    -
    - - - - - - -
    -
    arduino-emulator -
    -
    -
    - - - - - - - - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - -
    -
    -
    Todo List
    -
    -
    -
    -
    Member arduino::HardwareCAN::write (CanMsg const &msg)=0
    -
    define specific error codes, especially "message already pending"
    -
    -
    -
    - - - - From 4608b3fb95115d30c8cdad7f8fd7706edd5b04be Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Sun, 5 Oct 2025 12:04:32 +0200 Subject: [PATCH 06/12] RPI: compile errors --- ArduinoCore-Linux/cores/rasperry_pi/HardwareGPIO_RPI.cpp | 2 +- ArduinoCore-Linux/cores/rasperry_pi/HardwareGPIO_RPI.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ArduinoCore-Linux/cores/rasperry_pi/HardwareGPIO_RPI.cpp b/ArduinoCore-Linux/cores/rasperry_pi/HardwareGPIO_RPI.cpp index 06fd861..4381b2d 100644 --- a/ArduinoCore-Linux/cores/rasperry_pi/HardwareGPIO_RPI.cpp +++ b/ArduinoCore-Linux/cores/rasperry_pi/HardwareGPIO_RPI.cpp @@ -224,7 +224,7 @@ unsigned long HardwareGPIO_RPI::pulseInLong(uint8_t pin, uint8_t state, return 0; } -void HardwareGPIO_RPI::analogWriteFrequency(uint8_t pin, uint32_t freq) { +void HardwareGPIO_RPI::analogWriteFrequency(pin_size_t pin, uint32_t freq) { bool supported = false; for (int i = 0; i < 4; ++i) { if (pin == pwm_pins[i]) { diff --git a/ArduinoCore-Linux/cores/rasperry_pi/HardwareGPIO_RPI.h b/ArduinoCore-Linux/cores/rasperry_pi/HardwareGPIO_RPI.h index a352037..e690d85 100644 --- a/ArduinoCore-Linux/cores/rasperry_pi/HardwareGPIO_RPI.h +++ b/ArduinoCore-Linux/cores/rasperry_pi/HardwareGPIO_RPI.h @@ -19,6 +19,7 @@ */ #ifdef USE_RPI #include "HardwareGPIO.h" +#include namespace arduino { @@ -128,7 +129,7 @@ class HardwareGPIO_RPI : public HardwareGPIO { /** * @brief Set PWM frequency for a pin. */ - void analogWriteFrequency(uint8_t pin, uint32_t freq); + void analogWriteFrequency(pin_size_t pin, uint32_t freq); /** * @brief Set the resolution (number of bits) for analogWrite (PWM output). From 3760be5923624871f330957012a699adde19157b Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Sun, 5 Oct 2025 13:13:30 +0200 Subject: [PATCH 07/12] Serial2 --- examples/serial2/serial2.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/serial2/serial2.ino b/examples/serial2/serial2.ino index b8865c0..d09ba48 100644 --- a/examples/serial2/serial2.ino +++ b/examples/serial2/serial2.ino @@ -7,6 +7,8 @@ void setup() { } void loop() { - Serial2.println("Hallo world from Serial2"); + auto txt = "Hallo world from Serial2"; + Serial.println(txt); + Serial2.println(txt); delay(1000); // Wait for 1 second } \ No newline at end of file From be4676e616370630fb923023575a366837481f64 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Sun, 5 Oct 2025 13:21:24 +0200 Subject: [PATCH 08/12] HardwareSetup: issue warning --- ArduinoCore-Linux/cores/arduino/HardwareSetupRemote.h | 1 + ArduinoCore-Linux/cores/rasperry_pi/HardwareSetupRPI.h | 1 + 2 files changed, 2 insertions(+) diff --git a/ArduinoCore-Linux/cores/arduino/HardwareSetupRemote.h b/ArduinoCore-Linux/cores/arduino/HardwareSetupRemote.h index 0d7e68e..a097252 100644 --- a/ArduinoCore-Linux/cores/arduino/HardwareSetupRemote.h +++ b/ArduinoCore-Linux/cores/arduino/HardwareSetupRemote.h @@ -76,6 +76,7 @@ class HardwareSetupRemote : public I2CSource, // setup global objects if (asDefault) { + Logger.warning("GPIO, I2C, SPI set up for Remote"); SPI.setSPI(&spi); Wire.setI2C(&i2c); GPIO.setGPIO(&gpio); diff --git a/ArduinoCore-Linux/cores/rasperry_pi/HardwareSetupRPI.h b/ArduinoCore-Linux/cores/rasperry_pi/HardwareSetupRPI.h index a1b4e6a..53fe60b 100644 --- a/ArduinoCore-Linux/cores/rasperry_pi/HardwareSetupRPI.h +++ b/ArduinoCore-Linux/cores/rasperry_pi/HardwareSetupRPI.h @@ -51,6 +51,7 @@ class HardwareSetupRPI : public I2CSource, public SPISource, public GPIOSource { // define the global hardware interfaces if (asDefault) { + Logger.warning("GPIO, I2C, SPI set up for Raspberry Pi"); GPIO.setGPIO(&gpio); SPI.setSPI(&spi); Wire.setI2C(&i2c); From 0694e49cb121bd9de7ff11ab3cfd0fa23b771bc5 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Sun, 5 Oct 2025 14:04:08 +0200 Subject: [PATCH 09/12] RPI linker errors --- Arduino.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Arduino.cmake b/Arduino.cmake index dad4ed5..715c051 100644 --- a/Arduino.cmake +++ b/Arduino.cmake @@ -64,8 +64,13 @@ function(arduino_library LIB_NAME LIB_PATH) else() # For interface libraries, use INTERFACE linkage target_link_libraries(${LIB_NAME} INTERFACE arduino_emulator) - endif() + endif() + if (USE_RPI) + target_link_libraries(${LIB_NAME} PUBLIC gpiod) + endif(USE_RPI) + endif() + endfunction() # arduino_sketch( [LIBRARIES ...] [DEFINITIONS ...]) From ad35d9c67aecb5c699f1a7bfd9ae92ee663c7e98 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Sun, 5 Oct 2025 14:13:07 +0200 Subject: [PATCH 10/12] serial2 logging --- examples/serial2/serial2.ino | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/serial2/serial2.ino b/examples/serial2/serial2.ino index d09ba48..30196f0 100644 --- a/examples/serial2/serial2.ino +++ b/examples/serial2/serial2.ino @@ -7,8 +7,7 @@ void setup() { } void loop() { - auto txt = "Hallo world from Serial2"; - Serial.println(txt); - Serial2.println(txt); + Serial.println("Hallo world from Serial"); + Serial2.println("Hallo world from Serial2"); delay(1000); // Wait for 1 second } \ No newline at end of file From c6afc0f9d3c8bd7234bc1da8e3e223358a41e57a Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Sun, 5 Oct 2025 15:43:57 +0200 Subject: [PATCH 11/12] RPI: cleanup cmake --- Arduino.cmake | 7 ------- CMakeLists.txt | 1 + examples/using-arduino-library/CMakeLists.txt | 1 + 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Arduino.cmake b/Arduino.cmake index 715c051..b0084c7 100644 --- a/Arduino.cmake +++ b/Arduino.cmake @@ -65,9 +65,6 @@ function(arduino_library LIB_NAME LIB_PATH) # For interface libraries, use INTERFACE linkage target_link_libraries(${LIB_NAME} INTERFACE arduino_emulator) endif() - if (USE_RPI) - target_link_libraries(${LIB_NAME} PUBLIC gpiod) - endif(USE_RPI) endif() @@ -122,9 +119,5 @@ function(arduino_sketch name ino_file) target_compile_definitions(${name} PUBLIC ${ARG_DEFINITIONS}) endif() - # Add platform-specific libraries - if (USE_RPI) - target_link_libraries(${name} gpiod) - endif(USE_RPI) endfunction() diff --git a/CMakeLists.txt b/CMakeLists.txt index 82013c3..cfaffba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,6 +64,7 @@ include(${CMAKE_CURRENT_SOURCE_DIR}/Arduino.cmake) if (USE_RPI) target_compile_options(arduino_emulator PUBLIC -DUSE_RPI) + target_link_libraries(arduino_emulator gpiod) endif(USE_RPI) if (USE_REMOTE) diff --git a/examples/using-arduino-library/CMakeLists.txt b/examples/using-arduino-library/CMakeLists.txt index 5f6f11d..2122218 100644 --- a/examples/using-arduino-library/CMakeLists.txt +++ b/examples/using-arduino-library/CMakeLists.txt @@ -4,3 +4,4 @@ arduino_library(sam "https://github.com/pschatzmann/arduino-SAM") # Use the arduino_sketch function to build the example with additional libraries arduino_sketch(using-arduino-library using-arduino-library.ino LIBRARIES sam) + From 900aa167f00d6e77a871af49f173fb1763607d5f Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Sun, 5 Oct 2025 16:05:35 +0200 Subject: [PATCH 12/12] rename Arduino.cmake --- ArduinoLibrary.cmake => Arduino.cmake | 6 +++--- CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename ArduinoLibrary.cmake => Arduino.cmake (96%) diff --git a/ArduinoLibrary.cmake b/Arduino.cmake similarity index 96% rename from ArduinoLibrary.cmake rename to Arduino.cmake index a810f88..b9c320a 100644 --- a/ArduinoLibrary.cmake +++ b/Arduino.cmake @@ -1,10 +1,10 @@ -# ArduinoLibrary.cmake +# Arduino.cmake # Defines a function to easily add Arduino-style libraries to your CMake project. # # Example usage for arduino-SAM library from GitHub -# Place this in your CMakeLists.txt after including ArduinoLibrary.cmake +# Place this in your CMakeLists.txt after including Arduino.cmake # -# include(${CMAKE_SOURCE_DIR}/ArduinoLibrary.cmake) +# include(${CMAKE_SOURCE_DIR}/Arduino.cmake) # arduino_library(arduino-SAM "https://github.com/pschatzmann/arduino-SAM") # target_link_libraries(your_target PRIVATE arduino-SAM) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3eba3f5..2539b51 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,7 +66,7 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/ArduinoCore-Linux/cores/arduino/" target_compile_features(arduino_emulator PUBLIC cxx_std_17) # Include Arduino library functions -include(${CMAKE_CURRENT_SOURCE_DIR}/ArduinoLibrary.cmake) +include(${CMAKE_CURRENT_SOURCE_DIR}/Arduino.cmake) if (USE_RPI) target_compile_options(arduino_emulator PUBLIC -DUSE_RPI)