Forum Index » Windows Development » MMI_TYPE_BUSYLIGHT - Remote MMI - Jabra Engage 50   XML
 
Author Message
JabraDev



Joined: 20/03/2019 08:05:27
Messages: 6
Offline

Hi,

I'm using the Jabra SDK with a WPF application - I'm getting most things to work but whenever I try to set the light colour I get a 'DeviceWriteFail' This is happening on the Demo application and my own version.

I'm testing it with a Jabra Engage 50 - maybe this device doesn't support colour changes?

Thanks!

image
JabraJohn1



Joined: 23/04/2018 04:54:57
Messages: 50
Offline

hi, could be a NODE SDK issue. we are looking into it. The engage 50 definitely supports multi color busy light.
JabraDev



Joined: 20/03/2019 08:05:27
Messages: 6
Offline

Hi John,

Are you talking about node JS? I'm using the .NET SDK. Unless node means something else!

Many thanks
JabraJohn1



Joined: 23/04/2018 04:54:57
Messages: 50
Offline

my apologies! yes, i meant the windows SDK. the node js SDK probably has the same issue.
JabraDev



Joined: 20/03/2019 08:05:27
Messages: 6
Offline

Thanks John, will be fun when it's working smilie
JabraJohn1



Joined: 23/04/2018 04:54:57
Messages: 50
Offline

The browser SDK changes the Engage 50 lights by calling Jabra_GetRemoteMmiFocus followed by Jabra_SetRemoteMmiAction.

By installing the browser SDK, one can easily experiment with the API in a browser test app here “https://gnaudio.github.io/jabra-browser-integration/release/test/”.
JabraJohn1



Joined: 23/04/2018 04:54:57
Messages: 50
Offline

(and no, the SDK demo for Windows currently does not do that correctly)

The C API supports this, the trick is that you’ll need to get focus on BusyLight first:

Jabra_ReturnCode res = Jabra_GetRemoteMmiFocus(deviceNo, RemoteMmiType::MMI_TYPE_BUSYLIGHT, RemoteMmiInput::MMI_ACTION_NONE, RemoteMmiPriority::MMI_PRIORITY_NONE);
if (res == Jabra_ReturnCode::Return_Ok) {
RemoteMmiActionOutput busyLightLed = { 255,0,255,RemoteMmiSequence::MMI_LED_SEQUENCE_SLOW };
res = Jabra_SetRemoteMmiAction(deviceNo, RemoteMmiType::MMI_TYPE_BUSYLIGHT, busyLightLed);
}


In .net, that would be (I guess, have not tried):

GetRemoteMmiv2Focus(RemoteMmiType::MMI_TYPE_BUSYLIGHT, (empty list), RemoteMmiPriority:: MMI_PRIORITY_NONE);
SetRemoteMmiv2Action(RemoteMmiType::MMI_TYPE_BUSYLIGHT, myRemoteMmiActionOutputInfo);

JabraDev



Joined: 20/03/2019 08:05:27
Messages: 6
Offline

Hi John,

I just had a look and unfortunately get the same issue (device write fail on the GetRemoteMmiv2Focus call) smilie

var test = _device.GetRemoteMmiv2Focus(type: RemoteMmiType.MMI_TYPE_BUSYLIGHT, actions: new List<RemoteMmiInput>(), priority: RemoteMmiPriority.MMI_PRIORITY_NONE);

_device.SetRemoteMmiv2Action(RemoteMmiType.MMI_TYPE_BUSYLIGHT, remoteMmiActionOutputInfo);


Can I call down to the unmanaged Dll somehow?

Also:

I installed the browser SDK / chrome extension and seem to be having the same issues. Onhold/ring etc work fine but when I try to setMMIFocus or setRemoteMmiLightAction I get "FileNotAccessible" error: 8

CommandError : Command setremotemmilightaction failed with error  message setremotemmilightaction and details:
 [["returnErrorCode",8],["errormsg","setremotemmilightaction failed"],
["command","setremotemmilightaction"],{"deviceID":"0"},{"activeDevice":true}]


Thanks

This message was edited 2 times. Last update was at 02/04/2019 02:52:11

JabraJohn1



Joined: 23/04/2018 04:54:57
Messages: 50
Offline

ill check, thanks for the update
JabraDev



Joined: 20/03/2019 08:05:27
Messages: 6
Offline

No problem, thanks for your help
rajubhaiya



Joined: 16/09/2020 14:07:36
Messages: 1
Offline


Thanks for the clarification.
 
 
Go to: