SPP Server API

#include "src/classic/spp_server.h"

Create SPP SDP Records.

spp_create_sdp_record

void spp_create_sdp_record(uint8_t *service, uint32_t service_record_handle, int rfcomm_channel, const char *name);

Create SDP record for SPP service with official SPP Service Class

Parameters

Source


spp_create_custom_sdp_record

void spp_create_custom_sdp_record(uint8_t *service, uint32_t service_record_handle, const uint8_t * service_uuid128, int rfcomm_channel, const char *name);

Create SDP record for SPP service with custom service UUID (e.g. for use with Android)

Parameters

Source