support aliyun sdk on TencentOS tiny
sample: examples\aliyun_iotkit_csdk_mqtt project: board\TencentOS_tiny_EVB_MX_Plus\KEIL\aliyun_iotkit_csdk_mqtt
This commit is contained in:
30
components/connectivity/iotkit-embedded-3.0.1/3rdparty/src/atm/at_api.h
vendored
Normal file
30
components/connectivity/iotkit-embedded-3.0.1/3rdparty/src/atm/at_api.h
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (C) 2015-2019 Alibaba Group Holding Limited
|
||||
*/
|
||||
|
||||
#ifndef _AT_API_H_
|
||||
#define _AT_API_H_
|
||||
|
||||
/**
|
||||
* AT module initialization.
|
||||
* Call this function before example starts.
|
||||
* at_parser or at_tcp will be initialized if enabled.
|
||||
* @param[in] none
|
||||
*
|
||||
* @return 0 - success, -1 - failure
|
||||
*/
|
||||
int IOT_ATM_Init(void);
|
||||
|
||||
|
||||
/**
|
||||
* Hand received data to ATM layer.
|
||||
* Call this function in low-layer HAL.
|
||||
* @param[in] param pointer to input struct.
|
||||
* See struct at_conn_input and struct at_mqtt_input
|
||||
* in at_wrapper.h
|
||||
*
|
||||
* @return 0 - success, -1 - failure
|
||||
*/
|
||||
int IOT_ATM_Input(void * param);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user