Search found 9 matches

by wmmnpr1
March 28th, 2023, 4:36 pm
Forum: SDK Questions
Topic: PM5 BLE notifications contains only a single byte
Replies: 1
Views: 3244

Re: PM5 BLE notifications contains only a single byte

After getting the thing into the debugger, it was obvious. The proper code should look something like this: this.ble.startNotification(DEVICE_ID, PM_ROWING_SERVICE_ID, ROWING_STATUS_CHARACTERISIC).subscribe(buffer => { let dv = new DataView(buffer[0]); .. }); Where buffer is an array with the first ...
by wmmnpr1
March 27th, 2023, 8:53 am
Forum: SDK Questions
Topic: PM5 BLE notifications contains only a single byte
Replies: 1
Views: 3244

PM5 BLE notifications contains only a single byte

I am using the cordova-plugin-ble-central (https://github.com/don/cordova-plugin-ble-central) plugin to subscribe to the "general status characteristic" (0x0031) of my PM5. I receive notifications, however, the notifications have a length of only 1 byte and not the 19 as indicated in the documentati...
by wmmnpr1
September 13th, 2020, 6:31 am
Forum: SDK Questions
Topic: ErgometerJS hid (usb) support
Replies: 2
Views: 12650

Re: ErgometerJS hid (usb) support

Hi Tijmen, Congratulations on creating a nice library. You've certainly done a nice job at abstracting away the complexities of PM communication via usb and bluetooth. Could you suggest the best way to detect the end of a workout/race. With USB, I am receiving TrainingDataEvent events, however, the ...
by wmmnpr1
August 22nd, 2014, 11:37 am
Forum: SDK Questions
Topic: 64 bit libraries for Windows 7
Replies: 0
Views: 6564

64 bit libraries for Windows 7

The C libraries provided with the SDK for Windows are 32 bit. Would it be possible to get a 64 bit version for Windows 7?
by wmmnpr1
August 22nd, 2014, 11:19 am
Forum: SDK Questions
Topic: bundling commands with CSAFE_SETUSERCFG1_CMD for PM4
Replies: 5
Views: 8423

Re: bundling commands with CSAFE_SETUSERCFG1_CMD for PM4

Thank you. That really helped. I was just trying to make the libraries accessible to Java applications via JNI (jc2pmon)
by wmmnpr1
December 29th, 2013, 5:20 pm
Forum: SDK Questions
Topic: bundling commands with CSAFE_SETUSERCFG1_CMD for PM4
Replies: 5
Views: 8423

Re: bundling commands with CSAFE_SETUSERCFG1_CMD for PM4

I downloaded the code for the “Concept2 Watt Challenge” and built is using the libraries supplied with the code and it worked. The application bundles the PM commands together exactly as I would like to. I then rebuilt the application to run with the “newer” libraries from the SDK and it didn't work...
by wmmnpr1
December 28th, 2013, 6:22 pm
Forum: SDK Questions
Topic: bundling commands with CSAFE_SETUSERCFG1_CMD for PM4
Replies: 5
Views: 8423

Re: bundling commands with CSAFE_SETUSERCFG1_CMD for PM4

Ok, maybe I’ve found it. It seems as if I should be using the CSAFE_GETPMDATA_CMD as a command wrapper instead of the CSAFE_SETUSERCFG1_CMD; however, this is a proprietary command, which requires “authentication”. Can someone tell me what is meant by authentication is this case? In the SDK documenta...
by wmmnpr1
December 26th, 2013, 4:44 pm
Forum: SDK Questions
Topic: bundling commands with CSAFE_SETUSERCFG1_CMD for PM4
Replies: 5
Views: 8423

bundling commands with CSAFE_SETUSERCFG1_CMD for PM4

Hello, I’m trying to use the CSAFE_SETUSERCFG1_CMD with the tkcmdsetCSAFE_command function as a wrapper for three other PM commands; namely: CSAFE_GETHORIZONTAL_CMD, CSAFE_GETCADENCE_CMD and CSAFE_GETPACE_CMD; but have not been successful. My call to the above CSAFE method returns without any error ...
by wmmnpr1
December 26th, 2013, 4:40 pm
Forum: SDK Questions
Topic: bundling commands with CSAFE_SETUSERCFG1_CMD
Replies: 0
Views: 3548

bundling commands with CSAFE_SETUSERCFG1_CMD

Hello, I’m trying to use the CSAFE_SETUSERCFG1_CMD with the tkcmdsetCSAFE_command function as a wrapper for three other PM commands; namely: CSAFE_GETHORIZONTAL_CMD, CSAFE_GETCADENCE_CMD and CSAFE_GETPACE_CMD; but have not been successful. My call to the above CSAFE method returns without any error ...