text: /**
   * @file twic_util_udp.h
   * @brief a source file for TZ10xx TWiC for Bluetooth 4.0/4.1 Smart
   * @version V1.0.1.FS (Free Sample - The information in this code is
   * subject to change without notice and should not be construed as a
   * commitment by TOSHIBA CORPORATION SEMICONDUCTOR & STORAGE PRODUCTS
   * COMPANY.
   * @note TZ1EM provides the automatic low energy consumption. The low
   * energy consumption of interal BLE Processor and UART2 is managed by
   * the part of TWIC BLE CE (BLE Controller Extension). Please refer to
   * the twicIfLeCe API group. TZ1EM combines the HOST Core low energy
   * consumption with the BLE CE and the other peripheral modules.
   */
  
  /*
   * COPYRIGHT (C) 2015
   * TOSHIBA CORPORATION SEMICONDUCTOR & STORAGE PRODUCTS COMPANY
   * ALL RIGHTS RESERVED.
   *
   * THE SOURCE CODE AND ITS RELATED DOCUMENTATION IS PROVIDED "AS
   * IS". TOSHIBA CORPORATION MAKES NO OTHER WARRANTY OF ANY KIND,
   * WHETHER EXPRESS, IMPLIED OR, STATUTORY AND DISCLAIMS ANY AND ALL
   * IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, NON
   * INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE.
   * 
   * THE SOURCE CODE AND DOCUMENTATION MAY INCLUDE ERRORS. TOSHIBA
   * CORPORATION RESERVES THE RIGHT TO INCORPORATE MODIFICATIONS TO THE
   * SOURCE CODE IN LATER REVISIONS OF IT, AND TO MAKE IMPROVEMENTS OR
   * CHANGES IN THE DOCUMENTATION OR THE PRODUCTS OR TECHNOLOGIES
   * DESCRIBED THEREIN AT ANY TIME.
   * 
   * TOSHIBA CORPORATION SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT OR
   * CONSEQUENTIAL DAMAGE OR LIABILITY ARISING FROM YOUR USE OF THE
   * SOURCE CODE OR ANY DOCUMENTATION, INCLUDING BUT NOT LIMITED TO,
   * LOST REVENUES, DATA OR PROFITS, DAMAGES OF ANY SPECIAL, INCIDENTAL
   * OR CONSEQUENTIAL NATURE, PUNITIVE DAMAGES, LOSS OF PROPERTY OR LOSS
   * OF PROFITS ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT, OR
   * BEING UNUSABLE, EVEN IF ADVISED OF THE POSSIBILITY OR PROBABILITY
   * OF SUCH DAMAGES AND WHETHER A CLAIM FOR SUCH DAMAGE IS BASED UPON
   * WARRANTY, CONTRACT, TORT, NEGLIGENCE OR OTHERWISE.
   *
   */
  
  #ifndef __TWIC_UTIL_UDP_H__
  #define __TWIC_UTIL_UDP_H__
  
  extern void twicUtUdpSetupService(void);
  extern void twicUtUdpStopNotification(void);
  extern void twicUtUdpStopIndication(void);
  extern void twicUtUdpDescriptorChange(uint8_t eidx,
                                        const twicAttValue_t *const arg);
  extern uint8_t twicUtUdpReadOut(twicConnIface_t * const iface, uint8_t eidx,
                                  uint16_t num);
  extern uint8_t twicUtUdpWrittenIn(twicConnIface_t * const iface, uint8_t eidx,
                                    const twicAttValue_t *const arg);
  extern void twicUtUdpTimerSetup(void);
  extern void twicUtUdpTimerCleanup(void);
  extern void twicUtUdpCongestionCheck(void);
  extern void twicUtUdpRun(twicConnIface_t * const cif);
  extern void twicUtUdpIndicationConfirmation(const uint8_t status);
  
  #endif /* __TWIC_UTIL_UDP_H__ */
  