mirror of
https://github.com/Koenkk/Z-Stack-firmware.git
synced 2024-11-22 18:15:28 +01:00
Merge pull request #9 from Koenkk/increased_buffer
Update buffer sizes.
This commit is contained in:
commit
5523e92157
@ -17,5 +17,12 @@ INCLUDE_REVISION_INFORMATION
|
|||||||
```
|
```
|
||||||
6. Press OK.
|
6. Press OK.
|
||||||
7. Create `Z-Stack Home 1.2.2a.44539\Components\mt\revision_info.h` with contents `#define CODE_REVISION_NUMBER 20180507`.
|
7. Create `Z-Stack Home 1.2.2a.44539\Components\mt\revision_info.h` with contents `#define CODE_REVISION_NUMBER 20180507`.
|
||||||
8. Right-click on *CC2531 - ProdHex** and click *Rebuild all*.
|
8. In `NWK\nwk_globals.c` change the following constants.
|
||||||
9. Once finished, you can find the `CC2531ZNP-Prod.hex` file in `Z-Stack Home 1.2.2a.44539\Projects\zstack\ZNP\CC253x\dev`.
|
```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
|
||||||
|
```
|
||||||
|
9. Right-click on *CC2531 - ProdHex** and click *Rebuild all*.
|
||||||
|
10. Once finished, you can find the `CC2531ZNP-Prod.hex` file in `Z-Stack Home 1.2.2a.44539\Projects\zstack\ZNP\CC253x\dev`.
|
||||||
|
@ -1288,7 +1288,7 @@
|
|||||||
:105030000C0E020B040B0A0708000F020402010108
|
:105030000C0E020B040B0A0708000F020402010108
|
||||||
:1050400001010902E803000000BE040A0000E803B1
|
:1050400001010902E803000000BE040A0000E803B1
|
||||||
:105050000E0000007F001E1E050303000404100A5A
|
:105050000E0000007F001E1E050303000404100A5A
|
||||||
:105060000C10080C280009040903010C050810089D
|
:105060000C10080C280009042D030130142010082E
|
||||||
:10507000FFC082C08390193EE4F0A3F07C177D1A34
|
:10507000FFC082C08390193EE4F0A3F07C177D1A34
|
||||||
:105080007AAB7B18123488123D28123F6E123D2EE7
|
:105080007AAB7B18123488123D28123F6E123D2EE7
|
||||||
:1050900002659274F512251774F5122BB6E9FF8A92
|
:1050900002659274F512251774F5122BB6E9FF8A92
|
||||||
@ -2061,7 +2061,7 @@
|
|||||||
:1080800004490000000000000000000000000000A3
|
:1080800004490000000000000000000000000000A3
|
||||||
:1080900000000000000000000000000000000000E0
|
:1080900000000000000000000000000000000000E0
|
||||||
:1080A00000000000000000303132333435363738FC
|
:1080A00000000000000000303132333435363738FC
|
||||||
:1080B0003941424344454602000206031BEE3301A8
|
:1080B0003941424344454602000206034FEF330173
|
||||||
:1080C00002000000000000000000FFFFFFFFFFFFB4
|
:1080C00002000000000000000000FFFFFFFFFFFFB4
|
||||||
:1080D000FFFFFFFFFFFFFFFFFFFF0008000400029C
|
:1080D000FFFFFFFFFFFFFFFFFFFF0008000400029C
|
||||||
:1080E00000010000000000000000FFFFFFFFFFFF95
|
:1080E00000010000000000000000FFFFFFFFFFFF95
|
||||||
|
Loading…
Reference in New Issue
Block a user