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

Plantronics version upgrade

$
0
0

Hi There,

 

We are giving Plantronics support to one of our product.

 

 

 

 

Currently we are using Interop.Plantronics.dll  v2.0.50727 and SpokesWappdrs v 1.0.24b and on the basis of these we have implemented our PlantronicsPlugin

 

 

 

With version 3.5 we have Interop.Plantronics.dll, v4.0.30319 and SpokesWrapper3.0.cs and here Interop.Plantronics.dll which is having ICOMDevice interface, I have integrated these the same way but code is not compiling, as many of the properties are not available or implemented in other way.

 

 

 

Find below table to compare both the dll’s metadata.

 

 

 

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; }

   }

}

 

 

 

 

 

Also found major changes on SpokesWappers.cs file as well.

 

Please assist ho to upgrade...

 

Regards,

Tribhuwan Kumar Gautam

 

 

 


Viewing all articles
Browse latest Browse all 377

Trending Articles