?? router.h
字號:
//----------------------------------------------------//
//-------Institute Of Computing Technology-----------//
//------------Chinese Academic Science---------------//
//-----中國科學院計算技術研究所先進測試技術實驗室-----//
//----------------------------------------------------//
/**
* @copyright:nbicc_lpp
* @this is router layer header
* @author liulingyi (lingyiliu@ict.ac.cn)
* zhouqiang (zhouhongren@163.com)
*
* @data:2005.12.16
* @version:0.0.1
* @updata:$
*
*/
#ifndef _ROUTER_H_
#define _ROUTER_H_
#include "mac.h"
#include "generic.h"
typedef struct _ASSOCIATE_TABLE_ELEM
{
LONG_ADDR ieee_addr;
SHORT_ADDR allocated_addr;
bool is_valid;
} ASSOCIATE_TABLE_ELEM;
#define MAX_ASSOCIATE_TABLE_NUM 10
void associate_tab_init(void);
void router_init(void);
uint8_t Is_associated(LONG_ADDR long_address);
SHORT_ADDR short_address_allocate_req(LONG_ADDR ieee_addr);
bool disassociate_req(LONG_ADDR ieee_addr);
SHORT_ADDR get_a_short_address(void);
void sensor_data_tx_to_pc(MCPS_DATA_INDICATION);
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -