This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2530DK: ZNP and SimpleApp sample application

Part Number: CC2530DK
Other Parts Discussed in Thread: Z-STACK

Dear all,

Does the ZNP reply on SimpleApp sample application (SAPI_ProcessEvent())? I can disable it?

Thanks.

Best regards,

Barry

  • Hi Barry,

    What version of Z-Stack are you using? Can you please clarify your question? If you are asking about MT interfaces existing in sample applications, some sample applications have the MT interfaces enabled by default. You can remove them by going into the projects compile options and taking them out.
  • As I know, SimpleApp uses SAPI but if your application doesn't use SAPI, you can disable it.
  • Dear Jason and YK,

    Sorry for my unclear explanation. I am going to describe my issues in details here:

    I found there is a SAPI task in the ZNP example (SAPI_ProcessEvent)(C:\Texas Instruments\Z-Stack 3.0.0\Projects\zstack\ZNP)  while other examples in HomeAutomation (C:\Texas Instruments\Z-Stack 3.0.0\Projects\zstack\HomeAutomation) don’t have it.

    My questions are:

    1. Can I remove the SAPI in that ZNP program? In such a way that the architecture of the ZNP-ZAP configuration would be like this? (I marked some crosses on the figure.)

    2. I found the Z-Stack 3.0’s document folder (C:\Texas Instruments\Z-Stack 3.0.0\Documents) don’t have SPAI document (Z-Stack Simple API.pdf), does it mean that the SPAI will be deprecated  soon?

    Thank you.

    BR,

    Barry

  • 1. It's no problem to remove SAPI if you don't use it.
    2. If you use Zigbee 3.0, SAPI is useless.
  • I forgot one more question:

    3. The SimpleApp example described in SPAI document can only be found in ZStack-CC2530-2.5.1a (or older versions) (inside C:\Texas Instruments\ZStack-CC2530-2.5.1a\Projects\zstack\Samples\SimpleApp) but cannot be found in newer versions of Z-Stacks (Z-Stack 3.0.0, Z-Stack Home 1.2.2a.44539, Z-Stack Mesh 1.0.0, etc). Does it mean that if I want to use SAPI in ZigBee 3.0, I have to port it by myself?

    Best regards,
    Barry
  • Why SAPI is useless in ZigBee 3.0?
  • If you run Zigbee 3.0 application, it would use BDB or ZDP APIs. SAPI is for simple none Zigbee standard profile applications.