Summary: | 碩士 === 國立政治大學 === 資訊科學學系 === 105 === Digital interactive art is a typical type of IoT system. Usually, there are many sensors deployed on the stage and worn by performers. One popular protocol for implementing intercommunication of sensors in digital interactive art systems is Bluetooth Low Energy (BLE). As the number of sensors used in show increased, the interactions among devices and sensors are getting more complex and thus become harder to manage. Especially when messages lost or sensor fault, the developer must spend a great effort to find the errors. We can use the Publish-Subscribe communication style in MQTT to reduce the complexity of message delivery. Moreover, MQTT provides QoS functionalities. Also, the "Last Will" guarantees that all faults of sensors can be observed and the system can then downgrade gracefully. However, there lacks an efficient and transparent approach for combining MQTT and BLE traffic. Therefore, this paper proposes the design and implementation of an efficient and easy to use BLE-MQTT gateway. The gateway facilitates BLE devices communicate with the MQTT Server as if they are MQTT clients. Also, the QoS and Last Will functions of MQTT are bridged transparently. With this gateway, the developers can largely decrease the burden of debugging and managing the traffic between MQTT and BLE.
|