Export Beekit to CodeWarrior - Zigbee for MC13237

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Export Beekit to CodeWarrior - Zigbee for MC13237

ソリューションへジャンプ
2,304件の閲覧回数
ming_
Contributor I

I start 'zigbee' solution with MC13237.

I export demo-example from Beekit to codewarrior as below.

codewarrior1.png

1. Could you explain the project (file) structure more detail ?

2. where is the entry point? (as like main.c)

3. BeeStack run on the task, then where I have to locate the each task (functions) ?

so far My understanding is

interface is configuration file for each layer.

BeeApp:  ( 'BeeApp' and 'Zigbee' both contain Zigbee stack ?! )

--ASL           : Application Support Layer

--Configure      :

--HA               :Home Automation Profile

--HC               : ?

--SE               : Security ??

--StackGlobals: Beestack global definition

--ZCL              : Zigbee Cluster Library -- I am not clear about this. Could you explain detail?

--ZDO              : Zigbee Device Object

MacPhy          : IEEE802.15.4 MAC / PHY

--Interface

--Libs

--Phy               : It has PHY for MC1323X family. who define specific IC (as like MC13237)?

PLM                 : Platform Module.

--Interface

--RPM

--Source          : All peripherals

SSM               :  ?

--TS                    : Task Scheduler

--ZTC                    : Zignbee Test Client

Zigbee               : standard zigbee stack ??

--interface

--libs

ラベル(1)
0 件の賞賛
返信
1 解決策
1,963件の閲覧回数
AngelC
Senior Contributor I

Dear Min,

Main function is located in BeeAppInit.c file of BeeStack project. You may create the task there or any other place you would prefer after scheduler has been initialized.

Regards,

AngelC

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,962件の閲覧回数
AngelC
Senior Contributor I

Dear Min,

You may find further details about BeeStack and the Application development process in general inside Beekit’s documentation folder. It is important to read such documentation if you are new to ZigBee development. A good start would be the as follows:

  • Freescale ZigBee Application User’s Guide for ZigBee 2012 and 2007
  • Freescale BeeStack Application Development Guide for ZigBee 2012 and 2007
  • Freescale BeeStack Software Reference Manual for ZigBee 2012 and 2007

Also, in 802.15.4 Documentation Folder you will find the Freescale Platform Reference Manual for ZigBee 2007, where you will find further details about PLM and SSM files.

Regarding your questions about layers naming:

--ASL: Application Support Layer

--HC: Health Care Profile

--SE: Smart Energy Profile

--ZCL:  Zigbee Cluster Library – Please refer to ZigBee Cluster Library Reference Manual

Regards,

AngelC

1,963件の閲覧回数
ming_
Contributor I

Dear AngelC

Thanks for reply

I am studying all the documents that you mention it. ( + Freescale Plateform Reference Manual, too)

But still is not clear couple things.

Generally, C/C++ code has starting point (except for startup configuration) and usually it is "main()".

in the exported demo code, where is the 'main()'(or starting point) ?

when I create own task, where I have to create?

Example: in case of FreeRTOS:

                    I can create new task on the main.c

                    Or create new task file with FreeRTOS's task header.

                    And then register(TaskCreate()) new task on the main roop (inside of 'main()').

0 件の賞賛
返信
1,964件の閲覧回数
AngelC
Senior Contributor I

Dear Min,

Main function is located in BeeAppInit.c file of BeeStack project. You may create the task there or any other place you would prefer after scheduler has been initialized.

Regards,

AngelC

0 件の賞賛
返信
1,963件の閲覧回数
ming_
Contributor I

Dear AngleC

Thanks a lot. I have to study more hard !! :smileyhappy: !!

0 件の賞賛
返信