123456789101112131415161718192021222324252627 |
- /* Copyright (C) 2016 RDA Technologies Limited and/or its affiliates("RDA").
- * All rights reserved.
- *
- * This software is supplied "AS IS" without any warranties.
- * RDA assumes no responsibility or liability for the use of the software,
- * conveys no license or title under any patent, copyright, or mask work
- * right to the product. RDA reserves the right to make changes in the
- * software without notification. RDA also make no representation or
- * warranty that such application will be suitable for the specified use
- * without further testing or modification.
- */
- #ifndef _NET_API_H_
- #define _NET_API_H_
- #if QUEC_USBNET_DEBUG
- #define OSI_LOCAL_LOG_LEVEL OSI_LOG_LEVEL_INFO
- #endif
- void net_init();
- osiThread_t *netGetTaskID(void);
- //void PPP_netif_create(uint8_t nCid, uint8_t nSimId, int channelId);
- //void PPP_netif_destory(uint8_t nCid, uint8_t nSim);
- void TCPIP_netif_create(uint8_t nCid, uint8_t nSimId);
- void TCPIP_netif_destory(uint8_t nCid, uint8_t nSimId);
- struct netif *getGprsGobleNetIf(uint8_t nSim, uint8_t nCid);
- #endif
|