/* Called to determine if the pdu is a TERMINATE_IND */
int ble_ll_ctrl_is_terminate_ind(uint8_t hdr, uint8_t opcode)
/* Called to determine if the pdu is a TERMINATE_IND */
int ble_ll_ctrl_is_terminate_ind(uint8_t hdr, uint8_t opcode)
{
    int rc;
    rc = 0;
    if ((hdr & BLE_LL_DATA_HDR_LLID_MASK) == BLE_LL_LLID_CTRL) {
        if (opcode == BLE_LL_CTRL_TERMINATE_IND) {
            rc = 1;
        }
    }
    return rc;
}