svn r2522:
FreeRTOS kernel: Fix extern "C" { in stream_buffer.h.
FreeRTOS kernel: Correct tskKERNEL_VERSION_NUMBER and tskKERNEL_VERSION_MAJOR constants for V10.
Ensure the currently executing task is printed correctly in vTaskList().
Multicast frames were being dropped by ieee80211_output_pbuf. It appears to look
up the destination address using cnx_node_search which only has an entry for the
broadcast address (all ones). This patch modifies cnx_node_search to return the
broadcast cnx_node for the multicast addresses too.
This is needed to support services such as mDNS on the softap interface.
* When IPv6 is enabled the http server and the captive portal dns now also
accept IPv6 connections. The interface and peer IPv6 address are now also
reported.
* The http server no longer redirects <name>.local to an IP address for better
integration with mDNS.
* Add mDNS support, for the extras/mdnsresponder or the LWIP mDNS responder,
and enable the LWIP mDNS responder for examples/wificfg.
* libesphttpd: added extras and example
* Added "heatshrink" as a submodule
* Updated libesphttpd
* Updated libesphttpd
* Trying to fix the commit id
* Updated libesphttpd
* Added zlib1g-dev package
* Use native gcc to build mkespfsimage and mkupgimg
* Added NS and GW for DHCP server configuration
* Making libeshttpd up-to-date
* Making libeshttpd up-to-date (heatshrink updated)
* Making libesphttpd up-to-date
* pwm fix special state + debug print + IRAM interupt
* Special state = don't set timer, safer
* fix timer crash, cant divide by 0
* pwm dont start when duty is set
* reverse option
* fix low duty crash + comments
The commit ebdd2f9 defined some offsets to differentiate between the
standard, socket and file descriptors.
SPIFFS_FILEHDL_OFFSET was updated accordingly but the code didn't use
that constant and this broke the SPIFFS POSIX API.
Fix it by initializing the fh_ix_offset field of the spiffs_config
structure to SPIFFS_FILEHDL_OFFSET.
* libesphttpd: added extras and example
* Added "heatshrink" as a submodule
* Updated libesphttpd
* Updated libesphttpd
* Trying to fix the commit id
* Updated libesphttpd
* Added zlib1g-dev package
* Use native gcc to build mkespfsimage and mkupgimg
* Added NS and GW for DHCP server configuration
* Driver for Sensirion SHT3x sensor added
This is a driver for Sensirion SHT3x temperature and humidity sensors
connected via I2C.
This commit is a rebasing and contains some interface changes based on
the review from @ourairquality.
* SHT3x driver changes
Additional include to satisfy the Travis CI test build
* SHT3x driver - small changes
README.md has been shortened
* SHT3x driver - small changes
* SHT3x driver - small changes
- crc8 lookup table is now static to be held in flash memory
- special handling for the timer overflow in sht3x_is_measuring removed
- initialization reduced to availability check
* SHT3x driver - some small changes
- crc8 lookup table is now static to be held in flash memory
- special handling for the timer overflow in sht3x_is_measuring removed
- some whitespace removed
- initialization reduced to availability check
* SHT3x driver - some minor changes
- lookup tables made const to be held in flash
- crc8 computation changed to a non table lookup version
- measurement duration is now given in ticks and can be used directly
for vTaskDelay (documentation and examples changed accordingly)
* SHT3x driver - documentation changed
* SHT3x driver - minor correction
- number of ticks for measurement duration takes now into account
portTICK_PERIOD_MS
* SHT3x driver - minor correction
- number of ticks for measurement duration takes now into account
portTICK_PERIOD_MS
* SHT3x driver - minor correction
- number of ticks for measurement duration takes now into account
portTICK_PERIOD_MS
* SHT3x driver - minor correction
- number of ticks for measurement duration takes now into account
portTICK_PERIOD_MS
* SHT3x driver - minor corrections
* SHT3x driver - minor corrections
* Driver for Sensirion SHT3x sensor added
This is a driver for Sensirion SHT3x temperature and humidity sensors
connected via I2C.
This commit is a rebasing and contains some interface changes based on
the review from @ourairquality.
SHT3x driver changes
- additional include to satisfy the Travis CI test build
- README.md has been shortened
- special handling for the timer overflow in sht3x_is_measuring removed
- some whitespaces removed
- crc8 computation changed to a non table lookup version
- measurement duration is now given in ticks and can be used directly
for vTaskDelay (documentation and examples changed accordingly)
- number of ticks for measurement duration takes now into account
portTICK_PERIOD_MS
- clock stretching disabled on sensor to avoid blocking when data are
not ready to read
- calculation of maesurement duration adds now one and a half ticks to
be sure that measurement duration is not too short
- function sht3x_is_measuring is now private and only for internal use,
user task has always to use function vTaskDelay to wait for
measurement results
- function sht3x_is_measuring was simplified and returns now just a
boolean value
- private function sht3x_reset added which is used to reset the sensor
during initialization
- active flag in sensor data structure not needed anymore
- function sht3_get_raw_data simplified
- function sht3x_start_measurement returns now only a boolean
- function sht3x_start_measurement does not check anymore whether there is
already a measurment running
- new function sht3x_get_measurement_duration which returns the measurement
duration in ticks for configured repeatability
* SHT3x driver minor changes
- type sht3x_values_t replaced by separate float values
- additional repeatability parameter defined for function sht3x_start_measurement
- parameter of function sht3x_get_measurement_duration changed from
sht3x_sensort_t to sht3_repeat_t
- sensor modes and repeatability levels extended by prefix sht3x_
* SHT3x driver minor changes
- new high level function sht3x_measure added, it comprises all three
steps to perform one measurement in only one function
- example with two sensors removed
* SHT3x driver small correction
* Correct checking of the AP password and SSID lengths.
* Only enable AP mode if it is really configured enabled.
* Only start the http server if wifi is enabled.
This patch gets the newlib standard stream descriptors playing well with the
lwip socket descriptors and the spiffs file descriptors. The LWIP_SOCKET_OFFSET
is now defined to be 3, rather than zero, to avoid clashing with the standard
stream descriptors, and the SPIFFS_FILEHDL_OFFSET is bumped up to start after
the lwip descriptors.