Home | History | Annotate | Download | only in tools

Lines Matching refs:sess

755 static int set_attrib(sdp_session_t *sess, uint32_t handle, uint16_t attrib, char *value)
764 rec = sdp_service_attr_req(sess, handle, SDP_ATTR_REQ_RANGE, attrid_list);
801 ret = sdp_device_record_update(sess, &interface, rec);
825 sdp_session_t *sess;
848 sess = sdp_connect(BDADDR_ANY, BDADDR_LOCAL, 0);
849 if (!sess)
852 status = set_attrib(sess, handle, attrib, argv[2]);
853 sdp_close(sess);
964 sdp_session_t *sess;
990 sess = sdp_connect(BDADDR_ANY, BDADDR_LOCAL, 0);
991 if (!sess)
994 status = set_attribseq(sess, handle, attrib, argc, argv);
995 sdp_close(sess);
3504 int (*add)(sdp_session_t *sess, svc_info_t *si);
3567 sdp_session_t *sess;
3573 sess = sdp_connect(&interface, BDADDR_LOCAL, SDP_RETRY_IF_BUSY);
3574 if (!sess)
3580 ret = service[i].add(sess, si);
3588 sdp_close(sess);
3664 sdp_session_t *sess;
3672 sess = sdp_connect(&interface, BDADDR_LOCAL, SDP_RETRY_IF_BUSY);
3673 if (!sess) {
3680 rec = sdp_service_attr_req(sess, handle, SDP_ATTR_REQ_RANGE, attr);
3685 sdp_close(sess);
3689 if (sdp_device_record_unregister(sess, &interface, rec)) {
3691 sdp_close(sess);
3696 sdp_close(sess);
3765 sdp_session_t *sess;
3772 sess = sdp_connect(&interface, bdaddr, SDP_RETRY_IF_BUSY);
3774 if (!sess) {
3788 if (sdp_service_search_attr_req(sess, search, SDP_ATTR_REQ_RANGE, attrid, &seq)) {
3790 sdp_close(sess);
3833 sdp_close(sess);