⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 network.h.bak

📁 motorola jw32 usb 源码
💻 BAK
字号:
/*********************************************************************
 *
 *                  MFT Network layer
 *
 *********************************************************************
 * FileName:        mftMAC.h
 * Processor:       c51
 * Company:         chengdu MFT, Inc.
 *
 * Software License Agreement
 *
 *
 * Author               Date    Comment
 *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * jiangchao    				5/09/05 Rel 0.1
 ********************************************************************/
 
#include "public.h"
 extern BYTE bIsNWKDiscovered;
#define NWKIsDiscovered()           (bIsNWKDiscovered)
/*********************************************************************
 * Function:        void NWKFormStart(void)
 *
 * PreCondition:    NWKDiscovery is successfully completed.
 *
 * Input:           None
 *
 * Output:          None
 *
 * Side Effects:    None
 *
 * Overview:        Selects PANID and establishes network
 *
 * Note:            Available to coordinators only.
 ********************************************************************/

extern void NWKFormStart(void);
/*********************************************************************
 * Function:       BOOL NWKInitIsComplete(void)
 *
 * PreCondition:    None
 *
 * Input:           TRUE if NWK Coordinator is complete
 *                  FALSE, otherwise
 *
 * Output:          None
 *
 * Side Effects:    None
 *
 * Overview:        Performs coordinaor initialization process.
 *
 * Note:            Available for coorindator only.
 ********************************************************************/

extern BYTE NWKInitIsComplete(void);
/*********************************************************************
 * Function:        BOOL NWKIsDiscoveryComplete(void)
 *
 * PreCondition:    NWKStartDiscovery() is called
 *
 * Input:           None
 *
 * Output:          TRUE, if complete
 *                  FALSE otherwise
 *                  Use GetZError() to check for error.
 *
 * Side Effects:    None
 *
 * Overview:        Performs network discovery process.
 *
 * Note:            None
 ********************************************************************/
extern byte NWKIsDiscoveryComplete(void);

/*********************************************************************
 * Function:        void NWKInit(void)
 *
 * PreCondition:    None
 *
 * Input:           None
 *
 * Output:          None
 *
 * Side Effects:    None
 *
 * Overview:        Starts network discovery process
 *
 * Note:            Available for coorindator only.
 ********************************************************************/
 
 
extern void NWKInit(void);

/*********************************************************************
 * Function:        BOOL NWKFormIsComplete()
 *
 * PreCondition:    NWKDiscovery is successfully completed.
 *
 * Output:          for  device if join network success ,return TRUE,for coordinator,
 	                  directly return TRUE.
 *
 * Side Effects:    None
 *
 * Overview:        Selects PANID and establishes network
 *
 * Note:            Available to coordinators only.
 ********************************************************************/
extern BYTE NWKFormIsComplete();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -