This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SPP_Register_SDP_Record



I'm trying to oper 2 servers as the SDD demo example.

The 1st server is opened successfully and the second is failed when calling the function SPP_Register_SDP_Record.

It returns -1 error code = BTPS_ERROR_INVALID_PARAMETER.

                                                                ret_val = SPP_Register_SDP_Record(BluetoothStackID, //The ID received when stack is opened and used many times before.

                                                                                                _s_port[port].ServerPortID, //return value of SPP_Open_Server_Port

                                                                                                NULL,

                                                                                                (char *)service_name[port], //a pointer to a string.

                                                                                                &_s_port[port].SPPServerSDPHandle);//pointer to DWord_t 

  • Hi,

    I guess you mean the SPPDemo example.

    Please use the OpenServer() function for each Server.
    The function calls to SPP_Register_Generic_SDP_Record() for each new Server.

    Thanks for posting on TI E2E forum. We appreciate your feedback!
    Doron Keren