Skip to content

Commit bb41e41

Browse files
committed
Merge branch 'fix/ble_mesh_micellaneous_update' into 'master'
feat(ble_mesh): Fix/ble mesh micellaneous update Closes BLERP-1894 See merge request espressif/esp-idf!39466
2 parents ccda40d + ffdd4d6 commit bb41e41

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

components/bt/esp_ble_mesh/Kconfig.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ if BLE_MESH
485485
int "Maximum capacity of solicitation replay protection list"
486486
depends on BLE_MESH_PROXY_SOLIC_PDU_RX
487487
default 2
488-
range 1 255
488+
range 1 65536
489489
help
490490
This option specifies the maximum capacity of the solicitation replay
491491
protection list. The solicitation replay protection list is used to

components/bt/esp_ble_mesh/lib/ext.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,17 +1175,17 @@ uint8_t *bt_mesh_ext_net_get_dev_key_ca(void)
11751175
return bt_mesh.dev_key_ca;
11761176
}
11771177

1178-
uint8_t bt_mesh_ext_net_get_rpl_count(void)
1178+
uint16_t bt_mesh_ext_net_get_rpl_count(void)
11791179
{
11801180
return ARRAY_SIZE(bt_mesh.rpl);
11811181
}
11821182

1183-
uint16_t bt_mesh_ext_net_get_rpl_src(uint8_t index)
1183+
uint16_t bt_mesh_ext_net_get_rpl_src(uint16_t index)
11841184
{
11851185
return bt_mesh.rpl[index].src;
11861186
}
11871187

1188-
void bt_mesh_ext_net_reset_rpl(uint8_t index)
1188+
void bt_mesh_ext_net_reset_rpl(uint16_t index)
11891189
{
11901190
memset(&bt_mesh.rpl[index], 0, sizeof(bt_mesh.rpl[index]));
11911191
}
@@ -3813,7 +3813,7 @@ void *bt_mesh_ext_brc_srv_get_bridge_table_entry(void *srv, uint8_t index)
38133813
#endif /* CONFIG_BLE_MESH_BRC_SRV */
38143814
}
38153815

3816-
void *bt_mesh_ext_brc_srv_get_bridge_rpl(uint8_t index)
3816+
void *bt_mesh_ext_brc_srv_get_bridge_rpl(uint16_t index)
38173817
{
38183818
#if CONFIG_BLE_MESH_BRC_SRV
38193819
return &bridge_rpl[index];
@@ -4584,7 +4584,7 @@ typedef struct {
45844584
uint16_t (*_bt_mesh_ext_sub_get_sbr_net_idx)(void *sub);
45854585
void (*_bt_mesh_ext_sub_set_sbr_net_idx)(void *sub, uint16_t sbr_net_idx);
45864586
void *(*_bt_mesh_ext_brc_srv_get_bridge_table_entry)(void *srv, uint8_t index);
4587-
void *(*_bt_mesh_ext_brc_srv_get_bridge_rpl)(uint8_t index);
4587+
void *(*_bt_mesh_ext_brc_srv_get_bridge_rpl)(uint16_t index);
45884588
/* CONFIG_BLE_MESH_BRC_SRV */
45894589

45904590
/* CONFIG_BLE_MESH_AGG_CLI */

0 commit comments

Comments
 (0)