예제 #1
0
 BluetopiaError IBluetopiaApi.HCI_Read_Local_Version_Information(uint BluetoothStackID,
                                                                 out StackConsts.HCI_ERROR_CODE StatusResult,
                                                                 out HciVersion HCI_VersionResult, out ushort HCI_RevisionResult,
                                                                 out LmpVersion LMP_VersionResult, out Manufacturer Manufacturer_NameResult, out ushort LMP_SubversionResult)
 {
     return(NativeMethods.HCI_Read_Local_Version_Information(BluetoothStackID,
                                                             out StatusResult, out HCI_VersionResult, out HCI_RevisionResult,
                                                             out LMP_VersionResult, out Manufacturer_NameResult, out LMP_SubversionResult));
 }
예제 #2
0
 //--
 #region HCIAPI.h
 BluetopiaError IBluetopiaApi.HCI_Read_Local_Version_Information(uint BluetoothStackID,
                                                                 out StackConsts.HCI_ERROR_CODE StatusResult,
                                                                 out HciVersion HCI_VersionResult, out ushort HCI_RevisionResult,
                                                                 out LmpVersion LMP_VersionResult, out Manufacturer Manufacturer_NameResult, out ushort LMP_SubversionResult)
 {
     StatusResult            = 0;
     HCI_VersionResult       = HciVersion.Unknown;
     LMP_VersionResult       = LmpVersion.Unknown;
     HCI_RevisionResult      = LMP_SubversionResult = 0xFFFF;
     Manufacturer_NameResult = Manufacturer.Unknown;
     return(BluetopiaError.UNSUPPORTED_PLATFORM_ERROR);
 }
예제 #3
0
 BluetopiaError IBluetopiaApi.HCI_Read_Local_Supported_Features(uint BluetoothStackID,
                                                                out StackConsts.HCI_ERROR_CODE StatusResult, byte[] LMP_FeaturesResult)
 {
     return(NativeMethods.HCI_Read_Local_Supported_Features(BluetoothStackID,
                                                            out StatusResult, LMP_FeaturesResult));
 }
예제 #4
0
 BluetopiaError IBluetopiaApi.HCI_Read_Local_Supported_Features(uint BluetoothStackID,
                                                                out StackConsts.HCI_ERROR_CODE StatusResult, byte[] LMP_FeaturesResult)
 {
     StatusResult = 0;
     return(BluetopiaError.UNSUPPORTED_PLATFORM_ERROR);
 }
예제 #5
0
 internal static extern BluetopiaError HCI_Create_Connection(uint BluetoothStackID,
                                                             BD_ADDR_BY_VALUE BD_ADDR, ushort Packet_Type,
                                                             byte Page_Scan_Repetition_Mode, byte Page_Scan_Mode, ushort Clock_Offset,
                                                             byte Allow_Role_Switch,
                                                             out StackConsts.HCI_ERROR_CODE StatusResult);
예제 #6
0
 // TODO: [Obsolete("GAP_Query_Remote_Device_Name_Ex")]
 internal static extern BluetopiaError HCI_Remote_Name_Request(
     uint BluetoothStackID, BD_ADDR_BY_VALUE BD_ADDR,
     byte Page_Scan_Repetition_Mode, byte Page_Scan_Mode, ushort Clock_Offset,
     out StackConsts.HCI_ERROR_CODE StatusResult);
예제 #7
0
 internal static extern BluetopiaError HCI_Read_Local_Supported_Features(uint BluetoothStackID,
                                                                         out StackConsts.HCI_ERROR_CODE StatusResult, byte[] LMP_FeaturesResult);
예제 #8
0
 internal static extern BluetopiaError HCI_Read_Local_Version_Information(uint BluetoothStackID,
                                                                          out StackConsts.HCI_ERROR_CODE StatusResult,
                                                                          out HciVersion HCI_VersionResult, out ushort HCI_RevisionResult,
                                                                          out LmpVersion LMP_VersionResult, out Manufacturer Manufacturer_NameResult, out ushort LMP_SubversionResult);
예제 #9
0
 internal static extern BluetopiaError HCI_Add_SCO_Connection(uint BluetoothStackID,
                                                              ushort Connection_Handle, /*ushort*/ StackConsts.HCI_PACKET_SCO_TYPE__u16 Packet_Type,
                                                              out StackConsts.HCI_ERROR_CODE StatusResult);