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 }
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)); }
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; }
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); }
internal static extern int SPP_Open_Server_Port(uint BluetoothStackID, uint ServerPort, NativeMethods.SPP_Event_Callback SPP_Event_Callback, uint CallbackParameter);
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);