hi,
The max device is 50. I wonder it is a limitation of the stack or the limitation of application?
From the source code, I see it seems the limitation of the application. But from the documentation it seems the limitation of the stack.
The following is from the readme in the /examples/hexfile:
The MAC Stack implements the IEEE 802.15.4 communication stack, and is combined with the Collector, Sensor and Co-Processor applications to produce functional device .hex files. Two MAC Stack .hex files are included, FFD amd RFD, which provide identical functionality but different network size characteristics - the FFD build supports up to 50 devices and uses more RAM than the RFD build which supports 5 devices.
regards
steven