It seems most common for the connection to the wider internet to be
via the station netif even if there is also an AP netif, so set the
default to the station netif. The lwip ipv4 route logic will still use
the AP netif if the destination is to that subnet.
The locks are using a bit of the limited ram. It's probably fine to combine some
of these to use the same mutex, and this patch does so for the set initialized
early. The file locks will still be separate, and dynamically created, so a
thread blocking on them will not deadlock all uses of newlib that need a lock.
- GPIO_ID_PIN macros removed
- Soft reset mechanism of SHT3x does not work when sensor is in any measurement mode. Therefore, it does not abort initialization procedure anymore
- typos
- changes to use the same source code with ESP8266 (esp-open-rtos) and ESP32 (ESP-IDF)
Once scheduling has started, the startup stack is no longer usable, control can
never return to that stack. So bump up the heap end in the first task that runs
after scheduling has started. This gives back about 1k.
* wificfg: remove the AP WEP mode option
The WEP mode does not appear to be implement in the sdk for the AP mode, and
defaults to open when WEP is requested which is probably not intended. Remove
the WEP option from the wifi config interface.
* lwip: enable mdns dns queries.
* wificfg: support mDNS on the softAP interface.
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.
* Adds ipv6 support. Compiles with ipv6 enabled and then accepts ipv6
connections and answers AAAA questions.
* Fixes a few overflows of the reply buffer. Reduce the default reply buffer
size, name it MDNS_RESPONDER_REPLY_SIZE, and allow overriding.
* Fix mdns_add_TXT.
* Prefer malloc to large stack buffers, to control stack sizes, and try to
malloc only the buffer size needed where known in advance.
* Determine the IP addresses when responding, eliminating the update function
and the update task.
* Allow use in SoftAP and StationAP mode too.
* Fix to compile without the debug output.
* Slightly better integration with lwip.
* Accept a NULL TXT entry.
* Some code style changes, not comprehensive.