casainho said:
@rananna, I installed the latest TSDZ2 wireless firmware and then the remote started to work. But seems you changed the LED colors for motor turn on, so it was difficult to me to understand what was going on. Is always nice to debug looking at the mobile app and see the colors / state of motor power Rx.
Also my Garmin showed for the first time a blue quarter circle at bottom right, that I do not know what is for and I did not find anything online... do you know if is something about the ANT+ LEV since you added other fields??
And I guess we should have a page specifically for ANT+ LEV to explain how is possible to use so users can understand the relevance of it.
I believe that is a visual representation of the motor temperature. I modified the ant lev encoding to send all the available data from the firmware that ANT LEV supports.
The edge will support a subset of these fields, but with the data field I recommended it will support ALL the ANT LEV fields. The datafield I recommended is a good option until we create a custom data field for garmin bike computers. I guess you don't want to fork the source code into the repo?
Anyway, the icon is there because I am sending a dummy value for temperature in the firmware for warm/cold temperature to test the ant lev additional fields, and this is being displayed by the Garmin as a blue icon.
On the good news/bad news front, I have tracked down the intermittent unresponsiveness of the remote issue.
Unfortunately, it relates to the sdk pwm implementation of Nordic's that I am using for LED control. There appears to be a timer conflict with the s340 soft device that causes intermittent hangups.
I cannot find any fix to the issue.
So, I undertook today to rewrite the firmware to eliminate pwm control. Needless to say, as I had spent considerable time implementing pwm, I was disappointed to have to do this.
However, most battery power loss is due to the time spent NOT riding the bike, so there should be minimal power hit due to this change.
Anyway, the firmware now appears stable and I gave not seen any intermittent hangs.
So, that bug seems to be squashed.
I want to write a testing checklist this evening to follow tomorrow to be sure the firmware works well, and I should be able to send you a release candidate along with updated docs later that day.