Quantcast
Channel: Plantronics Developer Connection: Message List
Viewing all articles
Browse latest Browse all 377

Re: Plantronics version upgrade

$
0
0

Hi There,

 

We have swap SpokesWrapper.cs from SpokesWrapper3.0.cs but some of the properties are not available like device path.

 

we have customized our PlantronicsPlugin considering SpokesWrapper.cs as base but after replacing with 3.0 entire plugin is not working.

 

Please consider below table we can see major changes on both the dlls

 

 

Version v2.0

Version 3.5

#region Assembly Interop.Plantronics.dll, v2.0.50727

 

#endregion

 

using System;

using System.Runtime.InteropServices;

 

namespace Interop.Plantronics

{

   [Guid("A0F845FA-781B-4FD3-AAF2-E13D85612D7A")]

   [TypeLibType(4160)]

   publicinterfaceIDevice

   {

      [DispId(1610743817)]

      object Attribute { get; }

      [DispId(1610743818)]

      BaseDeviceEvent DeviceEvents { get; }

      [DispId(1610743830)]

      BaseDeviceListener DeviceListener { get; }

      [DispId(1610743808)]

      string DevicePath { get; }

      [DispId(1610743819)]

      IHostCommand HostCommand { get; }

      [DispId(1610743812)]

      string InternalName { get; }

      [DispId(1610743816)]

      bool IsAttached { get; }

      [DispId(1610743814)]

      string ManufacturerName { get; }

      [DispId(1610743810)]

      int ProductID { get; }

      [DispId(1610743813)]

      string ProductName { get; }

      [DispId(1610743815)]

      string SerialNumber { get; }

      [DispId(1610743809)]

      int VendorID { get; }

      [DispId(1610743811)]

      int VersionNumber { get; }

 

      [DispId(1610743820)]

      void add_DataReceived(object value);

      [DispId(1610743822)]

      void add_DeviceStateChanged(object value);

      [DispId(1610743824)]

      void Attach();

      [DispId(1610743825)]

      void Detach();

      [DispId(1610743829)]

      void Dispose();

      [DispId(1610743828)]

      bool IsSupported(ushort Usage);

      [DispId(1610743826)]

      bool RegisterNotification();

      [DispId(1610743821)]

      void remove_DataReceived(object value);

      [DispId(1610743823)]

      void remove_DeviceStateChanged(object value);

      [DispId(1610743827)]

      bool UnRegisterNotification();

   }

}

 

 

#region Assembly Interop.Plantronics.dll, v4.0.30319

 

#endregion

 

using System;

using System.Runtime.InteropServices;

 

namespace Interop.Plantronics

{

   [Guid("7603AD35-B5D1-4711-A883-907B0E664BFD")]

   [TypeLibType(TypeLibTypeFlags.FDual | TypeLibTypeFlags.FNonExtensible | TypeLibTypeFlags.FDispatchable)]

   publicinterfaceICOMDevice

   {

      [DispId(9)]

      COMDeviceListener DeviceListener { get; }

      [DispId(8)]

      COMHostCommand HostCommand { get; }

      [DispId(4)]

      string InternalName { get; }

      [DispId(6)]

      string ManufacturerName { get; }

      [DispId(1)]

      ushort ProductId { get; }

      [DispId(5)]

      string ProductName { get; }

      [DispId(7)]

      string SerialNumber { get; }

      [DispId(2)]

      ushort VendorId { get; }

      [DispId(3)]

     ushort VersionNumber { get; }

   }

}

 

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 377

Trending Articles