/* Local function for finding connectivity middleware handler in the table..  */
static conn_mw_handler_t conn_mw_handler_get(uint8_t opcode)
/* Local function for finding connectivity middleware handler in the table..  */
static conn_mw_handler_t conn_mw_handler_get(uint8_t opcode)
{
    conn_mw_handler_t fp_handler = NULL;
    uint32_t          i;
    for (i = 0; i < conn_mw_item_len; i++)
    {
        if (opcode == conn_mw_item[i].opcode)
        {
            fp_handler = conn_mw_item[i].fp_handler;
            break;
        }
    }
    return fp_handler;
}