tobster-de / eZ430ChronosNet

This project comprises a .Net library written in C# to communicate with an eZ430 Chronos access point and therefore the ez430 Chronos watch itself.
0 stars 0 forks source link

Library not working with Chronos Control Center drivers #1

Open tobster-de opened 3 years ago

tobster-de commented 3 years ago

https://sourceforge.net/p/ez430chronosnet/discussion/1120090/thread/24b37dfb/

In file Chronos.cs at line 74, there is only one friendly name for the driver ("TI CC1111 Low-Power RF to USB CDC Serial Port").
When you install the Watch's drivers through Chronos Control Center (highlighted as "Install this first" on the TI wiki), the friendly name is "eZ430-ChronosAP".

I tried to change the friendly name in the Chronos.cs code and recompile the .dll and it worked that way.

The final Chronos.cs code should probably look for both friendly names, and not only one.
tobster-de commented 3 years ago

https://sourceforge.net/p/ez430chronosnet/discussion/1120091/thread/e889f825/

I was informed, that the Chronos is delivered with an acces point with a new device name.

The fix is easy: Change the one line in GetComPortName() and it is working again.

string friendlyName = "eZ430-ChronosAP"; // "TI CC1111 Low-Power RF to USB CDC Serial Port";