Re: Tutorial problem with the Docker Container

2017-01-20 Thread Christopher Collins
On Fri, Jan 20, 2017 at 11:55:59PM +0800, Li-Chun Ko wrote: > As an update, the Docker Container works well with the "./newt test all" > commend. Great to hear. Thanks for following up! Chris

Re: bleuart example causes crash

2017-01-20 Thread Christopher Collins
On Fri, Jan 20, 2017 at 09:41:24AM +, Lm Chew wrote: > Hi, > > > Does any one have problem running the bleuart example? > > When I run it, it crashes in the end with Unhandled interrupt error. (I am > using bmd300eval) > I got the following debug output: It has been quite a while since I

Re: [RFC] Reducing size of BLE Security Manager

2017-01-20 Thread Christopher Collins
On Fri, Jan 20, 2017 at 10:21:16AM +0100, Szymon Janc wrote: > Code is available at [1]. I'm not making it a pull request yet since > I'd like to get some feedback about this approach from others. Also I > still need to get tests passing since SM keys related tests fail now > (and I'm not yet sure

Re: [RFC] Reducing size of BLE Security Manager

2017-01-20 Thread Christopher Collins
Hi Szymon, On Fri, Jan 20, 2017 at 10:21:16AM +0100, Szymon Janc wrote: > Hi, > > I was recently looking on how we could reduce size of SM code. > So my proposal is to change the way PDUs are parsed and constructed. > > Instead of having ble_sm_foo_parse(), ble_sm_foo_write() and

Re: Tutorial problem with the Docker Container

2017-01-19 Thread Christopher Collins
Hi Li-Chun, I'm glad you got it working, but now I'm confused. The docker container should already use the correct version of gcc (multilib). Furthermore, as I understand it, installing a different compiler on your machine should not have any effect on the docker container. Are you still using

Re: MBUF sizing for the bluetooth stack

2017-01-19 Thread Christopher Collins
On Thu, Jan 19, 2017 at 10:57:58AM -0800, Christopher Collins wrote: > On Thu, Jan 19, 2017 at 03:46:49AM -0800, Simon Ratner wrote: > > A related question: how does this map to large ATT_MTU and fragmented > > packets at the L2CAP level (assuming no data length extension)? Does ea

Re: MBUF sizing for the bluetooth stack

2017-01-19 Thread Christopher Collins
On Thu, Jan 19, 2017 at 03:46:49AM -0800, Simon Ratner wrote: > A related question: how does this map to large ATT_MTU and fragmented > packets at the L2CAP level (assuming no data length extension)? Does each > fragment get its own mbuf, which are then chained together, or does the > entire

Using Eclipse for Mynewt development

2017-01-18 Thread Christopher Collins
Here are some of my notes for getting Mynewt to work with eclipse. I wrote these a while back, so there may be a few inaccuracies. Also, these notes assume you are building bletiny for the nRF52dk BSP, so you may need to adjust accordingly. Thanks, Chris *** Setup 1. Download Eclipse Neon

Re: stopping scan & adv in bleprph example

2017-01-18 Thread Christopher Collins
Hi, sorry for the late response. Somehow I missed this. On Mon, Jan 16, 2017 at 08:22:27PM -0800, will sanfilippo wrote: > Yes, Mynewt works the same way as FreeRTOS in this respect. Well, at least in > the way you are describing FreeRTOS. We have a tickless OS and when we decide > to go to

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-18 Thread Christopher Collins
Hi Jacob, On Tue, Jan 17, 2017 at 09:06:36PM -0700, Jacob Rosenthal wrote: [...] > As you can see, I cant seem to get slot1 active and confirmed It looks like one of two things is going wrong: 1. The loader (bleprph) is failing to jump into the application (splitty), or 2. The application

Re: stopping scan & adv in bleprph example

2017-01-16 Thread Christopher Collins
l sanfilippo > <wi...@runtime.io<mailto:wi...@runtime.io>> wrote: > > If by deep sleep you mean "system off" mode requiring some form of wakeup, it > is curently not implemented. You would have to hook that in yourself. > > > On Jan 16, 2017, at 9:22 AM, Chr

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-16 Thread Christopher Collins
re/kernel/os/src/os.c:110 > #2 0x in ?? () > (gdb) c > > Any chance I could impose on you to debug in irc with me sometime? > > > On Thu, Jan 12, 2017 at 9:42 PM, Christopher Collins <ccoll...@apache.org> > wrote: > > > Hi Jacob, > > > &

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-13 Thread Christopher Collins
On Fri, Jan 13, 2017 at 04:38:25PM -0700, Jacob Rosenthal wrote: > Ah, I expected gdb of optimized split code to be a nightmare and hadnt > tried yet. > newtmgr has never crashed.. it just hangs forever > > I cant get the SOFT anymore now. hrmmm Just hanging out here.. > (gdb) where > #0

Re: Supporting multiple filesystems and "block" devices

2017-01-13 Thread Christopher Collins
On Fri, Jan 13, 2017 at 08:29:33PM -0200, Fabio Utzig wrote: > Yes, I was expecting it! So I had 3 options in mind: > > Option 1 - Use a "drive" name as was implemented. Btw, it's not limited > to single letter drive names! Sure if someone really likes DOS, they > could use A:, B:, etc. This

Re: [RFC] Refactor UUID handling in Nimble

2017-01-13 Thread Christopher Collins
Hi Andrzej, That all sounds good to me. Thanks, Chris On Fri, Jan 13, 2017 at 02:58:19PM +0100, Andrzej Kaczmarek wrote: > Hi, > > I've refactored Nimble code to use dedicated type for UUID handling instead > of generic byte-array. Full diff is available here (it is split into > several

Re: Supporting multiple filesystems and "block" devices

2017-01-13 Thread Christopher Collins
Hi Fabio, Sounds great. I only have one comment: On Fri, Jan 13, 2017 at 03:09:48PM -0200, Fabio Utzig wrote: > > All the fs_* functions where updated to support multiple disks. To > > access a file/dir now will required adding the name of the disk as a > > prefix like this: > > > > rc =

Re: Override pin settings

2017-01-13 Thread Christopher Collins
On Fri, Jan 13, 2017 at 11:35:13AM -0500, David G. Simmons wrote: > Here's the entire syscfg.yml file: > > ### Package: targets/air_q > > syscfg.vals: > OPENOCD_DEBUG: 1 > # Enable the shell task. > SHELL_TASK: 1 > STATS_CLI: 1 > > CONSOLE_TICKS: 1 > CONSOLE_PROMPT: 1 >

Re: Override pin settings

2017-01-13 Thread Christopher Collins
Hi David, On Fri, Jan 13, 2017 at 09:52:35AM -0500, David G. Simmons wrote: > Before I file a bug in Jira on this, I thought I'd ask if this is expected > behavior: > > From my project's syscfg.yml: > UART_0_PIN_TX: > description: 'New Pin Assignment' > value: 23 >

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-12 Thread Christopher Collins
ags: > >> hash: 8b64ea89bf0495c0ccb25b96b3a7f06fd5e540e221f9659f9bc6b0d0d303 > >> d6f1 > >> Split status: matching > >> Jacobs-MacBook-Air:mynewt-hr-observer jacobrosenthal$ > >> > >> Ram issue? Whats a good way to see a log of the fa

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-12 Thread Christopher Collins
On Thu, Jan 12, 2017 at 07:06:37PM -0700, Jacob Rosenthal wrote: > Still ok... and Im able to interact with shell over serial and I think its > advertising!? Not sure why my newtmgr wont connect then.. Ideas to > troubleshoot? So you are sending newtmgr commands over serial? Do all commands

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-12 Thread Christopher Collins
Hi Jacob, On Thu, Jan 12, 2017 at 07:19:11PM -0700, Jacob Rosenthal wrote: > OH really interesting.. In the updated documentation the biggest change > from what I was doing was splitty is the app and bleprph is the loader. Is > that intentional? Yes - the loader needs to contain everything

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-12 Thread Christopher Collins
On Mon, Jan 09, 2017 at 10:48:48AM -0800, Christopher Collins wrote: > The boot sequence and upgrade procedure for the split image setup is a > bit complicated. I have been working on some documentation for this > area, but haven't quite finished it. I hope to have something ready i

Re: How to change the CPU time frequency of mynewt and nimble stack

2017-01-10 Thread Christopher Collins
Hi Jiacheng, On Wed, Jan 11, 2017 at 10:47:24AM +0800, WangJiacheng wrote: > More information about nimble stack with 2 MHz CPU frequency. nimble-bleprph > can be connected by LightBlue, but after several seconds, it is disconnected > with message “Disconnected Alert: The peripheral has

Re: How to change the CPU time frequency of mynewt and nimble stack

2017-01-10 Thread Christopher Collins
Hi Jiacheng, I think your version of newt is still slightly out of date. You can install the latest as follows: cd $GOPATH/src/mynewt.apache.org/newt/newt && git checkout develop&& git pull origin develop && go install

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-09 Thread Christopher Collins
Hi Jacob, On Sun, Jan 08, 2017 at 01:04:54PM -0700, Jacob Rosenthal wrote: > On Mon, Jan 2, 2017 at 2:46 PM, Christopher Collins <ccoll...@apache.org> > wrote: > > > Do you know how big your loader is currently? > > > Well, could be anything based on ho

Re: Compile and build time, any way to speed up?

2017-01-06 Thread Christopher Collins
Hi Cris, On Fri, Jan 06, 2017 at 12:54:03PM -0500, Cris Frusina wrote: > Fixed the TCP issue by restarting Virtualbox, did an newt upgrade and a > newt install with the 0-dev in the project file. > > Still missing something as -j is not recognized. The -j option is only supported in the

Re: Compile and build time, any way to speed up?

2017-01-05 Thread Christopher Collins
On Thu, Jan 05, 2017 at 09:00:11AM -0500, Cris Frusina wrote: > Hi David, > > Sounds like a pain! > > So I got an Ubuntu VM running on the Windows machine and installed the myNewt > natively. I didn't really see much of a speed bump (needs a bit further > testing). I'll try a different

Re: Compile and build time, any way to speed up?

2017-01-05 Thread Christopher Collins
On Thu, Jan 05, 2017 at 08:34:04AM -0500, David G. Simmons wrote: > Well, I spent the entire day yesterday working on this, and unfortunately, I > don't have any real results. > > My only Windows setup is a VM, and it turns out that running a Docker > instance on a Windows VM on top of Mac OS

[jira] [Updated] (MYNEWT-537) newt - Multithreaded compiles

2017-01-04 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-537: --- Description: To specify the number of concurrent threads, use the "-j&qu

[jira] [Resolved] (MYNEWT-537) newt - Multithreaded compiles

2017-01-04 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-537. Resolution: Fixed > newt - Multithreaded compi

[jira] [Created] (MYNEWT-537) newt - Multithreaded compiles

2017-01-04 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-537: -- Summary: newt - Multithreaded compiles Key: MYNEWT-537 URL: https://issues.apache.org/jira/browse/MYNEWT-537 Project: Mynewt Issue Type: Bug

[jira] [Resolved] (MYNEWT-535) newt - Include target name in image manifest

2017-01-04 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-535. Resolution: Fixed > newt - Include target name in image manif

[jira] [Created] (MYNEWT-535) newt - Include target name in image manifest

2017-01-04 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-535: -- Summary: newt - Include target name in image manifest Key: MYNEWT-535 URL: https://issues.apache.org/jira/browse/MYNEWT-535 Project: Mynewt

[jira] [Commented] (MYNEWT-287) Host Flow Control

2017-01-04 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15798679#comment-15798679 ] Christopher Collins commented on MYNEWT-287: Thanks, Johan, that is very interesting to hear

[jira] [Assigned] (MYNEWT-287) Host Flow Control

2017-01-03 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins reassigned MYNEWT-287: -- Assignee: Christopher Collins > Host Flow Cont

[jira] [Resolved] (MYNEWT-513) sysinit - Remove panic function from syscfg.yml; configure at runtime.

2017-01-03 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-513. Resolution: Fixed > sysinit - Remove panic function from syscfg.yml; config

[jira] [Updated] (MYNEWT-534) A cooperative package's "start event" might not get executed when OS started

2017-01-03 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-534: --- Description: *Vocabulary for this ticket:* +Cooperative package:+ A package which

[jira] [Updated] (MYNEWT-534) A cooperative package's "start event" might not get executed when OS started

2017-01-03 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-534: --- Description: *Vocabulary for this ticket:* *Cooperative package:* A package which

[jira] [Created] (MYNEWT-534) A cooperative package's "start event" might not get executed when OS started

2017-01-03 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-534: -- Summary: A cooperative package's "start event" might not get executed when OS started Key: MYNEWT-534 URL: https://issues.apache.org/jira/browse/

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-02 Thread Christopher Collins
Hi Jacob, On Sun, Jan 01, 2017 at 11:10:01PM -0700, Jacob Rosenthal wrote: > On low flash devices like nrf51822 FLASH_AREA_IMAGE_1 equal to > FLASH_AREA_IMAGE_0 is improbable, which means dual bank is likewise > improbable and as a result we've talked previously about how to shrink >

Re: MyNewt Mqueue not working

2017-01-01 Thread Christopher Collins
Hi Then, On Mon, Jan 02, 2017 at 01:23:33PM +0800, then yon wrote: > Dear Support, > > I been using MyNewt v1.0.0-dev, and i tried to make use of Mqueue. > > What i did was following the tutorial below: > > https://mynewt.apache.org/os/core_os/mqueue/mqueue/ > Since the tutorial is not

Re: Removing or shrinking flash areas

2016-12-30 Thread Christopher Collins
:40PM -0800, Christopher Collins wrote: > Hi Jacob, > > On Fri, Dec 30, 2016 at 03:28:08PM -0700, Jacob Rosenthal wrote: > > I think deps are a part of the story, but yeah the goal is to successfully > > get a target bsp back to 1 larger flash image, or as many as the common se

Re: Removing or shrinking flash areas

2016-12-30 Thread Christopher Collins
Hi Jacob, On Fri, Dec 30, 2016 at 03:28:08PM -0700, Jacob Rosenthal wrote: > I think deps are a part of the story, but yeah the goal is to successfully > get a target bsp back to 1 larger flash image, or as many as the common set > of deps require but shrunk way down. So you just want to

[jira] [Commented] (MYNEWT-520) boot - Allow incompatible image slots

2016-12-30 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15788387#comment-15788387 ] Christopher Collins commented on MYNEWT-520: Hi Daniel, Yes, exactly. This change removes

Re: Removing or shrinking flash areas

2016-12-30 Thread Christopher Collins
Hi Jacob, On Fri, Dec 30, 2016 at 01:25:11PM -0700, Jacob Rosenthal wrote: > I worked with Sterling to shrink the nimble stack for 256k flash devices, > but Im starting to cut into pretty basic functionality. Ive noticed that > even not using splitty/flash reboot logging those are enable in the

Re: ble_gattc_disc_svc_by_uuid problems

2016-12-27 Thread Christopher Collins
Ah, I see that error in the logs, though it looks like > (this older) version of ble_gattc_disc_svc_by_uuid calls back (once) > to BLE_HS_EDONE, > even though the error exists. But who cares what this version does, out > with the old. > > > > > > On Tue, Dec 27, 2016 at 3:28 PM

Re: ble_gattc_disc_svc_by_uuid problems

2016-12-27 Thread Christopher Collins
Hi Jacob, On Tue, Dec 27, 2016 at 02:37:01PM -0700, Jacob Rosenthal wrote: > Hey all, been working with mynewt for a week or so now, trying to > understand the code and slim the nimble stack down for nrf51822qfaa > targets. Playing with central role now (modified blecent), and Im having > some

Re: newt build error

2016-12-24 Thread Christopher Collins
Hi Brian, On Sat, Dec 24, 2016 at 02:44:48PM -0600, Brian Giori wrote: > Hey all, > I'm rebuilding bleprph to get started with mynewt again and ran into an > issue with building the application and bootloader. > > Things work smoothly up to "newt build blegpio_boot" when I get: > Building target

Re: Fwd: Fwd: BLE quickly disconnects after connect on iPhone (LightBlue)

2016-12-23 Thread Christopher Collins
On Sat, Dec 24, 2016 at 05:37:56AM +0100, Kevin Townsend wrote: > Hi Chris, > > For option 2, you should modify your target's system configuration. You > > can increase the mbuf count to 16 as follows: > > > > newt target syscfg set syscfg=MSYS_1_BLOCK_COUNT=16 > > > Was the 'target syscfg

Re: Fwd: Fwd: BLE quickly disconnects after connect on iPhone (LightBlue)

2016-12-23 Thread Christopher Collins
Hi Chris, On Fri, Dec 23, 2016 at 04:22:52PM -0500, Cris Frusina wrote: > Hi All, > > I'm just starting off with mynewt converting an old nrf51 project > written with the Nordic SDK. I've compiled and uploaded the > "bleprph_oic" example to my nrf52 custom board. > > I see the device

[jira] [Resolved] (MYNEWT-519) img_mgmt - Allow test+confirm as single action

2016-12-21 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-519. Resolution: Fixed > img_mgmt - Allow test+confirm as single act

[jira] [Resolved] (MYNEWT-520) boot - Allow incompatible image slots

2016-12-21 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-520. Resolution: Fixed > boot - Allow incompatible image sl

[jira] [Resolved] (MYNEWT-518) boot - Allow test+confirm as single action

2016-12-21 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-518. Resolution: Fixed > boot - Allow test+confirm as single act

[jira] [Created] (MYNEWT-520) boot - Allow incompatible image slots

2016-12-21 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-520: -- Summary: boot - Allow incompatible image slots Key: MYNEWT-520 URL: https://issues.apache.org/jira/browse/MYNEWT-520 Project: Mynewt Issue Type

[jira] [Updated] (MYNEWT-519) img_mgmt - Allow test+confirm as single action

2016-12-21 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-519: --- Description: Currently, to permanently run the alternate image, Mynewt requires

[jira] [Created] (MYNEWT-513) sysinit - Remove panic function from syscfg.yml; configure at runtime.

2016-12-16 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-513: -- Summary: sysinit - Remove panic function from syscfg.yml; configure at runtime. Key: MYNEWT-513 URL: https://issues.apache.org/jira/browse/MYNEWT-513

Replacing sysinit

2016-12-16 Thread Christopher Collins
Hello all, Sysinit is the process Mynewt uses to initialize all the packages in a project. Typically, sysinit gets invoked at the very start of main(). There are a few aspects of sysinit that I really dislike, and I think we can replace it with something better. In this email, I will (1)

[jira] [Created] (MYNEWT-512) Replace generated sysinit code with linker section

2016-12-16 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-512: -- Summary: Replace generated sysinit code with linker section Key: MYNEWT-512 URL: https://issues.apache.org/jira/browse/MYNEWT-512 Project: Mynewt

Re: MYNEWT_VAL_STATS_CLI value cannot be change

2016-12-15 Thread Christopher Collins
o allow support for additional configuration-related commands. Unfortunately, I didn't have enough foresight to make config a command group from the start. Sorry for the churn, all. Chris On Thu, Dec 15, 2016 at 10:13:44AM -0800, Christopher Collins wrote: > Hi Then, > > I didn't see the p

[jira] [Created] (MYNEWT-510) sysinit - Remove from pkg.yml; put init functions in a linker section

2016-12-14 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-510: -- Summary: sysinit - Remove from pkg.yml; put init functions in a linker section Key: MYNEWT-510 URL: https://issues.apache.org/jira/browse/MYNEWT-510

[jira] [Resolved] (MYNEWT-351) BLE Host - Delete completed GATT procedure before calling callback

2016-12-13 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-351. Resolution: Won't Fix I don't think this is worth doing for the following reasons

Run "newt clean all" after upgrading newt

2016-12-13 Thread Christopher Collins
Hello all, The short version is: run "newt clean all" after pulling newt from develop. Recently, newt changed the way it names .a files. Originally, each .a file was named after the "leaf" directory of its package. Now, the full path is included in the name. For example, for the

[ANNOUNCE] Apache Mynewt 1.0.0-b1-incubating released

2016-12-13 Thread Christopher Collins
Hello all, The Apache Mynewt team is pleased to announce the first release of Apache Mynewt: 1.0.0-b1-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

[ANNOUNCE] Apache Mynewt 1.0.0-b1-incubating released

2016-12-13 Thread Christopher Collins
Hello all, The Apache Mynewt team is pleased to announce the first release of Apache Mynewt: 1.0.0-b1-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

Re: final release step (was: [RESULT][VOTE] Release Apache Mynewt ...)

2016-12-12 Thread Christopher Collins
Hi Greg, On Sun, Dec 11, 2016 at 08:45:17PM -0600, Greg Stein wrote: > Hi all, > > I was looking at prior releases, and noticed that the final step to publish > the release appears to have been done wrong. No harm done, but suboptimal. > > It appears the release artifacts were *added* into >

Re: yield() and os_eventq_run()

2016-12-11 Thread Christopher Collins
On Sun, Dec 11, 2016 at 11:13:47AM -0800, Sterling Hughes wrote: > Hi, > > As a part of developing the sensor interface, I want to register a > “listener” on the event queue: > > listener.sl_sensor_type = type; > listener.sl_func = sensor_shell_read_listener; > listener.sl_arg =

Re: System init and OS eventq ensure

2016-12-11 Thread Christopher Collins
On Sun, Dec 11, 2016 at 10:11:44AM -0800, will sanfilippo wrote: > Personally, I keep wanting to try and have the OS start up right away. I wonder if this could solve the problem that Sterling raised (no default event queue during sysinit). The control flow in main() might look like this: 1.

Re: System init and OS eventq ensure

2016-12-10 Thread Christopher Collins
being there? > > Can you point me to an example of where this is done? > > Sterling > > > On Dec 10, 2016, at 12:08 PM, Christopher Collins <ccoll...@apache.org> > > wrote: > > > > The way other packages handle this is they enqueue the startup event &g

Re: System init and OS eventq ensure

2016-12-10 Thread Christopher Collins
The way other packages handle this is they enqueue the startup event when their event queue is assigned. This happens automatically when you call os_eventq_designate(); the last parameter is the event to enqueue immediately. Chris On Sat, Dec 10, 2016 at 11:30:27AM -0800, Sterling Hughes wrote:

[jira] [Resolved] (MYNEWT-506) newt - Compile files from base dir

2016-12-10 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-506. Resolution: Fixed > newt - Compile files from base

[jira] [Created] (MYNEWT-507) newt - Include full path in .a filenames

2016-12-09 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-507: -- Summary: newt - Include full path in .a filenames Key: MYNEWT-507 URL: https://issues.apache.org/jira/browse/MYNEWT-507 Project: Mynewt Issue

[jira] [Created] (MYNEWT-506) newt - Compile files from base dir

2016-12-09 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-506: -- Summary: newt - Compile files from base dir Key: MYNEWT-506 URL: https://issues.apache.org/jira/browse/MYNEWT-506 Project: Mynewt Issue Type

[jira] [Resolved] (MYNEWT-349) BLE Host - API for gatt-service-changed

2016-12-09 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-349. Resolution: Fixed > BLE Host - API for gatt-service-chan

[jira] [Resolved] (MYNEWT-346) BLE Host - Allow secure connections without requiring legacy pairing

2016-12-09 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-346. Resolution: Fixed > BLE Host - Allow secure connections without requiring leg

NimBLE setting name change (BLE_SM --> BLE_SM_LEGACY)

2016-12-09 Thread Christopher Collins
Hello all, I just wanted to give a quick heads up. On develop, I renamed the legacy pairing syscfg setting: From: BLE_SM To: BLE_SM_LEGACY The default configuration is still the same (legacy enabled, SC disabled), so this change should only affect you if you disable legacy pairing in

[jira] [Updated] (MYNEWT-229) Newt - Commands for dependency graph and reverse-dependency graph

2016-12-08 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins updated MYNEWT-229: --- Summary: Newt - Commands for dependency graph and reverse-dependency graph

[jira] [Resolved] (MYNEWT-383) BLE Host - Allow programmatic unbonding

2016-12-08 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-383. Resolution: Fixed > BLE Host - Allow programmatic unbond

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

2016-12-07 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-245. Resolution: Fixed > newt target test should allow debug of a package test libr

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

2016-12-07 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-498. Resolution: Fixed > Newt - depgraph and syscfg calculate twice per bu

[jira] [Resolved] (MYNEWT-494) Shell should assert() when a duplicate name/entry is registered.

2016-12-07 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-494. Resolution: Fixed > Shell should assert() when a duplicate name/entry is registe

[jira] [Resolved] (MYNEWT-504) newt - Verify repo isn't too old for newt version

2016-12-05 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-504. Resolution: Fixed > newt - Verify repo isn't too old for newt vers

[jira] [Resolved] (MYNEWT-503) newt - No status messages or logging during project init

2016-12-05 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-503. Resolution: Fixed > newt - No status messages or logging during project i

[jira] [Created] (MYNEWT-503) newt - No status messages or logging during project init

2016-12-05 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-503: -- Summary: newt - No status messages or logging during project init Key: MYNEWT-503 URL: https://issues.apache.org/jira/browse/MYNEWT-503 Project: Mynewt

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

2016-12-05 Thread Christopher Collins
(The email I'm responding is from general@. I'm replying in dev@, as all my comments concern Mynewt specifically. For those who don't follow general@, in the original email, Justin voted +1 on 1.0.0-b1-rc2, but he raised a few issues that I believe warrant a closer look.) Hi Justin, Thanks for

Re: MBEDTLS Error after 'newt install -v'

2016-12-05 Thread Christopher Collins
Hi Kevin, This issue tends to happen if you are using a version of newt that is incompatible with your core repo. You mentioned you are using the master branch of core; is it possible that you are using develop of the newt repo? Specifically, I think this issue is caused by this commit from

Re: Newbie & running into an error during setup

2016-12-04 Thread Christopher Collins
Hi Mohammed, My apologies - I intended to respond to you a few days ago. Unfortunately, we weren't able to reproduce this issue, so I would like to learn a bit more about your setup. I'm afraid I don't have the version numbers available at the moment, but the setup we used is: * Ubuntu VM

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

2016-12-02 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 (rc2). This is the second release candidate for Mynewt 1.0.0-b1. The vote for the first release candidate was cancelled due to licensing issues with third-party bundled software. Details

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

2016-12-02 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-487. Resolution: Fixed > BLE Host - Execute GATT procedure callback on time

[jira] [Resolved] (MYNEWT-128) BLE Host - Update connection parameters automatically

2016-12-02 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-128. Resolution: Won't Fix > BLE Host - Update connection parameters automatica

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

2016-12-02 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15716023#comment-15716023 ] Christopher Collins commented on MYNEWT-324: Most request handlers reuse the request buffer

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

2016-12-02 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-324. Resolution: Fixed > BLE Host - Ensure there is always sufficient resources to s

Re: NRF52dk ADC

2016-12-02 Thread Christopher Collins
On Fri, Dec 02, 2016 at 09:30:04AM -0800, will sanfilippo wrote: > There is a branch called “sterly_refactor” that we used when we were > refactoring bsp and other code. There is ADC code in there. If you > checkout that branch you can go to the apps directory and look for the > sblinky app. In

Re: Subscription Request and Question.

2016-12-02 Thread Christopher Collins
Hi Rodrigo, On Fri, Dec 02, 2016 at 12:30:12PM +0100, Rodrigo Lorenzo Leal wrote: > OK so pre shared key is my best option I guess. > > What I don't understand is, if is possible to have pre-shared key, that is > accesible through the cloud, why I cannot generate a key on the cloud and > access

Re: Subscription Request and Question.

2016-12-02 Thread Christopher Collins
On Fri, Dec 02, 2016 at 10:59:13AM +, Tim Hutt wrote: [...] > (there are supposed to be native Channel-Oriented Connections coming but I > wouldn't hold my breath). Just a small clarification: connection-oriented channels were already added in bluetooth 4.1. However, Nimble doesn't support

Re: [newtmgr] Delete/overwrite image in slot 1

2016-12-02 Thread Christopher Collins
Hi Kevin, On Fri, Dec 02, 2016 at 09:51:25AM +0100, Kevin Townsend wrote: > Is there a means with newtmgr today to delete an image in bank 1, for > example if you uploaded an image there incorrectly? There is no way to delete the image in slot 0. This is an instance of a more general rule:

[jira] [Resolved] (MYNEWT-353) BLE Host - Timeout for ATT queued writes

2016-12-01 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-353. Resolution: Fixed > BLE Host - Timeout for ATT queued wri

[jira] [Resolved] (MYNEWT-341) BLE Host - Handle missing ACL data fragments

2016-12-01 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-341. Resolution: Fixed > BLE Host - Handle missing ACL data fragme

[jira] [Resolved] (MYNEWT-500) newt - Ambiguity when package contains two source files with the same filename

2016-12-01 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-500. Resolution: Fixed > newt - Ambiguity when package contains two source fi

[jira] [Created] (MYNEWT-500) newt - Ambiguity when package contains two source files with the same filename

2016-12-01 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-500: -- Summary: newt - Ambiguity when package contains two source files with the same filename Key: MYNEWT-500 URL: https://issues.apache.org/jira/browse/MYNEWT-500

If using develop, upgrade newt and core at the same time

2016-12-01 Thread Christopher Collins
Hello all, TL;DR: If you pull core develop, be sure to pull newt develop at the same time. Otherwise, your builds will fail. I just pushed a fix to the develop branch for this issue: https://issues.apache.org/jira/browse/MYNEWT-365 Unfortunately, this fix introduces an incompatibility with the

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