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)); }
//-- #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); }
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)); }
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); }
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);
// 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);
internal static extern BluetopiaError HCI_Read_Local_Supported_Features(uint BluetoothStackID, out StackConsts.HCI_ERROR_CODE StatusResult, byte[] LMP_FeaturesResult);
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);
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);