[jira] [Created] (MYNEWT-338) NFFS - Can't delete from a completely full file system

2016-07-02 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-338: -- Summary: NFFS - Can't delete from a completely full file system Key: MYNEWT-338 URL: https://issues.apache.org/jira/browse/MYNEWT-338 Project: M

[jira] [Created] (MYNEWT-337) BLE host - Fragment data packets at the L2CAP

2016-07-02 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-337: -- Summary: BLE host - Fragment data packets at the L2CAP Key: MYNEWT-337 URL: https://issues.apache.org/jira/browse/MYNEWT-337 Project: Mynewt

[jira] [Created] (MYNEWT-336) Allow smaller mbufs for data frames

2016-07-02 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-336: -- Summary: Allow smaller mbufs for data frames Key: MYNEWT-336 URL: https://issues.apache.org/jira/browse/MYNEWT-336 Project: Mynewt Issue Type

Re: Read rssi of established connection

2016-07-02 Thread Christopher Collins
On Sat, Jul 02, 2016 at 10:18:03AM -0700, Simon Ratner wrote: [ble_hci_util_read_rssi()] > Correct, the return value is 4, and the out param remains unchanged. I have fixed this bug in develop. Thanks again for reporting it. A proper function for querying rssi will get added to the API soon. At

Re: Read rssi of established connection

2016-07-02 Thread Christopher Collins
On Sat, Jul 02, 2016 at 10:18:03AM -0700, Simon Ratner wrote: > Correct, the return value is 4, and the out param remains unchanged. > > I am testing on nrf51; have tried calling it both directly from the > EVENT_CONNECT callback, as well as some time later, just in case it was > state-related. Fo

Re: Read rssi of established connection

2016-07-02 Thread Christopher Collins
On Sat, Jul 02, 2016 at 08:31:18AM -0700, Christopher Collins wrote: > * ble_hci_util_read_rssi() should work. 4 (BLE_HS_EMSGSIZE) is an odd > return code to be getting; it indicates that the host thinks the > controller sent back an invalid command complete event in > acknowledgeme

Re: Read rssi of established connection

2016-07-02 Thread Christopher Collins
On Sat, Jul 02, 2016 at 03:40:25AM -0700, Simon Ratner wrote: > Hi devs, > > Any plans to expose a way to read last-seen rssi of a connection? > I found ble_hci_util_read_rssi(), but it seems to always return rc=4 for me. > > Cheers, > simon Hi Simon, Two things: * Yes - we will need to add a

Re: Disconnect reason wrong on local termination

2016-06-30 Thread Christopher Collins
On Thu, Jun 30, 2016 at 12:39:00PM -0700, Simon Ratner wrote: > Hi devs, > > I've been looking at the reasons I get in BLE_GAP_EVENT_DISCONNECT to make > sure I cover all edge cases, and this is what I see (on an nrf51-based > board): > > switch (ctxt->disconnect.reason) { > case BL

Re: Disconnect reason wrong on local termination

2016-06-30 Thread Christopher Collins
On Thu, Jun 30, 2016 at 01:31:00PM -0700, Simon Ratner wrote: > It is sometimes hard to tell if they are "expected", but below are a couple > of sample traces. > > Based on the timestamps, I would say the first two are expected (device was > slow to respond), while the last one is unexpected. In t

Re: Query current state of master and slave

2016-06-29 Thread Christopher Collins
On Wed, Jun 29, 2016 at 05:45:58PM -0700, Simon Ratner wrote: > For example: > > ble_gap_is_adv > ble_gap_is_disc > ble_gap_is_connecting > > You get the idea. > > As a concrete example, I want the master to be scanning whenever it isn't > handling a connection. Ditto for slave/advertising

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 expect

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 jumpe

Re: Re: Proposed nimble host API changes

2016-06-24 Thread Christopher Collins
Hi Carles, Thanks for clarifying the soft device API, and sorry for misrepresenting some aspects of it; it was certainly not intentional. It is really helpful to hear from someone who is familiar with it. I acknowledge and appreciate all of your comments, but I am only responding to those which

Re: socket interface

2016-06-23 Thread Christopher Collins
On Tue, Jun 21, 2016 at 10:18:11AM -0700, marko kiiskila wrote: > Hi, > > I was going to start implementing a socket-style API for IP > transport layer connections. To start with, I would use this > with Wi-Fi controllers with integrated IP stacks. [...] Sounds good to me. I also prefer the call

Proposed nimble host API changes

2016-06-22 Thread Christopher Collins
Hello all, This email will be long and dry. If you are not interested in the nimble host (bluetooth stack), then you might want to skip it. If you are a user of the nimble host, the email will be no less dry, but I would really appreciate it if you could expend the time to read it when you can.

Re: Can't connect while in discovery mode

2016-06-21 Thread Christopher Collins
On Tue, Jun 21, 2016 at 12:46:18AM -0700, Simon Ratner wrote: > In the meantime, I tried increasing hci buffers from 4 to 8 and it has > helped somewhat. I am not seeing -1 returns any more, and incoming > connections are less flaky, but I still see that 14. To clarify a point I > missed in my orig

[jira] [Closed] (MYNEWT-326) ble_gattc_*_by_uuid callbacks called twice (with bogus data)

2016-06-20 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins closed MYNEWT-326. -- Resolution: Not A Problem Yes, you are correct - the second callback indicates that the

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 o

[jira] [Created] (MYNEWT-325) BLE Host - Allow ECC to be delegated to the controller

2016-06-18 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-325: -- Summary: BLE Host - Allow ECC to be delegated to the controller Key: MYNEWT-325 URL: https://issues.apache.org/jira/browse/MYNEWT-325 Project: Mynewt

[jira] [Created] (MYNEWT-324) BLE Host - Ensure there is always sufficient resources to send an "insufficient-resources" error response.

2016-06-18 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-324: -- Summary: BLE Host - Ensure there is always sufficient resources to send an "insufficient-resources" error response. Key: MYNEWT-324 URL: https://issues.

[jira] [Updated] (MYNEWT-323) Newt - Build options precedence hierarchy

2016-06-18 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-323: --- Component/s: (was: t) > Newt - Build options precedence hierar

[jira] [Updated] (MYNEWT-323) Newt - Build options precedence hierarchy

2016-06-18 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-323: --- Fix Version/s: v0_10_0 > Newt - Build options precedence hierar

[jira] [Created] (MYNEWT-323) Newt - Build options precedence hierarchy

2016-06-18 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-323: -- Summary: Newt - Build options precedence hierarchy Key: MYNEWT-323 URL: https://issues.apache.org/jira/browse/MYNEWT-323 Project: Mynewt Issue

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 > '0

[jira] [Updated] (MYNEWT-307) newt sync should allow you to sync the project.state file locally

2016-06-18 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-307: --- Component/s: Newt > newt sync should allow you to sync the project.state file loca

[jira] [Closed] (MYNEWT-290) bletiny parseuint32_t won't parse positive numbers.

2016-06-18 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins closed MYNEWT-290. -- Resolution: Cannot Reproduce I have had no issues with this. Maybe the issue you had

[jira] [Updated] (MYNEWT-245) newt target test should allow debug of a package test library

2016-06-18 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-245: --- Component/s: Newt > newt target test should allow debug of a package test libr

[jira] [Updated] (MYNEWT-241) Diffucult to use newt to download code to two devices

2016-06-18 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-241: --- Component/s: Newt > Diffucult to use newt to download code to two devi

[jira] [Updated] (MYNEWT-243) newt package remove should not allow you to remove a package if you are in the package directory

2016-06-18 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-243: --- Component/s: Newt Summary: newt package remove should not allow you to remove

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

2016-06-18 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-238: --- Component/s: Newt > newt target build succeeds without a project defi

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 in

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

2016-06-10 Thread Christopher Collins
Hi Simon, > In the meantime, until a full tx power API is implemented, do you think it > makes sense to at least put the application-supplied value into the adv > packet rather than ignoring it? Yes, I think that is a great idea. It ought to be possible for the application to specify a value for

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 > https://github.com/apache/incubator-mynewt-core/blob/master/net/nimble/host/src/ble_hs_ad

[jira] [Closed] (MYNEWT-67) BLE Host - Signed Write ATT / GATT Procedures

2016-06-10 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins closed MYNEWT-67. - Resolution: Won't Fix We are not going to implement this feauture in 1.0. BLE spec

[ANNOUNCE] Apache Mynewt 0.9.0-incubating released

2016-06-09 Thread Christopher Collins
Hello all, The Apache Mynewt team is pleased to announce the first release of Apache Mynewt: 0.9.0-incubating. Apache Mynewt is a community-driven module OS for constrained, embedded applications. Mynewt provides a real-time operating system, flash file system, network stacks, and support utilit

[ANNOUNCE] Apache Mynewt 0.9.0-incubating released

2016-06-09 Thread Christopher Collins
Hello all, The Apache Mynewt team is pleased to announce the first release of Apache Mynewt: 0.9.0-incubating. Apache Mynewt is a community-driven module OS for constrained, embedded applications. Mynewt provides a real-time operating system, flash file system, network stacks, and support utilit

Re: BLE_GATT_CHR_F_NOTIFY and pinkey

2016-06-07 Thread Christopher Collins
On Thu, Jun 02, 2016 at 06:30:20PM +0200, Stephane D'Alu wrote: > I also have some difficulties to size max_attrs and max_services. > > Can I propose c) Having a web-page for nimble stack > configuration/tuning, and a set of macro that describe the formula used > to compute the various configur

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

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

2016-06-06 Thread Christopher Collins
Hello all, Voting for Apache Mynewt 0.9.0-incubating-rc3 is now closed. The release has passed. The vote breakdown is as follows: +1 Jim Jagielski(binding) +1 John D. Ament(binding) +1 Justin Mclean(binding) +1 Sterling Hughes (binding) Total: +4 Thank you to all who voted. Than

Re: Reminder to vote for 0.9.0-rc3 on the dev list

2016-06-04 Thread Christopher Collins
On Sat, Jun 04, 2016 at 04:50:36PM +1000, Justin Mclean wrote: > BTW sometime it can help to say what the difference from the last RC > is, if for instance the only difference are the release notes and > someone looked that a previous release there’s a good chance they vote > on this one without ha

Reminder to vote for 0.9.0-rc3 on the dev list

2016-06-03 Thread Christopher Collins
Hi, This is just a friendly reminder - if you are an IPMC member with a binding vote, could you please carry your vote for 0.9.0-rc3 over to the gen list? https://lists.apache.org/thread.html/0cec6f6a458b942e74fd98ba7d8af273435116b66e58eba37dbf3b82@%3Cgeneral.incubator.apache.org%3E Thanks, Chri

[VOTE] Release Apache Mynewt 0.9.0-incubating-rc3

2016-06-02 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 third release candidate for Mynewt 0.9.0 (rc3). A summary of what changed between the prior release candidates can be found in the

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

2016-06-02 Thread Christopher Collins
Hello all, Voting for Apache Mynewt 0.9.0-incubating-rc3 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 Will san Filippo (binding) +1 Sterling Hughes

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: 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: Adding service to bleprph

2016-06-01 Thread Christopher Collins
On Wed, Jun 01, 2016 at 10:04:07PM +0200, Stephane D'Alu wrote: > I've tried the patch, it's working fine. Thanks! > > I'll continue playing with the BLE stack, what is your advise staying on > 0.9 or moving to 0-dev? I would advise moving to 0-dev. Since we are still in beta, the bug-discovery

Re: Adding service to bleprph

2016-06-01 Thread Christopher Collins
y apache-mynewt-core from 0.7.9-none to 0.0.0-none ? [Yn] y Thanks! Chris commit 43143c9027aef473c22b2b6a6accaa4cfe1237c5 Author: Christopher Collins Date: Wed Jun 1 11:18:56 2016 -0700 BLE Host - Handle oddly sized read-group-type rsp. diff --git a/net/nimble/host/src/ble_att_svr.c b/net/nimble/host/src/ble_att_svr.c inde

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 s

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 funct

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 wh

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 registrat

[DISCUSS] Release Apache Mynewt 0.9.0-incubating-rc3

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

[VOTE] Release Apache Mynewt 0.9.0-incubating-rc3

2016-05-30 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 third release candidate for Mynewt 0.9.0 (rc3). A summary of what changed between the prior release candidates can be found in the

[CANCEL][VOTE] Release Mynewt 0.9.0-incubating-rc2

2016-05-30 Thread Christopher Collins
Hello all, This vote for rc2 is being cancelled due for the following reasons: * The "core" and "newt" components contained outdated README and RELEASE_NOTES files. * The naming scheme used for the release artifacts was confusing for some users (they should contain "mynewt").

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

2016-05-29 Thread Christopher Collins
> I'm attaching git diffs between the following two revisions: > a: commit when BSD license text was added (mbed repo) > b: first commit to the mynewt core repo. > > The Mynewt files are "b" in the attached diffs. That is, "+++" are > changes added by Mynewt; "---" is removed by mbed. Of

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: [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: [VOTE] Release Apache Mynewt 0.9.0-incubating-rc2

2016-05-28 Thread Christopher Collins
On Sun, May 29, 2016 at 11:23:25AM +1000, Justin Mclean wrote: > Hi, > > +0 (binding) > > While everything else is good as the release notes are out of date and I > think the naming of the artefacts needs to be fixed. > > I checked: > - names include “incubating" > - signature and hashes correc

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 build_profile=debu

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

2016-05-28 Thread Christopher Collins
On Sat, May 28, 2016 at 01:26:30PM -0700, David Moshal wrote: > ok, so Docker knowledge is a pre-requisite, has been ages since I last > used Docker. > what's the host directory mapped to? I am no docker expert, so I may be using the wrong terminology. The docker solution maps "/newt" on the virt

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 > gatt_svr_chr_access_gatt(uint16_t

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 somethin

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.

[CANCEL][VOTE] Release Mynewt 0.9.0-incubating-rc1

2016-05-27 Thread Christopher Collins
Hello all, Voting for the release of 0.9.0-incubating-rc1 has been cancelled due to some incorrectly packaged source [*]. 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 [*] For the newt r

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

2016-05-24 Thread Christopher Collins
there is a lot going on right now. All votes, positive and negative, are greatly appreciated. Chris On Sun, May 22, 2016 at 11:52:15AM -0700, Christopher Collins wrote: > Hello, > > The Apache Mynewt Incubator PPMC has approved a proposal to release > Apache Mynewt 0.9.0-incubating. W

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, as

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 disp

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, >

[VOTE] Release Apache Mynewt 0.9.0-incubating-rc1

2016-05-22 Thread Christopher Collins
Hello, The Apache Mynewt Incubator PPMC has approved a proposal to release Apache Mynewt 0.9.0-incubating. We now kindly request that the Incubator PMC members review and vote on this incubator release. Apache Mynewt is a community-driven, permissively licensed open source initiative for constrai

[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

[jira] [Closed] (MYNEWT-295) BLE Host - Persist client characteristic configuration for bonded peers

2016-05-21 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins closed MYNEWT-295. -- Resolution: Fixed > BLE Host - Persist client characteristic configuration for bon

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 this

[jira] [Closed] (MYNEWT-298) BLE Host - Scanning lasts longer than specified duration

2016-05-20 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins closed MYNEWT-298. -- Resolution: Duplicate > BLE Host - Scanning lasts longer than specified durat

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

[jira] [Created] (MYNEWT-298) BLE Host - Scanning lasts longer than specified duration

2016-05-19 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-298: -- Summary: BLE Host - Scanning lasts longer than specified duration Key: MYNEWT-298 URL: https://issues.apache.org/jira/browse/MYNEWT-298 Project: Mynewt

[jira] [Created] (MYNEWT-297) BLE Host - Scanning lasts longer than specified duration

2016-05-19 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-297: -- Summary: BLE Host - Scanning lasts longer than specified duration Key: MYNEWT-297 URL: https://issues.apache.org/jira/browse/MYNEWT-297 Project: Mynewt

[jira] [Updated] (MYNEWT-296) BLE Host - Scanning procedures provide an incomplete set of parameters

2016-05-19 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-296: --- Component/s: Nimble > BLE Host - Scanning procedures provide an incomplete set

[jira] [Created] (MYNEWT-296) BLE Host - Scanning procedures provide an incomplete set of parameters

2016-05-19 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-296: -- Summary: BLE Host - Scanning procedures provide an incomplete set of parameters Key: MYNEWT-296 URL: https://issues.apache.org/jira/browse/MYNEWT-296

[jira] [Created] (MYNEWT-295) BLE Host - Persist client characteristic configuration for bonded peers

2016-05-19 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-295: -- Summary: BLE Host - Persist client characteristic configuration for bonded peers Key: MYNEWT-295 URL: https://issues.apache.org/jira/browse/MYNEWT-295

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. B

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

2016-05-19 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-294: -- Summary: BLE Host - Detect invalid service and characteristic descriptors Key: MYNEWT-294 URL: https://issues.apache.org/jira/browse/MYNEWT-294 Project

[jira] [Closed] (MYNEWT-62) BLE Host - Security Manager - IO Capabilities

2016-05-19 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins closed MYNEWT-62. - Resolution: Fixed > BLE Host - Security Manager - IO Capabilit

[jira] [Closed] (MYNEWT-59) BLE Host - Security Manager - Key Generation

2016-05-19 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins closed MYNEWT-59. - Resolution: Fixed > BLE Host - Security Manager - Key Generat

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, 0x03

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: Procedure for changing power level

2016-05-19 Thread Christopher Collins
On Thu, May 19, 2016 at 11:03:22AM -0700, Christopher Collins wrote: > > > On May 19, 2016, at 10:11 AM, James Howarth > > > wrote: > [...] > > > static int txpwer_to_set[1] ; > > > memcpy(txpwer_to_set, ctxt->chr_access.data, > > > si

Re: Procedure for changing power level

2016-05-19 Thread Christopher Collins
On Thu, May 19, 2016 at 10:47:20AM -0700, will sanfilippo wrote: > > On May 19, 2016, at 10:11 AM, James Howarth > > wrote: [...] > > static int txpwer_to_set[1] ; > > memcpy(txpwer_to_set, ctxt->chr_access.data, > > sizeof txpwer_to_set); > > > > ble_phy_txpwr_set(*txpwer_to_set); [...]

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: [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

[DISCUSS] Release Apache Mynewt 0.9.0-incubating-rc1

2016-05-18 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-18 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 rea

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 def

Re: Problem with GATT service definition

2016-05-18 Thread Christopher Collins
Hi James, On Wed, May 18, 2016 at 07:40:50PM -0700, James Howarth wrote: > #define GATT_SVR_CHR_TXPWR_TXPWRLVL_SET 0x2A08 > > > }, > > [3] = { > /*** Service: TXPWR */ > .type = BLE_GATT_SVC_TYPE_PRIMARY, > .uuid128 = BLE_UUID16(GATT_SVR_SVC_TXPWR_UUID), >

Re: Trouble running bleprh example

2016-05-16 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, the

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 p

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? h

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: 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: > >> > >> Salutations, > >> > >> As I

<    5   6   7   8   9   10   11   12   13   14   >