40 lines
1.1 KiB
C
40 lines
1.1 KiB
C
/**
|
|
* Copyright (2017) Baidu Inc. All rights reserved.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
/**
|
|
* File: duerapp.c
|
|
* Auth: Renhe Zhang (v_zhangrenhe@baidu.com)
|
|
* Desc: Duer App connection state declaration.
|
|
*/
|
|
|
|
#ifndef BAIDU_DUER_LIBDUER_DEVICE_EXAMPLES_DCS3_LINUX_DUERAPP_H
|
|
#define BAIDU_DUER_LIBDUER_DEVICE_EXAMPLES_DCS3_LINUX_DUERAPP_H
|
|
|
|
#include "duerapp_config.h"
|
|
|
|
bool duer_app_get_connect_state();
|
|
|
|
void duer_my_dcs_init(void);
|
|
|
|
int duer_app_ota_init(void);
|
|
|
|
void duer_app_ota_uninitialize(void);
|
|
|
|
int duer_app_init(void);
|
|
|
|
void duer_app_uninit(void);
|
|
|
|
#endif // BAIDU_DUER_LIBDUER_DEVICE_EXAMPLES_DCS3_LINUX_DUERAPP_H
|