Yes, sure. >From implementation point of view, I thought of using iotivity-node along with mosca https://github.com/mcollina/mosca. Have already done similar G/W for Bluetooth low energy which can connect to multiple BLE devices supporting three profiles for now. So, the idea is to have the MQTT clients connect to the msoca-based broker which will then have handlers managing the OCF part same as in the BLE case.
Another way would be to base on the C API with MQTT mosquito code modified to handle the OCF part. Best Khaled On Mon, Aug 20, 2018 at 8:45 PM, Gregg Reynolds <d...@mobileink.com> wrote: > > > On Mon, Aug 20, 2018, 1:36 PM Gregg Reynolds <d...@mobileink.com> wrote: > >> >> >> On Mon, Aug 20, 2018, 6:28 AM Khaled Elsayed <khaledi...@gmail.com> >> wrote: >> >>> Hi, >>> >>> Has anyone developed a MQTT gateway that would host a MQTT broker >>> receiving the MQTT publish requests and creates OCF resources corresponding >>> to the MQTT topics and handles the update of the resources data. It should >>> not be that difficult so I am asking it is already there to avoid doing it >>> again. >>> >>> If it does not exist, would it be interesting for the IoTivity community >>> to have OCF/iotivity and MQTT inter-operability? >>> >> >> Speaking in my delusional capacity as voice of OCF community: yes. >> > > Just one thing: if you're gonna do this please post your design ideas > before you start coding in anger. Lots of ways to do it, you'll wanna get > feedback as early as possible. > > G > >> >> Gregg >> >> >> >> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9887): https://lists.iotivity.org/g/iotivity-dev/message/9887 Mute This Topic: https://lists.iotivity.org/mt/24817907/21656 Group Owner: iotivity-dev+ow...@lists.iotivity.org Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-