Re: [ANNOUNCE] NimBLE code moved to separate repository

2018-03-21 Thread Simon Ratner
Heads up - make sure you clean your targets after upgrading. For some reason the newt tool is unable to detect that the files have changed, perhaps because they are at a new path; had fun debugging exceptions in the data segment because of mismatched compilation units đŸ˜¶ Cheers, simon On Mar 16,

Re: Convenience header: mynewt.h

2018-03-21 Thread Vipul Rahane
Sounds good. +1 - Vipul > On Mar 21, 2018, at 3:45 PM, Wayne Keenan wrote: > > +1 > > Sent from my iPhone > >> On 21 Mar 2018, at 20:15, aditi hilbert wrote: >> >> +1 >> >> aditi >> >>> On Mar 21, 2018, at 10:47 AM, Christopher Collins wrote: >>> >>> Hello all, >>> >>> I was thinking

Re: Convenience header: mynewt.h

2018-03-21 Thread Wayne Keenan
+1 Sent from my iPhone > On 21 Mar 2018, at 20:15, aditi hilbert wrote: > > +1 > > aditi > >> On Mar 21, 2018, at 10:47 AM, Christopher Collins wrote: >> >> Hello all, >> >> I was thinking about adding a new header to the core repo that just >> includes the (more or less) mandatory headers

[GitHub] sdalu opened a new pull request #14: ble service: Current Time Service

2018-03-21 Thread GitBox
sdalu opened a new pull request #14: ble service: Current Time Service URL: https://github.com/apache/mynewt-nimble/pull/14 Main characteristics for the Current Time Service This is an automated message from the Apache Git Ser

Re: Convenience header: mynewt.h

2018-03-21 Thread aditi hilbert
+1 aditi > On Mar 21, 2018, at 10:47 AM, Christopher Collins wrote: > > Hello all, > > I was thinking about adding a new header to the core repo that just > includes the (more or less) mandatory headers: > >* syscfg/syscfg.h >* sysinit/sysinit.h >* os/os.h >* defs/error.h > >

Re: Convenience header: mynewt.h

2018-03-21 Thread Fabien Lepoutre
+1 On Wed, Mar 21, 2018 at 12:12 PM, Miguel Azevedo wrote: > +1 > > On Wed, Mar 21, 2018 at 4:47 PM, Fabio Utzig wrote: > > +1 > > > > On Wed, Mar 21, 2018, at 2:47 PM, Christopher Collins wrote: > >> Hello all, > >> > >> I was thinking about adding a new header to the core repo that just > >>

Re: Convenience header: mynewt.h

2018-03-21 Thread Miguel Azevedo
+1 On Wed, Mar 21, 2018 at 4:47 PM, Fabio Utzig wrote: > +1 > > On Wed, Mar 21, 2018, at 2:47 PM, Christopher Collins wrote: >> Hello all, >> >> I was thinking about adding a new header to the core repo that just >> includes the (more or less) mandatory headers: >> >> * syscfg/syscfg.h >>

Re: Convenience header: mynewt.h

2018-03-21 Thread Fabio Utzig
+1 On Wed, Mar 21, 2018, at 2:47 PM, Christopher Collins wrote: > Hello all, > > I was thinking about adding a new header to the core repo that just > includes the (more or less) mandatory headers: > > * syscfg/syscfg.h > * sysinit/sysinit.h > * os/os.h > * defs/error.h > > The

Convenience header: mynewt.h

2018-03-21 Thread Christopher Collins
Hello all, I was thinking about adding a new header to the core repo that just includes the (more or less) mandatory headers: * syscfg/syscfg.h * sysinit/sysinit.h * os/os.h * defs/error.h The rule of thumb would be: just include "mynewt.h" in every file. I think this would make

[GitHub] sdalu opened a new pull request #13: ble service: Battery Service

2018-03-21 Thread GitBox
sdalu opened a new pull request #13: ble service: Battery Service URL: https://github.com/apache/mynewt-nimble/pull/13 See: https://github.com/apache/mynewt-core/pull/904 This is an automated message from the Apache Git Servic

[GitHub] sdalu opened a new pull request #12: ble service: Device Information Service

2018-03-21 Thread GitBox
sdalu opened a new pull request #12: ble service: Device Information Service URL: https://github.com/apache/mynewt-nimble/pull/12 See: https://github.com/apache/mynewt-core/pull/901 This is an automated message from the Apache

[GitHub] michal-narajowski closed pull request #11: mesh: Add example implementation of generic onoff and level models

2018-03-21 Thread GitBox
michal-narajowski closed pull request #11: mesh: Add example implementation of generic onoff and level models URL: https://github.com/apache/mynewt-nimble/pull/11 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake o

[GitHub] michal-narajowski commented on issue #11: mesh: Add example implementation of generic onoff and level models

2018-03-21 Thread GitBox
michal-narajowski commented on issue #11: mesh: Add example implementation of generic onoff and level models URL: https://github.com/apache/mynewt-nimble/pull/11#issuecomment-374925210 @rymanluk Thanks, fixed. This is an aut

[GitHub] rymanluk commented on a change in pull request #11: mesh: Add example implementation of generic onoff and level models

2018-03-21 Thread GitBox
rymanluk commented on a change in pull request #11: mesh: Add example implementation of generic onoff and level models URL: https://github.com/apache/mynewt-nimble/pull/11#discussion_r176059754 ## File path: nimble/host/mesh/src/mesh_priv.h ## @@ -16,6 +16,20 @@ #define B

[GitHub] rymanluk commented on a change in pull request #11: mesh: Add example implementation of generic onoff and level models

2018-03-21 Thread GitBox
rymanluk commented on a change in pull request #11: mesh: Add example implementation of generic onoff and level models URL: https://github.com/apache/mynewt-nimble/pull/11#discussion_r176059882 ## File path: nimble/host/mesh/src/light_model.h ## @@ -0,0 +1,25 @@ +/* + * Co

Re: Sample apps in mynewt-core

2018-03-21 Thread Wayne Keenan
Hi Aditi, I'm guessing what's below is already there but spread out over a number of existing apps and in the docs, and maybe even exist already, but my first thoughts are... Perhaps add standalone (pure OS) examples that demonstrate basic, and more advanced, uses of multiple tasks and message pa

Re: Sample apps in mynewt-core

2018-03-21 Thread Lukasz Wolnik
Hi Ɓukasz, Thanks for the tip! I'll try it out. Kind regards, Ɓukasz On Wed, Mar 21, 2018 at 9:09 AM, Ɓukasz Rymanowski < lukasz.rymanow...@codecoup.pl> wrote: > Hi Ɓukasz, > > If your application supports pairing (like btshell for example), you > will get Secure Connections by setting MYNEWT_

[GitHub] michal-narajowski closed pull request #10: mesh: Fix os_mbuf leak in cfg client and health client

2018-03-21 Thread GitBox
michal-narajowski closed pull request #10: mesh: Fix os_mbuf leak in cfg client and health client URL: https://github.com/apache/mynewt-nimble/pull/10 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance

Re: Sample apps in mynewt-core

2018-03-21 Thread Ɓukasz Rymanowski
Hi Ɓukasz, If your application supports pairing (like btshell for example), you will get Secure Connections by setting MYNEWT_VAL BLE_SM_SC to 1. It is stack who handles it for you then. Hope that helps. Best regards Ɓukasz On 20 March 2018 at 19:11, aditi hilbert wrote: > Lukasz, > > Yes - g