[jira] [Resolved] (MYNEWT-365) newt can't handle files with spaces

2016-12-01 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-365. Resolution: Fixed Thanks Tim. I agree with everything you said. There really

[jira] [Created] (MYNEWT-499) newt - APP_NAME value ambiguous for split images

2016-12-01 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-499: -- Summary: newt - APP_NAME value ambiguous for split images Key: MYNEWT-499 URL: https://issues.apache.org/jira/browse/MYNEWT-499 Project: Mynewt

[jira] [Created] (MYNEWT-498) Newt - depgraph and syscfg calculate twice per build

2016-12-01 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-498: -- Summary: Newt - depgraph and syscfg calculate twice per build Key: MYNEWT-498 URL: https://issues.apache.org/jira/browse/MYNEWT-498 Project: Mynewt

[jira] [Resolved] (MYNEWT-491) Double calling init functions should be disallowed

2016-11-30 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-491. Resolution: Fixed > Double calling init functions should be disallo

[jira] [Updated] (MYNEWT-491) Double calling init functions should be disallowed

2016-11-30 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-491: --- Description: When "init" functions are specified to sysinit, that should b

[jira] [Updated] (MYNEWT-491) Double calling init functions should be disallowed

2016-11-30 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-491: --- Description: tgcc function anemWhen "init" functions are specified

[jira] [Resolved] (MYNEWT-238) newt target build succeeds without a project defined.

2016-11-30 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-238. Resolution: Cannot Reproduce It looks like this issue has been fixed. In modern

[jira] [Resolved] (MYNEWT-488) Cleanup legacy branches

2016-11-30 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-488. Resolution: Fixed > Cleanup legacy branc

Re: [VOTE] Release Apache Mynewt 1.0.0-b1-incubating-rc2

2016-11-30 Thread Christopher Collins
+1 (binding) Chris On Tue, Nov 29, 2016 at 06:30:37PM -0800, Christopher Collins wrote: > Hello all, > > I am pleased to be calling this vote for the source release of Apache > Mynewt 1.0.0, beta 1 (rc2). This is the second release candidate for > Mynewt 1.0.0-b1. The vot

Re: Subscription Request and Question.

2016-11-30 Thread Christopher Collins
On Wed, Nov 30, 2016 at 08:08:58AM -0800, aditi hilbert wrote: > Rodrigo, > > The NimBLE description is accurate. Mynewt offers SM. The second one is > woefully outdated - I’ll fix that today. > Yes, NimBLE supports OOB. A small clarification - nimble supports OOB for legacy pairing, but not

[DISCUSS] Release Apache Mynewt 1.0.0-b1-incubating-rc2

2016-11-29 Thread Christopher Collins
Hello all, This thread is for any and all discussion regarding the release of apache-mynewt-1.0.0-b1-incubating-rc2. All feedback is welcome. Thanks, Chris

Re: [RESULT][VOTE] Release Apache Mynewt 1.0.0-b1-incubating-rc1

2016-11-29 Thread Christopher Collins
On Tue, Nov 29, 2016 at 08:04:59AM -0800, Christopher Collins wrote: > For the rest of the dev list: Justin's fundings are captured in his > email here: > https://lists.apache.org/thread.html/b042d83e1985281e8dd8a040ebf1817ce71019c16c5951ca9be11aef@%3Cgeneral.incubator.apache.o

Re: [RESULT][VOTE] Release Apache Mynewt 1.0.0-b1-incubating-rc1

2016-11-29 Thread Christopher Collins
Hi Justin, On Tue, Nov 29, 2016 at 02:20:38PM +1100, Justin Mclean wrote: > Hi, > > Sorry but I just voted -1 on that release as it has a number of IMO > significant issues. Given teh great work done on LICENSE/NOTICE > initially I had assumed these were being kept upto date but that > doesn’t

[CANCEL][VOTE] Release Apache Mynewt 1.0.0-b1-incubating-rc1

2016-11-28 Thread Christopher Collins
Hello all, Voting for the release of Apache Mynewt 1.0.0, beta 1, rc1 has been cancelled due to some out of date LICENSE files. Sorry for the confusion, and thank you to everyone who voted. A second release candidate will be put up for a vote on the dev list shortly. Thanks, Chris

Re: [VOTE] Release Apache Mynewt 1.0.0-b1-incubating-rc1

2016-11-28 Thread Christopher Collins
Thanks, Justin. Somehow I completely forgot to update the LICENSE files this time around. I'll cancel the vote. Chris On Tue, Nov 29, 2016 at 02:13:02PM +1100, Justin Mclean wrote: > Hi, > > -1 binding due to LICENSE issues (see below) and cryptography issues > (tinycrypt and polarssl) and

Re: BLE Questions

2016-11-28 Thread Christopher Collins
), NULL, _val_handle); assert(rc == 0); ble_gatts_chr_updated(chr_val_handle); Sorry about that, Chris On Mon, Nov 28, 2016 at 03:01:52PM -0800, Christopher Collins wrote: > On Mon, Nov 28, 2016 at 04:33:23PM -0500, David G. Simmons wrote: > > Thanks to both of you for hugely helpfu

Re: BLE Questions

2016-11-28 Thread Christopher Collins
. Thanks, Chris > > dg > > > On Nov 28, 2016, at 4:30 PM, Christopher Collins <ccoll...@apache.org> > > wrote: > > > > As long as you specify one of the BLE_GATT_CHR_F_NOTIFY or > > BLE_GATT_CHR_F_INDICATE flags in the characteristic definition, the > &

Re: BLE Questions

2016-11-28 Thread Christopher Collins
Hi David, Mike wrote a good reply, but a few things that were said are based on an older version of the nimble stack. Thankfully, some parts have improved since 0.9.0. My response is below. On Mon, Nov 28, 2016 at 03:42:01PM -0500, David G. Simmons wrote: [...] > GATT_SVR_CHR_NEW_ALERT is a

Re: [RESULT][VOTE] Release Apache Mynewt 1.0.0-b1-incubating-rc1

2016-11-26 Thread Christopher Collins
FYI - the general@ vote thread can be found here: https://lists.apache.org/thread.html/84cc007ab334ab12c2d0b75ea63c840630cee8bbf45c9561479521df@%3Cgeneral.incubator.apache.org%3E Thanks, Chris

[VOTE] Release Apache Mynewt 1.0.0-b1-incubating-rc1

2016-11-26 Thread Christopher Collins
Hello all, I am pleased to be calling this vote for the source release of Apache Mynewt 1.0.0, beta 1. Apache Mynewt is a community-driven, permissively licensed open source initiative for constrained, embedded applications. Mynewt provides a real-time operating system, flash file system,

[RESULT][VOTE] Release Apache Mynewt 1.0.0-b1-incubating-rc1

2016-11-26 Thread Christopher Collins
Hello all, Voting for Apache Mynewt 1.0.0-b1-incubating-rc1 is now closed. The release has passed this step of the process. The vote breakdown is as follows: +1 Aditi Hilbert(binding) +1 Christopher Collins (binding) +1 David G. Simmons +1 Jim Jagielski(binding) +1

Re: [VOTE] Release Apache Mynewt 1.0.0-b1-incubating-rc1

2016-11-23 Thread Christopher Collins
+1 (binding). Chris On Tue, Nov 22, 2016 at 05:58:37PM -0800, Christopher Collins wrote: > Hello all, > > I am pleased to be calling this vote for the source release of Apache > Mynewt 1.0.0, beta 1. > > Apache Mynewt is a community-driven, permissively licensed open s

Re: HW configuration of Nimble (HCI)

2016-11-23 Thread Christopher Collins
Hi Oleg, On Wed, Nov 23, 2016 at 03:07:11PM +0300, Oleg Persidskiy wrote: > good time dear Engineers! > > Have a question about your newt Nimble (HCI) subproject. > (sorry I'm a newbie with newt ~ 1 day) Great! > During the test (I use nRF52 own board) faced with a problem , where I can >

[DISCUSS] Release Apache Mynewt 1.0.0-b1-incubating-rc1

2016-11-22 Thread Christopher Collins
Hello all, This thread is for any and all discussion regarding the release of apache-mynewt-1.0.0-b1-incubating-rc1. All feedback is welcome. Thanks, Chris

[VOTE] Release Apache Mynewt 1.0.0-b1-incubating-rc1

2016-11-22 Thread Christopher Collins
Hello all, I am pleased to be calling this vote for the source release of Apache Mynewt 1.0.0, beta 1. Apache Mynewt is a community-driven, permissively licensed open source initiative for constrained, embedded applications. Mynewt provides a real-time operating system, flash file system,

[jira] [Resolved] (MYNEWT-339) BLE host - Retry when an ATT send fails due to mbuf shortage

2016-11-18 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-339. Resolution: Fixed > BLE host - Retry when an ATT send fails due to mbuf short

Re: Shell Tutorial

2016-11-17 Thread Christopher Collins
Hi David, On Thu, Nov 17, 2016 at 01:32:17PM -0500, David G. Simmons wrote: > > I'm thinking of writing up a Tutorial on how to enable the Console and Shell > in a Mynewt app -- especially since things have changed a bit with the Event > Queue and task management. > > If I am understanding

[jira] [Resolved] (MYNEWT-344) BLE Host - Don't wake up every second

2016-11-16 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-344. Resolution: Fixed > BLE Host - Don't wake up every sec

[jira] [Created] (MYNEWT-487) BLE Host - Execute GATT procedure callback on timeout

2016-11-16 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-487: -- Summary: BLE Host - Execute GATT procedure callback on timeout Key: MYNEWT-487 URL: https://issues.apache.org/jira/browse/MYNEWT-487 Project: Mynewt

Re: Smoke testing latest release

2016-11-14 Thread Christopher Collins
FYI- I have added a 1.0.0-b1 test results page to the wiki: https://cwiki.apache.org/confluence/display/MYNEWT/1.0.0-b1+Test+Results Hopefully this will make it easier to coordinate testing efforts. Thanks, Chris On Fri, Nov 11, 2016 at 08:55:40AM -0800, will sanfilippo wrote: > Hello David: >

Re: OS event queue changes

2016-11-14 Thread Christopher Collins
Hi David, On Mon, Nov 14, 2016 at 01:06:14PM -0500, David G. Simmons wrote: > Hi Chris, > > Thanks for this detailed write-up on the new os_event and event queue > handling. > > I'm working on adding it all to the existing tutorial on creating and > managing tasks. > > I'm working on folding

1.0.0-b1 BLE testing

2016-11-11 Thread Christopher Collins
Hello all, I did some BLE testing for the upcoming release (test plan is here: https://cwiki.apache.org/confluence/display/MYNEWT/Apache+Mynewt+Test+Plan). Everything seems to be good. There were a few issues that were identified and fixed during testing; the below results correspond to what is

Re: OS Event Queue errors in blinky

2016-11-11 Thread Christopher Collins
Hi David, That is an interesting find. The problem is that blinky does not set a default eventq for taskless packages to use. If a package requires an event queue, and none has been designated, it triggers a crash with a failed assert. Blinky in its original state doesn't crash because it

dev

2016-11-10 Thread Christopher Collins
Hello all, I wanted to send a quick note about the planned 1.0.0 beta 1 release. The pre-release branch has the following name: 1_0_0_b1_dev This branch has been created in the following repos: incubator-mynewt-blinky incubator-mynewt-core incubator-mynewt-newt

Re: [HEADS UP] MERGE INTO MASTER! (was: Re: 1_0_0_b1_dev branches)

2016-11-10 Thread Christopher Collins
On Thu, Nov 10, 2016 at 08:04:45PM +, Sterling Hughes wrote: > just making sure people see this :) This is the final heads up :). I'll be merging develop into master shortly. For those who are interested in using the latest code, there is one major change you should know about prior to

Re: 1_0_0_b1_dev branches

2016-11-10 Thread Christopher Collins
FYI - I will be merging the develop branch into master later today. If you are using the master branch, and you are not prepared to switch over to the latest, then be careful with git pulls and newt syncs! Thanks, Chris On Thu, Nov 10, 2016 at 08:30:28AM -0800, Christopher Collins wrote

1_0_0_b1_dev branches

2016-11-10 Thread Christopher Collins
(changing subject to prevent mail from being categorized as a commit) On Thu, Nov 10, 2016 at 01:23:36PM +0100, Sterling Hughes wrote: > Is the idea to merge these from develop or master? > > I think we should probably merge develop->master now, prior to branching > anything. We should only be

Re: Nordic SDK license not Apache-compatible?

2016-11-09 Thread Christopher Collins
Hi Justin, On Thu, Nov 10, 2016 at 08:33:54AM +1100, Justin Mclean wrote: > Hi, > > > The first clause, Grant of License, seems to be problematic: > > Look like it "non-sub licensable” may be an issue? And "solely in > connection with a Nordic Integrated Circuit” reads like a field of use >

Nordic SDK license not Apache-compatible?

2016-11-09 Thread Christopher Collins
Hello all, I was checking some of the licenses in Mynewt, and I came across a potential licensing issue. The Nordic SDK v11 appears to use a license that is too restrictive for an Apache project: http://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v11.x.x/doc/11.0.0/license.txt The first

OS event queue changes

2016-11-08 Thread Christopher Collins
Hello all, Recently a pretty big change was made to Mynewt's event queue model. The Mynewt documentation gives a good overview of how event queues used to work (http://mynewt.apache.org/develop/os/core_os/event_queue/event_queue/). Here is the old os_event struct: struct os_event {

[jira] [Created] (MYNEWT-478) Dependency failures when repo's local name differs from remote name

2016-11-08 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-478: -- Summary: Dependency failures when repo's local name differs from remote name Key: MYNEWT-478 URL: https://issues.apache.org/jira/browse/MYNEWT-478

Re: Angled-brackets vs. quotes in #include directives

2016-11-07 Thread Christopher Collins
On Mon, Nov 07, 2016 at 09:45:48AM -0800, marko kiiskila wrote: > > On Nov 7, 2016, at 8:43 AM, Christopher Collins <ccoll...@apache.org> wrote: > > Is there a particular reason that you would prefer this? By my reading > > of the standard, using angled-brackets for

Re: Angled-brackets vs. quotes in #include directives

2016-11-07 Thread Christopher Collins
On Mon, Nov 07, 2016 at 08:08:14AM -0800, marko kiiskila wrote: > Good idea to write this down. > > I’d also like to include header files from other packages to be in the > group included with angle brackets. > Then “header.h” means local and is for non-local. Is there a particular reason that

Re: Connect timeout not always accurate

2016-11-07 Thread Christopher Collins
On Sun, Nov 06, 2016 at 08:44:40PM -0800, Christopher Collins wrote: > Hi Simon, > > On Sun, Nov 06, 2016 at 01:50:42PM -0800, Simon Ratner wrote: > > Hi devs, > > > > I am seeing some variance in the handling of `duration_ms` param to > > `ble_gap_connect` (on d

Angled-brackets vs. quotes in #include directives

2016-11-04 Thread Christopher Collins
Hello all, We've been a bit inconsistent with our use of angled-brackets vs. quotes in #include directives. There is a simple rule for this one: use quotes for user headers; angled-brackets for headers supplied by the implementation. "Implementation" is a technical term meaning the combination

[jira] [Resolved] (MYNEWT-470) newt build should remove build artifacts left over from previous build when it starts

2016-11-04 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-470. Resolution: Fixed > newt build should remove build artifacts left over f

[jira] [Closed] (MYNEWT-468) Potentially an issue with NRF51 Bootloader

2016-11-04 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins closed MYNEWT-468. -- Resolution: Fixed It seems to be working now. > Potentially an issue with NR

Re: os_events manamgnent

2016-11-04 Thread Christopher Collins
(responding to Runtime only) I will reply to Wayne's email this morning, and follow it up with a message to dev regarding the recent eventq changes. I just wanted to send this note so no one spends time writing a response. Thanks, Chris On Fri, Nov 04, 2016 at 01:08:50PM +, Wayne Keenan

Re: STM32F3-Discovery problems

2016-11-02 Thread Christopher Collins
Hi David, On Wed, Nov 02, 2016 at 11:51:36AM -0400, David G. Simmons wrote: > > I'm hoping that this isn't just more of my git-idiocy, but ... trying to get > the STM32F3-Discovery board to load the blinky app, and keep getting: > > DSimmons-Pro:myproj dsimmons$ newt build stmf3_boot >

Re: More bletiny

2016-10-28 Thread Christopher Collins
On Fri, Oct 28, 2016 at 10:12:26AM -0700, aditi hilbert wrote: > I thought you are compiling all the config options by package > irrespective of what is used in any particular target. > > Documenting how to do a newt target config eliminates the > need to statically document settings. So that is

Re: More bletiny

2016-10-27 Thread Christopher Collins
Hi David, On Thu, Oct 27, 2016 at 06:03:22PM -0400, David G. Simmons wrote: > There must be more to it than this ... > > # Package: apps/bletiny > > syscfg.vals: > SHELL_TASK: 1 > STATS_NAMES: 1 > > I can confirm that changing SHELL_TASK to 0 does indeed disable the > shell, but

Re: Develop branch issues

2016-10-26 Thread Christopher Collins
On Wed, Oct 26, 2016 at 09:26:38AM -0400, David G. Simmons wrote: > Fixed ... GIT is some serious black-magic. > > I was somehow on branch 0.10.0-dev, so I reset my HEAD to > origin/develop and it all worked. Can now biuild and load ble_tiny. That is a relief to hear. I was out of ideas! And

Re: Develop branch issues

2016-10-24 Thread Christopher Collins
On Mon, Oct 24, 2016 at 03:49:51PM -0400, David G. Simmons wrote: > Thanks Chris, > > I'm using develop as I'm working on updating all the docs for the > 1.0Beta release, and it's rough going in places. :-) > > I've taken your suggestions and erased the NRF52 device using J-Link > and that was

Re: os_time_delay() changed?

2016-10-21 Thread Christopher Collins
On Fri, Oct 21, 2016 at 11:20:00AM -0700, will sanfilippo wrote: > Yes, possibly. We never should have used 500 there. It should be in > terms of OS_TICKS_PER SEC. Some bsps now use 128 ticks per second > > So that is probably it. To add to Will's answer, if you are dealing with large time

Re: Odd connection by newt

2016-10-12 Thread Christopher Collins
On Wed, Oct 12, 2016 at 12:36:45PM -0400, David G. Simmons wrote: > Hi Chris, > > I run a program called Little Snitch on my mac that monitors all > incoming and outgoing network activity. I have the screws tightened > down pretty hard on it, so it always asks before it allows an incoming > or

Re: Odd connection by newt

2016-10-12 Thread Christopher Collins
On Wed, Oct 12, 2016 at 09:16:00AM -0400, David G. Simmons wrote: > Good morning, > > I'm a bit of a security wonk about some things, so I watch what my machine is > doing -- network wise -- pretty carefully. This morning, I was doing a > brand-new newt install and came across something odd. >

[jira] [Created] (MYNEWT-429) Image upload while running split image causes crash

2016-10-08 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-429: -- Summary: Image upload while running split image causes crash Key: MYNEWT-429 URL: https://issues.apache.org/jira/browse/MYNEWT-429 Project: Mynewt

[jira] [Resolved] (MYNEWT-426) Mbuf exhaustion; cause: Reboot log gets registered twice

2016-10-07 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-426. Resolution: Fixed > Mbuf exhaustion; cause: Reboot log gets registered tw

[jira] [Created] (MYNEWT-426) Mbuf exhaustion; cause: Reboot log gets registered twice

2016-10-07 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-426: -- Summary: Mbuf exhaustion; cause: Reboot log gets registered twice Key: MYNEWT-426 URL: https://issues.apache.org/jira/browse/MYNEWT-426 Project: Mynewt

Re: Unsolicited Notify with newtmgr over BLE

2016-10-05 Thread Christopher Collins
On Wed, Oct 05, 2016 at 05:07:00PM -0700, Mike Ryan wrote: > On Thu, Oct 06, 2016 at 02:00:25AM +0200, Kevin Townsend wrote: > > I remember some discussions previously about unsolicited notifies > > and whether this was or wasn't supported in the BLE spec > > My reading of the spec suggests that

Re: Directory re-org conversation

2016-09-25 Thread Christopher Collins
On Thu, Sep 15, 2016 at 03:50:25PM -0700, Sterling Hughes wrote: > Hey, > > I wanted to get this kicked off, so we can make the changes fairly > quickly after the sterly_refactor merge next week (while still giving > enough time for discussion.) [...] Sounds good to me. That would be a

Re: System config and init

2016-09-25 Thread Christopher Collins
On Sat, Sep 24, 2016 at 05:47:35PM -0700, Christopher Collins wrote: [...] > If two packages with the same priority attempt to override the same > setting, newt raises an error and aborts the build. The remedy for this > problem is for a higher-priority package to override the setting

System config and init

2016-09-24 Thread Christopher Collins
Hello all, I thought it would be a good idea to summarize the system configuration and initialization feature that has been pushed to develop. This feature is definitely a work in progress, and this email is meant to further its development. In other words, there is a lot of room for

Re: Notify with more than 20 bytes

2016-09-23 Thread Christopher Collins
On Fri, Sep 23, 2016 at 10:02:32AM -0700, Christopher Collins wrote: [...] > If your application needs to send larger ATT packets, it needs to > negotiate a greater MTU with its peer. This is accomplished by calling > ble_gattc_exchange_mtu() > (http://mynewt.apache.org/develop/networ

Re: Notify with more than 20 bytes

2016-09-23 Thread Christopher Collins
Hello Ha, On Fri, Sep 23, 2016 at 11:00:32PM +0700, hathach wrote: > Hi Everyone, > > I am doing throughput testing specifically with notification characteristics > for sending sensor data from nrf52dk to mobile. I use > ble_gattc_notify_custom(buffer, size) without any issues, except when the >

Re: Switching to Master

2016-09-21 Thread Christopher Collins
Hi Kevin, On Wed, Sep 21, 2016 at 01:47:34PM +0200, Kevin Townsend wrote: > Switching to the 'develop' branch is relatively straight-forward using > one of the entries in the list here: > https://github.com/apache/incubator-mynewt-core/blob/master/repository.yml > > There doesn't seem to be an

Re: Notes from HAL discussions on sterly_refactor

2016-09-19 Thread Christopher Collins
Hi Will, On Mon, Sep 19, 2016 at 06:07:55PM -0700, will sanfilippo wrote: > The new HAL SPI API is shown below. Highlights of the changes are: [...] These changes look great. I just have a comment and a question: > /** > * Initialize the SPI, given by spi_num. > * > * @param spi_num The

Re: Directory re-org conversation

2016-09-16 Thread Christopher Collins
On Fri, Sep 16, 2016 at 10:04:37AM -0700, Aditi wrote: > Would libs/bleuart is placed in net/nimble/host/profiles or > net/nimble/host/services? I am still not clear on services vs. > profiles in our directory structure. I think it should go in net/nimble/host/services. net/nimble/host/profiles

Re: slinky example building error

2016-09-15 Thread Christopher Collins
Hi, On Thu, Sep 15, 2016 at 03:09:34PM +0800, 王华源 wrote: > Hi, > > When I build slinky native example as document, the builder throws error > > Building target targets/sim_slinky > > Compiling x509_crl.c > > Error: x509_crl.c: In function 'mbedtls_x509_crl_parse': > >

[AngularJS] Re: Angular 2 RC6/7: Error while running component tests

2016-09-13 Thread Christopher Collins
ot; Remove brackets and save: Confirm tests run and pass. I'm not sure if this is an issue with Angular RC5/6/7 or with the CLI. Thanks for looking. On Tuesday, September 13, 2016 at 9:26:12 AM UTC-5, Christopher Collins wrote: > > Hello. I'm having an issue running my *tests* in RC6 and

[AngularJS] Angular 2 RC6/7: Error while running component tests

2016-09-13 Thread Christopher Collins
Hello. I'm having an issue running my *tests* in RC6 and 7. The app runs perfectly in-browser with no errors, but when I run my tests I get, *"Can't bind to 'myInput' since it isn't a known property of 'my-component'."* "myInput" is defined on the component with "@Input() public myInput:

Re: Adding C++ header guards?

2016-09-11 Thread Christopher Collins
On Sun, Sep 11, 2016 at 04:32:07PM -0700, Sterling Hughes wrote: > I think a temporary exception would be fine: but I’m not sure the > impact, perhaps somebody who understands C++ better can chime in. Why > are ‘#includes’ _excluded_ from the extern “C” namespace? Is it > just to avoid

Re: Adding C++ header guards?

2016-09-11 Thread Christopher Collins
On Sun, Sep 11, 2016 at 12:39:27PM -0700, Christopher Collins wrote: > Look great to me, thanks! I just have a question - the commit message > indicates that two files were not modified: > > libs/baselibc/src/baselibc_test/unittests.h > libs/shell/include/shell/shell_pr

Re: Adding C++ header guards?

2016-09-11 Thread Christopher Collins
On Sun, Sep 11, 2016 at 08:19:58PM +0100, Tim Hutt wrote: > I like C++ and would like to use it with MyNewt, so I've written a very > hacky tool in Go to detect C++ header guards: > > https://github.com/Ti/GuardChecker > > Here is the result of running it on apache-mynewt-core: > >

Re: Removing os_error_t

2016-09-11 Thread Christopher Collins
On Sun, Sep 11, 2016 at 10:42:07AM -0700, Sterling Hughes wrote: [...] > So — prior to 1.0, I think we should clean this up. My proposal is to > go with plain old integers as error codes across the system. 0 is no > error, a negative value is the error code and a positive value can be > used

Re: Adding C++ header guards?

2016-09-09 Thread Christopher Collins
Only public headers (files in a "/include" directory) need the guards. Private headers (files in a "src/" directory) are only intended to be included by C files, and don't require them. Not that it hurts to add guards to the private headers as well. Chris On Fri, Sep 09, 2016 at 04:46:44PM

[jira] [Updated] (MYNEWT-347) BLE Host - GAP update params request should fall back to L2CAP update procedure

2016-09-06 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-347: --- Fix Version/s: (was: v1_0_0_rel) v1_0_0_beta1 > BLE Host -

[jira] [Resolved] (MYNEWT-347) BLE Host - GAP update params request should fall back to L2CAP update procedure

2016-09-06 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-347. Resolution: Fixed > BLE Host - GAP update params request should fall back to L2

Re: Mynewt system initialization

2016-09-01 Thread Christopher Collins
Hello all, This is a follow-up email regarding Mynewt system initialization. I took all of your feedback (very helpful, thanks!) and did some more thinking. As always, all comments, criticisms, and suggestions are appreciated. Thanks, Chris ### Recap Proposal: 1. Move system

[jira] [Created] (MYNEWT-380) Only one fcb log supported

2016-08-31 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-380: -- Summary: Only one fcb log supported Key: MYNEWT-380 URL: https://issues.apache.org/jira/browse/MYNEWT-380 Project: Mynewt Issue Type: Bug

Re: Setting connection parameters

2016-08-30 Thread Christopher Collins
Hi Tim, Thanks for the report. I am curious why ble_gap_update_params() did not work with the Xperia. One thing I should mention is that the central is not obligated to update the connection when the peripheral asks it to. It should have responded to the request, though. On Tue, Aug 30, 2016

[jira] [Created] (MYNEWT-376) No error response on rx of unrecognized newtmgr ID.

2016-08-30 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-376: -- Summary: No error response on rx of unrecognized newtmgr ID. Key: MYNEWT-376 URL: https://issues.apache.org/jira/browse/MYNEWT-376 Project: Mynewt

Re: Mynewt system initialization

2016-08-29 Thread Christopher Collins
On Tue, Aug 30, 2016 at 12:35:31AM +, p...@wrada.com wrote: > Would you expect that everyone that writes a new core package, would add > their init code to sys/sysinit package and include their package in the > dependencies for sys/sysinit? Would that mean that if I include > sys/sysinit as a

Re: Mynewt system initialization

2016-08-29 Thread Christopher Collins
On Mon, Aug 29, 2016 at 04:53:12PM -0700, marko kiiskila wrote: > Hi, > > for bootloader I’d like to have different set of devices than the app. > What did you have in mind for that? Different bsp_init() routines? > Or would bsp_init() have conditional parts depending on syscfg.h says? I know

Re: newt build error

2016-08-29 Thread Christopher Collins
On Mon, Aug 29, 2016 at 10:32:25AM -0600, Cody Smith wrote: > Hey Everybody, > > I'm trying to build the ble tiny example in Ubuntu 16.04 using the Newt > 0.8.0. I've done a newt upgrade, and still get this same error. The error > on a newt build is: > > Building target targets/bleFuzzTiny_tgt

Re: [jira] [Resolved] (MYNEWT-231) newt when processing the pkt.cflags stuff doesn't like a space between -I and the include path. It seems to omit the -I

2016-08-28 Thread Christopher Collins
On Sun, Aug 28, 2016 at 11:04:51AM -0700, Sterling Hughes wrote: > As a resolution, can we quote these values and have this behavior obeyed? I'm afraid not. If the two tokens are quoted, they are interpreted as a single yaml string (good). The viper library then splits the string into

[jira] [Resolved] (MYNEWT-231) newt when processing the pkt.cflags stuff doesn't like a space between -I and the include path. It seems to omit the -I

2016-08-28 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-231. Resolution: Won't Fix Unfortunately, this is caused by the underlying Viper library

[jira] [Closed] (MYNEWT-308) Need helper functions in newt to allow you to create new packages

2016-08-28 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins closed MYNEWT-308. -- Resolution: Duplicate > Need helper functions in newt to allow you to create

Re: Setting connection parameters

2016-08-24 Thread Christopher Collins
Hi Tim, On Wed, Aug 24, 2016 at 11:04:15PM +0100, Tim Hutt wrote: > Hi, > > With the bleprph example, whenever a central connects it seems to use a > small connection interval (like 50ms). I'd like a longer one (around > 500ms). [...] To use different connection parameters, one of the two

[jira] [Commented] (MYNEWT-261) stats module does not allow multiple instances of the same section

2016-08-24 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15435715#comment-15435715 ] Christopher Collins commented on MYNEWT-261: Paul, could you please clarify what you mean

[jira] [Resolved] (MYNEWT-161) NFFS - Inefficient restoring of large files

2016-08-23 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-161. Resolution: Fixed Yes, this was fixed by Peter in commit

[jira] [Commented] (MYNEWT-360) "the input device is not a TTY" when newt isn't run in terminal

2016-08-23 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15433990#comment-15433990 ] Christopher Collins commented on MYNEWT-360: Thanks, Tim. Could you try using the updated

gdb scripts

2016-08-23 Thread Christopher Collins
Hello all, I think we need a good location for gdb command files (containing macros). I propose: @apache-mynewt-core/compiler/gdbmacros/ Thoughts? Thanks, Chris

[jira] [Commented] (MYNEWT-361) Consecutive commands not run in terminal

2016-08-23 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15433675#comment-15433675 ] Christopher Collins commented on MYNEWT-361: Thanks, Tim. I do see the same problematic

[jira] [Commented] (MYNEWT-361) Consecutive commands not run in terminal

2016-08-23 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15433631#comment-15433631 ] Christopher Collins commented on MYNEWT-361: I don't see this issue when using newt natively

[jira] [Closed] (MYNEWT-294) BLE Host - Detect invalid service and characteristic descriptors

2016-08-23 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins closed MYNEWT-294. -- Resolution: Fixed > BLE Host - Detect invalid service and characteristic descript

[jira] [Closed] (MYNEWT-345) BLE Host - Reduce size of event buffers

2016-08-22 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins closed MYNEWT-345. -- Resolution: Fixed For combined-host-controller, the event buffer size has been reduced

[jira] [Closed] (MYNEWT-348) BLE Host - Function to register mandatory services

2016-08-22 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins closed MYNEWT-348. -- Resolution: Fixed > BLE Host - Function to register mandatory servi

[jira] [Closed] (MYNEWT-350) BLE Host - Function to calculate required GATT server resources

2016-08-22 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins closed MYNEWT-350. -- Resolution: Fixed > BLE Host - Function to calculate required GATT server resour

[jira] [Closed] (MYNEWT-93) Host HCI implementation

2016-08-22 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins closed MYNEWT-93. - Resolution: Fixed > Host HCI implementat

<    1   2   3   4   5   6   7   8   9   10   >