forked from xuos/xiuos
feat support webserver function include net_4g/net_lora for xishutong-arm32, compile OK
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
config ADAPTER_EC200T
|
||||
bool "Using 4G adapter device EC200T"
|
||||
default y
|
||||
default n
|
||||
|
||||
if ADAPTER_EC200T
|
||||
source "$APP_DIR/Framework/connection/4g/ec200t/Kconfig"
|
||||
endif
|
||||
|
||||
config ADAPTER_EC200A
|
||||
bool "Using 4G adapter device EC200A"
|
||||
default n
|
||||
|
||||
if ADAPTER_EC200A
|
||||
source "$APP_DIR/Framework/connection/4g/ec200a/Kconfig"
|
||||
endif
|
||||
|
||||
|
||||
10
APP_Framework/Framework/connection/4g/ec200a/Kconfig
Normal file
10
APP_Framework/Framework/connection/4g/ec200a/Kconfig
Normal file
@@ -0,0 +1,10 @@
|
||||
config ADAPTER_4G_EC200A
|
||||
string "EC200A adapter name"
|
||||
default "ec200a"
|
||||
|
||||
if ADD_XIZI_FEATURES
|
||||
config ADAPTER_EC200A_DRIVER
|
||||
string "EC200A device uart driver path"
|
||||
default "/dev/usart6_dev6"
|
||||
endif
|
||||
|
||||
3
APP_Framework/Framework/connection/4g/ec200a/Makefile
Normal file
3
APP_Framework/Framework/connection/4g/ec200a/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
SRC_FILES := ec200a.c
|
||||
|
||||
include $(KERNEL_ROOT)/compiler.mk
|
||||
24
APP_Framework/Framework/connection/4g/ec200a/ec200a.c
Normal file
24
APP_Framework/Framework/connection/4g/ec200a/ec200a.c
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Copyright (c) 2020 AIIT XUOS Lab
|
||||
* XiUOS is licensed under Mulan PSL v2.
|
||||
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||
* You may obtain a copy of Mulan PSL v2 at:
|
||||
* http://license.coscl.org.cn/MulanPSL2
|
||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
|
||||
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
|
||||
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
|
||||
* See the Mulan PSL v2 for more details.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file ec200a.c
|
||||
* @brief Implement the connection 4G adapter function, using EC200A device
|
||||
* @version 3.0
|
||||
* @author AIIT XUOS Lab
|
||||
* @date 2023.12.22
|
||||
*/
|
||||
|
||||
#include <adapter.h>
|
||||
#include <at_agent.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user