Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
np_app_ncn_interface.h
00001 /* 00002 * np_app_ncn_interface.h 00003 * 00004 * Created on: July 14, 2016 00005 * Author: Alan.Lin 00006 * 00007 * Copyright: NexPack Ltd. 00008 */ 00009 00010 #ifndef NP_APP_NCN_INTERFACE_H_ 00011 #define NP_APP_NCN_INTERFACE_H_ 00012 00013 #include <stdint.h> 00014 #ifdef __cplusplus 00015 extern "C" { 00016 #endif 00017 00018 typedef enum RESULT_WORD { 00019 SUCCESS = 0x00, 00020 ERROR = 0x01 00021 }result_Word; 00022 00023 extern uint8_t mdk_app_version[3] ; 00024 extern uint8_t mdk_mdk_version[3]; 00025 extern uint8_t source_address; 00026 extern volatile uint8_t flag_jump_bsl; 00027 extern uint8_t my_node; 00028 00029 void np_function_ncn_interface_loop(void); 00030 void np_function_set_post_address(uint8_t address); 00031 uint8_t np_function_ncn_interface_get_message(uint8_t *pData); 00032 uint8_t np_function_ncn_interface_post_message(uint16_t command, uint8_t *pData, uint8_t pLen); 00033 uint8_t np_function_ncn_interface_post_message_to_station(uint16_t command, uint8_t *pData, uint8_t pLen); 00034 //extern void np_api_start(); 00035 //extern void np_api_stop(); 00036 00037 #ifdef __cplusplus 00038 } 00039 #endif 00040 00041 #endif /* NP_APP_NCN_INTERFACE_H_ */
Generated on Tue Jul 12 2022 12:58:33 by
1.7.2