
G.FIT User Guide and Specification, Rev 2.0_Alpha.14
Page 55 of 117
thisisant.
com
7.3.10
gfit_fep_set_equipment_type (0xE0)
Configuration Command: Sets the FE equipment type. This updates which FE Specific Main Data Pages are
transmitted on the ANT+ FE-C channel and which characteristics are enabled in BLE FTMS.
Optionally, specifies controllable features to be enabled. Enabli ng controllable features will configure the
capabilities reported on the ANT+ FE-C channel and on BLE FTMS, and an event will be generated by G.FIT
when a message corresponding to that controllable feature is received over ANT/BLE. Disabling a controllable
feature will result in the feature being reported as not supported in the capabilities, and received commands
related to that feature will be automatically rejected (on BLE FTMS) or ignored (on ANT+) by G.FIT.
Valid State: This configuration must be applied once in the OFF state, before the first transition to READY
state (see section 4.1.1). Once the equipment type and optional controllable features are conf igured, a new
configuration cannot be applied without power cycling G.FIT.
Table 7-21. gfit_fep_set_equipment_type 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
–
If not using optional controllable feature fields
0x04 - If using optional controllable features fields
2
Message ID
1 byte
Set to 0xE2 (command)
3
Sub-Message ID
1 byte
Set to 0xE0 (gfit_fep_set_equipment_type)
4
Payload
1 byte
Set to represent the FE Type:
19
–
Treadmill
20
–
Elliptical
22
–
Rower
23
–
Climber
25
–
Trainer/Indoor Bike
5
Controllable
Features
1[Optional]
1 byte
Bitfield representing a set of controllable features. Set the
corresponding bit to 1 to enable the feature.
Bit 0
–
Target Resistance (ANT+/FTMS)
Bit 1
–
Target Power (ANT+/FTMS)
Bit 2
–
Target Inclination (FTMS)
Bit 3
–
Targeted Distance (FTMS)
Bit 4
–
Target Heart Rate (FTMS)
Bits 5-7
–
Reserved for future use. Set to 0.
Default: If the optional controllable features are not included, then
all controllable features are disabled.
6
Controllable
Features
2[Optional]
1 byte
Bitfield representing a set of controllable features. Set the
corresponding bit to 1 to enable the feature.
Bit 0
–
Reset (FTMS)
Bit 1
–
Start, Stop, Pause (FTMS)
Bit 2
–
Bike Simulation (ANT+/FTMS/Custom G.FIT Service)
Bit 3
–
Spin Down Calibration (ANT+/FTMS)
Bit 4
–
Custom G.FIT Events (ANT+/Custom G.FIT Service)
Bits 5-7
–
Reserved for future use. Set to 0.
Default: If the optional controllable features are not included, then
all controllable features are disabled.
7
Checksum
1 byte
XOR of all previous bytes including the sync byte.