506 Commits

Author SHA1 Message Date
25a9c26df3 fix(socket_mt): disable real "shutdown" function
internal: b3e8a313
2018-03-26 10:39:04 +08:00
408104dca7 fix(lwip): fix github issues !155
internal: bca36eac
2018-03-26 10:38:04 +08:00
132f5fc51e fix(wps): Fix connect issue for ELECON router
internal: 21231a28
2018-03-26 10:35:39 +08:00
ba7dc94ce7 fix(wifi): Fix wrong behavior of wifi set macaddr
Don't connect ap when set station MAC, if station is disconnected

internal: 33087cb3
2018-03-26 10:34:57 +08:00
0186f47021 fix(nopoll): Fix some bug in nopoll library
internal: 908086ce
2018-03-26 10:32:16 +08:00
8ca60951d1 feat(openssl): Add ssl_pm_extend.c for nopoll
internal: 6b04f825
2018-03-26 10:30:28 +08:00
7d17a9e33f feat(wifi): Change pm task's priority to MAX - 4
If lwip task sends too much packets, like throughput test, pm task will not be trigged.
WiFi tx buffers will not be freed normally, and throughput will be dropped down.

internal: dfd88572
2018-03-26 10:28:08 +08:00
6b6dc03b94 fix(espnow): Fix wdt when call espnow delete
internal: e2365454
v2.0.0-rc1
2018-03-12 20:45:42 +08:00
c4c62b2a8a fix(system): Fix wdt crash issue
1. only lock nmi in soft isr;
2. simplify PendSV;
3. more log info when wdt happen;
4. Fix nmi reentried issue;
5. Add some protection code;

internal: 5c208f68
2018-03-12 16:36:18 +08:00
c303b0a0ee fix(wifi): Fix the fail of scan ap when change policy from manual to auto
internal: 83c175e9
2018-03-12 16:33:22 +08:00
4556619d0b fix(lwip): Fix socket shutdown blocking issue
internal: 85fb56d0
2018-03-12 16:32:38 +08:00
87bc754bc0 fix(wifi): Fix pp global value destruction
This will lead to wifi tx/rx status wrong which will cause such as LmacRxBlk:0 error.

internal: 09790999
2018-03-12 16:31:19 +08:00
b7499225bf feat(wifi): Add output pbuf fail check
internal: 22092e27
2018-03-12 16:30:03 +08:00
d3da60eb03 fix(wifi): Add some pbuf_alloc fail check
internal: 97a427de
2018-03-12 16:29:15 +08:00
a35b913da4 feat(system): Show stack info when exception occur
internal: 8e9ba7c8
2018-03-12 16:27:59 +08:00
e8b824eb1c fix(lwip): Fix lwip multi-thread issue
internal: e7c378b6
2018-03-12 16:27:09 +08:00
d941ccb4eb feat(wifi): Support stations' packets forward in softap mode
internal: 60f57ec1
2018-03-12 16:24:15 +08:00
d2a8d35487 feat(wifi): Add country code API
internal: a6313782
2018-02-13 19:37:38 +08:00
45026e0780 fix(wifi): Fix the bug that scan hidden AP failed
internal: 3ef5b2a9
2018-02-13 19:36:44 +08:00
d8b8a20c05 feat(ld): Export low level function address
In rom, these functions are wrapped, modify to use these functions directly.

internal: 45cbd694
2018-02-13 19:35:57 +08:00
340b0a234e fix(lwip): Fix contains more than one tcp pbuf single tx packet
Fix TX exist more pbufs after enable LWIP_NETIF_TX_SINGLE_PBUF.

internal: 3d5f33f0
2018-02-13 19:35:16 +08:00
9416bcb821 fix(lwip): Fix lwip slow timer delay more than one second
Fix lwip fast/slow timer is not accurate

internal: 02bcdf5d
2018-02-13 19:34:10 +08:00
9ac70b013d fix(lwip): Fix mss_local is always subtract the IPv6 header size
Fix tcp max buf size is always 1440(tw18147)

internal: 3f736959
2018-02-13 19:30:55 +08:00
379e4d7447 feat(wifi): Update wifi scan to support passive & active scan
internal: 3cb655c7
2018-02-13 19:29:52 +08:00
af08298de9 fix(wifi): fix wifi scan cannot be triggered when wifi is connected
internal: 2123936a
2018-02-13 19:28:42 +08:00
fe558a9825 fix(smartconfig): Fix short of scan time in smartconfig parameters set
internal: 51d31509
2018-01-08 10:44:09 +08:00
46e208bdc4 fix(wifi): Fix wifi tx error issue
wifi tx buffer should not be in iRAM.

internal: 61bf6590
2018-01-08 10:43:21 +08:00
db4e3d8fcd feat(system): Update version to 2.0
internal: acd095fd
2018-01-08 10:42:27 +08:00
8a42a3a634 fix(system): Fix deep sleep crash issue
github !138

internal: 38b40579
2018-01-08 10:41:42 +08:00
ffcb3dba5a feat(wifi): Add keep connection for station to keep connection with AP
internal: afd0e281
2018-01-08 10:40:53 +08:00
c98675f2fd feat(wifi): Record more information of scanned ap
internal: f62d897c
2018-01-08 10:40:03 +08:00
4b6056fe1c feat(wifi): Save PMK into flash
internal: 163f17a9
2018-01-08 10:38:51 +08:00
25de141e64 fix(multi-sockets): Fix multi-clients connection abnormal
select() should not judge socket fd just SHUTDOWN state when other socket closed actively
those socket will be in unreadable or unwriteable

abnormal step before:[ESP8266 as the tcp server]
1. ESP8266 set up a listen port (system default: socket = 0)
2. Client 1 connect to ESP8266 OK (system default: socket = 1)
3. Client 1 send data OK
4. Client 2 connect to ESP8266 OK (system default: socket = 2)
5. Client 1 and Client 2 send data OK
6. Disconnect Client 2 actively, Client 1 send data OK
7. Client 2 reconnect to ESP8266 OK (system default: socket = 2)
8. Client 1 and Client 2 send data OK
9. Disconnect Client 1 actively, select() API will return -1
    if Client 2 send data at this time, tcp server will not work

internal: 7c50f410
2018-01-08 10:30:45 +08:00
e929eef26e feat(example): Add mqtt client demo
internal: 6f953538
2018-01-08 10:28:56 +08:00
db463cb987 feat(mqtt): Add paho mqtt to third_party
internal: 0d398ac6
2018-01-08 10:25:01 +08:00
436a668aac feat(example): Add openssl client demo
internal: 68e12fc3
2018-01-08 10:21:51 +08:00
31383990e2 feat(example): Add openssl server demo
internal: 9c54c474
2018-01-08 10:20:42 +08:00
eb91560c0c feat(lib): Use gcc to compile all internal libs
internal: 56cc1b69
2017-12-29 17:14:07 +08:00
3577acc9b8 feat(mesh): Remove mesh support
We will only support wifi mesh in esp32.

internal: 84ce7c72
2017-12-26 21:09:10 +08:00
2e89983282 feat(system): Provide more heap region (16KB+)
1. Change cache size from 32KB to 16KB, reverse this 16KB region as heap;
2. New heap to support seperate heap region;
3. Modify pvPortMalloc, support to choose malloc in iram;
4. Add new macro os_malloc_iram to malloc in iram;
5. Default malloc will malloc in iram firstly;

Limitation:
1. Don't malloc task stack in iram;
2. Dont't use iram buffer as wifi tx buffer;

If possible, use all of iram heap region firstly.

internal : 2d3fbebb
2017-12-08 14:02:57 +08:00
b6ddeca472 feat(ld): Put rodata in libplatforms.a into flash by default
internal: c7b64043
2017-10-24 14:09:29 +08:00
7afbd85ed1 fix(wifi): Remove group key entry before connecting to AP
internal: 446e1fe2
2017-10-23 18:07:46 +08:00
2fab9e23d7 fix(wpa): Fix wpa wpa2 ptk/gtk reinstallation vulnerability
internal: 0a3ac22a
2017-10-13 15:30:04 +08:00
802390060e feat(wifi): Add vendor ie API description
internal: 45cf72a6
2017-08-30 18:38:36 +08:00
854acab56c feat(espconn): Add espconn source code
internal: b36d3ed7
2017-08-25 20:13:17 +08:00
7fbd498a3c feat(lwip): Rebind UDP pcb when IP changed
1. Rebind the UDP pcb, which originally bind to non-zero IPv4 address, to
   the new IPv4 address when the IPv4 address of related netif is changed.
2. Rebind the TCP pcb, which is in listening status, to the new IPv4 address
   when IPv4 address of related netif is changed.

Notice: Recompile some related libs due to netif.h changed.

internal: f194dd34
2017-08-25 12:14:33 +08:00
e0f5e219ea feat(system): Improve spi flash dio-to-qio mode functions
1. modify flash user command function
2. add feature to distinguish EN25QH16A/B flash chips.
3. add dio-to-qio driver for EN25QH16B flash, designed for ESP8266-SIP chips.
4. modify flash disable-write-protect functions.

internal: 61f138b6
2017-08-25 09:29:22 +08:00
464709060e feat(wifi): Add vendor ie API description
internal: 6723fb84
2017-08-24 11:07:33 +08:00
8a05097c25 bugfix(pp): Fix group key update error
internal: ffe44e2d
2017-08-04 18:05:56 +08:00
ea99adf0ca fix(mbedtls): Fixing up the ECP memory leak
internal: 20a9b5f2
2017-08-04 10:25:21 +08:00