Upgrade to Pro — share decks privately, control downloads, hide ads and more …

COSCUP 2016 演講: 物聯不滿足-自由管理物聯網裝置和溝通的 ˋfreebird.js

Avatar for Ivan Chang Ivan Chang
August 20, 2016

COSCUP 2016 演講: 物聯不滿足-自由管理物聯網裝置和溝通的 ˋfreebird.js

COSCUP Talk

Avatar for Ivan Chang

Ivan Chang

August 20, 2016

Other Decks in Technology

Transcript

  1. 6 Web of Things Easier to program, faster to integrate

    data & service, simpler to prototype, deploy, maintain, etc,. WoT WoT HTTP JSON-LD Websockets … IoT Bluetooth ZigBee WiFi …
  2. 10 Why Node.js Supported Hardware Supported Protocols npm install mqtt

    npm install coap npm install request npm install stomp-client npm install node-xmpp-client
  3. 16 同質網路相容性 Ex: BLE Device Switch Service UUID 0x???? SIG聯盟定義不盡完整

    … 各立山頭各有各的格式 ! 為何要跟別人相容 ? Ex: BLE Device Temperature Service UUID 0x???? Alarm status Attribute UUID 0x????
  4. 25 不在手機上開發 IoT 應用? 真的假的? 不用 Android,不用 iPhone?真的假的? 不用 Java、Obj-C、Swift、C++?真的假的?

    提供快速開發 IoT 應用的法門 那用什麼開發? JavaScript & HTML5 + freebirdjs 真的! 不蓋你! 而且,複雜的底層封包處理,它全包辦了! 還免費贈送 IoT 網管功能!
  5. 26 Network Control & Management freebird.js TI CC253x Module CSR

    USB Dongle Driver & Controller Interface HCI ZigBee BLE MQTT CoAP … UART USB Others … TI CC254x SoC MT7688 Module Application • 以Node.js風格開發應用邏輯 • 標準化 APIs 與基於國際標準的智慧物件 資料與格式 • 整合各種通訊協定的控制行為與管理方式, 可插拔、也可獨立運作 • 透過serialport.js、noble等npm模組把底 層封包撈上來解析 RESTful SOAP • 可以接上 http 伺服器跟其他前端框架整合 也可以讓 裝置們通通上雲端。你也能設計 RESTful 介面,從網外存取網內裝置 • 設計Web或APP透過 WebSocket 以 JSON Message 方式與裝置溝通 WebSockets
  6. 27 http://lwmqn.github.io/ • 提供server端與client端的nodejs library,讓開發者也可 以在各式平台上快速開發。 • LWMQN 是基於 Mosca

    和 MQTT.js 上開發的應用層協定, 提供client/server 端的library 讓開發者快速建立機器網路 • 結合了IPSO聯盟定義的智慧物件資料格式,讓不同裝置間能相容、 client 端可以用容易理解的方式組織資源、server 端也可以透過 URL 風格 allocate 與 query 遠端裝置的資源 裝置間的溝通 裝置間能相認相容 裝置網路能接收管理 • 建立IoT 的網路很容易,但可不見得能適當的管理它們。透過 OMA聯盟的LWM2M1.0規範,來滿足裝置網路管理的最小需求。 要能再多平台上簡單快速的開發
  7. 29 幫助開發本地端的服務與應用 Now Raw Data Machine Learning Management Analytics Event

    & Notification Automation Services On Cloud Future Aggregate Data Machine Learning Management Analytics Event & Notification Automation Local Gateway Services Filtered Data
  8. 30 降低進入物聯網應用的門檻 WoT Gateway Services freebird.js RESTful / SOAP Big

    Data / Cloud Server Multi-protocols WebSocket User Interface IoE = Internet + H2M + M2H + M2M
  9. 31 For Developers and Makers Quick Develop APPs & Services

    Upload to Cloud freebird.js Local control HDK MT7688 MT7688
  10. 33 LWMQN ◦ https://github.com/lwmqn/mqtt-shepherd ◦ https://github.com/lwmqn/mqtt-node BLE ◦ https://github.com/bluetoother/ble-shepherd ◦

    http://bluetoother.github.io CoAP ◦ https://github.com/PeterEB/coap-shepherd ◦ https://github.com/PeterEB/coap-node ZigBee ( ongoing ) ◦ https://github.com/zigbeer/zigbee-shepherd Github 專案 freebird.js 預計11 ~ 12 月之間發布,敬請期待。