Coordinator.c,End device.c是原始的程式碼
config.h檔被引用到原始程式碼檔中,同時兩個原始程式檔也引用了下列的檔案
jendefs.h, AppHardwareApi.h, AppQueueApi.h, mac_sap.h, mac_pib.h
為什麼jennic的程式都沒有Main函數,說明書理有提到,簡而言之AppColdStart就是我們所說的Main()
想要自己寫程式要開新檔案,按下新增專案後,有非常多可以選擇
,如果沒錯的話應該是從802.15.4 Application, Zigbee Router, Jenie Router中選擇其中一個,但並不知道哪個是正確的,所以都開啟,下面這張是開啟以後的圖,1,2,3分別是Application, Zigbee Router, Jenie Router
三個裡面只有3有.h的檔案,依照範例檔都有.h的檔案如下圖
所以我們推斷寫程式要開啟Jennie Router才對
雖然學長給的清大製作出來的範例檔資料夾裡面沒有.h檔案
不過我們推斷可能是他們把程式寫完後,建制bin檔之後才把.h的檔案刪除的
For your reading:
回覆刪除ZigBee Device Access Control and Reliable Data Transmission in ZigBee Based Health Monitoring System
Jung, J.Y.; Lee, J.W.;
Advanced Communication Technology, 2008. ICACT 2008. 10th International Conference on
Volume 1, 17-20 Feb. 2008 Page(s):795 - 797
Digital Object Identifier 10.1109/ICACT.2008.4493875
Summary: One user's health monitoring system has a few ZigBee devices to measure one user's physiological data. Even if there are a lot of ZigBee devices nearby, the communication should be accepted between only one user's ZigBee devices. So, the access contr.....