Garmin Edge 520 Data Field Ant Connection Problems

Hi, I am trying to create a simple data field on a Garmin Edge 520 that displays some HRV data. And since this information is not presented in Activity.Info, is my understanding that I need to set up an Ant connection. I, therefore, used the code in the sample repo (https://github.com/garmin/connectiq-apps/tree/master/datafields/GenericAntPlusHeartRateField), but it always times out with the EVENT_RX_SEARCH_TIMEOUT message and then EVENT_CHANNEL_CLOSED. However, the heart rate monitor is connected to the device and presented with the default heart rate data field.

Any suggestions in order to fix it?