This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Zigbee channel scan and change short addr

1.I want to know whether there is any existing network in the same channel .And get the existing network's information like PAN ID.

Any APIs to do this?

2.How to set end device's short address manually? 

I just find  "nrf_802154_short_address_set",but don't know how to update to Zigbee stack and the network ?

Did i do it correctly?

Parents
  • Don't know if this helps but you might want to look at this functions. 


    /**
       Set 64-bit long address
       @param addr - long address structure
    */
    zb_void_t zb_set_long_address(const zb_ieee_addr_t addr);

    /**
       Set Extended Pan ID (apsUseExtendedPANID attribute)
       @param ext_pan_id - Long (64-bit) Extented Pan ID
    */
    zb_void_t zb_set_extended_pan_id(const zb_ext_pan_id_t ext_pan_id);

Reply
  • Don't know if this helps but you might want to look at this functions. 


    /**
       Set 64-bit long address
       @param addr - long address structure
    */
    zb_void_t zb_set_long_address(const zb_ieee_addr_t addr);

    /**
       Set Extended Pan ID (apsUseExtendedPANID attribute)
       @param ext_pan_id - Long (64-bit) Extented Pan ID
    */
    zb_void_t zb_set_extended_pan_id(const zb_ext_pan_id_t ext_pan_id);

Children
Related