Lines Matching refs:btif_cb
524 btif_gatts_cb_t btif_cb; in btif_gatts_register_app() local
525 memcpy(&btif_cb.uuid, uuid, sizeof(bt_uuid_t)); in btif_gatts_register_app()
527 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_register_app()
533 btif_gatts_cb_t btif_cb; in btif_gatts_unregister_app() local
534 btif_cb.server_if = (uint8_t) server_if; in btif_gatts_unregister_app()
536 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_unregister_app()
543 btif_gatts_cb_t btif_cb; in btif_gatts_open() local
544 btif_cb.server_if = (uint8_t) server_if; in btif_gatts_open()
545 btif_cb.is_direct = is_direct ? 1 : 0; in btif_gatts_open()
546 btif_cb.transport = (btgatt_transport_t)transport; in btif_gatts_open()
547 bdcpy(btif_cb.bd_addr.address, bd_addr->address); in btif_gatts_open()
549 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_open()
555 btif_gatts_cb_t btif_cb; in btif_gatts_close() local
556 btif_cb.server_if = (uint8_t) server_if; in btif_gatts_close()
557 btif_cb.conn_id = (uint16_t) conn_id; in btif_gatts_close()
558 bdcpy(btif_cb.bd_addr.address, bd_addr->address); in btif_gatts_close()
560 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_close()
567 btif_gatts_cb_t btif_cb; in btif_gatts_add_service() local
568 btif_cb.server_if = (uint8_t) server_if; in btif_gatts_add_service()
569 btif_cb.num_handles = (uint8_t) num_handles; in btif_gatts_add_service()
570 memcpy(&btif_cb.srvc_id, srvc_id, sizeof(btgatt_srvc_id_t)); in btif_gatts_add_service()
572 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_add_service()
579 btif_gatts_cb_t btif_cb; in btif_gatts_add_included_service() local
580 btif_cb.server_if = (uint8_t) server_if; in btif_gatts_add_included_service()
581 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_add_included_service()
582 btif_cb.incl_handle = (uint16_t) included_handle; in btif_gatts_add_included_service()
584 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_add_included_service()
592 btif_gatts_cb_t btif_cb; in btif_gatts_add_characteristic() local
593 btif_cb.server_if = (uint8_t) server_if; in btif_gatts_add_characteristic()
594 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_add_characteristic()
595 btif_cb.properties = (uint8_t) properties; in btif_gatts_add_characteristic()
596 btif_cb.permissions = (uint16_t) permissions; in btif_gatts_add_characteristic()
597 memcpy(&btif_cb.uuid, uuid, sizeof(bt_uuid_t)); in btif_gatts_add_characteristic()
599 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_add_characteristic()
606 btif_gatts_cb_t btif_cb; in btif_gatts_add_descriptor() local
607 btif_cb.server_if = (uint8_t) server_if; in btif_gatts_add_descriptor()
608 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_add_descriptor()
609 btif_cb.permissions = (uint16_t) permissions; in btif_gatts_add_descriptor()
610 memcpy(&btif_cb.uuid, uuid, sizeof(bt_uuid_t)); in btif_gatts_add_descriptor()
612 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_add_descriptor()
618 btif_gatts_cb_t btif_cb; in btif_gatts_start_service() local
619 btif_cb.server_if = (uint8_t) server_if; in btif_gatts_start_service()
620 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_start_service()
621 btif_cb.transport = (uint8_t) transport; in btif_gatts_start_service()
623 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_start_service()
629 btif_gatts_cb_t btif_cb; in btif_gatts_stop_service() local
630 btif_cb.server_if = (uint8_t) server_if; in btif_gatts_stop_service()
631 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_stop_service()
633 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_stop_service()
639 btif_gatts_cb_t btif_cb; in btif_gatts_delete_service() local
640 btif_cb.server_if = (uint8_t) server_if; in btif_gatts_delete_service()
641 btif_cb.srvc_handle = (uint16_t) service_handle; in btif_gatts_delete_service()
643 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_delete_service()
650 btif_gatts_cb_t btif_cb; in btif_gatts_send_indication() local
651 btif_cb.server_if = (uint8_t) server_if; in btif_gatts_send_indication()
652 btif_cb.conn_id = (uint16_t) conn_id; in btif_gatts_send_indication()
653 btif_cb.attr_handle = attribute_handle; in btif_gatts_send_indication()
654 btif_cb.confirm = confirm; in btif_gatts_send_indication()
655 btif_cb.len = len; in btif_gatts_send_indication()
656 memcpy(btif_cb.value, p_value, len > BTGATT_MAX_ATTR_LEN ? BTGATT_MAX_ATTR_LEN : len); in btif_gatts_send_indication()
658 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_send_indication()
665 btif_gatts_cb_t btif_cb; in btif_gatts_send_response() local
666 btif_cb.conn_id = (uint16_t) conn_id; in btif_gatts_send_response()
667 btif_cb.trans_id = (uint32_t) trans_id; in btif_gatts_send_response()
668 btif_cb.status = (uint8_t) status; in btif_gatts_send_response()
669 memcpy(&btif_cb.response, response, sizeof(btgatt_response_t)); in btif_gatts_send_response()
671 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_send_response()