/* Function for initialiasing the connection instance identified by 'index'.  */
static __INLINE void connection_instance_init(uint32_t index)
/* Function for initialiasing the connection instance identified by 'index'.  */
static __INLINE void connection_instance_init(uint32_t index)
{
    DM_TRC("[DM]: Initializing Connection Instance 0x%08X.\r\n", index);
    m_connection_table[index].state         = STATE_IDLE;
    m_connection_table[index].conn_handle   = BLE_CONN_HANDLE_INVALID;
    m_connection_table[index].bonded_dev_id = DM_INVALID_ID;
    memset(&m_connection_table[index].peer_addr, 0, sizeof (ble_gap_addr_t));
}