Unnable to connect LegoEv3 via Blurtooth,

2 vues (au cours des 30 derniers jours)
Roth Alfred
Roth Alfred le 7 Juil 2017
Connection via USB is OK. Only when I try to get the connection via Bluetooth I get the following Error Message: "Error using legoev3 (line 183) Failed to connect to EV3 through Bluetooth. Please check your Bluetooth connection." What can be the reason?
Matlab Version 2014b, W7
Best regards A.Roth

Réponse acceptée

Manish Annappa
Manish Annappa le 10 Juil 2017
The reason behind this error may be because of an incompatibility between the bluetooth stacks on the host machine and the lego ev3. In this case, the workaround is to use the following command:
>> mylego = legoev3('bt','00165344C94D')
where the second input is the remote ID without the 'btspp://' prefix
  2 commentaires
Roth Alfred
Roth Alfred le 11 Juil 2017
Thank you very much for your quick and good answer. Now everything works perfect. Best regards A. Roth
Joel, Just Joel
Joel, Just Joel le 6 Fév 2018
I'm experiencing this same Bluetooth non-connection issue. I tried the workaround, but MATLAB gives me the error message, 'Instrument Control Toolbox is required for this functionality.'", apparently in response to the 'bt' parameter. Is there a workaround that does not require the Instrument Control Toolbox?

Connectez-vous pour commenter.

Plus de réponses (1)

Kiran Mayekar
Kiran Mayekar le 18 Mai 2019
Thank u very much :) This was very helpful. works perfectly.

Catégories

En savoir plus sur MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by