Error in HRM payload with page 4

Former Member
Former Member
Using generic ANT channel to extract HR data. When reading payload of "Page 4", after the high order bit of payload[5] "Heart Beat Event Time MSB" has been set it will fully populate both payload[4] & payload[5] with 1's the next time the value changes, eg when a new beat event is registered & "Heart Beat Count" increments. It will revert to normal counting once it reaches the 64k rollover. This problem is specific to "Page 4", the other pages that report 1, 2, & 3, do not experience this error.
  • Do you notice this same behaviour if you are receiving HR data using ANTware II?
    If so, I feel the issue may be sensor side. Else, could you post logs from both ANTware II and your app?
  • Former Member
    Former Member over 10 years ago
    No. Both the ANT+ Display simulator & ANTware II read the packet just fine.
  • Former Member
    Former Member over 10 years ago
    Here is a snippet of prog payload vs bin\Device0.txt - modified to highlight data

    Payload : [84][00][E7][7E][9D][83][01][35]
    Payload : [84][00][E7][7E][9D][83][01][35]
    Payload : [04][00][E7][7E][9D][83][01][35]
    Payload : [04][00][E7][7E][9D][83][01][35]
    Payload : [04][00][E7][7E][9D][83][01][35]

    Payload : [04][00][9D][83][FF][FF][FF][FF] <--- #1 error with page 4

    Payload : [84][00][9D][83][FF][FF][FF][FF]
    Payload : [84][00][9D][83][FF][FF][FF][FF]
    Payload : [84][00][9D][83][FF][FF][FF][FF]
    Payload : [84][00][9D][83][FF][FF][FF][FF]
    Payload : [04][00][5C][88][FF][FF][FF][FF]
    Payload : [04][00][5C][88][FF][FF][FF][FF]
    Payload : [04][00][5C][88][FF][FF][FF][FF]
    Payload : [04][00][5C][88][FF][FF][FF][FF]
    Payload : [84][00][5C][88][FF][FF][FF][FF]
    Payload : [84][00][3E][8D][FF][FF][FF][FF]
    Payload : [84][00][3E][8D][FF][FF][FF][FF]
    Payload : [84][00][3E][8D][FF][FF][FF][FF]
    Payload : [04][00][3E][8D][FF][FF][FF][FF]
    Payload : [04][00][4A][92][FF][FF][FF][FF]
    Payload : [04][00][4A][92][FF][FF][FF][FF]
    Payload : [04][00][4A][92][FF][FF][FF][FF]

    Payload : [83][FF][03][02][F1][96][05][33] <--- #2 no error if not page 4

    Payload : [83][FF][03][02][F1][96][05][33]
    Payload : [84][00][F1][96][FF][FF][FF][FF]
    Payload : [84][00][F1][96][FF][FF][FF][FF]
    Payload : [04][00][F1][96][FF][FF][FF][FF]
    Payload : [04][00][F1][96][FF][FF][FF][FF]
    Payload : [04][00][F1][96][FF][FF][FF][FF]

    41.563 { 5652281} Rx - [A4][14][4E][00] [84][00][E7][7E][9D][83][01][35] [E0][43][7D][78][01][10][01][00][00][66][5E][47]
    41.813 { 5652531} Rx - [A4][14][4E][00] [84][00][E7][7E][9D][83][01][35] [E0][43][7D][78][01][10][01][00][00][EC][7D][EE]
    42.063 { 5652781} Rx - [A4][14][4E][00] [04][00][E7][7E][9D][83][01][35] [E0][43][7D][78][01][10][00][00][00][72][9D][11]
    42.297 { 5653015} Rx - [A4][14][4E][00] [04][00][E7][7E][9D][83][01][35] [E0][43][7D][78][01][10][00][00][00][F9][BC][BB]
    42.547 { 5653265} Rx - [A4][14][4E][00] [04][00][E7][7E][9D][83][01][35] [E0][43][7D][78][01][10][00][00][00][7E][DC][5C]

    42.797 { 5653515} Rx - [A4][14][4E][00] [04][00][9D][83][5C][88][02][35] [E0][43][7D][78][01][10][00][00][00][05][FC][49] <--- #1

    43.047 { 5653765} Rx - [A4][14][4E][00] [84][00][9D][83][5C][88][02][35] [E0][43][7D][78][01][10][01][00][00][8A][1B][A0]
    43.282 { 5654000} Rx - [A4][14][4E][00] [84][00][9D][83][5C][88][02][35] [E0][43][7D][78][01][10][01][00][00][11][3B][1B]
    43.532 { 5654250} Rx - [A4][14][4E][00] [84][00][9D][83][5C][88][02][35] [E0][43][7D][78][01][10][01][00][00][96][5A][FD]
    43.782 { 5654500} Rx - [A4][14][4E][00] [84][00][9D][83][5C][88][02][35] [E0][43][7D][78][01][10][01][00][00][1D][7A][56]
    44.032 { 5654750} Rx - [A4][14][4E][00] [04][00][5C][88][3E][8D][03][34] [E0][43][7D][78][01][10][01][00][00][A2][99][27]
    44.266 { 5654984} Rx - [A4][14][4E][00] [04][00][5C][88][3E][8D][03][34] [E0][43][7D][78][01][10][01][00][00][29][B9][8C]
    44.516 { 5655234} Rx - [A4][14][4E][00] [04][00][5C][88][3E][8D][03][34] [E0][43][7D][78][01][10][01][00][00][AE][D8][6A]
    44.766 { 5655484} Rx - [A4][14][4E][00] [04][00][5C][88][3E][8D][03][34] [E0][43][7D][78][01][10][01][00][00][35][F8][D1]
    45.016 { 5655734} Rx - [A4][14][4E][00] [84][00][5C][88][3E][8D][03][34] [E0][43][7D][78][01][10][01][00][00][BA][17][31]
    45.250 { 5655968} Rx - [A4][14][4E][00] [84][00][3E][8D][4A][92][04][33] [E0][43][7D][78][01][10][00][00][00][41][37][E7]
    45.500 { 5656218} Rx - [A4][14][4E][00] [84][00][3E][8D][4A][92][04][33] [E0][43][7D][78][01][10][00][00][00][C6][56][01]
    45.750 { 5656468} Rx - [A4][14][4E][00] [84][00][3E][8D][4A][92][04][33] [E0][43][7D][78][01][10][00][00][00][4D][76][AA]
    46.000 { 5656718} Rx - [A4][14][4E][00] [04][00][3E][8D][4A][92][04][33] [E0][43][7D][78][01][10][00][00][00][D3][95][57]
    46.235 { 5656953} Rx - [A4][14][4E][00] [04][00][4A][92][F1][96][05][33] [E0][43][7D][78][01][10][00][00][00][59][B5][28]
    46.485 { 5657203} Rx - [A4][14][4E][00] [04][00][4A][92][F1][96][05][33] [E0][43][7D][78][01][10][00][00][00][DF][D4][CF]
    46.735 { 5657453} Rx - [A4][14][4E][00] [04][00][4A][92][F1][96][05][33] [E0][43][7D][78][01][10][01][00][00][65][F4][54]

    46.985 { 5657703} Rx - [A4][14][4E][00] [83][FF][03][02][F1][96][05][33] [E0][43][7D][78][01][10][01][00][00][EB][13][9C] <--- #2

    47.219 { 5657937} Rx - [A4][14][4E][00] [83][FF][03][02][F1][96][05][33] [E0][43][7D][78][01][10][01][00][00][71][33][26]
    47.469 { 5658187} Rx - [A4][14][4E][00] [84][00][F1][96][7C][9B][06][34] [E0][43][7D][78][01][10][01][00][00][F8][52][D4]
    47.719 { 5658437} Rx - [A4][14][4E][00] [84][00][F1][96][7C][9B][06][34] [E0][43][7D][78][01][10][01][00][00][7D][72][71]
    47.969 { 5658687} Rx - [A4][14][4E][00] [04][00][F1][96][7C][9B][06][34] [E0][43][7D][78][01][10][01][00][00][04][92][68]
    48.219 { 5658937} Rx - [A4][14][4E][00] [04][00][F1][96][7C][9B][06][34] [E0][43][7D][78][01][10][01][00][00][89][B1][C6]
    48.469 { 5659187} Rx - [A4][14][4E][00] [04][00][F1][96][7C][9B][06][34] [E0][43][7D][78][01][10][00][00][00][10][D1][3E]
  • Good news! I was able to reproduce it. I'll log this and look into it. Thanks for reporting this.
  • Former Member
    Former Member over 10 years ago
    Good news? ;) Glad you're on to it.