Exemple #1
0
        int IBluetopiaApi.SPP_Open_Server_Port(uint BluetoothStackID, uint ServerPort,
                                               NativeMethods.SPP_Event_Callback SPP_Event_Callback, uint CallbackParameter)
        {
#if DEBUG
            return(0x12345);
#else
            return((int)BluetopiaError.UNSUPPORTED_PLATFORM_ERROR);
#endif
        }
Exemple #2
0
 int IBluetopiaApi.SPP_Open_Server_Port(uint BluetoothStackID, uint ServerPort,
                                        NativeMethods.SPP_Event_Callback SPP_Event_Callback, uint CallbackParameter)
 {
     return(NativeMethods.SPP_Open_Server_Port(BluetoothStackID, ServerPort,
                                               SPP_Event_Callback, CallbackParameter));
 }
Exemple #3
0
 int IBluetopiaApi.SPP_Open_Remote_Port(uint BluetoothStackID, Int64 BD_ADDR, uint ServerPort, NativeMethods.SPP_Event_Callback SPP_Event_Callback, uint CallbackParameter)
 {
     return(NativeMethods.SPP_Open_Remote_Port(BluetoothStackID, BD_ADDR, ServerPort,
                                               SPP_Event_Callback, CallbackParameter));
 }
 internal BluetopiaRfcommStream(BluetopiaFactory factory)
 {
     Debug.Assert(factory != null, "factory NULL");
     _fcty         = factory;
     _callbackAAAA = HandleSPP_Event_Callback;
 }
Exemple #5
0
 int IBluetopiaApi.SPP_Open_Remote_Port(uint BluetoothStackID, Int64 BD_ADDR, uint ServerPort, NativeMethods.SPP_Event_Callback SPP_Event_Callback, uint CallbackParameter)
 {
     return((int)BluetopiaError.UNSUPPORTED_PLATFORM_ERROR);
 }
Exemple #6
0
 internal static extern int SPP_Open_Server_Port(uint BluetoothStackID, uint ServerPort,
                                                 NativeMethods.SPP_Event_Callback SPP_Event_Callback, uint CallbackParameter);
Exemple #7
0
 internal static extern int SPP_Open_Remote_Port(uint BluetoothStackID,
                                                 BD_ADDR_BY_VALUE BD_ADDR, uint ServerPort,
                                                 NativeMethods.SPP_Event_Callback SPP_Event_Callback, uint CallbackParameter);