Hi,
I'm communicating ANT through softdevice ant event handler as follows:
err_code = softdevice_ant_evt_handler_set(on_ant_evt);
void on_ant_evt(ant_evt_t * p_ant_evt)
{
char data[22];
snprintf((char *)&data,20,"%d X=%d ST=%d A%d",p_ant_evt->event,
p_ant_evt->evt_buffer[ANT_BUFFER_INDEX_MESG_ID],
Device_State,Ant_State);
ble_transfer_data_r((char *)data, (uint8_t)strlen(data),NULL,0);
}
All event received by on_ant_evt handler are EVENT_TX regardless whether ANT is connected or disconnected.
ANTware II does shows ANT events such as: channel closed, received broadcast data
Why does softdevice ANT event handler just shows EVENT_TX and no other events?