Other Parts Discussed in Thread: CC2531, Z-STACK, AM3517, CC2530
I'm planning on porting the ZigBee Application Processor (from ZAP-MSP430-2.5.1) to Linux. My environment is a desktop Linux PC and a CC2531 USB stick running the ZNP firmware. (I also have two CC2530s with SmartRF05 boards that I can use to populate a Zigbee network.) I'll also be using a gcc-based toolchain for this instead of IAR. I have already used the ZNP to join a ZigBee network by sending simple commands over UART (as documented in CC2530ZNP Interface Specification) without any libraries from TI, so I know I won't have any connection issues. However, I want to implement ZigBee SE Profile, and of course I'd like to use TI's library from ZAP-MSP430-2.5.1 for this instead of writing it from scratch, so that means porting the ZAP framework to Linux.
I see several forum posts from people asking about this same thing as well as people who say they have already done this. Is there a completed Linux ZAP port that is available online? Considering how many times it has been done, it would be nice not to reinvent the wheel. As for doing the port myself, any advice? I know I'll have to port the OSAL and HAL source code. The OSAL API and HAL Driver API documents both appear to be very helpful for this. Besides those, I have the ZAP source code and ZCL code (which is required for the Zigbee SE Profile application), but should not need to make changes to them since they rely on the OSAL and HAL for platform-specific functionality. Am I on the right track here? Is there anything else I need to watch out for?