亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? lrwpan_config.h

?? ZigBee協(xié)議棧2.0的程序
?? H
字號:
/*
 *2006/08/16 WXL 2.0
 *
 */

/*


*/



/*
  Contains configuration information for the stack
  Can be overridden by the user
*/

#ifndef LRWPAN_CONFIG_H
#define LRWPAN_CONFIG_H

#define LRWPAN_VERSION  "0.2.2"

// size for dynamically allocation functions in memalloc
#ifndef LRWPAN_HEAPSIZE
#define LRWPAN_HEAPSIZE  1024
#endif

//only support 2.4GHz right now
#define LRWPAN_DEFAULT_FREQUENCY PHY_FREQ_2405M
#define LRWPAN_SYMBOLS_PER_SECOND   62500


#define LRWPAN_DEFAULT_START_CHANNEL  20   //valid channels are 11 to 26 for 2.4GHz.
//a zero indicates the channel should not be used, so 0xFFFFFFFF allows all 16 channels
//2.4GHz channels are in bits 11-26
#define LRWPAN_DEFAULT_CHANNEL_MASK 0xFFFFFFFF
//PANID to use for this network
#define LRWPAN_USE_STATIC_PANID      //if this is defined, then DEFAULT PANID always used
#define LRWPAN_DEFAULT_PANID 0x1347
#define LRWPAN_DEFAULT_CHANNEL_SCAN_DURATION 4

//maximum number of buffered RX packets in MAC layer
#define LRWPAN_MAX_MAC_RX_PKTS   4

//maximum number of packets waiting to be forwarded to other nodes in NWK layer
//only has to be defined for FFDs
#define LRWPAN_MAX_NWK_RX_PKTS   4


//maximum number of indirect packets waiting to be resolved
//only has to be defined by the coordinator.
#define LRWPAN_MAX_INDIRECT_RX_PKTS 2


/*
If LRWPAN_ENABLE_SLOW_TIMER is defined, then the HAL layer
will configure a timer for periodic interrupt using the SLOWTICKS_PER_SECOND value
Also, the hal layer will call the usr function usrSlowTimerInt() each time
the interrupt occurs.

If the slow timer is enabled, then the EVB switches will be sampled as this rate.

Look in the halStack.c file to see what timer resource is used for this.
It may be different from the timer resource used for the macTimer.

Disable this if you do not want to use this timer resource.

*/



//uncomment this if you want the ASSOC_RESPONSE, ASSOC_REQUEST to be 802.15.4 compatible
#define IEEE_802_COMPLY



//this is only used if device does not have
//some other way to set the address
//if you redefine one byte, must redefine all bytes
#ifndef aExtendedAddress_B7
#define aExtendedAddress_B7 0x00
#define aExtendedAddress_B6 0x00
#define aExtendedAddress_B5 0x00
#define aExtendedAddress_B4 0x00
#define aExtendedAddress_B3 0x00
#define aExtendedAddress_B2 0x00
#define aExtendedAddress_B1 0x00
#define aExtendedAddress_B0 0x00
#endif

//uncomment this if you want to force association to a particular target
//#ifdef LRWPAN_FORCE_ASSOCIATION_TARGET
//set the following to the long address of the parent to associate with
//if using forced association.
//if you use forced association, then you must NOT define IEEE_802_COMPLY
//as forced association depends upon our special associate request/response
#define parent_addr_B0 0x00
#define parent_addr_B1 0x00
#define parent_addr_B2 0x00
#define parent_addr_B3 0x00
#define parent_addr_B4 0x00
#define parent_addr_B5 0x00
#define parent_addr_B6 0x00
#define parent_addr_B7 0x00



//MAC Capability Info

//if either router or coordinator, then one of these must be defined
//#define LRWPAN_COORDINATOR
//#define LRWPAN_ROUTER




#if (defined (LRWPAN_COORDINATOR) || defined (LRWPAN_ROUTER) )
#define LRWPAN_FFD
#define LRWPAN_ROUTING_CAPABLE
#endif
#if !defined (LRWPAN_FFD)
#define LRWPAN_RFD
#endif

//define this if ACMAIN POWERED
#define LRWPAN_ACMAIN_POWERED
//define this if Receiver on when idle
#define LRWPAN_RCVR_ON_WHEN_IDLE
//define this if capable of RX/TX secure frames
//#define LRWPAN_SECURITY_CAPABLE



//comment this if you want the phy to call the EVBPOLL function
//do this if you want to poll EVB inputs during the stack idle
//time
//#define LRWPAN_PHY_CALL_EVBPOLL

#define LRWPAN_ZIGBEE_PROTOCOL_ID   0
#define LRWPAN_ZIGBEE_PROTOCOL_VER  0
#define LRWPAN_STACK_PROFILE  0         //indicates this is a closed network.
#define LRWPAN_APP_PROFILE    0xFFFF    //filter data packets by this profile number
#define LRWPAN_APP_CLUSTER    0x2A    //default cluster, random value for debugging

//define this if you want the beacon payload to comply with the Zigbee standard
#define LRWPAN_ZIGBEE_BEACON_COMPLY

//Network parameters



//this is a magic number exchanged with nodes wishing to join our
//network. If they do not match this number, then they are rejected.
//Sent in beacon payload
#define LRWPAN_NWK_MAGICNUM_B0 0x0AA
#define LRWPAN_NWK_MAGICNUM_B1 0x055
#define LRWPAN_NWK_MAGICNUM_B2 0x0C3
#define LRWPAN_NWK_MAGICNUM_B3 0x03C



/*
These numbers determine affect the size of the neighbor
table, and the maximum number of nodes in the network,
and how short addresses are assigned to nodes.

*/
#define LRWPAN_MAX_DEPTH                   5
#define LRWPAN_MAX_ROUTERS_PER_PARENT      4
//these are total children, includes routers!
#define LRWPAN_MAX_CHILDREN_PER_PARENT    17
#define LRWPAN_MAX_NON_ROUTER_CHILDREN    (LRWPAN_MAX_CHILDREN_PER_PARENT-LRWPAN_MAX_ROUTERS_PER_PARENT)



//if using Indirect addressing, then this number determines the
//maximum size of the address table map used by the coordinator
//that matches long addresses with short addresses.
//You should set this value to the maximum number of RFDs that
//use indirect addressing. The value below is just chosen for testing.
//Its minimum value must be the maximum number of neighbors (RFDs+Routers+1), as this
//is also used in the neighbor table construction.
#ifdef LRWPAN_COORDINATOR
#define LRWPAN_MAX_ADDRESS_MAP_ENTRIES   (LRWPAN_MAX_CHILDREN_PER_PARENT*2)
#endif


#ifndef LRWPAN_MAX_ADDRESS_MAP_ENTRIES
//this is the minimum value for this, minimum value used by routers
#ifdef LRWPAN_ROUTER
#define LRWPAN_MAX_ADDRESS_MAP_ENTRIES (LRWPAN_MAX_CHILDREN_PER_PARENT+1)
#endif
#ifdef LRWPAN_RFD
#define LRWPAN_MAX_ADDRESS_MAP_ENTRIES 1
#endif
#endif

#ifdef LRWPAN_FFD
#if (LRWPAN_MAX_ADDRESS_MAP_ENTRIES < (LRWPAN_MAX_CHILDREN_PER_PARENT+1))
#error "In lrwpan_config.h, LRWPAN_MAX_ADDRESS_MAP_ENTRIES too small!"
#endif
#endif



//these precalculated based upon MAX_DEPTH, MAX_ROUTERS, MAX_CHILDREN
//Coord at depth 0, only endpoints are at depth MAX_DEPTH
//LRWPAN_CSKIP_(MAX_DEPTH) must be a value of 0.
//this hardcoding supports a max depth of 10, should be PLENTY
//Use the spreadsheet supplied with the distribution to calculate these
#define LRWPAN_CSKIP_1     1446
#define LRWPAN_CSKIP_2      358
#define LRWPAN_CSKIP_3       86
#define LRWPAN_CSKIP_4       18
#define LRWPAN_CSKIP_5       0
#define LRWPAN_CSKIP_6       0
#define LRWPAN_CSKIP_7       0
#define LRWPAN_CSKIP_8       0
#define LRWPAN_CSKIP_9       0
#define LRWPAN_CSKIP_10      0


#define LRWPAN_NWK_MAX_RADIUS  LRWPAN_MAX_DEPTH*2

//Binding
//if the following is defined, then the EVB binding functions use
//the binding resolution functions defined in stack/staticbind.c
//#define LRWPAN_USE_DEMO_STATIC_BIND

//Define this if you want to use the binding functions
//in pcbind.c/h that store the binding table on a PC client
//using the bindingdemo application
//#define LRWPAN_USE_PC_BIND
//PC_BIND_CACHE_SIZE only needed if USE_PC_BIND is defined
//number of bindings cached by the PC bind code
#define LRWPAN_PC_BIND_CACHE_SIZE  4

//these are defaults, can be changed by user
#define LRWPAN_APS_ACK_WAIT_DURATION 200  //in milliseconds, for depth=1
#define LRWPAN_NWK_JOIN_WAIT_DURATION 200  //in milliseconds!



#define LRWPAN_APS_MAX_FRAME_RETRIES 3  //for acknowledge frames.
#define LRWPAN_MAC_MAX_FRAME_RETRIES 3  //for MAC ack requests .

//maximum number of endpoints, controls size of endpoint data structure
//in APS.h
#define LRWPAN_MAX_ENDPOINTS    6

//data for node descriptor, not  currently used
#define LRWPAN_MAX_USER_PAYLOAD   93      //currently 93 bytes.
#define LRWPAN_MANUFACTURER_CODE  0x0000  //assigned by Zigbee Alliance



//unsupported at this time
// #define LRWPAN_ALT_COORDINATOR
// #define LRWPAN_SECURITY_ENABLED

//HAL Stuff

#define LRWPAN_ENABLE_SLOW_TIMER

#define SLOWTICKS_PER_SECOND 10
#define LRWPAN_DEFAULT_BAUDRATE 57600
#define LRWPAN_ASYNC_RX_BUFSIZE   32

#define LRWPAN_ASYNC_INTIO

#if (defined(LRWPAN_USE_PC_BIND)&&defined(LRWPAN_COORDINATOR)&&!defined(LRWPAN_ASYNC_INTIO))
//ASYNC RX interrupt IO *must* be used with coordinator if using PC Binding application
//so that serial input from the PC client is not missed.
#define LRWPAN_ASYNC_INTIO

#endif


#endif

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆精品一区二区综合av| 日韩精品一区在线| 国产精品久久看| 国产精品亚洲视频| 一本大道久久a久久综合婷婷| 久久众筹精品私拍模特| 亚洲va天堂va国产va久| 欧洲精品在线观看| 伊人婷婷欧美激情| 成人精品免费视频| 中文字幕电影一区| 99久久精品费精品国产一区二区| 国产精品免费视频网站| 高清不卡在线观看av| 国产精品久久影院| 一本色道综合亚洲| 亚洲成人精品一区二区| 欧美日韩精品电影| 免费在线观看精品| www成人在线观看| 国产精品一区二区91| 国产精品少妇自拍| 欧美日韩一二三| 激情综合色综合久久| 亚洲视频狠狠干| 91精品国产品国语在线不卡| 国产成人综合亚洲网站| 一区二区三区四区高清精品免费观看| 777午夜精品免费视频| 国产福利91精品| 午夜精品一区二区三区电影天堂 | 亚洲欧美另类图片小说| 欧美三级乱人伦电影| 国产一区二区在线观看视频| 一区二区三区中文在线| 久久久五月婷婷| 欧美精品一级二级| 99久久99久久综合| 国产麻豆午夜三级精品| 亚洲成av人片一区二区| 国产精品毛片高清在线完整版| 欧美一级搡bbbb搡bbbb| 色综合久久六月婷婷中文字幕| 极品美女销魂一区二区三区免费| 亚洲一区中文在线| 中文字幕av一区二区三区高| 日韩免费成人网| 欧美私人免费视频| 99热精品一区二区| 国产一区二区三区免费| 日本系列欧美系列| 亚洲成人精品一区| 一区二区三区四区蜜桃| 亚洲视频一区二区在线观看| 久久久电影一区二区三区| 日韩一区二区视频| 91精选在线观看| 欧美日韩久久久一区| 色综合久久综合| av一本久道久久综合久久鬼色| 国产真实乱对白精彩久久| 琪琪久久久久日韩精品| 日韩精品一二三区| 亚洲一区二区三区影院| 一区二区三区视频在线观看| 亚洲三级电影网站| 国产精品电影一区二区| 国产精品免费视频网站| 中文字幕不卡一区| 国产欧美精品国产国产专区 | 国产三级精品在线| 欧美精品一区二区三区蜜臀| 日韩欧美视频一区| 欧美岛国在线观看| 欧美xingq一区二区| 日韩欧美一区在线| 日韩精品中文字幕一区二区三区| 欧美精品1区2区3区| 91精品国产手机| 日韩女优av电影| 精品捆绑美女sm三区| 精品电影一区二区| 国产日韩欧美在线一区| 国产精品美女www爽爽爽| 国产精品灌醉下药二区| 亚洲精品视频免费观看| 亚洲综合偷拍欧美一区色| 亚洲一卡二卡三卡四卡无卡久久| 亚洲图片欧美一区| 日韩一区欧美二区| 韩国欧美国产1区| 国产成人综合在线| 色一区在线观看| 欧美区视频在线观看| 欧美一区2区视频在线观看| 欧美精品一区二区在线播放| 欧美激情一区二区三区不卡| 亚洲色图丝袜美腿| 天天av天天翘天天综合网色鬼国产| 青青草精品视频| 国产伦精品一区二区三区视频青涩 | 国产高清精品久久久久| 暴力调教一区二区三区| 欧美影院一区二区| 欧美xxxxx裸体时装秀| 中文字幕乱码一区二区免费| 一区二区三区在线视频观看58| 五月天一区二区| 国产在线精品一区二区夜色 | 五月婷婷激情综合| 国内国产精品久久| 色哟哟欧美精品| 精品欧美久久久| 亚洲乱码中文字幕| 蜜臀精品久久久久久蜜臀| 99久久久久久99| 欧美一区二区三区日韩视频| 国产精品视频免费看| 日日夜夜精品视频天天综合网| 国产精品亚洲专一区二区三区| 欧美中文一区二区三区| 久久久久久久精| 亚洲国产wwwccc36天堂| 国产精品亚洲午夜一区二区三区| 欧美在线短视频| 国产亚洲一本大道中文在线| 夜夜精品视频一区二区 | 中文在线资源观看网站视频免费不卡| 亚洲婷婷在线视频| 黑人巨大精品欧美一区| 欧美亚洲综合色| 国产精品视频看| 国产在线视频一区二区三区| 欧洲av一区二区嗯嗯嗯啊| 国产日韩视频一区二区三区| 美女久久久精品| 在线播放日韩导航| 亚洲另类一区二区| 成人免费毛片高清视频| 精品美女一区二区三区| 五月天激情综合| 91美女在线视频| 国产精品国产a级| 高清在线不卡av| 国产无遮挡一区二区三区毛片日本| 视频一区视频二区中文| 欧美最猛黑人xxxxx猛交| 亚洲日本电影在线| 高清不卡一区二区| 国产欧美视频一区二区三区| 精品亚洲国产成人av制服丝袜| 欧美日韩午夜在线视频| 一区二区免费看| 91传媒视频在线播放| 亚洲免费在线观看| fc2成人免费人成在线观看播放| 精品国产第一区二区三区观看体验| 日韩av在线发布| 欧美一区二区在线播放| 日本麻豆一区二区三区视频| 欧美日韩国产乱码电影| 亚洲网友自拍偷拍| 欧美日韩在线一区二区| 亚洲成人福利片| 欧美日韩在线不卡| 日韩av一二三| 欧美一区二区三区视频在线观看| 偷窥少妇高潮呻吟av久久免费| 欧美日韩国产另类一区| 三级久久三级久久| 欧美电影免费观看高清完整版在线 | 久久一夜天堂av一区二区三区| 精品一区二区三区的国产在线播放| 日韩西西人体444www| 久久99久久99精品免视看婷婷| 日韩美女视频在线| 韩国成人在线视频| 国产日韩一级二级三级| gogo大胆日本视频一区| 亚洲免费观看视频| 欧美绝品在线观看成人午夜影视| 午夜精品爽啪视频| 日韩午夜av电影| 国产91精品入口| 亚洲乱码国产乱码精品精小说| 色天天综合久久久久综合片| 亚洲成a人片在线不卡一二三区 | 日韩免费看的电影| 高清国产一区二区| 亚洲黄色片在线观看| 日韩午夜精品电影| 成人免费毛片app| 亚洲国产精品久久不卡毛片| 日韩精品一区二区三区在线观看| 国产91精品一区二区麻豆网站| 日韩美女视频一区二区 | 日韩欧美的一区| 北条麻妃一区二区三区| 亚洲成人一区在线| 久久精品欧美日韩精品 |