J. Nick Koston
970c70c830
Merge rp2-lwip-seg-pool-and-heap review fixes into the combined test branch
2026-08-10 22:34:36 -05:00
J. Nick Koston
ac259c1565
[rp2] Address review: correct the sizing numbers and pin the invariants
...
Segment pool entries are 20 bytes on this build, not the nominal 16 that
struct tcp_seg suggests; the comment now quotes the measured figure.
The MEM_SIZE justification did not close as written: two connections at
~6KB each is ~12KB, which fits inside the old 16KB heap. The missing
term is that mem.c is first-fit, so what has to be free is a contiguous
1.5KB block, and at 75% occupancy interleaved with ARP, DHCP/DNS and
mDNS allocations the largest run collapses long before the total does.
That is also why the failure looked intermittent. Spelled out in both
the Python comment and the header template.
Hoist the lwIP sizing values to module constants so the two numeric
invariants can be tested: the segment pool must stay above the per-PCB
send queue, and MEM_SIZE must stay under 64000 or lwIP widens
mem_size_t to u32_t. Both were previously enforced by prose alone, and
the first would silently rebuild the starvation this change removes.
The generated header is byte identical.
2026-08-10 22:33:58 -05:00
J. Nick Koston
632e8fddf7
Merge rp2-lwip-seg-pool-and-heap into rp2-3-connection-slots for hardware testing
2026-08-10 22:16:29 -05:00
Jesse Hills
f697cf2011
[api] Add DeviceCapabilities message for optional-feature flags ( #17984 )
2026-08-11 14:52:19 +12:00
J. Nick Koston
4921f6b6e7
Merge branch 'dev' into rp2-3-connection-slots
2026-08-10 21:47:31 -05:00
Boris Krivonog and J. Nick Koston
007c677da1
[mitsubishi_cn105] Refactor property encoding/decoding ( #16709 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-08-10 18:58:34 -05:00
J. Nick Koston
f28d991ae9
Fix two stale comments
2026-08-10 18:25:41 -05:00
Bonne Eggleston and Claude Fable 5
2a0f2d59f0
[modbus_server] Add coil/discrete-input support ( #17464 )
...
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-08-10 18:13:12 -05:00
c8d2c3691a
[mitsubishi_cn105] Add vertical vane direction select ( #16723 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-08-10 17:58:37 -05:00
J. Nick Koston
d3dc97d42d
Tear down a handle stamped mid-escalation and pin the wrap flags literally
2026-08-10 17:53:31 -05:00
Josef Zweck and J. Nick Koston
82a63658f9
[hoermann_hcp] Add Hörmann HCP garage door component ( #17355 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-08-10 17:20:20 -05:00
J. Nick Koston
5c2c11f6cb
Build the shared rp2350 target on rpipico2w and test the slot accounting
2026-08-10 17:00:43 -05:00
J. Nick Koston
0429d05859
Move BTstack pool ownership into rp2040_ble and count connection slots like esp32_ble
2026-08-10 16:56:57 -05:00
J. Nick Koston
f90027f7c5
Anchor the wrap guards from live code and cover the rp2350 link
2026-08-10 16:48:38 -05:00
J. Nick Koston
e7412865d6
Merge branch 'dev' of https://github.com/esphome/esphome into rp2-3-connection-slots
2026-08-10 16:38:22 -05:00
J. Nick Koston
5b7a6d4e81
Anchor all four wrap symbols, add 2-slot coverage, log outside the lock
2026-08-10 16:09:17 -05:00
Bonne Eggleston
596827c51c
[modbus_client] Add read/write multiple registers (FC 0x17) ( #18215 )
2026-08-10 15:18:48 -05:00
J. Nick Koston
ff56ba16bd
[bluetooth_connection] Support 3 connection slots on rp2
2026-08-10 15:12:30 -05:00
J. Nick Koston
8a16ead8ce
[web_server] Fix basic auth with long credentials ( #18237 )
2026-08-10 14:49:14 -05:00
2999e7b925
[modbus] Add API for reading/writing coils and discrete inputs in server mode ( #17264 )
...
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-08-10 14:23:49 -05:00
207ae2e4cb
[bk72xx_ble] Support active scanning by packing the GAPM start command ( #18169 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: bdraco <663432+bdraco@users.noreply.github.com >
2026-08-10 14:02:37 -05:00
Boris Krivonog
9e78a768a2
[mitsubishi_cn105] Extract top-level hub ( #16987 )
2026-08-10 14:02:16 -05:00
J. Nick Koston
e4d08a73b0
[ufm01] Prefix PassiveReadResult enumerators to avoid Realtek SDK macro collision ( #18240 )
2026-08-10 13:03:01 -05:00
J. Nick Koston
4cf7ad9c63
[ble_device_base] Treat a partially bound merger as unbound ( #18235 )
2026-08-10 13:02:27 -05:00
2184ec2928
[ethernet] Add CH390 SPI ethernet support ( #18226 )
...
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-08-10 12:24:16 -05:00
J. Nick Koston
bae7f19323
[core] Extend '/' in names deprecation window to 2027.7.0 ( #18236 )
2026-08-10 11:32:02 -05:00
56ec21d950
[ufm01] Improve startup with reset retry and passive polling fallback ( #17567 )
...
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-08-10 12:31:31 -04:00
J. Nick Koston
2798ef4de2
[ota] Enforce the backend contract with a concept ( #18192 )
2026-08-10 11:20:38 -05:00
J. Nick Koston
e90b4abe9c
[core] Enforce the preferences contracts with concepts ( #18191 )
2026-08-10 11:20:24 -05:00
J. Nick Koston
f3d1fc0d64
[bluetooth_proxy] Migrate esp32 onto the neutral GATT backend ( #18198 )
2026-08-10 10:47:56 -05:00
J. Nick Koston
c8c929d487
[ble_device_base] Merge adv and scan response before delivery on rp2 ( #18217 )
2026-08-10 10:06:06 -05:00
J. Nick Koston
d9567b2974
Normalize marker-wrapped callable keys in the schema dump ( #18218 )
2026-08-10 10:05:37 -05:00
J. Nick Koston
02fa18b74f
[core] Skip colorama init for terminal and dashboard runs ( #18224 )
2026-08-10 09:44:01 -05:00
Mustafa KURU and Jonathan Swoboda
b0a9bfd381
[ld6002b] Add area and zone configuration (5/5) ( #17823 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-08-10 09:59:32 -04:00
J. Nick Koston
25cb440005
[core] Use Happy Eyeballs for remote file downloads ( #18050 )
2026-08-10 17:29:00 +12:00
J. Nick Koston
0f59ef36a9
[core] Store the validated-config cache as JSON to drop YAML off the upload fast path ( #18106 )
2026-08-10 17:26:41 +12:00
ab12e5490f
[modbus] Rename send_pdu() to queue_pdu() ( #18196 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-08-09 17:00:44 -05:00
J. Nick Koston
e9f428983e
[ble_device_base] Bind BLEHub to the build's tracker at compile time ( #18181 )
2026-08-09 08:57:31 -05:00
J. Nick Koston
862b13c8dd
[esp32_ble_tracker] Retire the scanner-state listener interface ( #18179 )
2026-08-08 20:58:48 -05:00
J. Nick Koston
8c74e3d5ef
[bluetooth_proxy] Deliver scanner state through the hub callback ( #18175 )
2026-08-08 15:59:49 -05:00
J. Nick Koston
04384e0f5b
[ble_device_base] Bind the GATT backend at compile time ( #18185 )
2026-08-08 15:59:32 -05:00
J. Nick Koston
7218aa4803
[bluetooth_connection] Explicit pairing for rp2 ( #18166 )
2026-08-08 09:51:12 -05:00
J. Nick Koston
9cb46aa584
[bluetooth_proxy] Deliver esp32 advertisements through the hub callback ( #18173 )
2026-08-08 09:50:32 -05:00
Edvard Filistovič
68acc055bf
[ble_device_base] Migrate BLE sensor platforms to the neutral layer (batch 13: xiaomi_rtcgq02lm, xiaomi_wx08zm, xiaomi_xmwsdj04mmc) ( #18183 )
2026-08-08 02:06:40 -05:00
2730c10c2c
[modbus] Route broadcast writes (address 0) to all server devices ( #17387 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-08-08 01:35:49 -05:00
Edvard Filistovič
252bb3333e
[ble_device_base] Migrate BLE sensor platforms to the neutral layer (batch 12: xiaomi_miscale, xiaomi_mjyd02yla, xiaomi_mue4094rt) ( #18180 )
2026-08-08 01:34:08 -05:00
Edvard Filistovič
98f4854ecd
[ble_device_base] Migrate BLE sensor platforms to the neutral layer (batch 11: xiaomi_lywsdcgq, xiaomi_mhoc303, xiaomi_mhoc401) ( #18178 )
2026-08-08 01:01:24 -05:00
Edvard Filistovič
413a4c5885
[ble_device_base] Migrate BLE sensor platforms to the neutral layer (batch 10: xiaomi_lywsd02, xiaomi_lywsd02mmc, xiaomi_lywsd03mmc) ( #18174 )
2026-08-08 00:27:44 -05:00
Edvard Filistovič
087b80eeb5
[ble_device_base] Migrate BLE sensor platforms to the neutral layer (batch 9: xiaomi_hhccjcy10, xiaomi_hhccpot002, xiaomi_jqjcy01ym) ( #18172 )
2026-08-07 23:42:37 -05:00
Edvard Filistovič
b986530efc
[ble_device_base] Migrate BLE sensor platforms to the neutral layer (batch 8: xiaomi_cgpr1, xiaomi_gcls002, xiaomi_hhccjcy01) ( #18171 )
2026-08-07 22:51:33 -05:00