So what is Spokes anyway?
Overview
Spokes is a runtime engine and software stack to facilitate interaction with and management of Plantronics devices including headsets, handsets and speakerphones.
3rd party applications can interact with Plantronics devices using Spokes via the 3 different APIs: COM Service, REST Service and iPlugin SDK.
These 3 API options are shown in the below diagram:
Image may be NSFW.
Clik here to view.
What are the key features of the Plantronics device platform that applications can leverage using Spokes?
Wearing Sensor
- Get initial wearing state, receive events when it changes
Proximity
- Register for proximity, receive updates of user’s range to PC
Headset docked state
- Notified when device is docked/undocked
Mobile caller id / call management
- Caller id of incoming / outgoing mobile calls
- Dial / answer / reject / end mobile calls via Spokes API
Serial number
- Programmable unique id per device
- Uses for asset tracking or application user personalisation
Data Logging
- Log information about device usage as well as any information important to your application from other services, cloud applications etc.
Call control
- Softphones can notify Spokes of inbound/outbound calls via high-level API
- No need to perform low-level device control
- Note: also be informed of on-going call progress in other softphone apps supported by Plantronics (see list below) – multi softphone support
Multi-line support
- Receive events to notify the calling status / held status of the 3 lines (PC, mobile and desk phone)
Note: the set of above features available will vary depending on the Plantronics device in use.
What plugins come with Spokes?
Softphones:
- Avaya IP Softphone V6.0 SP9 and V5.2 SP5
- Avaya IP Agent V7.0 SP8 and V6.0 SP18
- Avaya one-X Communicator V6.1 SP3 and V5.2 SP5
- Avaya one-X Agent V2.5 SP2
- Cisco IP Communicator V8.6(1) and V7.0.6.0, 7.0.5.0
- Cisco UC Integration for Microsoft Office Communicator (CUCIMOC) V8.0 (3)
- Cisco UC Integration for Microsoft Lync (CUCILync) V8.5(5)
- Cisco Unified Personal Communicator (CUPC) V8.5(5) and V8.0(3)
- Cisco WebEx Connect V7.2.1
- Microsoft Office Communicator R2 3.5
- Microsoft Lync 4.0
- NEC Univerge SP350 V4.1 and V5.1
- Shoretel Call Manager V10.2
- Shoretel Communicator V12.2
- Skype V5.8 and V4.2 – Skype Plugin Sample Code available!!!
Media Players:
- Windows Media Player
- Winamp
- iTunes
Other:
- Logging Plugin – useful for debugging your applications, see section 6 of reference manual.
What Management Tools come with Spokes?
- The Plantronics Control Panel (for easy configuration of device settings)
- The Plantronics Battery Status Monitor (shows wireless headset battery status on the system tray area)
- The Plantronics Update Manager (for easy update of Spokes software and device firmware)
There are 3 Spokes APIs - which one do I use with my application?
Languages supported today with Spokes SDK:
COM Service for .NET API | COM Service API | REST Service API | |
C# | Yes* | - | - |
VB .NET | Yes* | - | - |
C++ | - | Yes | - |
JavaScript | - | - | Yes |
Java and Other Languages | - | - | Yes |
Notes:
*The .NET support for COM Service is via an Interop Assembly called "Interop.Plantronics.dll". This requires apps to target .NET Framework 4.0 or higher.
The "iPlugin API" is considered deprecated and is being removed at next major Spokes release and should no longer be used.
COM Service API with C#: How do I get started?
The COM Service allows your application to remain nicely decoupled from the Plantronics Spokes runtime. Integrating to C# is facilitated through adding an interop assembly to your project:
- Try the 5-minute quick start! click here.Image may be NSFW.
Clik here to view. - There is a more comprehensive command-line demo (screenshot below) showing more API features: click here.
- For more samples check out the DevZone
Image may be NSFW.
Clik here to view.
COM Service for C++: How do I get started?
- There is a comprehensive command-line demo similar to above that shows the API features: click here.
- For more samples check out the DevZone
REST Service API with JavaScript: How do I get started?
- There is a hello world tutorial: click here.
- There is a more comprehensive sample showing more of the API: click here
- There are also some great blog posts around the JavaScript features.
- For more samples check out the DevZone
iPlugin API for C# is no longer supported!
- The "iPlugin API" is considered deprecated and is being removed at next major Spokes release and should no longer be used.
- If you have already created an integration based on "iPlugin API" it is recommended to port it to C# "COM Service .NET API", check out the 5-minute quick start
More Information
To download Full Spokes Software runtime: click here.
To learn more about developing with Spokes SDK and Plantronics Devices, click here.