Home | History | Annotate | Download | only in src

Lines Matching refs:btif_cb

523     btif_gatts_cb_t btif_cb;
524 memcpy(&btif_cb.uuid, uuid, sizeof(bt_uuid_t));
526 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL);
532 btif_gatts_cb_t btif_cb;
533 btif_cb.server_if = (uint8_t) server_if;
535 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL);
542 btif_gatts_cb_t btif_cb;
543 btif_cb.server_if = (uint8_t) server_if;
544 btif_cb.is_direct = is_direct ? 1 : 0;
545 btif_cb.transport = (btgatt_transport_t)transport;
546 bdcpy(btif_cb.bd_addr.address, bd_addr->address);
548 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL);
554 btif_gatts_cb_t btif_cb;
555 btif_cb.server_if = (uint8_t) server_if;
556 btif_cb.conn_id = (uint16_t) conn_id;
557 bdcpy(btif_cb.bd_addr.address, bd_addr->address);
559 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL);
566 btif_gatts_cb_t btif_cb;
567 btif_cb.server_if = (uint8_t) server_if;
568 btif_cb.num_handles = (uint8_t) num_handles;
569 memcpy(&btif_cb.srvc_id, srvc_id, sizeof(btgatt_srvc_id_t));
571 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL);
578 btif_gatts_cb_t btif_cb;
579 btif_cb.server_if = (uint8_t) server_if;
580 btif_cb.srvc_handle = (uint16_t) service_handle;
581 btif_cb.incl_handle = (uint16_t) included_handle;
583 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL);
591 btif_gatts_cb_t btif_cb;
592 btif_cb.server_if = (uint8_t) server_if;
593 btif_cb.srvc_handle = (uint16_t) service_handle;
594 btif_cb.properties = (uint8_t) properties;
595 btif_cb.permissions = (uint16_t) permissions;
596 memcpy(&btif_cb.uuid, uuid, sizeof(bt_uuid_t));
598 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL);
605 btif_gatts_cb_t btif_cb;
606 btif_cb.server_if = (uint8_t) server_if;
607 btif_cb.srvc_handle = (uint16_t) service_handle;
608 btif_cb.permissions = (uint16_t) permissions;
609 memcpy(&btif_cb.uuid, uuid, sizeof(bt_uuid_t));
611 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL);
617 btif_gatts_cb_t btif_cb;
618 btif_cb.server_if = (uint8_t) server_if;
619 btif_cb.srvc_handle = (uint16_t) service_handle;
620 btif_cb.transport = (uint8_t) transport;
622 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL);
628 btif_gatts_cb_t btif_cb;
629 btif_cb.server_if = (uint8_t) server_if;
630 btif_cb.srvc_handle = (uint16_t) service_handle;
632 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL);
638 btif_gatts_cb_t btif_cb;
639 btif_cb.server_if = (uint8_t) server_if;
640 btif_cb.srvc_handle = (uint16_t) service_handle;
642 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL);
649 btif_gatts_cb_t btif_cb;
650 btif_cb.server_if = (uint8_t) server_if;
651 btif_cb.conn_id = (uint16_t) conn_id;
652 btif_cb.attr_handle = attribute_handle;
653 btif_cb.confirm = confirm;
654 btif_cb.len = len;
655 memcpy(btif_cb.value, p_value, len > BTGATT_MAX_ATTR_LEN ? BTGATT_MAX_ATTR_LEN : len);
657 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL);
664 btif_gatts_cb_t btif_cb;
665 btif_cb.conn_id = (uint16_t) conn_id;
666 btif_cb.trans_id = (uint32_t) trans_id;
667 btif_cb.status = (uint8_t) status;
668 memcpy(&btif_cb.response, response, sizeof(btgatt_response_t));
670 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL);