MT2523 API Reference  LinkIt SDK v4

This section defines the server part API of the service discovery protocol, so that the user can add the customized records. More...

Overview

This section defines the server part API of the service discovery protocol, so that the user can add the customized records.

Terms and Acronyms

Terms Details
SDP Service Discovery Protocol. For more information, please refer to Wikipedia.
L2CAP Logical Link Control And Adaptation Protocol Specification. For more information, please refer to Wikipedia.
ATT Attribute Protocol. For more information, please refer to Wikipedia.
UUID Universally Unique Identifier. For more information, please refer to Wikipedia.
RFCOMM Radio Frequency Communications. For more information, please refer to Wikipedia.
OBEX Object exchange. For more information, please refer to Wikipedia.
SIM Subscriber identity module. For more information, please refer to Wikipedia.
URL Uniform resource locator. For more information, please refer to Wikipedia.

How to use this module

Functions

uint8_t bt_sdps_get_customized_record (const bt_sdps_record_t ***record_list)
 This is a user defined callback and called by the SDP. More...
 

Modules

 Define
 This section defines the macros for the SDP server.
 
 Struct
 This section defines the structures for the SDP server.
 

Function Documentation

uint8_t bt_sdps_get_customized_record ( const bt_sdps_record_t ***  record_list)

This is a user defined callback and called by the SDP.

It might be implemented by the application to provide the customized record and record number.

Parameters
[in]record_listis a pointer to the record list. If there is no customized record, the record_list should be NULL and return 0.
Returns
The record number.