Home
last modified time | relevance | path

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 Dgenie_storage.c339 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 Dgenie_bin_cmds.c157 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 Dgenie_at.c635 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 Dble_mesh_default_config.h108 #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 Daccess.h183 ….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 Dbt_mesh_opt.h6 #define CONFIG_BT_MESH_MODEL_GROUP_COUNT 2 macro
/AliOS-Things-master/components/ble_mesh/
A DREADME.md44 | CONFIG_BT_MESH_MODEL_GROUP_COUNT | 1 | 默认Model可绑定组地址数量为1 |
A Dbt_defconfig84 CONFIG_BT_MESH_MODEL_GROUP_COUNT=2
A Dbt_preconfig113 CONFIG_BT_MESH_MODEL_GROUP_COUNT=2
/AliOS-Things-master/components/ble_host/
A Dbt_defconfig84 CONFIG_BT_MESH_MODEL_GROUP_COUNT=2
A Dbt_preconfig113 CONFIG_BT_MESH_MODEL_GROUP_COUNT=2
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/
A Dnet.h319 extern u16_t g_sub_list[CONFIG_BT_MESH_MODEL_GROUP_COUNT];
/AliOS-Things-master/components/ble_mesh/bt_shell/bt_mesh/
A Dshell.c1640 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 Daccess.c394 for (i = 0; i < CONFIG_BT_MESH_MODEL_GROUP_COUNT; i++) { in bt_mesh_model_find_group()
A Dnet.c87 u16_t g_sub_list[CONFIG_BT_MESH_MODEL_GROUP_COUNT];
A Dsettings.c1471 u16_t groups[CONFIG_BT_MESH_MODEL_GROUP_COUNT]; in store_pending_mod_sub()
A Dcfg_srv.c1655 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