Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC2530: 1.2.2 door lock net but not communication

$
0
0

Part Number:CC2530

Door lock using uart communication

Once this problem occurs, all the terminals are reported to the coordinator's data, the coordinator is not received, the afIncomingData is not received, and the bottom can not find the function.
There are occasional problems in individual devices, and no way to reproduce them. It is normal to rejoin the network after the reset.
Query protocol stack code, find nwk_util.h has defined NWK_FC_END_DEV_INIT 13, but can not find the relevant code. I don't know what the problem is.

When you find out the problem in nwk_util.h, the thirteenth position in NWK FC is 1. Under normal circumstances, the position is 0
/ / frame control fields
#define NWK_FC_FRAME_TYPE 0
#define NWK_FC_PROT_VERSION 2
#define NWK_FC_DISC_ROUTE 6
#define NWK_FC_MULTICAST 8
#define NWK_FC_SECURE 9
#define NWK_FC_SRC_ROUTE 10
#define NWK_FC_DST_EXTADDR 11
#define NWK_FC_SRC_EXTADDR 12
#define NWK_FC_END_DEV_INIT 13
#define NWK_FC_RESERVED 14
/ / frame control field masks
#define NWK_FC_FRAME_TYPE_MASK 0x03
#define NWK_FC_PROT_VERSION_MASK 0x0F
#define NWK_FC_DISC_ROUTE_MASK 0x03
#define NWK_FC_MULTICAST_MASK 0x01
#define NWK_FC_SECURE_MASK 0x01
#define NWK_FC_SRC_ROUTE_MASK 0x01
#define NWK_FC_DST_EXTADDR_MASK 0x01
#define NWK_FC_SRC_EXTADDR_MASK 0x01
#define NWK_FC_END_DEV_INIT_MASK 0x01
#define NWK_FC_RESERVED_MASK 0x03

Once this error occurs, the terminal lock is reconnected to Orphan Notification to succeed in network. All data is 1. if the terminal is reconnected to the terminal with rejoin to be successful, the data is normal, the bit is 0.
If the terminal resets the network or rewrites the firmware, everything will return to normal.

 (Please visit the site to view this file)


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>