DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AN241 查看數據表(PDF) - Silicon Laboratories

零件编号
产品描述 (功能)
生产厂家
AN241 Datasheet PDF : 30 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
AN241
5.1. NLME-NETWORK-DISCOVERY
5.1.1. Description
This primitive instructs the device's network layer to search for networks within connection range. The search
operation will populate a list of available networks along with the characteristics of each.
Applicability:
All device types.
Prerequisite:
NLME-RESET
5.1.2. Request
Description:
This function is called to request that the NWK layer discover networks currently operating
within range.
Function Prototype:
Parameters:
void nlmeNetworkDiscoveryRequest(UINT32 scanChannels,
UINT8 scanDuration)
UINT32 scanChannels
32 bit long value. The five most significant bits (b27, ... ,b31) are reserved. The 27 least
significant bits (b0, b1, ... b26) indicate which channels are to be scanned (1 = scan, 0 =
do not scan) for each of the 27 valid channels.
UINT8 scanDuration
8 bit long unsigned character. Valid between 0 and 0x0E. A value used to calculate the
length of time to spend scanning each channel. The time spent scanning each channel is
(aBaseSuperframeDuration * (2n + 1)) symbols, where n is the value of the ScanDuration
parameter. Constant aBaseSuperframeDuration is defined in the IEEE 802.15.4 Standard.
5.1.3. Confirm
Description:
Results:
Confirmation written to nlmeConfirm global.
nlmeConfirm.confirmId = N_DISC_CFM;
nlmeConfirm.buffer structure:
typedef struct{
BYTE NetworkCount;
NETWORK_DESCRIPTOR nwkDescriptor[
MAX_USE_CHANNEL_COUNT];
MAC_ENUM Status;
}NLME_NETWORK_DISCOVERY_CONFIRM; (defined in HS_NET.h)
typedef struct {
WORD panID;
BYTE logicalChannel;
BYTE stackProfile;
BYTE zigBeeVersion;
BYTE beaconOrder;
BYTE superFrameOrder;
BOOL permitJoining;
BYTE securityLevel;
}NETWORK_DESCRIPTOR; (defined in HS_NET.h)
BYTE NetworkCount
Number of networks discovered during the search.
12
Rev. 0.1

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]