esp_sdp_create_record() function
This function is called to create SDP records. When the operation is completed, the callback function will be called with ESP_SDP_CREATE_RECORD_COMP_EVT. This function must be called after esp_sdp_init() successful and before esp_sdp_deinit().
Arguments
record
The SDP record to create.
Return value
- ESP_OK: success - other: failed
![]()
esp_err_t esp_sdp_create_record(esp_bluetooth_sdp_record_t *record)
esp_sdp_create_record() calls 3 functions:
![]()
esp_sdp_create_record()
esp_sdp_create_record() reads 8 variables and writes 4 variables:
![]()
esp_sdp_create_record()