Re: [dev] BLE support?

2018-04-16 Thread Khaled Elsayed
Hi Greg,

There are two ways. Either use a BLE stack that has some port of
iotivity-lite or devise some proxy to interface with a native BLE device
using its own stack that has no OCF support.

For the first case, mynewt is one option and the other is Zephyr. Also for
Nordic modules, RIOT with its iotivity-lite port is also possible. Zephyr
and mynewt support many other modules beyond Nordic NRF.

For the second case, the best that I know of is this project
https://01.org/smarthome. It is based on a port of Iotivity to node.js
called iotivity-node. I have used some of the example scripts to work with
Nordic node that uses Nordic native stack and expose it to the world as OCF
device. Currently trying to generalize to multiple BLE devices and profiles
as much as can be supported by the number of connections supported by the
BLE chipset.

Haven't experimented with complex issues such as ownership transfer,
provisioning, onboarding in either case.

BR,

Khaled



On Mon, Apr 9, 2018 at 11:09 PM, Gregg Reynolds  wrote:

>
>
> On Sat, Apr 7, 2018, 5:06 PM Sterling Hughes  wrote:
>
>> Note: you can do that out of the box with Apache Mynewt:
>>
>
> Thanks, looks very interesting.
>
> But what about security? How does mynewt play with OCF ownership transfer,
> provisioning, onboarding, etc?
>
> Gregg
>
> ___
> iotivity-dev mailing list
> iotivity-dev@lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>
___
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev


Re: [dev] BLE support?

2018-04-09 Thread Gregg Reynolds
On Sat, Apr 7, 2018, 5:06 PM Sterling Hughes  wrote:

> Note: you can do that out of the box with Apache Mynewt:
>

Thanks, looks very interesting.

But what about security? How does mynewt play with OCF ownership transfer,
provisioning, onboarding, etc?

Gregg
___
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev


Re: [dev] BLE support?

2018-04-07 Thread Sterling Hughes

Note: you can do that out of the box with Apache Mynewt:

- You can run management using custom resources, incl sw upgrade: 
http://mynewt.apache.org/latest/os/modules/devmgmt/oicmgr/


- You can create your own OCF objects, example: 
https://github.com/apache/mynewt-core/blob/master/apps/bleprph_oic/src/main.c


- Sensors are exposed over OCF: 
https://github.com/apache/mynewt-core/blob/master/apps/sensors_test/src/main.c


- iOS and Android samples:
- https://github.com/runtimeco/ios-oic-sample
- https://github.com/runtimeco/android_sensor


On 7 Apr 2018, at 13:26, Gregg Reynolds wrote:

Can anybody offer a status report on Iotivity's BLE support? I'm 
looking at

Nordic's Bluetooth 5 devices (very cool:
https://www.androidauthority.com/nordic-thingy52-779773/) and 
wondering how

painful it would be to OCF-enable them.

Gregg
___
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

___
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev


[dev] BLE support?

2018-04-07 Thread Gregg Reynolds
Can anybody offer a status report on Iotivity's BLE support? I'm looking at
Nordic's Bluetooth 5 devices (very cool:
https://www.androidauthority.com/nordic-thingy52-779773/) and wondering how
painful it would be to OCF-enable them.

Gregg
___
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev