File: MAC_profile.h

package info (click to toggle)
tinyos 2.1.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 47,476 kB
  • ctags: 36,607
  • sloc: ansic: 63,646; cpp: 14,974; java: 10,358; python: 5,215; makefile: 1,724; sh: 902; asm: 597; xml: 392; perl: 74; awk: 46
file content (32 lines) | stat: -rw-r--r-- 557 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * @author open-zb http://www.open-zb.net
 * @author Stefano Tennina
 */

#ifndef __MAC_PROFILE__
#define __MAC_PROFILE__

// Default PAN ID
#ifndef DEF_MAC_PANID
#define MAC_PANID			0x123F
#else
#define MAC_PANID			DEF_MAC_PANID
#endif

// Default Channel
#ifndef DEF_CHANNEL
#define LOGICAL_CHANNEL 	26
#else
#define LOGICAL_CHANNEL 	DEF_CHANNEL
#endif

#define BEACON_ORDER		8
#define SUPERFRAME_ORDER	4

#define AVAILABLEADDRESSES 0x06
#define ADDRESSINCREMENT 0x0001
#define MAXCHILDREN		0x06
#define MAXDEPTH		0x03
#define MAXROUTERS		0x04

#endif