整合雲端計算與物聯網被視為未來重要的產業趨勢。IPv6協定在此一產業趨勢無疑是重要的環節。目前有許多IPv6的解決方案,都是基於某種特定應用或某種特定硬體規格,因此面對異質網路整合、低耗能與低成本物聯網應用,常有其侷限。本研究將建置一套極低硬體資源需求的嵌入式IPv6網路堆疊,我們採用Contiki uIPv6,但移除了Contiki OS並進行改良,以便降低對系統記憶體等資源的需求;同時自行設計IPv6封包標頭壓縮/解壓縮機制與虛擬MAC位址標頭,以實現低成本設備的可擴充性與網路的可連結性,最後完成與硬體無關的IPv6網路堆疊,其中,我們改良了對實體層框架的承載資料長度的要求,以提高IPv6網路堆疊的移植性,加速各種低成本連網嵌入式系統的開發時程。 實驗顯示,本研究所設計的基於2.4G RF的低成本無線感測節點與閘道器,在無Contiki OS協助下,可以成功運作改良的uIPv6網路堆疊,以進行IPv6位址設定、ICMPv6/UDP、相關網路管理機制、封包標頭壓縮/解壓縮機制與虛擬MAC位址標頭處理。無線感測節點、閘道器與遠端的資料收集中心,均能成功使用ICMPv6/UDP進行有效地的通訊。本研究成果提供快速開發低成本嵌入式IPv6聯網設備的方案,以加速物聯網的發展。 The integration of Cloud Computing and Internet of Things is considered an important trend and industry in the future. IPv6 protocol is playing a key role in the development. There are a lot of IPv6 solutions presented to fulfill either a specific application or a hardware specification. Therefore, all of them are limited at a variety of heterogeneous network interconnections, low-power consumption and low-cost networking applications. We present an embedded IPv6 networking protocol stack which is based on Contiki uIPv6 and improves the functionality of uIPv6. We separate uIPv6 from Contiki OS in order to reduce the demand of the system resources, like the memory capacity. We also design our own IPv6 packet header compression / decompression mechanisms and the pseudo MAC address header in order to improve the scalability and the network connectivity of low-cost devices. Finally, we achieve the hardware-independent IPv6 networking stack. We also reduce the requirement of the frame payload length of the physical layer to improve the portability of IPv6 networking stack and accelerate the development of a variety of low-cost networking embedded systems. Our experiments show that the low-cost wireless sensor node and the gateway based on 2.4G RF successfully perform the improved uIPv6 networking stack in the absence of Contiki OS assistance. The wireless sensor node and the gateway can perform the IPv6 address configuration, ICMPv6 / UDP, the related network management mechanisms, the packet header compression / decompression mechanisms and the pseudo MAC address processing. The wireless sensor node, the gateway and the remote data collection center can effectively communicate each other via IPv6/ICMPv6/UDP. The research results will provide the rapid development of low-cost embedded IPv6 networking equipment, and accelerate the development of Internet of Things.