| Electronic Components Datasheet Search |
|
SN260 Datasheet(PDF) 61 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
SN260 Datasheet(HTML) 61 Page - STMicroelectronics |
|
61 / 88 page ![]() SN260 EmberZNet serial protocol 61/88 Table 76. joinNetwork Name: joinNetwork ID: 0x1F Description: Causes the stack to associate with the network using the specified network parameters. It can take several seconds for the stack to associate with the local network. Do not send messages until the stackStatusHandler callback informs you that the stack is up. Command parameters: EmberNodeType nodeType Specification of the role that this node will have in the network. This role must not be EMBER_COORDINATOR. To be a coordinator, use the formNetwork command. EmberNetworkParameters Specification of the network with which the node should associate. boolean joinSecurely If true, the node uses the current key to secure messages during the joining process. The proper value for secured networks depends upon their configuration. Some networks use unsecured joining and distribute the key from the coordinator. Other networks require secure joining and accept only nodes that know the correct key. This value has no effect if the security level is 0. Response parameters: EmberStatus status An EmberStatus value indicating success or the reason for failure. Table 77. scanAndFormNetwork Name: scanAndFormNetwork ID: 0x4F Description: Scan for an available channel and PAN ID then form a network. This performs the following actions: 1. Performs an energy scan on the indicated channels and randomly chooses one from amongst those with the least average energy. 2. Randomly picks a PAN ID that does not appear during an active scan on the chosen channel. 3. Forms a network using the chosen channel and PAN ID. If any errors occur the status code is passed to the scanErrorHandler callback and no network is formed. Success is indicated when the stackStatusHandler callback is invoked with the EMBER_NETWORK_UP status value. Command parameters: int32u channelMask Bits set as 1 indicate that this particular channel should be scanned. Bits set to 0 indicate that this particular channel should not be scanned. For example, a channelMask value of 0x00000001 would indicate that only channel 0 should be scanned. Valid channels range from 11 to 26 inclusive. This translates to a channel mask value of 0x07FFF800. int8s radioTxPower A power setting, in dBm. Response parameters: None Table 78. scanAndJoinNetwork Name: scanAndJoinNetwork ID: 0x50 Description: Scan and join a network. This performs the following actions: 1. Does an active scan to find a network that uses our stack profile and currently allows new nodes to join. 2. Joins the chosen network. If any errors occur the status code is passed to the scanErrorHandler callback and no network is joined. Success is indicated when the stackStatusHandler callback is invoked with the EMBER_NETWORK_UP status value. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |