コード例 #1
0
ファイル: NativeMethods.cs プロジェクト: zhubin-12/32feet
 /*
  * Set the profile descriptor list attribute of a record.
  *
  * Each element in the list is an object of type
  * sdp_profile_desc_t which is a definition of the
  * Bluetooth profile that this service conforms to.
  */
 int sdp_set_profile_descs(sdp_record_t *rec, const sdp_list_t *desc);
コード例 #2
0
ファイル: NativeMethods.cs プロジェクト: zhubin-12/32feet
/*
 * Set URL attributes of a record.
 *
 * ClientExecutableURL: a URL to a client's platform specific (WinCE,
 * PalmOS) executable code that can be used to access this service.
 *
 * DocumentationURL: a URL pointing to service documentation
 *
 * IconURL: a URL to an icon that can be used to represent this service.
 *
 * Note: pass NULL for any URLs that you don't want to set or remove
 */
        void sdp_set_url_attr(sdp_record_t *rec, const char *clientExecURL, const char *docURL, const char *iconURL);
コード例 #3
0
ファイル: NativeMethods.cs プロジェクト: zhubin-12/32feet
/*
 * Set the ServiceID attribute of a service.
 */
        void sdp_set_service_id(sdp_record_t *rec, uuid_t uuid);
コード例 #4
0
ファイル: NativeMethods.cs プロジェクト: zhubin-12/32feet
/*
 * Set the GroupID attribute of a service
 */
        void sdp_set_group_id(sdp_record_t *rec, uuid_t grouuuid);
コード例 #5
0
ファイル: NativeMethods.cs プロジェクト: zhubin-12/32feet
/*
 * Set the information attributes of the service record.
 * The set of attributes comprises service name, description
 * and provider name
 */
        void sdp_set_info_attr(sdp_record_t *rec, const char *name, const char *prov, const char *desc);
コード例 #6
0
ファイル: NativeMethods.cs プロジェクト: zhubin-12/32feet
/*
 * Set the LanguageBase attributes to the values specified in list
 * (a linked list of sdp_lang_attr_t objects, one for each language in
 * which user-visible attributes are present).
 */
        int sdp_set_lang_attr(sdp_record_t *rec, ref sdp_list_t list);
コード例 #7
0
ファイル: NativeMethods.cs プロジェクト: zhubin-12/32feet
/*
 * NOTE that none of the functions below will update the SDP server,
 * unless the {register, update}sdp_record_t() function is invoked.
 * All functions which return an integer value, return 0 on success
 * or -1 on failure.
 */

/*
 * Create an attribute and add it to the service record's attribute list.
 * This consists of the data type descriptor of the attribute,
 * the value of the attribute and the attribute identifier.
 */
        int sdp_attr_add_new(sdp_record_t *rec, uint16_t attr, uint8_t dtd, const void *p);
コード例 #8
0
ファイル: NativeMethods.cs プロジェクト: zhubin-12/32feet
 int sdp_set_uuidseq_attr(sdp_record_t *rec, uint16_t attr, sdp_list_t *seq);
コード例 #9
0
ファイル: NativeMethods.cs プロジェクト: zhubin-12/32feet
 void sdp_attr_replace(sdp_record_t *rec, uint16_t attr, sdp_data_t *data);
コード例 #10
0
ファイル: NativeMethods.cs プロジェクト: zhubin-12/32feet
 void sdp_attr_remove(sdp_record_t *rec, uint16_t attr);
コード例 #11
0
ファイル: NativeMethods.cs プロジェクト: zhubin-12/32feet
 int sdp_attr_add(sdp_record_t *rec, uint16_t attr, sdp_data_t *data);