From 03fd5769754b3e88e6989ef7ecbe2bbee5469ed7 Mon Sep 17 00:00:00 2001 From: Viet Dzung Date: Thu, 23 Aug 2018 20:10:35 +0700 Subject: [PATCH] Update readme --- coordinator/CC2530/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/coordinator/CC2530/README.md b/coordinator/CC2530/README.md index 5b55081..b0d89d2 100644 --- a/coordinator/CC2530/README.md +++ b/coordinator/CC2530/README.md @@ -53,7 +53,15 @@ MAX_NEIGHBOR_ENTRIES=10 MAXMEMHEAP=3120 INCLUDE_REVISION_INFORMATION ``` -7. Create `Z-Stack Home 1.2.2a.44539\Components\mt\revision_info.h` with contents `#define CODE_REVISION_NUMBER 20182308`. +5. Press OK. +6. Create `Z-Stack Home 1.2.2a.44539\Components\mt\revision_info.h` with contents `#define CODE_REVISION_NUMBER 20180507`. +7. In `NWK\nwk_globals.c` change the following constants. +```c +#define NWK_MAX_DATABUFS_WAITING 32 // Waiting to be sent to MAC +#define NWK_MAX_DATABUFS_SCHEDULED 20 // Timed messages to be sent +#define NWK_MAX_DATABUFS_CONFIRMED 20 // Held after MAC confirms +#define NWK_MAX_DATABUFS_TOTAL 48 // Total number of buffers +``` 8. Right-click on *CC2530 - ProdHex** and click *Rebuild all*. 9. Once finished, you can find the `CC2530ZNP-Prod.hex` file in `Z-Stack Home 1.2.2a.44539\Projects\zstack\ZNP\CC253x\dev`.