79 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			79 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
|  | /****************************************************************************
 | ||
|  | 
 | ||
|  | Copyright(c) 2019 by Aerospace C.Power (Chongqing) Microelectronics. ALL RIGHTS RESERVED. | ||
|  | 
 | ||
|  | This Information is proprietary to Aerospace C.Power (Chongqing) Microelectronics and MAY NOT | ||
|  | be copied by any method or incorporated into another program without | ||
|  | the express written consent of Aerospace C.Power. This Information or any portion | ||
|  | thereof remains the property of Aerospace C.Power. The Information contained herein | ||
|  | is believed to be accurate and Aerospace C.Power assumes no responsibility or | ||
|  | liability for its use in any way and conveys no license or title under | ||
|  | any patent or copyright and makes no representation or warranty that this | ||
|  | Information is free from patent or copyright infringement. | ||
|  | 
 | ||
|  | ****************************************************************************/ | ||
|  | #ifndef IOT_CLI_PLC_FUNCTION
 | ||
|  | #define IOT_CLI_PLC_FUNCTION
 | ||
|  | 
 | ||
|  | /* os shim includes */ | ||
|  | #include "os_types.h"
 | ||
|  | #include "iot_utils_api.h"
 | ||
|  | 
 | ||
|  | #ifdef __cplusplus
 | ||
|  | extern "C" { | ||
|  | #endif
 | ||
|  | 
 | ||
|  | #pragma pack(push)  /* save the pack status */
 | ||
|  | #pragma pack(1)     /* 1 byte align */
 | ||
|  | 
 | ||
|  | void cli_get_meter_data( | ||
|  |     uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_get_meter_rt_data( | ||
|  |     uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_get_report_ack( | ||
|  |     uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_start_search_meter( | ||
|  |     uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_handle_user_data( | ||
|  |     uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_stop_search_meter( | ||
|  |     uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_get_meter_list(uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_get_white_list_state( | ||
|  |     uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_get_white_list(uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_add_white_list(uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_rm_white_list(uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_set_white_list_state( | ||
|  |     uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_set_tsfm_detect_state( | ||
|  |     uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_get_tsfm_detect_state( | ||
|  |     uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_set_con_mr_param( | ||
|  |     uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_get_con_mr_param( | ||
|  |     uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_set_event_rpt_enabled( | ||
|  |     uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_set_cctt_data_enabled( | ||
|  |     uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_bd_start(uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_bd_query_state(uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_bd_query_result(uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_set_esp(uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_query_esp(uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_query_node_info(uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_cco_send_broadcast_data(uint8_t *buffer, uint32_t bufferlen, | ||
|  |     uint8_t *src_mac); | ||
|  | void cli_set_mac(uint8_t *buffer, uint32_t bufferlen, uint8_t *src_mac); | ||
|  | void cli_trans_local_proto_data(uint8_t *buffer, uint32_t bufferlen, | ||
|  |     uint8_t *src_mac); | ||
|  | #pragma pack(pop)   /* restore the pack status */
 | ||
|  | 
 | ||
|  | #ifdef __cplusplus
 | ||
|  | } | ||
|  | #endif
 | ||
|  | 
 | ||
|  | #endif
 |