Files
TencentOS-tiny/components/connectivity/iotkit-embedded-3.0.1/3rdparty/src/atm/at_api.h
dcxajichu 8c24d921b0 support aliyun sdk on TencentOS tiny
sample: examples\aliyun_iotkit_csdk_mqtt
project: board\TencentOS_tiny_EVB_MX_Plus\KEIL\aliyun_iotkit_csdk_mqtt
2019-10-31 16:36:28 +08:00

31 lines
633 B
C

/*
* 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