Hi all, I would like to share the first version of ble-ocf-bridge. It is available via github https://github.com/kelsayed/ble-ocf-bridge
This package provides a node.js based bridge for interconnecting devices with Bluetooth low energy (BLE) profiles to OCF based clients. It is based on iotivity-node Iotivity implementation in node.js and the Noble BLE central library. In summary, an OCF resource is created for each identified discovered BLE peripheral device hosting one or more supported GATT service/profile. The OCF resource is then optionally registered with the OCF resource directory (RD). The implementation has the following features: 1. Supports multiple BLE devices. 2. Supports multiple GATT profiles per BLE device 3. Support different types of BLE GATT profiles. The bridge currently supports the BLE heart rate service and battery service profiles. 4. Support notifications and read operations of the BLE characteristics of the corresponding profiles. Write operation is straight-forward extension left for future work. 5. Generate a unique OCF resource for each BLE device and discovered profile on the device with proper resource type. 6. Optionally register the created resources with the OCF RD. More information available on github page. Please give it a try if interested in the area of OCF/BLE bridging and provide feedback via e-mail or via github issues/pull request. You can also check the previous package of OCF MQTT gateway/bridge https://github.com/kelsayed/mqtt-ocf. Best regards, Khaled -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10193): https://lists.iotivity.org/g/iotivity-dev/message/10193 Mute This Topic: https://lists.iotivity.org/mt/30417232/21656 Group Owner: iotivity-dev+ow...@lists.iotivity.org Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-