You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, it seems like err_t may have gone from an int8_t to an int32_t -- You can see this in the diffs to the Arduino/esp8266 sdk here, where LWIP_ERR_T is defined to s32_t:
err_t seems hard-coded in ESPAsyncTCP to an int32_t
I tried my hand at brute forcing the change, but so far just panics from my dev board, so I'm guessing I'm missing something somewhere. I'll continue to play and if I get something that works, I'll report back.
Update: Just a copy of the errors seems when compiling. Emphasis on where the function prototype differ.
ESPAsyncTCP.cpp: In constructor 'AsyncClient::AsyncClient(tcp_pcb*)':
ESPAsyncTCP.cpp:77:28: error: invalid conversion from 'int8_t ()(void, tcp_pcb*, pbuf*, int8_t) {aka signed char ()(void, tcp_pcb*, pbuf*, signed char)}'
to
'tcp_recv_fn {aka long int ()(void, tcp_pcb*, pbuf*, long int)}' [-fpermissive]
tcp_recv(_pcb, &_s_recv);
Other functions that also show similar errors in other places: tcp_recv, tcp_sent, tcp_err, tcp_poll, tcp_accept
The text was updated successfully, but these errors were encountered:
I've upgraded to 2.4.0-rc2 because it is supposed to have the KRAK WPA2 vulnerability fix.
Unfortunately, it seems like err_t may have gone from an int8_t to an int32_t -- You can see this in the diffs to the Arduino/esp8266 sdk here, where
LWIP_ERR_T
is defined tos32_t
:esp8266/Arduino@e049032#diff-171efba17be7978e6f6c00ab1b100ae0
err_t seems hard-coded in ESPAsyncTCP to an
int32_t
I tried my hand at brute forcing the change, but so far just panics from my dev board, so I'm guessing I'm missing something somewhere. I'll continue to play and if I get something that works, I'll report back.
Update: Just a copy of the errors seems when compiling. Emphasis on where the function prototype differ.
ESPAsyncTCP.cpp: In constructor 'AsyncClient::AsyncClient(tcp_pcb*)':
ESPAsyncTCP.cpp:77:28: error: invalid conversion from
'int8_t ()(void, tcp_pcb*, pbuf*, int8_t) {aka signed char ()(void, tcp_pcb*, pbuf*, signed char)}'
to
'tcp_recv_fn {aka long int ()(void, tcp_pcb*, pbuf*, long int)}' [-fpermissive]
tcp_recv(_pcb, &_s_recv);
Other functions that also show similar errors in other places: tcp_recv, tcp_sent, tcp_err, tcp_poll, tcp_accept
The text was updated successfully, but these errors were encountered: