Open imwitti opened 5 years ago
From I believe the correct array for RSCM should be:
array size is 12 bytes, you are sending only 8:
RSCMeasurementCharacteristics.setValue(rscmArray,8);
Also this (bool is_total_distance_present;
) seems to be:
rscmArray[1];
I dont know real RSCM structure, just saying what you posted here.
Hi, Im fumbling my way through this code. I started out with the example code from Andreas Spiess off a youtube video.
I have modified to send RSCMeasurment data as notify (see code below) however am struggling to control the speed sent. This code does seem to send speed at about 3.6k/h and increment up to ~6k/h however it then returns to 3.6k/h and never changes:
I believe the correct array for RSCM should be:
However it seems that
rscmArray[1] = (byte)mps;
is what is letting me control speed... for a small period.Thanks,