[Corpora-List]Complex Word Identification in French

2022-06-20 Thread Christopher Collins
ade a tool available. We found this but that's it: https://github.com/sheffieldnlp/cwi Would appreciate any tips! Thanks, Chris Christopher Collins [he/him<https://medium.com/gender-inclusivit/why-i-put-pronouns-on-my-email-signature-and-linkedin-profile-and-you-should-too-d3dc94

Re: Video editing question

2020-12-22 Thread &#x27;Christopher Collins' via iMac Group
And don’t forget iMovie HD cjc > On 23 Dec 2020, at 11:25 am, Bruce Johnson > wrote: > > > >> On Dec 20, 2020, at 10:41 AM, William Spencer > > wrote: >> >> Hi there: I seem to be being hauled toward getting into some basic video >> editing/production. I could

Re: How to upgrade to 1.8.0 for both newt and newtmgr?

2020-05-16 Thread Christopher Collins
I believe I have fixed the Catalina hang. You can try out the fix at https://github.com/apache/mynewt-newtmgr/pull/164, or you can wait for it to be merged. On Sat, May 16, 2020 at 12:03:41PM -0500, Mo Chen wrote: > Great. > > Two more questions: > > Version 1.8.0 has already been released, why

Re: How to upgrade to 1.8.0 for both newt and newtmgr?

2020-05-16 Thread Christopher Collins
an > confirm the device works. > > Thanks, > > > On Fri, May 15, 2020 at 9:15 PM Christopher Collins > wrote: > > > On Fri, May 15, 2020 at 07:47:22PM -0500, Mo Chen wrote: > > > Hi Chris, > > > > > > Thank you for your timely response. &

Re: How to upgrade to 1.8.0 for both newt and newtmgr?

2020-05-15 Thread Christopher Collins
On Fri, May 15, 2020 at 07:47:22PM -0500, Mo Chen wrote: > Hi Chris, > > Thank you for your timely response. > > Under v1.7.0, the error message is: > *Unhandled event: xpc.Dict{"kCBMsgId":4, > "kCBMsgArgs":xpc.Dict{"kCBMsgArgState":5}}* > > Under v1.9.0 dev, without '--ldebug': > Nothing happen

Re: How to upgrade to 1.8.0 for both newt and newtmgr?

2020-05-15 Thread Christopher Collins
Hi Mo, On Fri, May 15, 2020 at 05:11:36PM -0500, Mo Chen wrote: > I am currently using 1.7.0 on MacOS Catalina. > > There is a BLE connection issue. I cannot upload img via OTA. > > I searched online, it seems in verison 1.8.0, this problem has been solved? > > I tried to use install mynewt-new

Re: windows shell scripts

2020-02-20 Thread Christopher Collins
Thanks ipan, those are all very good points. Please feel free to submit one or more PRs. Otherwise, I will take a look at implementing some of these if you don't mind. Chris On Wed, Feb 19, 2020 at 10:26:53PM +0100, J. Ipanienko wrote: > Welcome everyone > > 1. mynewt has over 100 same cmd fil

Simplifying persisted config

2020-02-07 Thread Christopher Collins
Hello all, The `sys/config` package lets an app persist and restore data in permanent storage. It is documented here: . This package does its job well and its design is sound. It has one minor problem though (in my opinion, in case

Re: Simplifying Mynewt repo dependencies

2020-01-24 Thread Christopher Collins
Hi Vipul, On Thu, Jan 23, 2020 at 03:48:51PM -0800, Vipul Rahane wrote: > Hi, > > Seems fine to me to remove the range feature. I am little bit concerned > about version.yml specially for backwards compatibility but if that's not > an issue it's all good. Repos should keep their `version.yml` fi

Re: Simplifying Mynewt repo dependencies

2020-01-22 Thread Christopher Collins
Hi Szymon, On Wed, Jan 22, 2020 at 12:33:21PM +0100, Szymon Janc wrote: > Hi Chris, > > Yes! Let's simplify this as much as possible. > Do I get this correctly that change we could (if want to) get rid of > release branches and just freeze master during release? Thanks for reading. Yes, that is

Simplifying Mynewt repo dependencies

2020-01-21 Thread Christopher Collins
Hello all, This is a follow up to an email I sent last week (subject: "Proposal: Remove version.yml files). In that email my thoughts were somewhat... illegible. I'm going to try again, hopefully with a bit more clarity. This email concerns Mynewt's repo dependency system. That is to say, what

Proposal: Remove version.yml files

2020-01-15 Thread Christopher Collins
Hello all, ### TLDR Repo version tracking is somewhat broken due to a single feature (commit versions). To solve this, I propose that: 1. We remove the concept of version.yml files 2. Commit versions now conflict with ALL other versions. I'll try to distill my thoughts into something readable

Re: mynewt create-image no work at windows

2019-11-18 Thread Christopher Collins
On Mon, Nov 18, 2019 at 11:07:17AM +0100, Szymon Janc wrote: > Hi, > > So I was able to bisect this to > > commit e3fdcd68c9ed6fa58a6b68bbf3c45a780c57ab40 (refs/bisect/bad) > Author: Christopher Collins > Date: Mon Aug 5 11:15:33 2019 -0700 > > create-

Re: mynewt create-image no work at windows

2019-11-18 Thread Christopher Collins
On Mon, Nov 18, 2019 at 11:07:17AM +0100, Szymon Janc wrote: > Hi, > > So I was able to bisect this to > > commit e3fdcd68c9ed6fa58a6b68bbf3c45a780c57ab40 (refs/bisect/bad) > Author: Christopher Collins > Date: Mon Aug 5 11:15:33 2019 -0700 > > create-

Re: Thoughts on deprecating LOG_VERSION 2 and making the default LOG_VERSION 3

2019-11-07 Thread Christopher Collins
On Thu, Nov 07, 2019 at 11:56:36AM -0800, Vipul Rahane wrote: > Hello, > > LOG_VERSION 2 has been around for quite some time but is mostly just a > string based log. LOG_VERSION 3 supports string based logs as well as > others. LOG_VERSION 2 does not play well with the MCUmgr mobile library as > w

Re: bug: Directory replaced by submodule -> checkout fails

2019-10-18 Thread Christopher Collins
Hi Thomas, On Fri, Oct 18, 2019 at 02:02:29PM +0200, Thomas Braun wrote: > This is a known bug unfortunately. See > https://public-inbox.org/git/cagz79kyty6u0enwvu0pcdyt_qxgyygm5vkdvwltuqgqg6bb...@mail.gmail.com/ > for reference. Good to know. Thanks for the reference. Chris

Re: newt upgrade (install, sync) fails on mcuboot repo

2019-10-18 Thread Christopher Collins
On Thu, Oct 17, 2019 at 04:13:35PM -0700, Christopher Collins wrote: > On Thu, Oct 17, 2019 at 10:16:22AM -0700, Christopher Collins wrote: > > I couldn't think of a good general solution to this problem (if anyone > > else can, please share!). Unless I'm missing s

Re: newt upgrade (install, sync) fails on mcuboot repo

2019-10-17 Thread Christopher Collins
On Thu, Oct 17, 2019 at 10:16:22AM -0700, Christopher Collins wrote: > I couldn't think of a good general solution to this problem (if anyone > else can, please share!). Unless I'm missing something, I think I would > call this a git bug, so I am going to report it to the git

bug: Directory replaced by submodule -> checkout fails

2019-10-17 Thread Christopher Collins
Hello all, ### Environment: $ git --version git version 2.21.0 ### Reproduce: git clone g...@github.com:JuulLabs-OSS/mcuboot.git cd mcuboot git submodule init git submodule update git checkout ae01f153b11637feaedbc9d9042172fba2e080c0 ### Discussion: In the above sequence, the last step (check

Re: newt upgrade (install, sync) fails on mcuboot repo

2019-10-17 Thread Christopher Collins
On Thu, Oct 17, 2019 at 07:51:07AM +0200, Szymon Janc wrote: > Hello, > > Due to recent changes in mcuboot git (use of submodules) you may hit issues > with newt upgrade|install|sync commands. There is a short term hotfix merged > into newt master to workaround this. > > Since this is also affe

Re: Unifying Newtmgr (NMP) protocol and MCUmgr (SMP) into the MCUmgr repo

2019-10-09 Thread Christopher Collins
Hi Vipul, On Wed, Oct 09, 2019 at 12:42:51PM -0700, Vipul Rahane wrote: > Hello, > > While making the changes for MCUmgr, we came across nmgr_uart which is a > predecessor of nmgr_shell. So far, from what I gather, the functionality is > the same except for the fact that shell can bring in other

Re: Newt feature: run custom commands at build time

2019-10-02 Thread Christopher Collins
> I do not have a strong opinion on this, we can keep it as is, however... I > expected that these paths are relative to package root but seems like they > are relative to project root. Is this intended behavior? I did not find any > way to address script in a package other that using full path, i.

Re: Question about mynewt Single mode

2019-10-01 Thread Christopher Collins
Hi Nicola, On Fri, Sep 27, 2019 at 04:48:18PM +0200, Nicola Bizzotto wrote: > Hi, > I'm currently using an Espruino Puck.js device. I'm programming it with a > Segger J-Link programmer. I have already experience with mynewt OS (I used > it with a Bluefruit nRF52 Feather) and now I want to use it a

Re: Newt feature: run custom commands at build time

2019-09-30 Thread Christopher Collins
Hi Andrzej, On Thu, Sep 26, 2019 at 07:24:54PM +0200, Andrzej Kaczmarek wrote: > This looks very good! I was thinking if it would be possible to reference > other targets (i.e. artifacts) from scripts but with the latest addition of > shared folder this does not seem to be a problem since it can b

Re: Newt feature: run custom commands at build time

2019-09-25 Thread Christopher Collins
On Wed, Sep 25, 2019 at 06:29:19PM +0300, marko kiiskila wrote: > Sounds good. If we need to add more, we can do that later. Thanks. I have updated the PR with the discussed changes: Chris

Re: Newt feature: run custom commands at build time

2019-09-24 Thread Christopher Collins
Hi Marko, On Tue, Sep 24, 2019 at 03:19:24PM +0300, marko kiiskila wrote: > Thanks, this is a very useful feature. > > > On 24 Sep 2019, at 3.50, Christopher Collins wrote: > > > ... > > > > A package specifies custom commands in its `pkg.yml` file. There

Newt feature: run custom commands at build time

2019-09-23 Thread Christopher Collins
Hello all, I have implemented a feature in newt: the ability to run custom shell commands at build time. Is there any extra functionality that you'd like to see here? All comments are appreciated. I am duplicating the PR text here, but the forma

Re: cmake support or link with a static library

2019-09-18 Thread Christopher Collins
Hi Ondrej, On Wed, Sep 18, 2019 at 09:07:57PM +0200, Ondrej Pilat wrote: > Dear mynewt developers, > > I tried to find information how to use mynewt with cmake or link with a > static library. Unfortunately I failed. Where can I find more > information or is it possible to integrate mynewt with a

Re: newest BSP on OSX

2019-08-06 Thread Christopher Collins
On Mon, Aug 05, 2019 at 02:13:54PM -0700, Christopher Collins wrote: > I am not sure how the brew distribution gets updated, but it looks > like we have fallen behind here. I will look into getting this > updated today. FYI- I have updated brew with newt and newtmgr 1.7. Chris

Re: newest BSP on OSX

2019-08-05 Thread Christopher Collins
Hi Juergen, Run the following: newt upgrade && newt sync (instead of `newt install`). This will download updates for those Mynewt repos. You might also need to upgrade your version of the newt tool. I am not sure how the brew distribution gets updated, but it looks like we have fallen beh

Deprecate "install" and "sync" commands?

2019-08-05 Thread Christopher Collins
Hello all, The newt tool supports three "project commands": * install * upgrade * sync I always have a hard time remembering the particulars of commands like these. For example, when other package management systems support both "update" and "upgrade", I inevitably mix them up. I propose we re

Changes in log configuration

2019-08-01 Thread Christopher Collins
Hello all. I wanted to report on some logging changes that have gone into master of mynewt-core. All questions and comments are welcome. Thanks, Chris ### SUMMARY There have been some changes to how Mynewt logs get configured. Now, Log modules are defined in `syscfg.yml` files rather than in

Re: Mynewt Installation Query

2019-05-31 Thread Christopher Collins
Hi Asmita, Could you please send the contents of your `project.yml` file? Also, please include the output of the following commands: newt version newt info Thanks, Chris On Fri, May 31, 2019 at 01:17:54PM +0530, Asmita Jha wrote: > Hello, > > When I am trying to change vers to 0-dev >

Re: Regarding split images

2019-05-03 Thread Christopher Collins
u please execute the following two commands and send the output? newt info newt target show Thanks, Chris > > Regards. > > /joseph > > Le mer. 1 mai 2019 à 20:35, Christopher Collins a écrit : > > > Hi Joseph, > > > > On Mon, Apr 29, 201

Re: Regarding split images

2019-05-01 Thread Christopher Collins
Hi Joseph, On Mon, Apr 29, 2019 at 04:39:50PM +0200, joseph reveane wrote: > Hi Chris, > > I've modified my app setup to point to the nimble repo: > > *$ newt target show split-apptargets/split-app > app=@apache-mynewt-core/apps/splitty > bsp=@apache-mynewt-core/hw/bsp/nordic_pca20020 > build_p

Re: Regarding split images

2019-04-27 Thread Christopher Collins
Hi Joseph, On Sat, Apr 27, 2019 at 04:01:17PM +0200, joseph reveane wrote: > Hi Chris, > > I've fetched your fixes and tried to build a split image with the same > parameters as the > ones I used to open this issue: > > 1) loader app: > > > > > > > *newt target show thingy-loadertargets/th

Re: Regarding split images

2019-04-26 Thread Christopher Collins
Hi Joseph, On Sat, Apr 20, 2019 at 09:55:27AM +0200, joseph reveane wrote: > Hi, > > I'm looking for examples on how to build split and single images for NRF52 > based devices. > The goal is obviously to get more FLASH room for the application. > I didn't find any example to build a single image

Re: newt test suite for a bsp port

2019-04-12 Thread Christopher Collins
Hi Inderpal, On Fri, Apr 12, 2019 at 02:38:27PM +0530, inderpal singh wrote: > Hi There, > > How can I run existing test suite for particular BSP instead of native. > > #newt test all > instead of native how can I run this on my target. There are two kinds of Mynewt unit tests: 1. Self tests.

Re: [VOTE] Release Apache Mynewt 1.6.0-rc2 and Apache NimBLE 1.1.0-rc2

2019-04-04 Thread Christopher Collins
On Tue, Apr 02, 2019 at 11:28:27PM +0200, Szymon Janc 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) Chris

Re: [VOTE] Release Apache Mynewt 1.6.0-rc1 and Apache NimBLE 1.1.0-rc1

2019-03-30 Thread Christopher Collins
On Fri, Mar 29, 2019 at 09:22:27PM +0100, Szymon Janc 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) Chris

Testutil again

2019-03-04 Thread Christopher Collins
Hello all, More unit testing excitement! I think there are some valuable changes we could make to the `test/testutil` API, so I wanted to share some ideas with the community. I introduced many of the issues that I want to focus on, so I don't really feel obligated to be polite here :). I just w

Re: Mynewt test facilities

2019-03-04 Thread Christopher Collins
Thanks, Will. Responses to inline comments inline :). On Sun, Mar 03, 2019 at 06:18:46PM -0800, will sanfilippo wrote: > > ### PROPOSALS > > > > 1. (testutil): Modify `TEST_CASE()` to call > > `sysinit()` if `MYNEWT_VAL(SELFTEST)` is enabled. > Would we want all TEST_CASE() to call sysinit if a

Mynewt test facilities

2019-02-27 Thread Christopher Collins
Hello all, In this email, I would like to discuss Mynewt's test facilities. ### INTRO (AKA TL;DR) Unit tests come in two flavors: 1) simulated, and 2) real hardware. Writing a test capable of running in both environments is wasted effort. Let's revisit Mynewt's test facilities with a clear unde

Re: Storing Bonding information in NVS memory

2019-02-13 Thread Christopher Collins
Hi Prasad, On Wed, Feb 13, 2019 at 03:13:26PM +0530, prasad wrote: > Hi all, > > As it happens, I fixed the bug in my code. It now correctly retrieves > LTKs and bond is maintained even after reboot. > > Apart from this I just wanted to understand reason behind including > 'idx' in structure '

Re: Storing Bonding information in NVS memory

2019-02-11 Thread Christopher Collins
Hi Prasad, On Mon, Feb 11, 2019 at 07:10:30PM +0530, prasad wrote: > Hi all, > > Are there any pointers/documentation for storing NIMBLE bond information > in NVS memory? By NVS, do you mean non-volatile storage (e.g., flash)? I believe the `@apache-mynewt-nimble/nimble/host/store/config` pack

Re: Disconnect reason message Nimble / BTShell

2019-02-05 Thread Christopher Collins
_ECHO: 0 > CONSOLE_RTT_INPUT_POLL_INTERVAL_MAX: 10 > CONSOLE_TICKS: 0 > LOG_LEVEL: 255 > LOG_CLI: 0 > CONFIG_CLI: 0 > CONFIG_CLI_DEBUG: 0 > METRICS_CLI: 0 > STATS_CLI: 0 > STATS_NAMES: 0 > > On Tue, Feb 5, 2019 at 3:02 PM Christopher Collins wrote:

Re: Disconnect reason message Nimble / BTShell

2019-02-05 Thread Christopher Collins
Hi Fred, On Tue, Feb 05, 2019 at 02:25:43PM -0500, Copper Dr wrote: > I'm trying to figure out how to decode these disconnections. > > Reason 688 (0x02B0) and 573 (0x023D) > > I checked > http://mynewt.apache.org/latest/network/docs/ble_hs/ble_hs_return_codes.html > and the disconnect code does

Re: issue with missing log api

2019-02-05 Thread Christopher Collins
Hi Markus, On Mon, Feb 04, 2019 at 08:34:50PM -0800, markus wrote: > I updated to the latest master from github (4fedf428) and now my > projects break with the error message: > > Building target targets/s > Error: Unsatisfied APIs detected: > * log, required by: sys/log/modlog To solve this

[RFC] $import directive

2019-01-18 Thread Christopher Collins
Hello all, I just submitted a newt PR that introduces a new `$import` keyword: https://github.com/apache/mynewt-newt/pull/260 I thought this feature might benefit from some feedback from the community, so below is the text from the PR! All comments appreciated. Thanks, Chris PROBLEM: Wi

Re: MYNEWT_VAL(...) invalid syntax ?

2019-01-08 Thread Christopher Collins
a problem with such a change. But what about > all the other repositories? > > Thanks, > Markus > > > > On Tue, 8 Jan 2019 10:29:24 -0800 > Christopher Collins wrote: > > > Hi Markus, > > > > On Tue, Jan 08, 2019 at 10:15:22AM -0800, markus wrote

Re: MYNEWT_VAL(...) invalid syntax ?

2019-01-08 Thread Christopher Collins
Hi Markus, On Tue, Jan 08, 2019 at 10:15:22AM -0800, markus wrote: > Hi Lukasz, > > got it, I guess I have to start building newt. > > Follow up question: Does this mean the next release will break all > repositories out there or is backwards compatibility still on the > roadmap for this release

Re: Subscribe to notifications with btshell

2019-01-03 Thread Christopher Collins
Hi Fred, On Wed, Jan 02, 2019 at 06:50:00PM -0500, Copper Dr wrote: > Hi all, > > I'm trying to use btshell as a central and subscribe to notifications. I > have a device that lets me write to an attribute and sends the response > back as a notification. I do not see how to accomplish this task u

Re: Setting and displaying time

2018-12-27 Thread Christopher Collins
Hi Rohit, On Wed, Dec 26, 2018 at 11:55:56PM +0530, Rohit Gujarathi wrote: > Hi Everyone, > > I wanted to make a desktop clock using mynewt and am stuck at setting the > time. I read the os_timeval part but How do i set time in mynewt and > display it human form? I am using the nrf52840 which has

Re: NimBLE function naming question

2018-12-14 Thread Christopher Collins
Hi Cristoph, On Fri, Dec 14, 2018 at 04:34:05PM +0100, Christoph Jabs wrote: > Hello mynewt devs, > > I have a question regarding the mynewt-NimBLE stack. > > Whilst working my way through the code of the stack, trying to understand > the structure of it and how to use it, I came accross the fu

Re: Question about unit test packages

2018-12-12 Thread Christopher Collins
Hi Mikhail, On Wed, Dec 12, 2018 at 02:22:28PM +, Mikhail Efroimson wrote: > I am writing my first MyNewt unit test package and I was hoping that > someone could help me resolve an issue that I'm having. It seems that > I have to include the project BSP as a dependency in my unit test > packag

Re: Manufacturing Image Proposal

2018-12-11 Thread Christopher Collins
Hi Will, On Tue, Dec 11, 2018 at 04:25:41PM -0800, will sanfilippo wrote: > I read this over myself and it looks good to me. What I am not sure I > understood, and still not sure I do, is the sectors where these MMR will go. > Are these going to go into some write protected location? Or will the

Re: Manufacturing Image Proposal

2018-12-11 Thread Christopher Collins
On Tue, Dec 11, 2018 at 12:43:02PM +0100, Łukasz Rymanowski wrote: > Hi Chris, > > I read it all and indeed it was thrilling :) Thanks for reading! > I think this is a good idea and this is a way to go. I have just feeling > that internal mfgimage should be able to verify external one somehow,

Manufacturing Image Proposal

2018-12-10 Thread Christopher Collins
Hello all, I've been reviewing Mynewt's manufacturing image (mfgimage) support. I think there are some shortcomings that we need to address. I'll attempt to explain the problems that I see and propose some fixes. This is going to be a long email, so brace yourselves for a thrilling read. ### CU

Re: Bootloader log

2018-11-20 Thread Christopher Collins
Hi Jeff, On Tue, Nov 20, 2018 at 05:53:28PM +, Jeff Belz wrote: > If there a switch to turn on a log for the bootloader. I have 2 > images loaded into the flash and the first image has the > boot_set_pending(1) command. I want to see a log from the bootloader > to see what it is doing. Fo

Re: Custom boot loader

2018-11-20 Thread Christopher Collins
Hi Jeff, On Tue, Nov 20, 2018 at 04:12:54PM +, Jeff Belz wrote: > All: > > I have to use a custom boot loader for my application. Has anyone > done this before and if so, what are the tricks to doing this? > > I'm running a stm32f412. I've got the application running on 0x802 > and

Re: Persist stats across resets?

2018-11-09 Thread Christopher Collins
FYI- I have submitted a PR for this feature here: https://github.com/apache/mynewt-core/pull/1514 On Thu, Nov 08, 2018 at 10:29:19PM +0100, Kevin Townsend wrote: [...] > > 2. Remember which stats have changed since being persisted. > > > > Each stat needs a "dirty bit." There are two ways to do t

Re: Persist stats across resets?

2018-11-08 Thread Christopher Collins
On Thu, Nov 08, 2018 at 11:45:47AM -0800, Christopher Collins wrote: > I. What gets persisted - individual stats, or entire stat modules? > 1. Individual stats: we waste flash by including the module name in >every record. > > 2. Entire stat modules - two optio

Re: Persist stats across resets?

2018-11-08 Thread Christopher Collins
Hi Kevin, Bit of a delayed response! On Sun, Sep 09, 2018 at 07:18:44PM +0200, Kevin Townsend wrote: > Is there currently an obvious mechanism to persist 'stats' across resets ( > https://mynewt.apache.org/master/os/modules/stats/stats.html), repopulating > them with appropriate values coming out

Upcoming compatibility-breaking change

2018-11-01 Thread Christopher Collins
Hello all, I wanted to give a heads up: a compatibility-breaking change will likely be made to the `mynewt-core` and `mynewt-nimble` repos soon. These repos will no longer be compatible with older versions of newt. If you use development versions of these repos, I suggest you upgrade to the late

Re: [VOTE] Release Apache Mynewt 1.5.0-rc1

2018-10-25 Thread Christopher Collins
On Tue, Oct 23, 2018 at 04:20:40PM +0200, Szymon Janc wrote: > Hello all, > > I am pleased to be calling this vote for the source release of > Apache Mynewt 1.5.0. > [X] +1 Release this package > [ ] 0 I don't feel strongly about it, but don't object > [ ] -1 Do not release this package because.

Re: Unlikely recoverable failures

2018-10-19 Thread Christopher Collins
FYI- I have submitted a PR that implements this new macro: https://github.com/apache/mynewt-core/pull/1471 I went with `DEBUG_PANIC()` for the name. Chris On Thu, Oct 18, 2018 at 11:13:27AM -0700, Christopher Collins wrote: > Hello all, > > I think Mynewt lacks a mechanism for deali

Unlikely recoverable failures

2018-10-18 Thread Christopher Collins
Hello all, I think Mynewt lacks a mechanism for dealing with a certain class of errors: unlikely recoverable failures. For the purposes of this email, I divide failures into two groups: 1. Failures we cannot recover from, or that we don't want to recover from. This group includes: im

Re: Controlled shutdown

2018-10-09 Thread Christopher Collins
Hi Vipul, On Tue, Oct 09, 2018 at 12:01:46PM -0700, Vipul Rahane wrote: > Sorry for the late reply. No problem! > I really like the idea. Thank you for doing this Chris. A much needed > feature. A possible use case just came to my mind. > > One module might have to be shutdown before shutting

Re: Controlled shutdown

2018-10-01 Thread Christopher Collins
Hi Andrzej, On Sun, Sep 30, 2018 at 08:27:19PM +0200, Andrzej Kaczmarek wrote: > I guess device can be powered off simply as a power saving option or > shipping mode so perhaps 'reason' parameter could be added to shutdown > call. I do not know if it really matters to any package whether we shutdo

Re: Controlled shutdown

2018-10-01 Thread Christopher Collins
Hi Martin, On Fri, Sep 28, 2018 at 04:30:17PM -0700, Martin Turon wrote: > +1 for graceful shutdown. > > It could also be useful for coarse, multi-protocol use cases such as using > BLE for commissioning, shutting down that stack, and then starting a 15.4 > stack such as Thread. > > In general,

Re: Controlled shutdown

2018-09-28 Thread Christopher Collins
k it is better to add a new function, `sysdown_in_progress()`. If a subprocedure needs to continue beyond the initial callback, it calls this new function before returning. Chris > Otherwise, sounds good and seems like a good addition to mynewt! > > > > On Sep 28, 2018, at 1:08

Controlled shutdown

2018-09-28 Thread Christopher Collins
Hello all, I have been looking into implementing a graceful shutdown for Mynewt. The system may want to perform a cleanup procedure immediately before it resets, and I wanted to allow this procedure to be configured. I am calling this shutdown facility "sysdown", as a counterpart to "sysinit". #

Re: Unit Tests with newt pkg new

2018-09-10 Thread Christopher Collins
On Sun, Sep 09, 2018 at 01:04:35AM +0200, Kevin Townsend wrote: [...] > My +1 would be to have /test as a standard feature of any package, and you > can always delete it, but other people might find this delete burden > inappropriate? +1. I think that is a great idea. Chris

NimBLE host GAP event listeners

2018-09-07 Thread Christopher Collins
Hello all, TL;DR: Proposal for registration of GAP event listeners in the NimBLE host. Currently, GAP event callbacks are specified by the code which creates a connection. This proposal allows code to listen for GAP events without creating a connection. The NimBLE host allows the application to

Re: how to print floating points in mynewt

2018-09-05 Thread Christopher Collins
Hi Rohit, baselibc does support floating point formatting, but it is not enabled by default. To enable it, set the following syscfg setting to 1 in your target: FLOAT_USER baselibc's float printf support is a bit limited. In particular, it ignores precision specifiers and always prints thr

Re: I2C retries

2018-08-31 Thread Christopher Collins
; seems most people implement drivers with os dev functionality but I do not > think it is a requirement. > > > > On Aug 31, 2018, at 9:51 AM, Christopher Collins wrote: > > > > I do think that approach makes more sense than implementing retries in > > the HA

Re: I2C retries

2018-08-31 Thread Christopher Collins
y need is some bus-level driver/layer that > > drivers will use instead of HAL directly so it can take care of > > handling multiple devices on the same bus seamlessly (in general) and > > also it would be the place where we can put extra common logic if > > needed (like re

Re: I2C retries

2018-08-30 Thread Christopher Collins
On Thu, Aug 30, 2018 at 11:35:44AM -0700, Vipul Rahane wrote: > Hey, > > I think that’s a really great idea. One thing I would add is that we > definitely should honor timeouts in any of the retries. Also, a way to > disable the retries should be a good idea. Probably making it a syscfg > which wh

Re: I2C retries

2018-08-30 Thread Christopher Collins
On Thu, Aug 30, 2018 at 09:48:32AM -0700, will sanfilippo wrote: > I think my only comment is tries vs retries. You always want to make > at least one try so you would have to set that to 1 every time right? > I like retries personally but that is just me. Mainly because you > would never allow zer

Re: I2C retries

2018-08-30 Thread Christopher Collins
On Thu, Aug 30, 2018 at 07:47:34PM +0300, marko kiiskila wrote: > > On Aug 30, 2018, at 7:21 PM, Christopher Collins wrote: > > [1] We should do the same for the other HAL APIs (i.e., non-I2C), but > > that can come later. > > Not sure this makes sense for other ones, as

Re: I2C retries

2018-08-30 Thread Christopher Collins
On Wed, Aug 29, 2018 at 10:06:37PM -0500, Greg Stein wrote: > On Wed, Aug 29, 2018 at 8:59 PM Christopher Collins > wrote: > > > Hello all, > > > > I noticed the HAL master I2C API does not include any retry logic. As > > you probably know, in I2C, the defa

I2C retries

2018-08-29 Thread Christopher Collins
Hello all, I noticed the HAL master I2C API does not include any retry logic. As you probably know, in I2C, the default state of the SCL line is NACK. This means an unresponsive peripheral is indistinguishable from one that is actively nacking the master's writes. If the master's writes are bein

Re: debounce/debounce.h

2018-08-28 Thread Christopher Collins
I added the second one (util/debounce) without checking if another one already existed. I'll come up with a new name for util/debounce today and submit a PR. Chris On Tue, Aug 28, 2018 at 05:33:22PM +0300, marko kiiskila wrote: > mynewt-core has 2 debounce packages. Trying to include both packag

Re: newt build: error parsing setting SHELL_OS_SERIAL_BOOT_NVREG

2018-08-21 Thread Christopher Collins
Hi Александр, It looks like your `newt` tool is out of date. There were some backwards-compatibility breaking changes made in 1.4. I suggest downloading newt 1.4.1, as described here: http://mynewt.apache.org/latest/newt/install/index.html Chris On Tue, Aug 21, 2018 at 08:34:13AM +0300, Алекса

Re: Reducing GATT write attribute's timeout and read attribute's BLE_HS_ENOMEM

2018-08-06 Thread Christopher Collins
On Mon, Aug 06, 2018 at 02:03:22AM +0100, Lukasz Wolnik wrote: > Hi Chris, > > I have resolved the issue. It wasn't my mbuf structure but MSYS_1's pool > memory leak (caused by my app). [...] > > I finally have a stable Mynewt app <-> Android repeated communication even > on MSYS_1_BLOCK_COUNT

Re: os_time issues

2018-07-20 Thread Christopher Collins
Hi Jan, On Wed, Jul 18, 2018 at 06:54:01PM +0200, Jan Clement wrote: > Hello All, > > i tried to get sntp client from lwip stack up and running today and > stumbled over some little problems and questions i would like to share > with you: > > To start the sntp service I wrote: > > sntp_seto

Re: Conditional syscfg.yml restrictions

2018-07-16 Thread Christopher Collins
Hi Kevin, On Mon, Jul 16, 2018 at 10:57:32PM +0200, Kevin Townsend wrote: > I'm trying to add I2C support to the existing (SPI only) BME280 driver, > but I'm not sure how to enforce the following conditional restrictions > in the syscfg.yml file(s): > > * If BME280_SHELL_ITF_TYPE == 1, I2C_0

Re: Absolute path for newt image

2018-07-13 Thread Christopher Collins
Hi Simon, I have submitted a PR which hopefully fixes this issue. If you want to try it out, it is here: https://github.com/apache/mynewt-newt/pull/193 Chris On Fri, Jul 13, 2018 at 12:30:12AM -0700, Simon Ratner wrote: > Hi devs, > > At some point between 1.3.0 and 1.4.1, the `newt` tool swit

Re: Common CONFIG_* flag missing?

2018-07-07 Thread Christopher Collins
On Sat, Jul 07, 2018 at 06:13:22PM +0200, Kevin Townsend wrote: > In the sys/config package, there are two main flags to test against in > code, depending on your implementation: > > * CONFIG_FCB (storage in FCB) > * CONFIG_NFFS (storage in NFFS) > > https://github.com/apache/mynewt-core/blo

Re: newtmgr fs command fails in sim

2018-07-06 Thread Christopher Collins
Hi Kevin, On Fri, Jul 06, 2018 at 02:41:17PM +0200, Kevin Townsend wrote: > I'm doing some initial development using only the simulator (for > convenience sake), and was testing out 'newtmgr fs' support to quickly > get data to and from the simulator. > > My sim target is setup to use NFFS usin

Logging (again!)

2018-07-05 Thread Christopher Collins
Hello all, My logging obsession continues. I have submitted a giant PR (https://github.com/apache/mynewt-core/pull/1249) which changes all existing packages to use the modlog facility rather than directly call into the `sys/log` API. I think this is the right direction, but it is a somewhat majo

Re: bleprph using HCI 4 wire

2018-06-27 Thread Christopher Collins
b) > #1 0x0802e834 in ble_hci_trans_hs_cmd_tx (cmd=cmd@entry=0x0) > at repos/apache-mynewt-nimble/nimble/transport/ram/src/ble_hci_ram.c:89 > 89 assert(ble_hci_ram_rx_cmd_ll_cb != NULL); > (gdb) > #0 __assert_func (file=file@entry=0x0, line=line@entry=0, > fu

Re: bleprph using HCI 4 wire

2018-06-26 Thread Christopher Collins
t; Jeff > > -----Original Message- > From: Christopher Collins > Sent: Monday, June 25, 2018 11:25 PM > To: dev@mynewt.apache.org > Subject: Re: bleprph using HCI 4 wire > > Hi Jeff, > > My responses are inline. > > On Tue, Jun 26, 2018 at 02:11:46AM +, Jeff Be

Re: [VOTE] Release Apache Mynewt 1.4.1-rc1

2018-06-26 Thread Christopher Collins
On Fri, Jun 22, 2018 at 04:14:37PM +0200, Szymon Janc wrote: > Hello all, > > I am pleased to be calling this vote for the source release of > Apache Mynewt 1.4.1. [...] > The vote is open for at least 72 hours and passes if a majority of at > least three +1 PMC votes are cast. > > [x] +1 Relea

Re: bleprph using HCI 4 wire

2018-06-25 Thread Christopher Collins
Hi Jeff, My responses are inline. On Tue, Jun 26, 2018 at 02:11:46AM +, Jeff Belz wrote: > All: > > > I'm using a BroadCom(Cypress)43438 Bluetooth chip that receives a 4 wire HCI. > I got one response that said I just have to change the syscfg setting in my > target to > > > > BL

Logging changes, part 2 - Module-mapped logging

2018-06-19 Thread Christopher Collins
Hello all, In my previous email, I mentioned some proposed logging changes that I was less sure of. In particular, there are these two PRs that I submitted: (1) log/modlog - Module-mapped logging (https://github.com/apache/mynewt-core/pull/1174) (2) sys/log/full: Allow min-level

Logging changes, part 1 - Separate header and body

2018-06-19 Thread Christopher Collins
Hello all, I have submitted a few logging related PRs to the core repos. I think I like the changes, but I have a nagging feeling they miss the point somehow. I wanted to get the community's opinion on these changes as well as start a discussion on minimizing backwards compatibility breakage. I

Re: HCI comms

2018-06-19 Thread Christopher Collins
Hi Jeff, On Tue, Jun 19, 2018 at 06:42:25PM +, Jeff Belz wrote: > All: > > I'm using a BroadCom(Cypress)43438 Bluetooth chip that receives a 4 > wire HCI. What would be a good example tutorial to use to just get > my BT actually advertising. I would start with the "bleprph" app. This is a

[jira] [Commented] (MYNEWT-892) [NEWT/NORDIC] Transfer audio files from PC to Adafruit board, then sending via BLE

2018-06-14 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16513225#comment-16513225 ] Christopher Collins commented on MYNEWT-892: Hi James, First, 100k

[jira] [Comment Edited] (MYNEWT-892) [NEWT/NORDIC] Transfer audio files from PC to Adafruit board, then sending via BLE

2018-06-14 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16513225#comment-16513225 ] Christopher Collins edited comment on MYNEWT-892 at 6/15/18 1:3

  1   2   3   4   5   6   7   8   9   10   >