lly
da0205b166
ble_mesh: Fixes Provisioner not support friend feature
2020-01-13 10:39:52 +08:00
lly
610fc8124a
ble_mesh: Fixes wrong subnet info used for Friend Clear
...
When Friend node tries to send Friend Clear message to other
Friend nodes, it should use the subnet information based on
the net_idx from friendship.
2020-01-13 10:39:42 +08:00
lly
21dbee1291
ble_mesh: fix provisioner failed to send msg to 0xFFFF
...
According to Mesh Spec 3.4.5.3, a node shall implement a local
network interface. And here we limit the situation just based
on the spec, and Provisioner directly sending the msg without
passing through the local network interface.
2020-01-13 10:39:37 +08:00
lly
e5431e55a9
ble_mesh: fix virtual addr wrong return value
...
Fixes missing return value on `va_del`
Fixes wrong return value on `va_add`
2020-01-13 10:39:28 +08:00
lly
4405560483
ble_mesh: Persistent storage of Virtual Address
...
The 16-bit format group addresses will be stored,
but we don't store (or restore) the virtual label UUIDs,
i.e. after a power cycle the 16-bit group addresses
would be meaningless.
2020-01-13 10:39:22 +08:00
lly
51616eacee
ble_mesh: Proxy forwards ALL_NODES addr
...
Unless explicitly blacklisted, the Proxy node will forward all messages
for the ALL_NODES address to the GATT proxy client.
2020-01-13 10:39:15 +08:00
lly
4aa7f31f02
ble_mesh: Model message macros
...
Creates macros for determining model message lengths based on opcode,
payload length and MIC size. Also adds macro wrapping
NET_BUF_SIMPLE_DEFINE to serve the most common use case.
2020-01-13 10:39:10 +08:00
lly
318f83e33a
ble_mesh: Use net_buf_simple_clone
...
Uses net_buf_simple_clone to access the sdu of an unsegmented app packet
for re-encryption.
2020-01-13 10:39:03 +08:00
lly
4bf2ceee4e
ble_mesh: Skip local messages in rx
...
Local messages are already enqueued for the LPN in the tx path, and
don't have to be added again in the rx path.
2020-01-13 10:38:59 +08:00
lly
a9c5092baf
ble_mesh: Ensure seqnum match in app/net
...
Re-encrypts single-segment application messages when the network seqnum
has changed, to avoid encrypting messages with different seqnums in
network and transport. This operation is only required for unsegmented
messages, as segmented messages don't need to use the same seqnum in
network.
Reinstates the special adv data for friend messages to store the app key
index.
2020-01-13 10:38:54 +08:00
lly
9e47e04897
ble_mesh: Expose app key get function
2020-01-13 10:38:48 +08:00
lly
ca0bfb84d0
ble_mesh: Expose header parsing outside net
2020-01-13 10:38:38 +08:00
lly
cc772c1324
ble_mesh: Remove unused macro FRIEND_BUF_SIZE
2020-01-13 10:38:31 +08:00
lly
c344a4a3b9
ble_mesh: Make RSSI value available to mesh applications
2020-01-13 10:38:26 +08:00
lly
32387250bc
ble_mesh: Encrypt friend packets on send
...
Stores friend queue packets unencrypted, removing any out-of-order
issues caused by seqnum allocation. Also moves as much of the metadata
storage as possible into the packet, allowing us to free up some bytes
of net_buf user data for friend packets.
2020-01-13 10:38:21 +08:00
lly
a870460f72
ble_mesh: Expose SeqZero mask
...
Makes a define for the seqzero 13-bit mask in transport, and exposes it
in the header for use in the friend module.
2020-01-13 10:38:15 +08:00
Ivan Grokhotkov
aa51829ec8
Merge branch 'bugfix/cmake_reflashable_build_targets_v4.0' into 'release/v4.0'
...
secure boot: Fix bootloader build system target for bootloader digest (v4.0)
See merge request espressif/esp-idf!7229
2020-01-09 15:56:08 +08:00
Angus Gratton
dcd735759e
Merge branch 'bugfix/mdns_deinit_event_crash_v4.0' into 'release/v4.0'
...
mdns: fixed crash on event during deinit (v4.0)
See merge request espressif/esp-idf!7246
2020-01-09 13:02:28 +08:00
Angus Gratton
a36bbd4e95
Merge branch 'bugfix/mdns_send_sdptr_answer_v4.0' into 'release/v4.0'
...
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp (v4.0)
See merge request espressif/esp-idf!7242
2020-01-09 13:01:11 +08:00
David Cermak
1f263434a6
mdns: fixed crash on event during deinit
...
mdns library deinitialization destroys internal structures including action queue. if an event (e.g. network update) received
after some essential stucture is destoyed, an unexpected behavour might be introduced (e.g. crash of adding the event notification
to the action queue which was already destroyed
Closes WIFI-1485
2020-01-08 10:27:30 +01:00
David Cermak
06cc4e888d
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp
...
Closes https://github.com/espressif/esp-idf/issues/4369
Closes IDFGH-2219
2020-01-08 10:21:28 +01:00
Xia Xiaotian
0a2371972a
Fix WiFi beacon timeout and station fails to connect to AP sometimes
...
when WiFi and Bluetooth run togerther.
2020-01-08 16:48:16 +08:00
Angus Gratton
e3d65c8e3e
Merge branch 'bugfix/ws_user_context_v4.0' into 'release/v4.0'
...
websocket: added missing event data (backport v4.0)
See merge request espressif/esp-idf!7195
2020-01-07 14:34:08 +08:00
Angus Gratton
6da2676a3c
secure boot: Fix bootloader build system target for bootloader digest
...
Closes https://github.com/espressif/esp-idf/issues/4513
2020-01-07 09:38:01 +11:00
Jack
2ea0062fe8
Fix wifi stop bug when sniffer enable
2020-01-04 15:25:09 +08:00
Angus Gratton
16e102199a
Merge branch 'bugfix/backport_nvs_iterator_fix' into 'release/v4.0'
...
NVS: iterator corrupting entries (backport v4.0)
See merge request espressif/esp-idf!7071
2020-01-03 13:07:20 +08:00
Marius Vikhammer
2215aeaad8
websocket: added missing event data
...
user_context was missing from websocket event data, added. Also added the websocket client handle to the event data.
Removed unused event data struct.
Closes: IDF-1271
2020-01-03 10:01:10 +08:00
Wang Jia Lin
51a1421f65
Merge branch 'bugfix/i2s_timergroup_dev_array_used_by_isr_issue' into 'release/v4.0'
...
bugfix(driver): fix i2s and timergroup some issues
See merge request espressif/esp-idf!7141
2020-01-02 21:20:21 +08:00
Jiang Jiang Jian
0cefe6df78
Merge branch 'bugfix/fix_a_wifi_rx_bug_v4.0' into 'release/v4.0'
...
esp_wifi: fix a WiFi receiving bug (backport v4.0)
See merge request espressif/esp-idf!7002
2020-01-02 16:30:04 +08:00
Angus Gratton
20e75ef87d
Merge branch 'feat/spi_internal_header_v4.0' into 'release/v4.0'
...
spi: move deprecated functions into internal header (backport v4.0)
See merge request espressif/esp-idf!7103
2020-01-02 02:16:18 +08:00
xiongyu
96a5e34d7a
bugfix(driver): fix i2s and timergroup some issues
...
* fix i2s and timergroup dev array used by isr crash issue
* Closes IDFGH-2432
* Closes https://github.com/espressif/esp-idf/issues/4545
* fix i2s adc data inv issue
* Closes IDFGH-2444
* Closes https://github.com/espressif/esp-idf/issues/4557
2019-12-31 11:02:35 +08:00
Jakob Hasse
daa2178f30
WIFI: added log for wifi test, increased timeout
2019-12-31 08:33:11 +08:00
Jakob Hasse
92b10b4ba3
NVS: bugfix nvs_set_str/blob checks write mode
2019-12-31 08:33:11 +08:00
Jakob Hasse
69b0919904
NVS: BUGFIX non-matching type iterator works
...
Closes IDFGH-2229
2019-12-31 08:33:11 +08:00
Piyush Shah
84029130cf
wifi_provisioning_softap: Allow applications to start webserver externally
...
If an application wants to use webserver, instead of creating another
webserver instance, the wifi provisioning manager can re-use the same.
The webserver handle can be passed using this new API.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2019-12-30 17:34:05 +05:30
baohongde
d93bff2699
components/bt: Revert changes of security mask
2019-12-29 06:29:23 +00:00
liu zhifu
0631d185bd
esp_wifi: fix a WiFi receiving bug
...
Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
2019-12-26 19:41:04 +08:00
Michael (XIAO Xufeng)
6f6677ac42
spi: move deprecated functions into internal header
...
Resolves https://github.com/espressif/esp-idf/issues/4132
2019-12-24 17:43:32 +08:00
Shubham Kulkarni
0e623d4dbf
esp32/rtc_module: Fixed critical section API
...
Application used to abort as portENTER_CRITICAL is used in ISR.
portENTER_CRITICAL is changed to portENTER_CRITICAL_SAFE in touch_pad_clear_status()
https://github.com/aws/amazon-freertos/issues/1651
2019-12-24 14:52:54 +05:30
Jiang Jiang Jian
d41c020649
Merge branch 'bugfix/fix_ble_mesh_adv_buf_unref_v4.0' into 'release/v4.0'
...
ble_mesh: Fix adv buf unref and link_id in exceptional list (v4.0)
See merge request espressif/esp-idf!7080
2019-12-22 16:02:24 +08:00
lly
53e6eb8467
ble_mesh: Fix using wrong name for PB-GATT
2019-12-20 17:13:20 +08:00
lly
ebaa3e1c3e
ble_mesh: Fix adv buf unref and link_id in exceptional list
2019-12-20 17:13:15 +08:00
lly
23770edb43
ble_mesh: Add unlock when failed to create alarm
2019-12-20 15:34:10 +08:00
lly
6ea738eeb0
ble_mesh: Rename ble mesh lock/unlock functions
...
Rename BLE Mesh internal lock/unlock functions, also seperate
the list, buf and atomic lock/unlock functions
2019-12-20 15:34:06 +08:00
lly
3e6d04fc86
ble_mesh: Use mutex to protect client list operations
2019-12-20 15:34:01 +08:00
lly
9dc45e788d
ble_mesh: Remove useless parameters of lock/unlock
2019-12-20 15:33:56 +08:00
lly
bf712e4f91
ble_mesh: Client model check timer remaining time
...
Before handling status message, client models need check if the
corresponding timer has expired. And if timeout happens, the
status message will be treated as a publish message.
2019-12-20 15:33:50 +08:00
Geng Yu Chao
f955c49423
Bugfix/btdm fix doc and host bug backport v4.0
2019-12-18 14:19:27 +08:00
Angus Gratton
1b15e6cf56
Merge branch 'bugfix/nvs_flash_missing_tests' into 'release/v4.0'
...
nvs: Added nvs tests, minor corrections (backport v4.0)
See merge request espressif/esp-idf!6987
2019-12-18 11:38:08 +08:00
Angus Gratton
1ad1e70077
Merge branch 'feature/can_support_low_bit_rates_backport_v4.0' into 'release/v4.0'
...
can: Add support for lower bit rates (backport v4.0)
See merge request espressif/esp-idf!6392
2019-12-18 07:46:06 +08:00