Searched refs:CONFIG_BT_MESH_MODEL_GROUP_COUNT (Results 1 – 17 of 17) sorted by relevance
/AliOS-Things-master/components/genie_service/core/src/ |
A D | genie_storage.c | 339 uint8_t data[CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2 + 2] = {0}; in genie_storage_write_sub() 341 memcpy(data, p_sub, CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2); in genie_storage_write_sub() 342 group_addr_crc = util_crc16_compute(data, CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2, &crc_magic); in genie_storage_write_sub() 343 memcpy(data + CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2, (unsigned char *)&group_addr_crc, 2); in genie_storage_write_sub() 345 return hal_flash_write_group_addr(data, CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2 + 2); in genie_storage_write_sub() 354 uint8_t data[CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2 + 2] = {0}; in genie_storage_read_sub() 356 if (0 != hal_flash_read_group_addr(data, CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2 + 2)) in genie_storage_read_sub() 362 group_addr_crc = util_crc16_compute(data, CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2, &crc_magic); in genie_storage_read_sub() 364 p_crc = data + CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2; in genie_storage_read_sub() 372 memcpy(p_sub, data, CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2); in genie_storage_read_sub()
|
A D | genie_bin_cmds.c | 157 uint8_t group_addr_list[CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2] = {0}; in genie_bin_cmd_update_group_addr() 159 if ((addr_len > CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2) || ((addr_len % 2) != 0)) in genie_bin_cmd_update_group_addr() 164 memset(group_addr_list, 0, CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2); in genie_bin_cmd_update_group_addr() 197 uint8_t group_addr_list[CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2] = {0}; in get_mesh_group_addr() 205 for (i = 0; i < CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2; i++) in get_mesh_group_addr()
|
A D | genie_at.c | 635 u16_t group_list[CONFIG_BT_MESH_MODEL_GROUP_COUNT] = {0}; in genie_at_cmd_mesh_group() 639 if (argc > (CONFIG_BT_MESH_MODEL_GROUP_COUNT + 1) || argc < 2) in genie_at_cmd_mesh_group() 670 u16_t group_list[CONFIG_BT_MESH_MODEL_GROUP_COUNT] = {0}; in genie_at_cmd_mesh_group_query() 687 for (int i = 0; i < CONFIG_BT_MESH_MODEL_GROUP_COUNT; i++) in genie_at_cmd_mesh_group_query()
|
/AliOS-Things-master/components/ble_mesh/configs/ |
A D | ble_mesh_default_config.h | 108 #ifndef CONFIG_BT_MESH_MODEL_GROUP_COUNT 109 #define CONFIG_BT_MESH_MODEL_GROUP_COUNT 1 macro
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/api/mesh/ |
A D | access.h | 183 ….pub = _pub, .groups = { [0 ...(CONFIG_BT_MESH_MODEL_GROUP_COUNT - 1)] = BT_MESH_ADDR_UNASSIGNED }… 191 .groups = { [0 ...(CONFIG_BT_MESH_MODEL_GROUP_COUNT - 1)] = BT_MESH_ADDR_UNASSIGNED }, \ 347 u16_t groups[CONFIG_BT_MESH_MODEL_GROUP_COUNT];
|
/AliOS-Things-master/hardware/board/haas200/config/ |
A D | bt_mesh_opt.h | 6 #define CONFIG_BT_MESH_MODEL_GROUP_COUNT 2 macro
|
/AliOS-Things-master/components/ble_mesh/ |
A D | README.md | 44 | CONFIG_BT_MESH_MODEL_GROUP_COUNT | 1 | 默认Model可绑定组地址数量为1 |
|
A D | bt_defconfig | 84 CONFIG_BT_MESH_MODEL_GROUP_COUNT=2
|
A D | bt_preconfig | 113 CONFIG_BT_MESH_MODEL_GROUP_COUNT=2
|
/AliOS-Things-master/components/ble_host/ |
A D | bt_defconfig | 84 CONFIG_BT_MESH_MODEL_GROUP_COUNT=2
|
A D | bt_preconfig | 113 CONFIG_BT_MESH_MODEL_GROUP_COUNT=2
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/ |
A D | net.h | 319 extern u16_t g_sub_list[CONFIG_BT_MESH_MODEL_GROUP_COUNT];
|
/AliOS-Things-master/components/ble_mesh/bt_shell/bt_mesh/ |
A D | shell.c | 1640 u16_t sub_addr[CONFIG_BT_MESH_MODEL_GROUP_COUNT], mod_id, cid, addr; in cmd_mod_sub_get() 1647 memset(sub_addr, 0, CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2); in cmd_mod_sub_get() 1674 for (index = 0; index < CONFIG_BT_MESH_MODEL_GROUP_COUNT; index++) { in cmd_mod_sub_get() 1681 memset(sub_addr, 0, CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2); in cmd_mod_sub_get()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | access.c | 394 for (i = 0; i < CONFIG_BT_MESH_MODEL_GROUP_COUNT; i++) { in bt_mesh_model_find_group()
|
A D | net.c | 87 u16_t g_sub_list[CONFIG_BT_MESH_MODEL_GROUP_COUNT];
|
A D | settings.c | 1471 u16_t groups[CONFIG_BT_MESH_MODEL_GROUP_COUNT]; in store_pending_mod_sub()
|
A D | cfg_srv.c | 1655 NET_BUF_SIMPLE_DEFINE(msg, 2 + 5 + 4 + CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2); in mod_sub_get() 1708 NET_BUF_SIMPLE_DEFINE(msg, 2 + 7 + 4 + CONFIG_BT_MESH_MODEL_GROUP_COUNT * 2); in mod_sub_get_vnd()
|
Completed in 38 milliseconds