
Page 56 of 117
G.FIT User Guide and Specification, Rev 2.0_Alpha.14
thisisant.
com
Note:
If any controllable features are enabled, then both controllable features 1 and 2 must be included in
the command.
As per the requirements of the ANT+ FE-C device profile, ANT+ controllable features can only be applied to
fitness equipment type
‘
Trainer/Indoor Bike
’
. If controllable features are enabled for other fitness equipment
types, control commands will be ignored when received over ANT+ but will be processed and will generate
events when received over BLE.
If enabling Target Resistance or Bike Simulation for fitness equipment type
‘
Trainer/Indoor Bike
’
, Target
Power will also be enabled for ANT+, as this is a minimum requirement of the ANT+ FE-C device profile.
For the BLE FTMS Control Point characteristic, op code 0x00 (Request Control Point) will be automatically
accepted if any of the controllable features supported over FTMS are enabled.
Table 7-22. gfit_fep_set_equipment_type 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
0xE0 (gfit_fep_set_equipment_type)
6
Response Code
1 byte
0x00 - GFIT_SUCCESS
0x01 - GFIT_ERROR_INCORRECT_STATE
0x07 - GFIT_ERROR_INVALID_PARAMETER
0x0D - GFIT_ERROR_INVALID_EQUIPMENT_TYPE
0x12 - GFIT_ERROR_INVALID_LENGTH
0x15 - GFIT_ERROR_EQUIPMENT_TYPE_ALREADY_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.