Mynewt Windows port

2015-10-27 Thread Christopher Collins
Hi all, I wanted to share some details about what is planned for the Windows port of Mynewt. There is still some work to be done, but here is a rough description of what is planned. Thanks to a lot of help from Todd and Ray, we have a Windows port that is mostly working. I wanted to provide a

Re: Mynewt logo - request for input

2015-11-17 Thread Christopher Collins
I think they are all really good, but my preference is for 1 or 2. I lke 1's font the best, and I like the way the newt's tail wraps around the y. So actually I guess I like 1 the best :). Chris On Tue, Nov 17, 2015 at 09:49:24AM -0800, aditi hilbert wrote: > Good point! Doing that now :) >

Re: Mynewt Windows port

2015-12-02 Thread Christopher Collins
Oops, I meant to put the appropriate URLs in those empty parenthesis. Here they are: Docker hub: https://hub.docker.com/ golang docker image: https://github.com/docker-library/golang Chris On Wed, Dec 02, 2015 at 10:29:17AM -0800, Christopher Collins wrote: > On Wed, Dec 02, 2015 at 08:41:4

Re: [VOTE] Release Apache Mynewt 0.9.0-incubating-rc3

2016-06-02 Thread Christopher Collins
On Mon, May 30, 2016 at 11:34:24AM -0700, Christopher Collins wrote: > [X] +1 Release this package > [ ] 0 I don't feel strongly about it, but don't object > [ ] -1 Do not release this package because... Chris

Re: New Demo for stm32F3Discovery Based on Blinky

2016-06-06 Thread Christopher Collins
On Mon, Jun 06, 2016 at 12:42:38PM -0700, marko kiiskila wrote: > I would leave blinky as is. It is beneficial to have a sample that > shows that you can have applications which don’t need any platform > specific changes. I agree. Blinky is Mynewt's "hello world" applications.hhC, and I think it

Re: Tx power is always advertised as 0dBm on nrf51

2016-06-10 Thread Christopher Collins
Hi Simon, On Thu, Jun 09, 2016 at 02:53:14PM -0700, Simon Ratner wrote: [...] > The above doesn't seem to have an effect on the contents of the advertising > packet; it still advertises 0dBm. The comment in >

Re: [VOTE] Release Apache Mynewt 0.9.0-incubating-rc2

2016-05-27 Thread Christopher Collins
On Fri, May 27, 2016 at 07:56:39PM -0700, Christopher Collins wrote: > [X] +1 Release this package > [ ] 0 I don't feel strongly about it, but don't object > [ ] -1 Do not release this package because... +1 (binding)

[DISCUSS] Release Apache Mynewt 0.9.0-incubating-rc2

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

[VOTE] Release Apache Mynewt 0.9.0-incubating-rc2

2016-05-27 Thread Christopher Collins
Hello all, I am pleased to be calling this vote for the source release of Apache Mynewt 0.9.0. Given that it is version 0.x, it is still a bit of a beta. This is the second release candidate for Mynewt 0.9.0 (rc2); voting for rc1 was cancelled due to a packaging mishap involving the newt source.

Re: [DISCUSS] Release Apache Mynewt 0.9.0-incubating-rc2

2016-05-28 Thread Christopher Collins
On Sat, May 28, 2016 at 01:38:48PM -0700, Sterling Hughes wrote: > $ newt run > > Will do this for you. No need to call binary directly. If you are building for real hardware (i.e., not sim), then you need to add a version number to the end of the command. So, the command would look

Re: How to determine the length of received data in a GATT callback

2016-05-28 Thread Christopher Collins
Hi James, On Sat, May 28, 2016 at 12:53:14PM -0700, James Howarth wrote: > Hi, > > Looking at the peripheral callback gatt_svr_chr_access_gatt, is there a way > to determine the length of data received? > > Here's the whole function definition. > > static int >

Re: [DISCUSS] Release Apache Mynewt 0.9.0-incubating-rc2

2016-05-28 Thread Christopher Collins
Hi David, On Sat, May 28, 2016 at 06:05:10PM -0700, David Moshal wrote: > how do I find the name of the target? newt target show e.g., [ccollins@iori:~/tmp/newttest]$ newt target show targets/blink_nordic app=apps/blinky bsp=@apache-mynewt-core/hw/bsp/nrf52pdk

Re: [VOTE] Release Apache Mynewt 0.9.0-incubating-rc2

2016-05-29 Thread Christopher Collins
On Sun, May 29, 2016 at 10:56:09AM -0700, Christopher Collins wrote: > The CMSIS-CORE files that Mynewt bundles fall into two categories: [...] > 2. Functional changes were made by ARM mbed before the BSD license >was added; the oldest revisions containing the BSD lic

Re: BLE_GATT_CHR_F_NOTIFY and pinkey

2016-06-02 Thread Christopher Collins
On Thu, Jun 02, 2016 at 02:25:33PM +0200, Stephane D'Alu wrote: > Adding the "| BLE_GATT_CHR_F_NOTIFY" result in an error when setting > advertisement, which seems to be: pinkey missing. > > 105:[ts=102480ssb, mod=64 level=3] error enabling advertisement; rc=6 > 111:[ts=108336ssb, mod=4 level=0]

Re: GDB scripts

2016-06-01 Thread Christopher Collins
On Wed, Jun 01, 2016 at 10:04:05AM -0700, Vipul Rahane wrote: > Hello, > > While debugging a bunch of things, I felt the need for a few gdb scripts to > print out the data structures that we would use regularly. I was thinking of > creating a common gdb script which would contain different

Re: Adding service to bleprph

2016-06-01 Thread Christopher Collins
On Wed, Jun 01, 2016 at 07:24:01PM +0200, Stephane D'Alu wrote: > Hello again, > > I was trying to add a service/characteristic to the bleprph example, and > thought it would be as simple as: > > * add a gatt_svr_chr_access_ function > * add the service definition in gatt_svr_svcs > * increase

Re: Triggering GATT Notification's

2016-06-01 Thread Christopher Collins
On Wed, Jun 01, 2016 at 07:04:02AM +0100, Wayne Keenan wrote: > Because I'm creating a 'ble_gatt_svc_def' at runtime these are the steps > I'm having todo to be able to keep hold of the characteristic handle in > order to be able to call 'ble_gatts_chr_updated(handle)' to send the > notification

Re: Triggering GATT Notification's

2016-05-31 Thread Christopher Collins
Hi Wayne, On Tue, May 31, 2016 at 12:59:20PM +0100, Wayne Keenan wrote: > Hi, > > I have a custom GATT service working with read/write all ok; now I am > looking at adding notify support. > > On my first look thru the newt source my first take was that the app needs > to cache the GATT

Re: [VOTE] Release Apache Mynewt 0.9.0-incubating-rc2

2016-05-29 Thread Christopher Collins
Thanks again, Justin. My responses are inline below. I rearranged your email such that your first finding comes last, since it is the most difficult to address :). On Sun, May 29, 2016 at 11:23:25AM +1000, Justin Mclean wrote: [...] > The core release notes is out of data and talks about March

Re: Adding CLI seems to fail

2016-06-24 Thread Christopher Collins
On Fri, Jun 24, 2016 at 11:59:49AM -0400, David G. Simmons wrote: > The trouble arises at this point. No device is ever registered for > the USB port, so using minicom (or screen, etc.) isn’t an option as > there is not device. I’ve tried everything I can think of, from > removing the STLINK

Re: boot_serial support

2016-06-18 Thread Christopher Collins
On Sat, Jun 18, 2016 at 11:38:02AM +0200, Kevin Townsend wrote: > Hi Marko, > > Thanks for getting this into the development branch! ... I was just > setting things up to test it out, and I had a look at the code directly > on github in the 'develop' branch, but despite my project being on >

Re: Base a custom bsp on an existing one

2016-06-17 Thread Christopher Collins
Hi Wayne, On Fri, Jun 17, 2016 at 02:28:26PM +0100, Wayne Keenan wrote: > or perhaps I'll break up my app into parts that can be independently > included as dependencies in the pkg.deps section of pkg.yml. > > Is it possible to use 'features' to include/exclude subdirectories of > > source and

OS_EINVAL vs. OS_INVALID_PARM

2016-06-18 Thread Christopher Collins
Hello all, I noticed libs/os/include/os/os.h defines the following two error codes: OS_EINVAL = 2, OS_INVALID_PARM = 3, Do these error codes convey different results? After a brief look through the code, my impression is that they mean the same thing. If that is the case, I think one

Re: Clarification on ble_gattc_*_by_uuid calls

2016-06-27 Thread Christopher Collins
On Mon, Jun 27, 2016 at 04:13:09PM -0700, Simon Ratner wrote: > Hi Chris, > > One quick clarification question: after receiving a callback with any > error status, do you guarantee that the callback will never be called > again (including with a NULL svc param)? Hi Simon, Yes, that is the

Re: README.md files

2016-02-23 Thread Christopher Collins
Just an "fyi" - I am planning on tagging and restarting the release process at about 3:00 PST today (in one hour). If you have any documentation or license changes that need to go into master, please let me know before then. Thanks, Chris On Tue, Feb 23, 2016 at 11:07:28AM -0800, C

[RESULT][VOTE] Release Apache Mynewt 0.8.0-b1-incubating

2016-02-26 Thread Christopher Collins
Hello all, Voting for Apache Mynewt 0.8.0-b1-incubating is now closed. The release has passed this step of the process. The vote breakdown is as follows: +1 Aditi Hilbert +1 Justin Mclean +1 Marko Kiiskila +1 Sterling Hughes +1 Will san Filippo Total: +5 We can now call a vote on the

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

2016-02-27 Thread Christopher Collins
FYI - here is the vote thread on the general list: http://mail-archives.apache.org/mod_mbox/incubator-general/201602.mbox/%3C20160227030138.GT14480%40iori.nightmare.heaven%3E (Yes, I need to change my computer domain!) Chris On Fri, Feb 26, 2016 at 06:11:25PM -0800, Christopher Collins wrote

[VOTE] Release Mynewt 0.8.0-b1-incubating

2016-02-22 Thread Christopher Collins
Hello all, I am pleased to be calling this vote for the source release of mynewt-0.8.0-b1-incubating. Apache Mynewt is a community-driven, permissively licensed open source initiative for constrained, embedded applications. The release candidate to be voted on is available at:

Re: [3/3] incubator-mynewt-larva git commit: Add license to .gitignore file.

2016-02-22 Thread Christopher Collins
On Tue, Feb 23, 2016 at 09:39:41AM +1100, Justin Mclean wrote: > Hi, > > > Whoops, thanks Justin. I didn't see that note in time. > > Pulling license header of files that may not require it is a non issue, I > very much doubt that anyone would take issue with it or in fact even notice > :-)

Re: RAT (release audit tool)

2016-02-22 Thread Christopher Collins
Thanks, Justin, that is a good idea. I'll run both of those tools. Chris On Sun, Feb 21, 2016 at 04:54:17PM +1100, Justin Mclean wrote: > Hi, > > It quite likely that anyone reviewing the release on the incubator will use: > 1) Apache rat [1] > 2) Compliance Rocks > > We might want to put a

Re: Go include path / Git Include Path

2016-01-19 Thread Christopher Collins
The only way I could get "go get" to work with newt is by using the ".git" path. I changed all of the newt's include paths to the current form to allow for simpler installation instructions. Chris On Tue, Jan 19, 2016 at 10:07:24AM -0800, Sterling Hughes wrote: > Howdy, > > Right now there is

Re: Proposed changes to sys/stats

2016-02-16 Thread Christopher Collins
Thanks for the feedback, all. I will commit the first three changes to the develop branch, but leave proposal 4 unimplemented. Chris On Tue, Feb 16, 2016 at 01:35:16PM -0800, will sanfilippo wrote: > +1 for 1, 2 and 3. > > Not sure about 4. I am fine with using the macros and prefacing the

Re: Kicking off a release

2016-02-18 Thread Christopher Collins
Sounds good. I will act as the release manager. Chris On Thu, Feb 18, 2016 at 01:48:43PM -0800, Sterling Hughes wrote: > > > On 2/16/16 5:07 PM, Justin Mclean wrote: > > Hi, > > > > Who is going to act as release manager? > > > > Good question: I nominate Chris. > > > > >> - Add release

Re: incubator-mynewt-newt git commit: LICENSE, NOTICE, and KEYS files for newt.

2016-02-18 Thread Christopher Collins
On Fri, Feb 19, 2016 at 01:18:19PM +1100, Justin Mclean wrote: > Hi, > > > Thanks, Justin. If we remove this from the distribution (i.e., don't > > bundle it), do we still need to mention it in LICENSE or NOTICE? > > No only things that are bundled need to be mentioned in LICENSE and > NOTICE,

Re: incubator-mynewt-newt git commit: LICENSE, NOTICE, and KEYS files for newt.

2016-02-18 Thread Christopher Collins
On Fri, Feb 19, 2016 at 01:43:59PM +1100, Justin Mclean wrote: > If you’re going to be RM, you should sign up to that list and/or take > a look previous incubating release votes so you know what to expect. Good idea. I have subscribed to that list. Now... :) I am afraid I'm going to have to nag

Re: incubator-mynewt-newt git commit: LICENSE, NOTICE, and KEYS files for newt.

2016-02-18 Thread Christopher Collins
On Fri, Feb 19, 2016 at 04:19:57PM +1100, Justin Mclean wrote: [convenience binaries] > And are we 100% sure that they don’t contain the LGPL code (source or > compiled) ? No - the binaries certainly *do* contain LGPL code. I take it that is a problem :). I think we can refrain from releasing

Re: incubator-mynewt-newt git commit: LICENSE, NOTICE, and KEYS files for newt.

2016-02-18 Thread Christopher Collins
On Fri, Feb 19, 2016 at 04:19:57PM +1100, Justin Mclean wrote: > Would you like me to give the various LICENSE and NOTICE files a once > over before you make an official RC? Oops, I am not sure how I missed this. Yes, that would be extremely helpful. Thanks, Chris

Re: incubator-mynewt-newt git commit: LICENSE, NOTICE, and KEYS files for newt.

2016-02-18 Thread Christopher Collins
On Fri, Feb 19, 2016 at 05:54:11PM +1100, Justin Mclean wrote: > Hi, > > >> Would you like me to give the various LICENSE and NOTICE files a once > >> over before you make an official RC? > > > > Oops, I am not sure how I missed this. Yes, that would be extremely > > helpful. > > I assume they

Re: incubator-mynewt-newt git commit: LICENSE, NOTICE, and KEYS files for newt.

2016-02-18 Thread Christopher Collins
On Fri, Feb 19, 2016 at 06:05:20PM +1100, Justin Mclean wrote: > What the process for generating the release artefacts? Since we won't be releasing binaries this time around, the only artifacts are: 1) the source tgz files, 2) the ascii signature files, and 3) the SHA checksums. Or maybe you are

Re: incubator-mynewt-newt git commit: LICENSE, NOTICE, and KEYS files for newt.

2016-02-18 Thread Christopher Collins
On Fri, Feb 19, 2016 at 06:18:19PM +1100, Justin Mclean wrote: > HI, > > > Since we won't be releasing binaries this time around, the only > > artifacts are: 1) the source tgz files > > Perhaps a silly question. But how are those tgz files generated? Oh, I see. No, not silly at all. I used

Re: LICENSE and NOTICE contents / headers

2016-02-19 Thread Christopher Collins
Thanks a lot for looking at this, Justin. On Fri, Feb 19, 2016 at 06:16:22PM +1100, Justin Mclean wrote: > Newt repo still has: > ./.git/hooks/pre-rebase.sample I believe this file is not actually in the repository. When a git repo is cloned, the .git directory is populated with the contents of

Re: LICENSE and NOTICE contents / headers

2016-02-19 Thread Christopher Collins
On Sat, Feb 20, 2016 at 09:05:58AM +1100, Justin Mclean wrote: > > The rest of them are from files which contain the Apache license text at > > the top of the file. In these files, we retained the original copyright > > notice below the Apache license. Do you think this is problematic? > >

Re: LICENSE and NOTICE contents / headers

2016-02-19 Thread Christopher Collins
On Sat, Feb 20, 2016 at 09:40:40AM +1100, Justin Mclean wrote: > I think the LICENSE is still missing a number of things, do you look > at my email when I went through the repos and listed what was > contained in them? I know things have changed a little in > tadpole/larval repos but everythink

Re: [DISCUSS] Release Apache Mynewt 0.8.0-incubating-b2

2016-03-18 Thread Christopher Collins
Hi Justin, On Sat, Mar 19, 2016 at 08:49:50AM +1100, Justin Mclean wrote: > Hi, > > I took a look at the binaries and have a question. What exactly is in > the newt binary? Is any extra 3rd party code bundled into that binary > that is not in the source release? And if so how is that licensed?

[VOTE][CANCEL] Release Mynewt 0.8.0-incubating-b2

2016-03-18 Thread Christopher Collins
Hello all, Voting for the release of 0.8.0-incubating-b2 has been cancelled due to a bug that was discovered in the bletiny application [*]. A new vote will be called in the near future. I apologize for the confusion. The next release candidate will be clearly labelled with a candidate number

[DISCUSS] Release Apache Mynewt 0.8.0-b2-incubating-rc3

2016-03-18 Thread Christopher Collins
Hello all, This thread is for any and all discussion regarding the release of Apache Mynewt 0.8.0-b2-incubating-rc3. All feedback is welcome. Thanks, Chris

[VOTE] Release Apache Mynewt 0.8.0-b2-incubating-rc3

2016-03-18 Thread Christopher Collins
Hello all, I am pleased to be calling this vote for the source release of Apache Mynewt 0.8.0-b2-incubating-rc3. Apache Mynewt is a community-driven, permissively licensed open source initiative for constrained, embedded applications. Mynewt provides a real-time operating system, flash file

Re: [VOTE] Release Apache Mynewt 0.8.0-incubating-b2

2016-03-19 Thread Christopher Collins
On Thu, Mar 17, 2016 at 10:02:01AM +1100, Justin Mclean wrote: > > Blinky is a bit unusual in that it is not meant to be compilable nor > > testable on its own > > Any reason it has unittest as a target then? (as shown by mynewt info) Well... it's an implementation detail that leaked out :).

[VOTE] Release Apache Mynewt 0.8.0-incubating-b2

2016-03-19 Thread Christopher Collins
Hello all, I am pleased to be calling this vote for the source release of Apache Mynewt 0.8.0-incubating-b2. 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,

[VOTE][CANCEL] Release Mynewt 0.8.0-incubating-b2

2016-03-16 Thread Christopher Collins
Hello all, Voting for the release of 0.8.0-incubating-b2 has been cancelled due to some compliance issues. A new vote will be called in the near future. Thanks, Chris

Re: FYI: bletiny is over the nrf51 code size limit

2016-03-28 Thread Christopher Collins
The culprit is the security code that was recently added to the host. This new code caused ~10kB of mbedtls code to get pulled in to the image. Since security support is incomplete, I have disabled the security manager by default. The latest code in the develop branch should fit on the nRF51

Re: choosing between FCB and NFFS

2016-04-07 Thread Christopher Collins
That mostly sounds good to me, though I agree that the need to duplicate app code is not ideal. Here is an alternative idea: * Both fs and fcb export a suitable API (e.g., "bootapi"). * By default, apps depend on nffs. * If a particular feature is set in the target, the app depends on

Re: choosing between FCB and NFFS

2016-04-07 Thread Christopher Collins
duplicating the entire app. I think the problem you described won't be applicable to most apps. The example apps are affected by this because they are meant to be as generic as possible. Chris On Thu, Apr 07, 2016 at 11:03:07AM -0700, Christopher Collins wrote: > That mostly sounds good to

net/nimble/host code size reduction

2016-04-05 Thread Christopher Collins
Hello all, Yesterday I made a fairly large commit to the net/nimble/host package in the core repository (the host-side of the BLE stack). I wanted to provide the community with an explanation of these changes and related changes planned for the future. This email will probably be long and

Rename newtmgr protocol

2016-04-06 Thread Christopher Collins
Hello all, There are two things called "newtmgr": 1. A simple command-response protocol used for interfacing with mynewt devices (the newtmgr server code is at core:libs/newtmgr). 2. A CLI tool which communicates with mynewt devics via the newtmgr protocol (newt:newtmgr). I have had a

Re: Timestamp for logs

2016-04-08 Thread Christopher Collins
On Thu, Apr 07, 2016 at 10:33:26PM -0700, Vipul Rahane wrote: > Hello, > > I agree with your statement. We do not know on what kind of devices > Mynewt would be ported to. Sleepy devices which are meant to work for > 20 years running on a single coin cell battery will rollover the time > stamp in

Re: Using third-party Apache code

2016-04-10 Thread Christopher Collins
(I meant to send this several days ago, but I just noticed it in my drafts folder. Thanks for answering my questions!) Hi Justin, On Fri, Apr 08, 2016 at 08:08:56AM +1000, Justin Mclean wrote: [...] > IANAL etc etc > > What’s the software in question your thinking of bundling? I have pulled

Re: net/nimble/host code size reduction

2016-04-05 Thread Christopher Collins
On Tue, Apr 05, 2016 at 03:10:40PM -0700, aditi hilbert wrote: > So how much was the size reduction? Good question :). The host size was reduced from: 48526 bytes to: 42257 bytes I should note that I am building with -DLOG_LEVEL=2, which also reduces the code size somewhat. This

Re: [VOTE]: Committer status for Paul Dietrich and Neel Natu

2016-04-06 Thread Christopher Collins
On Tue, Apr 05, 2016 at 10:39:01PM -0700, aditi hilbert wrote: > This is a call to vote on conferring committer status to the following > two contributors. They have submitted several patches and entire > modules via pull requests on Mynewt github mirrors on a variety of > topics. > > [+1] Paul

[DISCUSS] Release Apache Mynewt 0.8.0-incubating-b2

2016-03-19 Thread Christopher Collins
Hi all, This thread is for any and all discussion regarding the release of Apache Mynewt 0.8.0-incubating-b2. All feedback is welcome. Thanks, Chris

[RESULT][VOTE] Release Apache Mynewt 0.8.0-b2-incubating-rc3

2016-03-22 Thread Christopher Collins
Hello all, Voting for Apache Mynewt 0.8.0-b2-incubating-rc3 is now closed. The release has passed this step of the process. The vote breakdown is as follows: +1 Christopher Collins +1 Sterling Hughes +1 Justin Mclean +1 Will san Filippo Total: +4 We can now call a vote on the general

Re: Nimble HCI

2016-03-24 Thread Christopher Collins
On Wed, Mar 23, 2016 at 05:08:37PM -0700, will sanfilippo wrote: [...] To summarize my understanding of your proposal (please let me know if I got anything wrong!): 1. Create several independent HCI packages in the net/nimble directory. > net/nimble/hci_spi > net/nimble/hci_combined

Apache Mynewt release process

2016-03-06 Thread Christopher Collins
Hello all, I have created a page on the Mynewt wiki detailing the release process: https://cwiki.apache.org/confluence/display/MYNEWT/Release+Process If you have time, please take a look and make corrections or post comments to the list. Thanks, Chris

Re: installing the Newt

2016-03-02 Thread Christopher Collins
$ mkdir -p "$GOPATH"/src/mynewt.apache.org && ln -s $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt "$GOPATH"/src/mynewt.apache.org/newt Sorry for the hassle. Yes, we definitely need to include convenience binaries in the next release :). Chri

Re: Master newt does not build released software

2016-04-02 Thread Christopher Collins
I agree that that is a compatibility break, but that change was made at the same time as a host of other backwards-incompatible changes (0.8.0-b2). I think this particular problem is a bit more complicated, so strap yourself in for some mind-numbing post-mortem analysis. The root of this issue

Re: Master newt does not build released software

2016-04-02 Thread Christopher Collins
On Sat, Apr 02, 2016 at 02:00:55PM -0700, Sterling Hughes wrote: > When making changes to a platform as popular as Arduino Zero, that will > likely break compat, can people please TEST to make sure the release > version still works. Also, I imagine that compatibility-breaking changes like these

Re: Testing rhe libs/shell

2016-04-04 Thread Christopher Collins
On Mon, Apr 04, 2016 at 11:55:54PM +0100, Nges B wrote: > in a new created project , the newt test all fails the libs/json . > the jlibs/json was not corrected on that repository. > Thanks It looks like this particular fix was already pushed to the develop branch on 2016-03-21

Re: First draft of Coding standards in develop branch

2016-04-26 Thread Christopher Collins
de. Chris On Tue, Apr 26, 2016 at 09:31:55AM -0700, Sterling Hughes wrote: > > > On 4/26/16 9:22 AM, Christopher Collins wrote: > > On Tue, Apr 26, 2016 at 09:06:37AM -0700, Sterling Hughes wrote: > >> I think we do need a naming convention here - I'm fine adopting H_

Re: First draft of Coding standards in develop branch

2016-04-26 Thread Christopher Collins
On Tue, Apr 26, 2016 at 09:06:37AM -0700, Sterling Hughes wrote: > I think we do need a naming convention here - I'm fine adopting H_*. > I'll point out that almost every POSIX or LIBC header I've ever seen > uses underscore, and I believe this is only reserved in C++ -- that > said, we need to

Re: [VOTE] Release Apache Mynewt 0.8.0-incubating-rc1

2016-04-29 Thread Christopher Collins
On Thu, Apr 28, 2016 at 01:09:45PM -0700, marko kiiskila wrote: > The vote is open for at least 72 hours and passes if a majority of at > least three +1 PPMC votes are cast. > > [X] +1 Release this package > [ ] 0 I don't feel strongly about it, but don't object > [ ] -1 Do not release this

Re: First draft of Coding standards in develop branch

2016-04-26 Thread Christopher Collins
On Sun, Apr 24, 2016 at 10:08:09AM -0700, Sterling Hughes wrote: > Hi, > > As we start to bring on new contributors, and operate as a project, its > increasingly important that we document and agree upon coding standards. > I think we've done a good job of maintaining this consistency >

Re: Correct way to specify custom UUID's

2016-05-19 Thread Christopher Collins
On Thu, May 19, 2016 at 12:57:53PM -0700, James Howarth wrote: > Hi Chris, > > A) Thanks for the style tips. I always appreciate those. > > B) The device seems to be stuck in trying to register attributes loop, > similar to what had happened when I didn't have enough attributes > supported.

Re: [VOTE] Release Apache Mynewt 0.9.0-incubating-rc1

2016-05-20 Thread Christopher Collins
On Wed, May 18, 2016 at 11:26:50PM -0700, Christopher Collins wrote: > [X] +1 Release this package > [ ] 0 I don't feel strongly about it, but don't object > [ ] -1 Do not release this package because... +1 (binding) Thanks, Chris

Re: [DISCUSS] Release Apache Mynewt 0.9.0-incubating-rc1

2016-05-20 Thread Christopher Collins
All, It is certainly not a big problem, but it is best if discussion about the release goes in the [DISCUSS] thread rather than the [VOTE] thread. Reserving the [VOTE] thread for votes makes it easy for lazy people such as myself to produce a tally when the vote closes. Please don't interpet

Re: Respond to a write characteristic

2016-05-23 Thread Christopher Collins
Hi James, On Mon, May 23, 2016 at 02:24:15PM -0700, James Howarth wrote: > Hi, > > I am looking to issue a response to a write characteristic, and seem to be > just getting a null response. > [...] > static int > gatt_svr_p_command_cb(uint16_t conn_handle, uint16_t attr_handle, uint8_t > op, >

Re: Respond to a write characteristic

2016-05-23 Thread Christopher Collins
On Mon, May 23, 2016 at 09:22:42PM -0700, James Howarth wrote: > Hi Chris, > > Looking at the LightBlue app on my iPhone, it tells me the response is 'null'. Hmm... I am not sure. A write response does not contain any data of its own; all write responses are alike. Is it possible lightblue

Re: [DISCUSS] Release Apache Mynewt 0.9.0-incubating-rc1

2016-05-19 Thread Christopher Collins
On Thu, May 19, 2016 at 11:30:05AM +0200, Kevin Townsend wrote: > I'm running in 'develop' which may not be the right branch, but > switching a bare bones BLE project to 'native' as a BSP generates this > error: > > $ newt build bleuart > Building target targets/bleuart > Compiling ble_ll_adv.c

Re: [DISCUSS] Release Apache Mynewt 0.9.0-incubating-rc1

2016-05-19 Thread Christopher Collins
On Wed, May 18, 2016 at 11:28:03PM -0700, Christopher Collins wrote: > Hello all, > > This thread is for any and all discussion regarding the release of > apache-mynewt-0.9.0-incubating. All feedback is welcome. There is one thing I really should have mentioned in the vote email.

Re: Problem with GATT service definition

2016-05-18 Thread Christopher Collins
On Wed, May 18, 2016 at 08:28:16PM -0700, James Howarth wrote: > Hi Chris, > > You are 100% right, and I realized after I had just it send, it was a > copy/paste error. No worries. I think the problem is that bleprph is trying to allocate more attributes than it is configured for. Bleprph's

[DISCUSS] Release Apache Mynewt 0.9.0-incubating-rc1

2016-05-19 Thread Christopher Collins
Hello all, This thread is for any and all discussion regarding the release of apache-mynewt-0.9.0-incubating. All feedback is welcome. Thanks, Chris

[VOTE] Release Apache Mynewt 0.9.0-incubating-rc1

2016-05-19 Thread Christopher Collins
Hello all, I am pleased to be calling this vote for the source release of Apache Mynewt 0.9.0. Given that it is version 0.x, it is still a bit of a beta. Apache Mynewt is a community-driven, permissively licensed open source initiative for constrained, embedded applications. Mynewt provides a

[RESULT][VOTE] Release Apache Mynewt 0.9.0-incubating-rc1

2016-05-22 Thread Christopher Collins
Hello all, Voting for Apache Mynewt 0.9.0-incubating-rc1 is now closed. The release has passed this step of the process. The vote breakdown is as follows: +1 Marko Kiiskila +1 Christopher Collins +1 Will san Filippo +1 Sterling Hughes Total: +4 We can now call a vote on the general@incubator

Re: BLE Stack

2016-05-24 Thread Christopher Collins
On Tue, May 24, 2016 at 03:15:22PM +0400, Vitya Gnatyuk wrote: > I make up your stack in EmBitz 0.42 with apps\bleprph example. But an one > error has occurred: undefined reference to `__vector_tbl_reloc__' > What I can do with it? Hi Vitya, Are you using the "newt" tool to build your project,

Re: Procedure for changing power level

2016-05-19 Thread Christopher Collins
On Thu, May 19, 2016 at 11:12:39AM -0700, James Howarth wrote: > Hi Chris, > > I think it needs to be a signed int right, as txpwer can be negative, does > that sound right? Yes, good catch (thanks also, Kevin!). In that case, you should declare the tx power variable as an int8_t. Chris

Re: Correct way to specify custom UUID's

2016-05-19 Thread Christopher Collins
On Thu, May 19, 2016 at 11:57:45AM -0700, James Howarth wrote: > I'm not quite sure how to define a custom 128 bit UUID and pass it to > .uuid128. > > I thought it might be a global variable e.g. > static uint8_t UUID_BASE[16] = {0x03, 0x04, 0x00, 0x00, 0x2A, 0xAE, > 0x4D, > 0x26, 0xAD, 0x62,

Re: Mynewt Local BSP Instance Location

2016-05-11 Thread Christopher Collins
Hi Kevin, On Wed, May 11, 2016 at 01:32:14PM +0200, Kevin Townsend wrote: > I'm trying to document the process of creating a custom BSP based on an > existing model from apache-newt-core, and copied the model into the > local `projectroot/hw/bsp/boardname` folder, updated the `pkg.yml` file, >

Re: Trouble running bleprh example

2016-05-17 Thread Christopher Collins
On Mon, May 16, 2016 at 09:29:37PM -0700, James Howarth wrote: > Hi Chris, > > Thanks. I'm getting closer. > > Using the 'LightBlue Explorer' app: > >- I can see the nimble-bleprh device >- nim-bleprh appears to be advertising no services. >- When I try and connect to the nRF52,

Re: Trouble running bleprh example

2016-05-16 Thread Christopher Collins
Hi James, On Mon, May 16, 2016 at 10:49:10AM -0700, James Howarth wrote: > Hi, > > I am trying to get the bleprph example up and running on a Nordic nRF52 > PDK. But I can't seem to see the device using the LightBlue app running on > my iPhone. [...] Hi James, I'm pretty sure I know what the

Re: Arduino zero Blinky : build bootloader error

2016-05-15 Thread Christopher Collins
Hi Pradeep, On Sun, May 15, 2016 at 06:47:29PM +0530, Pradeep Sanjeewa wrote: > But when I try to download the bootloader (newt load arduino_boot) , it > gives an error. > > line 61: openocd: command not found > Error: exit status 127 Did you see the documentation for getting started in Linux?

Re: legacy pairing for nimble

2016-05-03 Thread Christopher Collins
On Mon, May 02, 2016 at 09:27:12PM +, p...@wrada.com wrote: > > All, > > This pull request contains legacy pairing implementation for nimble. It also > contains a change from Chris which is not yet committed that I needed to > ensure atomic access to the l2cap state machine in

Re: callout and callout_func

2016-05-06 Thread Christopher Collins
I also prefer #2. Chris On Fri, May 06, 2016 at 11:31:03AM -0700, will sanfilippo wrote: > My vote would be #2 as well. > > > > On May 6, 2016, at 11:29 AM, marko kiiskila wrote: > > > > Hi, > > > >> On May 5, 2016, at 10:47 AM, Sterling Hughes wrote:

Re: Setting cflags correctly in bletiny

2016-05-05 Thread Christopher Collins
On Thu, May 05, 2016 at 06:28:19PM +0530, Anuj Deshpande wrote: > Hi all, > > I am on 64 bit 16.04 Ubuntu with a manually installed toolchain which has > been added to my path. > > Before building the app, while setting the cflags for the target, the > documentation says that one should not give

Re: Blinky on nrf52DK needs repos/apache-mynewt-core to be on master

2016-05-05 Thread Christopher Collins
On Thu, May 05, 2016 at 05:13:25PM +0530, Anuj Deshpande wrote: > Hi all > > I followed the instructions on how to setup newt tool and then blinky on > the nrf52 DK. > > http://mynewt.apache.org/os/tutorials/nRF52/ [...] > I had to change the branch of the repos/apache-mynewt-core repo which was

Re: Proposed changes to Nimble host

2016-04-18 Thread Christopher Collins
On Mon, Apr 18, 2016 at 09:18:16AM -0700, will sanfilippo wrote: > For #2, my only “concerns” (if you could call them such) are: > * Using OS_EVENT_TIMER as opposed to some other event. Should all > OS_EVENT_TIMER events be caused by a timer? Probably no big deal… What > events are going to be

Re: Mynewt for arduino_101 board

2016-04-18 Thread Christopher Collins
Hi Andre, On Mon, Apr 18, 2016 at 10:55:49AM +0300, Andrei Emeltchenko wrote: > Hi, > > I am working on arduino_101 development board. > https://www.arduino.cc/en/Main/ArduinoBoard101 > > It has nrf51 BLE chip, Basically the configuration is the same as for > the nrf51dk-16kbram with the only

Re: MYNEWT-262 Log module needs split in logging and reporting

2016-04-19 Thread Christopher Collins
Hi Vipul, On Mon, Apr 18, 2016 at 11:53:28PM -0700, Vipul Rahane wrote: > - Make changes to the log_register() function to take LOG_MODULE_X as > an argument. This module ID is present as a field in the log structure > and can be used anytime an entry is logged in the specific log. There > was a

Proposed changes to Nimble host

2016-04-17 Thread Christopher Collins
Hello all, The Mynewt BLE stack is called Nimble. Nimble consists of two packages: * Controller (link-layer) [net/nimble/controller] * Host (upper layers) [net/nimble/host] This email concerns the Nimble host. As I indicated in an email a few weeks ago, the code size of the

Re: Problem Loading arduino_boot

2016-04-14 Thread Christopher Collins
Hi Nges, On Thu, Apr 14, 2016 at 03:02:49AM +0100, Nges B wrote: > Ok thanks. > I will be waiting for your response. Unfortunately, I can't reproduce the problem over here. I was able to load the arduino boot loader in Ubuntu 14.10 without any problems.

Re: Problem Loading arduino_boot

2016-04-13 Thread Christopher Collins
Hi Nges, On Thu, Apr 14, 2016 at 02:44:10AM +0100, Nges B wrote: > hello Chris sorry for my late reply, > I succeeded in installing the openocd 0.9.0 since yesterday morning. Not a problem, and sorry for not noticing the "0.9.0" string in your earlier emails. You do not need to download

Re: bug+patch: Read By Group Type Response

2016-07-25 Thread Christopher Collins
On Mon, Jul 25, 2016 at 02:17:40PM -0700, Christopher Collins wrote: > On Mon, Jul 25, 2016 at 12:09:13PM -0700, Mike Ryan wrote: > > I discovered and patched a bug in the Read Group Type Response message > > when using small MTUs. The details are recorded in the following p

  1   2   3   4   >