Ejemplo n.º 1
0
 BluetopiaError IBluetopiaApi.SPP_Register_SDP_Record(uint BluetoothStackID, uint SerialPortID,
                                                      ref Structs.SPP_SDP_Service_Record SDPServiceRecord,
                                                      byte[] ServiceNameUtf8, out uint SDPServiceRecordHandle)
 {
     return(NativeMethods.SPP_Register_SDP_Record(BluetoothStackID, SerialPortID,
                                                  ref SDPServiceRecord,
                                                  ServiceNameUtf8, out SDPServiceRecordHandle));
 }
Ejemplo n.º 2
0
        BluetopiaError IBluetopiaApi.SPP_Register_SDP_Record(uint BluetoothStackID, uint SerialPortID,
                                                             ref Structs.SPP_SDP_Service_Record SDPServiceRecord,
                                                             byte[] ServiceNameUtf8, out uint SDPServiceRecordHandle)
        {
#if true
            SDPServiceRecordHandle = 0;
            return(BluetopiaError.UNSUPPORTED_PLATFORM_ERROR);
#else
            NativeMethods.My2_SPP_Register_SDP_Record(BluetoothStackID,
                                                      SerialPortID, ref SDPServiceRecord, ServiceNameUtf8, out SDPServiceRecordHandle);
            return(BluetopiaError.OK);
#endif
        }
Ejemplo n.º 3
0
 internal static extern BluetopiaError My2_SPP_Register_SDP_Record(uint BluetoothStackID, uint SerialPortID,
                                                                   ref Structs.SPP_SDP_Service_Record SDPServiceRecord,
                                                                   byte[] ServiceNameUtf8, out uint SDPServiceRecordHandle);