Lines Matching +full:0 +full:x82

22 #define OP_ONOFF_GET       BT_MESH_MODEL_OP_2(0x82, 0x01)
23 #define OP_ONOFF_SET BT_MESH_MODEL_OP_2(0x82, 0x02)
24 #define OP_ONOFF_SET_UNACK BT_MESH_MODEL_OP_2(0x82, 0x03)
25 #define OP_ONOFF_STATUS BT_MESH_MODEL_OP_2(0x82, 0x04)
46 BT_MESH_HEALTH_PUB_DEFINE(health_pub, 0);
61 * 0: 100 ms
78 if (steps == 0x3f) { in model_time_decode()
88 return 0x3f; in model_time_encode()
91 for (int i = 0; i < ARRAY_SIZE(time_res); i++) { in model_time_encode()
101 return 0x3f; in model_time_encode()
144 onoff.transition_time = 0; in onoff_timeout()
158 return 0; in gen_onoff_get()
167 int32_t trans = 0; in gen_onoff_set_unack()
168 int32_t delay = 0; in gen_onoff_set_unack()
180 return 0; in gen_onoff_set_unack()
185 return 0; in gen_onoff_set_unack()
201 return 0; in gen_onoff_set_unack()
211 return 0; in gen_onoff_set()
215 { OP_ONOFF_GET, BT_MESH_LEN_EXACT(0), gen_onoff_get },
236 return 0; in gen_onoff_status()
241 return 0; in gen_onoff_status()
260 BT_MESH_ELEM(0, models, BT_MESH_MODEL_NONE),
277 return 0; in output_number()
305 .app_idx = models[3].keys[0], /* Use the bound key */ in gen_onoff_send()
348 addr = sys_get_le16(&dev_uuid[0]) & BIT_MASK(15); in button_pressed()
353 printk("Self-provisioning with address 0x%04x\n", addr); in button_pressed()
354 err = bt_mesh_provision(net_key, 0, 0, 0, addr, dev_key); in button_pressed()
361 err = bt_mesh_app_key_add(0, 0, app_key); in button_pressed()
370 models[2].keys[0] = 0; in button_pressed()
371 models[3].keys[0] = 0; in button_pressed()
412 if (err < 0) { in main()
413 dev_uuid[0] = 0xdd; in main()
414 dev_uuid[1] = 0xdd; in main()
422 return 0; in main()
432 return 0; in main()