Lines Matching refs:net

66 } net = {  variable
368 net.net_idx = net_idx, net.local = addr; in prov_complete()
369 net.dst = addr; in prov_complete()
376 net.net_idx = net_idx, net.local = addr; in genie_prov_complete_notify()
377 net.dst = addr; in genie_prov_complete_notify()
981 err = bt_mesh_cfg_comp_data_get(net.net_idx, net.dst, page, &status, &comp); in cmd_get_comp()
993 printf("Got Composition Data for 0x%04x:\n", net.dst); in cmd_get_comp()
1048 printf("Destination address: 0x%04x%s\n", net.dst, net.dst == net.local ? " (local)" : ""); in cmd_dst()
1053 net.dst = net.local; in cmd_dst()
1055 net.dst = strtoul(argv[1], NULL, 0); in cmd_dst()
1058 … printf("Destination address set to 0x%04x%s\n", net.dst, net.dst == net.local ? " (local)" : ""); in cmd_dst()
1065 printf("NetIdx: 0x%04x\n", net.net_idx); in cmd_netidx()
1069 net.net_idx = strtoul(argv[1], NULL, 0); in cmd_netidx()
1070 printf("NetIdx set to 0x%04x\n", net.net_idx); in cmd_netidx()
1077 printf("AppIdx: 0x%04x\n", net.app_idx); in cmd_appidx()
1081 net.app_idx = strtoul(argv[1], NULL, 0); in cmd_appidx()
1082 printf("AppIdx set to 0x%04x\n", net.app_idx); in cmd_appidx()
1092 .net_idx = net.net_idx, in cmd_net_send()
1093 .addr = net.dst, in cmd_net_send()
1094 .app_idx = net.app_idx, in cmd_net_send()
1099 .src = net.local, in cmd_net_send()
1101 .sub = bt_mesh_subnet_get(net.net_idx), in cmd_net_send()
1111 printf("No matching subnet for NetKey Index 0x%04x\n", net.net_idx); in cmd_net_send()
1175 err = bt_mesh_cfg_beacon_get(net.net_idx, net.dst, &status); in cmd_beacon()
1179 err = bt_mesh_cfg_beacon_set(net.net_idx, net.dst, val, &status); in cmd_beacon()
1198 err = bt_mesh_cfg_ttl_get(net.net_idx, net.dst, &ttl); in cmd_ttl()
1202 err = bt_mesh_cfg_ttl_set(net.net_idx, net.dst, val, &ttl); in cmd_ttl()
1221 err = bt_mesh_cfg_friend_get(net.net_idx, net.dst, &frnd); in cmd_friend()
1225 err = bt_mesh_cfg_friend_set(net.net_idx, net.dst, val, &frnd); in cmd_friend()
1244 err = bt_mesh_cfg_gatt_proxy_get(net.net_idx, net.dst, &proxy); in cmd_gatt_proxy()
1248 err = bt_mesh_cfg_gatt_proxy_set(net.net_idx, net.dst, val, &proxy); in cmd_gatt_proxy()
1267 err = bt_mesh_cfg_relay_get(net.net_idx, net.dst, &relay, &transmit); in cmd_relay()
1290 err = bt_mesh_cfg_relay_set(net.net_idx, net.dst, val, new_transmit, &relay, &transmit); in cmd_relay()
1326 err = bt_mesh_cfg_net_key_add(net.net_idx, net.dst, key_net_idx, key_val, &status); in cmd_net_key_add()
1587 err = bt_mesh_cfg_app_key_add(net.net_idx, net.dst, key_net_idx, key_app_idx, key_val, &status); in cmd_app_key_add()
1619 …err = bt_mesh_cfg_mod_app_bind_vnd(net.net_idx, net.dst, elem_addr, mod_app_idx, mod_id, cid, &sta… in cmd_mod_app_bind()
1621 … err = bt_mesh_cfg_mod_app_bind(net.net_idx, net.dst, elem_addr, mod_app_idx, mod_id, &status); in cmd_mod_app_bind()
1658 err = bt_mesh_cfg_mod_sub_get(net.net_idx, addr, mod_id, sub_addr, &status); in cmd_mod_sub_get()
1660 err = bt_mesh_cfg_mod_sub_get_vnd(net.net_idx, addr, mod_id, cid, sub_addr, &status); in cmd_mod_sub_get()
1702 …err = bt_mesh_cfg_mod_sub_add_vnd(net.net_idx, net.dst, elem_addr, sub_addr, mod_id, cid, &status); in cmd_mod_sub_add()
1704 err = bt_mesh_cfg_mod_sub_add(net.net_idx, net.dst, elem_addr, sub_addr, mod_id, &status); in cmd_mod_sub_add()
1737 …err = bt_mesh_cfg_mod_sub_del_vnd(net.net_idx, net.dst, elem_addr, sub_addr, mod_id, cid, &status); in cmd_mod_sub_del()
1739 err = bt_mesh_cfg_mod_sub_del(net.net_idx, net.dst, elem_addr, sub_addr, mod_id, &status); in cmd_mod_sub_del()
1777 …err = bt_mesh_cfg_mod_sub_va_add_vnd(net.net_idx, net.dst, elem_addr, label, mod_id, cid, &sub_add… in cmd_mod_sub_add_va()
1779 …err = bt_mesh_cfg_mod_sub_va_add(net.net_idx, net.dst, elem_addr, label, mod_id, &sub_addr, &statu… in cmd_mod_sub_add_va()
1817 …err = bt_mesh_cfg_mod_sub_va_del_vnd(net.net_idx, net.dst, elem_addr, label, mod_id, cid, &sub_add… in cmd_mod_sub_del_va()
1819 …err = bt_mesh_cfg_mod_sub_va_del(net.net_idx, net.dst, elem_addr, label, mod_id, &sub_addr, &statu… in cmd_mod_sub_del_va()
2221 err = bt_mesh_cfg_mod_pub_get(net.net_idx, net.dst, addr, mod_id, &pub, &status); in mod_pub_get()
2223 err = bt_mesh_cfg_mod_pub_get_vnd(net.net_idx, net.dst, addr, mod_id, cid, &pub, &status); in mod_pub_get()
2280 err = bt_mesh_cfg_mod_pub_set(net.net_idx, net.dst, addr, mod_id, &pub, &status); in mod_pub_set()
2282 err = bt_mesh_cfg_mod_pub_set_vnd(net.net_idx, net.dst, addr, mod_id, cid, &pub, &status); in mod_pub_set()
2350 err = bt_mesh_cfg_hb_sub_get(net.net_idx, net.dst, &sub, &status); in hb_sub_get()
2376 err = bt_mesh_cfg_hb_sub_set(net.net_idx, net.dst, &sub, &status); in hb_sub_set()
2411 err = bt_mesh_cfg_hb_pub_get(net.net_idx, net.dst, &pub, &status); in hb_pub_get()
2443 err = bt_mesh_cfg_hb_pub_set(net.net_idx, net.dst, &pub, &status); in hb_pub_set()
2480 err = bt_mesh_cfg_ctrl_relay_get(net.net_idx, net.dst, &cr, &status); in ctrl_relay_get()
2511 err = bt_mesh_cfg_ctrl_relay_set(net.net_idx, net.dst, &cr, &status); in ctrl_relay_set()
2670 …err = bt_mesh_health_fault_get(net.net_idx, net.dst, net.app_idx, cid, &test_id, faults, &fault_co… in cmd_fault_get()
2696 …err = bt_mesh_health_fault_clear(net.net_idx, net.dst, net.app_idx, cid, &test_id, faults, &fault_… in cmd_fault_clear()
2718 err = bt_mesh_health_fault_clear(net.net_idx, net.dst, net.app_idx, cid, NULL, NULL, NULL); in cmd_fault_clear_unack()
2743 …err = bt_mesh_health_fault_test(net.net_idx, net.dst, net.app_idx, cid, test_id, faults, &fault_co… in cmd_fault_test()
2767 err = bt_mesh_health_fault_test(net.net_idx, net.dst, net.app_idx, cid, test_id, NULL, NULL); in cmd_fault_test_unack()
2781 err = bt_mesh_health_period_get(net.net_idx, net.dst, net.app_idx, &divisor); in cmd_period_get()
2803 err = bt_mesh_health_period_set(net.net_idx, net.dst, net.app_idx, divisor, &updated_divisor); in cmd_period_set()
2825 err = bt_mesh_health_period_set(net.net_idx, net.dst, net.app_idx, divisor, NULL); in cmd_period_set_unack()
2839 err = bt_mesh_health_attention_get(net.net_idx, net.dst, net.app_idx, &attention); in cmd_attention_get()
2861 …err = bt_mesh_health_attention_set(net.net_idx, net.dst, net.app_idx, attention, &updated_attentio… in cmd_attention_set()
2883 err = bt_mesh_health_attention_set(net.net_idx, net.dst, net.app_idx, attention, NULL); in cmd_attention_set_unack()