ANT Garmin G.FIT User Manual And Specifications Download Page 86

Page 86 of 117 

G.FIT User Guide and Specification, Rev 2.0_Alpha.14 

              

 

thisisant.

com 

 

7.3.21

 

gfit_fep_send_manufacturer_specific_page (0xB3) 

Command: Instruct the module to send a manufacturer specific over the ANT+ FE -C channel. The 
manufacturer specific page will replace the page to be tr ansmitted; it is not recommended to insert 
manufacturer specific pages in a short rotation interval as that may affect the transmission pattern for ANT+ 
FE-C. This command should only be called once per channel period of the ANT+ FE -C channel; the application 
can use the EVENT_TX as cue to send the manufacturer specific page, or send the command based on 
asynchronous events (e.g. button). Valid manufacturer specific pages numbers are 0xE0 to 0xFF.  

Valid State: READY, IN USE, FINISHED 

Table 7-54. gfit_fep_send_manufacturer_specific_page command message 

Byte #  

Name 

Length 

Description 

Sync 

1 byte 

Fixed value of 10100100 or 10100101 
(Refer to the 

Interfacing with ANT General Purpose Chipsets and 

Modules document for details.) 

Length 

1 byte 

Set to 0x09 

Message ID 

1 byte 

Set to 0xE2 (command) 

Sub-Message ID 

1 byte 

Set to 0xB3 (gfit_fep_send_manufacturer_specific_page) 

Payload 

1 byte 

Manufacturer specific page number 

5-11 

1 byte 

Manufacturer specific data 

12 

Checksum 

1 byte 

XOR of all previous bytes including the sync byte. 

 

Table 7-55. gfit_fep_send_manufacturer_specific_page response message 

Byte #  

Name 

Length 

Description 

Sync 

1 byte 

Fixed value of 10100100 or 10100101 
(Refer to the 

Interfacing with ANT General Purpose Chipsets and 

Modules document for details.) 

Length 

1 byte 

0x05 

Response ID 

2 bytes 

0xE0 (response) 

0xFE (G.FIT response) 

Command ID 

2 bytes 

0xE2 (command) 

0xB3 (gfit_fep_send_manufacturer_specific_page) 

Response Code 

1 byte 

0x00 - GFIT_SUCCESS 
0x01 - GFIT_ERROR_INCORRECT_STATE 
0x11 - GFIT_ERROR_INVALID_MFG_SPECIFIC_PAGE_NUMBER 
0x12 - GFIT_ERROR_INVALID_LENGTH 
See Table 7-1 for descriptions. 

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 

Checksum 

1 byte 

XOR of all previous bytes including the sync byte. 

 

Summary of Contents for Garmin G.FIT

Page 1: ...G FIT User Guide and Specification...

Page 2: ...in Canada Inc ANT Products described by the information in this document are not designed intended or authorized for use as components in systems intended for surgical implant into the body or other a...

Page 3: ...d from the device ID 2 0_Alpha 05 May 2018 Format cleanup G FIT template Spelling and phrasing changes in progress 2 0_alpha 06 May 2018 Added section 4 7 G FIT custom service Reworking spin down comm...

Page 4: ...2 OFF 18 4 1 3 READY 18 4 1 4 IN USE 18 4 1 5 FINISHED PAUSED 19 4 2 Pairing heart rate monitors 20 4 2 1 Proximity pairing 20 4 2 2 Channel ID based pairing 21 4 3 G FIT configuration 21 4 4 Event h...

Page 5: ...it_fep_set_state_ 0xD0 44 7 3 2 gfit_fep_set_channel_configuration 0xD1 45 7 3 3 gfit_hrp_set_pairing_mode 0xD2 47 7 3 4 gfit_hrp_set_inuse_scan_timeout 0xD3 48 7 3 5 gfit_hrp_set_pairing_proximity 0x...

Page 6: ...on offset 103 Appendix A G FIT SoC library 104 A 1 Compiling the demo application 104 A 1 1 Library license key 104 A 1 2 Compiler compatibility 105 Appendix B Fitness equipment console simulator 106...

Page 7: ...anufacturer specific value 35 Figure 6 1 Viewing received data pages on SimulANT 37 Figure 7 1 Serial message general packet structure 39 Figure 7 2 Extended serial message types 40 Figure 7 3 Extende...

Page 8: ...message 48 Table 7 10 gfit_hrp_set_pairing_proximity command message 49 Table 7 11 gfit_hrp_set_pairing_proximity response message 49 Table 7 12 gfit_hrp_pair_to_device command message 50 Table 7 13...

Page 9: ...in_down_ command message 77 Table 7 50 gfit_fep_spin_down_ payload 79 Table 7 51 gfit_fep_spin_down_ response message 80 Table 7 52 gfit_fep_send_custom_event command message 85 Table 7 53 gfit_fep_se...

Page 10: ...om Table 7 70 RSSI calibration offset response message 103 Table 8 1 Table captions go over table 113 List of Equations Equation 5 1 Interpreting transmitted resistance values 29 Equation 7 1 Calculat...

Page 11: ...RF52832 Product Specification Nordic Semiconductor e nRF52 Series Compatibility Matrix Nordic Semiconductor Infocenter f nRF52832 Objective Product Specification Nordic Semiconductor g nRF52832 S332 S...

Page 12: ...2 0_Alpha 14 thisisant com Design models all apply to G FIT modules a D52Q Altium library Dynastream Innovations b D52Q module STEP model Dynastream Innovations c D52M Altium library Dynastream Innova...

Page 13: ...edures With these challenges in mind Garmin Canada Inc has evolved individual fitness machines and smart bike trainers to incorporate wireless standards group fitness capabilities The G FIT solution i...

Page 14: ...Page 14 of 117 G FIT User Guide and Specification Rev 2 0_Alpha 14 thisisant com Figure 2 1 G FIT use case illustration fitness equipment Figure 2 2 G FIT use case illustration smart bike trainer...

Page 15: ...n Connect IQ and iOS The following sections provide a more detailed overview of downloaded G FIT development collateral which can all be obtained here https www thisisant com developer components gfit...

Page 16: ...ole simulator for more details 3 2 3 Reference CIQ application Garmin s Connect IQ platform supports creating apps with custom ANT channels that can be used to connect Garmin s wearable and bike acces...

Page 17: ...e fitness equipment is not used it can remain in a low power state the OFF state Typically user activity such as pedaling will wake up the FE and activate the user interface This would be an example o...

Page 18: ...monitors as they prepare for a workout Since G FIT is scanning during this time avoid running additional scans on other channels or doing flash writes It also turns on the ANT FE C channel and the BL...

Page 19: ...peripheral will stop advertising preventing any displays from pairing to G FIT 4 1 4 2 2 Display connected while IN USE If a display is paired to G FIT while in state IN USE a connection is establishe...

Page 20: ...ity to the G FIT module In order to successfully pair with a heart rate monitor the received signal strength received from the heart rate monitor must maintain a specified signal strength during each...

Page 21: ...Searching 4 2 2 Channel ID based pairing In channel ID pairing G FIT generates HR events see section 7 5 1 for every heart rate message received on the ANT and BLE scan channels and provides a method...

Page 22: ...ep_set_common_data 0xE4 Configure HR pairing mode gfit_hrp_set_pairing_mode 0xD2 Set state to READY gfit_fep_set_state 0xD0 Set pairing proximity gfit_hrp_set_pairing_proximity 0xD5 If pairing mode Pr...

Page 23: ...dler should process the supported op code and then send a gfit_fep_send_command_update with Command Response Pass If an unsupported op code is received the event handler should send a gfit_fep_send_co...

Page 24: ...et 0xB5 Target Type Power Target Value 180 W ANT DISPLAY gfit_fep_send_status_update 0xE6 Status Type Target Power Changed Status Parameter 180 W Last Command Target Power Command Status Pass Data Pag...

Page 25: ...Configure Target Power gfit_event_set_target 0xB5 Target Type Power Target Value 180 W BLE FE DISPLAY gfit_fep_send_status_update 0xE6 Status Type Target Power Changed Status Parameter 180 W Fitness M...

Page 26: ...cific pages section 6 2 and BLE through the G FIT Custom Service section 0 Custom events can be used to transfer manufacturer specific information between the two devices Custom events are transmitted...

Page 27: ...eatures UUID 0x2ACC Resistance Level Range UUID 0x2AD6 Power Range UUID 0x2AD8 Inclination Range UUID 0x2AD5 Heart Rate Range UUID 0x2AD7 Control Point UUID 0x2AD9 Fitness Machine Status UUID 0x2ADA D...

Page 28: ...Characteristic Configuration Descriptor CCCD Control point characteristics in FTMS and the Custom G FIT service support indications which can be enabled by writing 2 to the CCCD G FIT implements autom...

Page 29: ...0 1 200 to 200 FTMS fitness machine status Op Code Target Resistance Level Changed Op Code 0x07 0x2ADA Unitless with a resolution of 0 1 200 to 200 To obtain the resistance from the transmitted value...

Page 30: ...fitness equipment Table 5 5 Custom control point characteristic structure Op code Parameter Octet order N A Little endian Data type uint8_t uint_8_t 5 Table 5 6 Op code and parameters Op code Definit...

Page 31: ...int_8_t 5 Table 5 9 Op code and parameters Op code Definition Parameter 0x00 Reserved for future use N A 0x01 Configured user weight Current user weight uint32_t in 0 005kg 0x02 Configured bicycle wei...

Page 32: ...Page 32 of 117 G FIT User Guide and Specification Rev 2 0_Alpha 14 thisisant com FE APPLICATION Store User Weight BLE FE DISPLAY...

Page 33: ...esponse Value Success gfit_fep_send_status_update 0xE6 Status Type User Data User Weight Updated true User Weight 72 055 kg Custom Data Notification Op Code User Weight Configured Parameter Value 72 0...

Page 34: ...rite Response Custom Control Point Indication Op Code Response Code Response Command 0xFE Response Value Success Figure 5 2 Using BLE to set a manufacturer specific value 5 2 6 Notification of updated...

Page 35: ...isant com FE APPLICATION BLE FE DISPLAY FE APPLICATION gfit_fep_send_custom_event 0xB0 Op Code 0xFD Parameter 01 02 03 04 05 BLE FE DISPLAY Custom Data Notification Op Code 0xFD Parameter 01 02 03 04...

Page 36: ...The same information is always transmitted on both frequencies to provide redundancy and reduce any gaps in the received data The second channel 2472MHz uses the same channel parameters as the ANT FE...

Page 37: ...by G FIT on the ANT frequency 2457MHz SimulANT is available for download from https www thisisant com developer resources downloads Before downloading SimulANT you will need to create an account on h...

Page 38: ...ed G FIT module from the list 6 4 4 Viewing live workout data When G FIT transitions from READY to IN USE the CIQ application detects that state transition and starts recording the user s workout The...

Page 39: ...message protocol defines three types of messages commands requests and responses events Compared to a standard serial message an extended serial message is indicated by setting the top nibble of the m...

Page 40: ...tion MCU then G FIT will send a command message in response The structure of a command is identical to that described by Figure 7 1 with the extended message type set to 2 The specific command to exec...

Page 41: ...Figure 7 5 The payload of a response includes the ID of the message being responded to as well as the response code and associated payload 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte Sync Length Respons...

Page 42: ...PARAMETER If a command is sent with an invalid parameter setting then this error will be returned Check which values are supported for the command that is being sent 0x08 GFIT_ERROR NO_SENSOR This err...

Page 43: ...0 0x12 GFIT_ERROR INVALID_LENGTH If sending a command with an invalid length then this error will be returned 0x13 GFIT_ERROR INVALID_BIKE_POWER_USAGE When equipment type is set to trainer to comply w...

Page 44: ...he GFIT to perform state sensitive SoftDevice operations Valid State OFF READY IN USE FINISHED Corresponding G FIT library functions The G FIT library uses separate commands for each state transition...

Page 45: ...tions 7 Payload 1 byte Indicates current state if response code is GFIT_ERROR_INCORRECT_STATE Indicates updated state if response code is GFIT_SUCCESS 0x00 State is INVALID 0x01 State is OFF 0x02 Stat...

Page 46: ...ervice Bit 4 FTMS Fitness Machine Service Bit 5 ANT HR Bit 6 BLE HR 5 Checksum 1 byte XOR of all previous bytes including the sync byte Table 7 5 gfit_fep_set_channel_configuration response message By...

Page 47: ...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 0xD2 gfit_hrp_set_pairing_mode 4 Payload 1 byte HR Pairing Mode Set to 0x00 for proximity...

Page 48: ...byte Set to 0xE2 command 3 Sub Message ID 1 byte Set to 0xD3 gfit_hrp_set_inuse_scan_timeout 4 Payload 1 byte Timeout Value Set to 0 for no timeout Scan channels stop when transitioning to IN USE stat...

Page 49: ...Pairing Threshold RSSI Value dBm Received signal strength required for G FIT to pair to the heart rate monitor G FIT must continue to receive messages with received signal strength from the heart rat...

Page 50: ...h 1 byte Set to 0x08 2 Message ID 1 byte Set to 0xE2 command 3 Sub Message ID 1 byte Set to 0xD6 gfit_hrp_pair_to_device 4 10 Payload 7 bytes Byte 4 indicates the protocol to use for pairing Set to 0x...

Page 51: ...0 response 3 0xFE G FIT response 4 Command ID 2 bytes 0xE2 command 5 0xD6 gfit_hrp_pair_to_device 6 Response Code 1 byte 0x00 GFIT_SUCCESS 0x01 GFIT_ERROR_INCORRECT_STATE 0x02 GFIT_ERROR_INCORRECT_CON...

Page 52: ...4 Checksum 1 byte XOR of all previous bytes including the sync byte Table 7 16 gfit_hrp_disconnect_device response message Byte Name Length Description 0 Sync 1 byte Fixed value of 10100100 or 1010010...

Page 53: ...5 Checksum 1 byte XOR of all previous bytes including the sync byte If the gfit_enter_bootloader command is successful it will not return a GFIT_SUCCESS response message The module will reboot in boo...

Page 54: ...p_set_inuse_adv_timeout t 4 Payload 1 byte Timeout Value Set to 0 for no timeout Peripheral stops advertising when transitioning to IN USE state Set to a value from 1 254 to set a timeout in units of...

Page 55: ...er 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 controllab...

Page 56: ...acteristic 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...

Page 57: ...which FE metrics the fitness equipment supports Configuring a FE metric before the initial OFF to READY transition ensures that the FE metric shows up as supported when transmitted over ANT FE C and t...

Page 58: ...must start with a field ID followed by the dynamically sized field If more than one FE metric needs to be set you can continue placing field IDs followed by fields See Figure 7 7 for an example of ho...

Page 59: ...required 1 to 31 1 32 to 95 2 96 to 127 3 After the payload has been constructed the length of the serial message can be calculated The length of the serial message must include the Sub Message ID fie...

Page 60: ...0x02 0x2A Field ID Distance Field ID Speed Field ID Cycle Length Message ID Sub Message ID Length 3 byte field required for Distance 2 byte field required for Speed 1 byte field required for Cycle Len...

Page 61: ...r Hour 33 0x21 2 0xFFFF Instantaneous Cadence Steps per Minute Steps per Minute 35 0x23 2 0xFFFF Negative Vertical Distance Tenth Meter Tenth Meter Tenth Meter 36 0x24 2 Positive Vertical Distance Ten...

Page 62: ...ted Power Watts Watts 43 0x2B 2 Total Distance Meters Meters Meters 96 0x60 3 Metabolic Data Metabolic Equivalent Hundredth MET Hundredth MET Tenth MET 44 0x2C 2 0xFFFF Caloric Burn Rate Tenth kCal pe...

Page 63: ...stance Tenth Meter Tenth Meter Meter 37 0x25 2 Stride Count Tenth Stride Stride Tenth Stride 39 0x27 2 Instantaneous Power Watts Watts unsigned Watts 42 0x2A 2 signed 0x8000 Total Distance Meters Mete...

Page 64: ...Strokes per Min Strokes per Min Half Strokes per Min 34 0x22 2 0xFFFF Stroke Count Strokes Strokes Strokes 41 0x29 2 Instantaneous Power Watts Watts unsigned Watts signed 42 0x2A 2 signed 0x8000 Total...

Page 65: ...2 0xFFFF Positive Vertical Distance Climber Meter Meter Meter 38 0x26 2 Step Count Steps Cycle Steps 2 Steps 40 0x28 2 Instantaneous Power Watts Watts unsigned 42 0x2A 2 signed 0x8000 Floors Climbed...

Page 66: ...rt_rate 4 Payload 1 byte Set to represent the heart rate in bpm 0x00 indicates invalid 5 Checksum 1 byte XOR of all previous bytes including the sync byte Table 7 32 gfit_hrp_set_heart_rate response m...

Page 67: ...ble of transmission type Note that the lower nibble of transmission type is always 0x5 as per the ANT FE C Device Profile Example Assume the device ID being set is 0x76543210 The channel ID device num...

Page 68: ...1 byte 0x05 2 Response ID 2 bytes 0xE0 response 3 0xFE G FIT response 4 Command ID 2 bytes 0xE2 command 5 0xE3 gfit_fep_set_device_id 6 Response Code 1 byte 0x00 GFIT_SUCCESS 0x01 GFIT_ERROR_INCORRECT...

Page 69: ...1 Payload Variable Byte 4 Product Information Type See Table 7 38 Byte 5 N 1 Product Information Value See Table 7 38 N Checksum 1 byte XOR of all previous bytes including the sync byte Table 7 37 fe...

Page 70: ...2 Byte 0 Major Revision Byte 1 Minor Revision If not set G FIT will transmit the G FIT version number in this field 0x04 Firmware Revision BLE 2 Byte 0 Major Revision Byte 1 Minor Revision If not set...

Page 71: ...send_command_update 4 Payload 1 byte Set to represent the status update 0x00 Command Response Success 0x01 Command Response Fail 5 Checksum 1 byte XOR of all previous bytes including the sync byte Tab...

Page 72: ...ngth 1 byte Variable Set to 0x02 Status Parameter Length See Table 7 43 2 Message ID 1 byte Set to 0xE2 command 3 Sub Message ID 1 byte Set to 0xE6 fe_command_status_update 4 N 1 Payload Variable Byte...

Page 73: ...ed by user BLE 0 bytes 0x03 Stopped by safety key BLE 0 bytes 0x04 Started or resumed by user BLE 0 bytes 0x05 Target incline changed ANT BLE 2 bytes 0x06 Target resistance level changed ANT BLE 2 byt...

Page 74: ...d Distance m unsigned 0x0A Wind Resistance Coefficient 0 01 kg m unsigned Invalid 0xFF Wind Speed mm s signed Invalid 0x7FFFFFFF Drafting Factor 0 01 unitless unsigned Invalid 0xFF Grade 0 01 signed I...

Page 75: ...to 0x01 2 Message ID 1 byte Set to 0xE2 command 3 Sub Message ID 1 byte Set to 0xE7 gfit_fep_abort_pending_commands 4 Checksum 1 byte XOR of all previous bytes including the sync byte Table 7 46 gfit...

Page 76: ...b Message ID 1 byte Set to 0xE8 gfit_fep_set_max_resistance 4 Payload 2 bytes Max Resistance Newtons LSB 5 Max Resistance Newtons MSB 6 Checksum 1 byte XOR of all previous bytes including the sync byt...

Page 77: ...down_set_status gfit_fep_spin_down_cancel gfit_fep_spin_down_complete gfit_fep_spin_down_request_calibration gfit_fep_spin_down_cancel_request_calibration gfit_fep_spin_down_reject_ignore_request Tabl...

Page 78: ...leted successfully This cancels any pending calibration requests initiated through the Request calibration command type 0x04 Request calibration Send this to request that the display device start a sp...

Page 79: ...t e g 0x10 17C 0xFF indicates invalid Target Spin Down Time ms 0xFF indicates invalid Bits 0 1 Temperature Status 0x00 N A 0x01 Too Low 0x02 OK 0x03 Too High Bits 2 3 Speed Status 0x00 N A 0x01 Too Lo...

Page 80: ...1 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 7 3 19 1 Spin down calibration process The mes...

Page 81: ...Too Low Data Page 2 Calibration in Progress Temperature 21 5C Speed OK Fitness Equipment Data Data Page 1 Calibration Request Data Page 1 Calibration Response Response Success Speed 0 Stop Measuring S...

Page 82: ...et Speed FTM Status Op Code Spin Down Status Parameter Success Fitness Machine Control Point Op Code Spin Down Control Parameter Value START FTM Status Op Code Spin Down Status Parameter Success Speed...

Page 83: ...splay Result User Initiates Calibration gfit_fep_spin_down 0xE9 Type Cancel 0x06 Figure 7 10 Example Cancelled spin down calibration process ANT FE APPLICATION Calibration not allowed at this time Spi...

Page 84: ...oor Bike Data Write Response FTM Status OpCode Spin Down Status Parameter Spin Down Requested Fitness Machine Control Point Op Code Response Request Op Code Spin Down Result Code Operation Failed Fitn...

Page 85: ...nge E0 FF inclusive Bytes 5 9 Application defined parameter Bytes 10 Optional Number of Transmissions if not specified default of 8 transmission will be used 10 11 Checksum 1 byte XOR of all previous...

Page 86: ...rpose Chipsets and Modules document for details 1 Length 1 byte Set to 0x09 2 Message ID 1 byte Set to 0xE2 command 3 Sub Message ID 1 byte Set to 0xB3 gfit_fep_send_manufacturer_specific_page 4 Paylo...

Page 87: ...alue 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...

Page 88: ...or 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 0xDB gfit_fep_set_developer_options 4 Payload 1 byte Set to change the security level 0x00...

Page 89: ...st ID 2 bytes Set to 0xE1 request 3 Set to 0xFE 4 Command ID 2 bytes Set to 0xE2 command 5 Set to 0xC0 gfit_get_version_string 6 Checksum 1 byte XOR of all previous bytes including the sync byte Table...

Page 90: ...has the appropriate license Normally the letter su ffix will be followed by 00 but this may be incremented to indicate minor non API breaking bug fixes E Evaluation Example 4 00E00 This letter indicat...

Page 91: ...Table 7 62 gfit_event_receive_heart_rate_ event 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 M...

Page 92: ...A Display HR from Device B Connect to HR Device B READY State OFF State Transition to READY FE Turned On HR Device B HR Device C Broadcasting Advertising HR Device B Configure G FIT Proximity Pairing...

Page 93: ...e B READY State OFF State Transition to READY FE Turned On gfit_hrp_pair_to_device 0xD6 Device ID Device B HR Device B HR Device C Broadcasting Advertising HR Device B Configure G FIT List Pairing Mod...

Page 94: ...connected monitor device B 7 5 1 1 3 Handling disconnected monitors It is recommended that the application maintains an internal timeout recommended 15 seconds once paired to an HR monitor The timeout...

Page 95: ...ends on Controllable Feature Reset and or Start Stop Pause Corresponding G FIT library functions This serial message relates to gfit_event_reset gfit_event_start_or_resume gfit_event_stop and gfit_eve...

Page 96: ...nc 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 0x02 Target Value Length 2 Message ID 1 byte 0...

Page 97: ...Message ID 1 byte 0xB6 gfit_event_set_simulation_parameters 4 Wind Resistance Coefficient 1 byte Wind Resistance Coefficient 0 01 kg m unsigned 0xFF indicates invalid 5 8 Wind Speed 4 bytes Wind Speed...

Page 98: ...1 Length 1 byte 12 bytes 2 Message ID 1 byte 0xE0 event 3 Sub Message ID 1 byte 0xB7 Set Simulation Parameters Event 5 8 User Weight 4 bytes User Weight 5g resolution unsigned ANT G FIT Custom Service...

Page 99: ...gfit_event_cancel_spin_down Table 7 68 Spin down calibration event message Byte Name Length Description 0 Sync 1 byte Fixed value of 10100100 or 10100101 Refer to the Interfacing with ANT General Pur...

Page 100: ...loader 4 Bootloader transport type 1 byte 0x00 Invalid Unknown 0x01 BLE 0x02 UART All other values are reserved for future use 5 Checksum 1 byte XOR of all previous bytes including the sync byte 7 5 8...

Page 101: ...ollable Feature G FIT Custom Events Table 7 71 gfit_event_custom event message Byte Name Length Description 0 Sync 1 byte Fixed value of 10100100 or 10100101 Refer to the Interfacing with ANT General...

Page 102: ...cription 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 S...

Page 103: ...ng with ANT General Purpose Chipsets and Modules document for details 1 Length 1 byte Set to 0x01 2 Message ID 1 byte Set to 0xE4 3 Sub Message ID 1 byte Set to 0x02 4 Checksum 1 byte XOR of all previ...

Page 104: ...the demo_gfit project The first time you build the project the compiler will point out two errors which serve as reminders that licenses must be obtained to use the S332 SoftDevice and the G FIT libra...

Page 105: ...5q3 available at https launchpad net gcc arm embedded 4 9 4 9 2015 q3 update It uses the settings in Table A 1 See example application Makefile for further details Table A 1 GCC specific compiler opti...

Page 106: ...r resources downloads and extract the entire contents onto the hard drive Note The ANT USB Interface Board drivers are unsigned Systems that require signed drivers for installation e g Windows 8 Windo...

Page 107: ...ule to the USB interface board and insert into a USB port Figure B 4 G FIT module mounted on a USB interface board The Driver Software Installation wizard should pop up and begin a search for drivers...

Page 108: ...are being sent to G FIT The main part of the application provides a simulated fitness equipment console implemented using a G FIT module Simulated Session Data Input Simulator Logging Main Power Cons...

Page 109: ...1 2 B 3 1 6 Auto configuration This provides the quickest and easiest method of configuring the FE metrics for the given type of fitness equipment Ensure that the Auto config checkbox is selected as i...

Page 110: ...B 3 3 Pairing a heart rate monitor Depending on the HR selection type value specified in the Setup section of the application the pairing of a HR strap will be completed in one of two ways B 3 3 1 Pro...

Page 111: ...nnecting a paired heart rate monitor If the user wants to disconnect their heart rate monitor or possibly another heart rate monitor that was accidentally connected to they can press the Clear Hr butt...

Page 112: ...USE B 3 8 Ending a session If the user wishes to end their session from an active session FE State IN USE then the user will press the Stop button twice a paused session FE State FINISHED PAUSED then...

Page 113: ...able apply the ANT Table Header ANT Table Text Left and ANT Table Text Center styles If a table does not have the correct shading apply the table style Striped Table Table 8 1 Table captions go over t...

Page 114: ...el list Instruction steps As with all ANT styles you can find it in the style pane or copy paste from here Indented text ANT Indent 1 to match ANT Instructions 1 Use this if you need another paragraph...

Page 115: ...ould be styled with Strong Note The Strong style is also used to help people notice your notes Apply it to Note at the start of the line Don t italicize anything except for document names For those us...

Page 116: ...and Specification Rev 2 0_Alpha 14 thisisant com 9 Second Heading 1 heading Each top level heading will automatically start on a new page No need to add page breaks Appendices use the styles Appendix...

Page 117: ...the chapter number is correct Table C 1 Sample appendix table caption Use this one for figures Figure C 1 Sample appendix figure caption Getting the numbers to start again at 1 at the start of a new...

Reviews: