I call pull the FW, HW, Serial #, and Num of Devices without problem. When I try to issues a "0xA1" command with CSAFE I get an Error state. The Demo app doesn't have any more information than that.
The documentation PDF has a screenshot of just sending "a1" with a response but that doesn't work either.
I have a PM3 with Firmware 315 installed.
CSAFE error when using PM SDK Demo
-
- Paddler
- Posts: 3
- Joined: December 15th, 2016, 6:22 am
- tijmenvangulik
- 500m Poster
- Posts: 64
- Joined: November 25th, 2012, 10:24 am
Re: CSAFE error when using PM SDK Demo
The interface of de sdk is very unfriendly are a many wrappers available which provide a better interface. These are much easier to get started and also provide a good example on how to use the api.
Some of them:
https://github.com/benfry/c2api (C++ without sdk)
https://github.com/kdahlhaus/easy-erg (c++ on top of sdk)
ergometerspace.codeplex.com/SourceControl/latest#Readme.txt (c++ on top of sdk)
https://github.com/tijmenvangulik/ErgometerJS (javascript/typescript using blue tooth)
Some of them:
https://github.com/benfry/c2api (C++ without sdk)
https://github.com/kdahlhaus/easy-erg (c++ on top of sdk)
ergometerspace.codeplex.com/SourceControl/latest#Readme.txt (c++ on top of sdk)
https://github.com/tijmenvangulik/ErgometerJS (javascript/typescript using blue tooth)