
G.FIT User Guide and Specification, Rev 2.0_Alpha.14
Page 87 of 117
thisisant.
com
7.3.22
gfit_fep_set_transmission_pattern (0xDA)
Configuration Command: This command will set the transmission pattern used when sending FE page data.
There are currently two supported patterns:
•
default: broadcasts the fe_specific page at 2Hz
•
fast: broadcasts the fe_specific page at 3Hz
This command is only supported for the rower equipment type.
Valid State: OFF
Table 7-56. gfit_fep_set_transmission_pattern command message
Byte #
Name
Length
Description
0
Sync
1 byte
Fixed value of 10100100 or 10100101
(Refer to the
Interfacing with ANT General Purpose Chipsets and
Modules document for details.)
1
Length
1 byte
Set to 0x02
2
Message ID
1 byte
Set to 0xE2 (command)
3
Sub-Message ID
1 byte
Set to 0xDA (gfit_fep_set_transmission_pattern)
4
Payload
1 byte
Pattern Value:
0x00 (pattern_default) - Broadcasts the fe_specific page at 2Hz
0x01 (pattern_fast) - broadcasts the fe_specific page at 3Hz
5
Checksum
1 byte
XOR of all previous bytes including the sync byte.
Table 7-57. gfit_fep_set_transmission_pattern response message
Byte #
Name
Length
Description
0
Sync
1 byte
Fixed value of 10100100 or 10100101
(Refer to the
Interfacing with ANT General Purpose Chipsets and
Modules document for details.)
1
Length
1 byte
0x05
2
Response ID
2 bytes
0xE0 (response)
3
0xFE (G.FIT response)
4
Command ID
2 bytes
0xE2 (command)
5
0xDA (gfit_fep_set_transmission_pattern)
6
Response Code
1 byte
0x00 - GFIT_SUCCESS
0x01 - GFIT_ERROR_INCORRECT_STATE
0x07 - GFIT_ERROR_INVALID_PARAMETER
0x12 - GFIT_ERROR_INVALID_LENGTH
0x0D - GFIT_ERROR_INVALID_EQUIPMENT_TYPE
0x0E - GFIT_ERROR_EQUIPMENT_TYPE_NOT_SET
See Table 7-1 for descriptions.
7
Payload
1 byte
Current State:
0x00
–
State is INVALID
0x01
–
State is OFF
0x02
–
State is READY
0x03
–
State is IN USE
0x04
–
State is PAUSED/FINISHED
8
Checksum
1 byte
XOR of all previous bytes including the sync byte.