[Corpora-List]Complex Word Identification in French

2022-06-20 Thread Christopher Collins
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-d3dc942c8743>] Ass

Re: Video editing question

2020-12-22 Thread '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,

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

2020-05-16 Thread Christopher Collins
t; 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

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

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

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`

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

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,

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

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

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 ma

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

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,

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

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

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

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

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

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

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

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 >

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

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

[Corpora-List] CO.SHS Call for Projects with Open Scholarly Data

2019-03-08 Thread Christopher Collins
CALL FOR PROJECTS – CO.SHS The Open Cyberinfrastructure for the Humanities and Social Sciences (CO.SHS), funded by the Canada Foundation for Innovation, wishes to foster research based on the various collections of digital textual documents made available free of charge to researchers thanks

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

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

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

Re: MYNEWT_VAL(...) invalid syntax ?

2019-01-08 Thread Christopher Collins
oblem 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

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

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

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 >

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

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

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

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

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

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 fo

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:

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

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

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

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

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

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

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

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

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

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

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

Re: bleprph using HCI 4 wire

2018-06-27 Thread Christopher Collins
d_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, > func=func@entry=0x0, e=e@entry=0x0) > at

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

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

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

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.

Re: ADC device not allowed multiple opens

2018-06-06 Thread Christopher Collins
you aren't missing anything; I just misunderstood the os_dev reference counting. Thanks for setting me straight :). Another option: the ADC open function checks its os_dev's reference count. If the value is greater than zero, then return without doing anything. Chris > > > > On Jun

Re: ADC device not allowed multiple opens

2018-06-06 Thread Christopher Collins
On Wed, Jun 06, 2018 at 08:50:34AM -0700, will sanfilippo wrote: > Hello: > > I am not the most familiar with the ADC device so it is possible that it was > being used incorrectly but in any event I ran across something I wanted to > discuss. The call to os_dev_open() allows a device to be

No longer need to call `conf_load()`

2018-05-16 Thread Christopher Collins
Hello all, I am about to merge a PR (https://github.com/apache/mynewt-core/pull/1075) which eliminates the need to explicitly call `conf_load()`. Nothing bad will happen if your app continues to call `conf_load()`, but the call can be safely removed after the PR is merged. Background- The

Re: managing repository mirrors with the newt tool

2018-04-09 Thread Christopher Collins
Hi David, On Mon, Apr 09, 2018 at 09:29:34PM -0500, david zuhn wrote: > I'm trying to understand how the newt tool manages repository versions. > > Here's my situation -- I don't want to depend on github/master, yet I don't > want to introduce gratuitous incompatibility. > > So I would like to

Re: MBUF behaviour

2018-04-08 Thread Christopher Collins
ough. Would change the code accordingly. > > Thanks, > Aditya Xavier. > > > > On 07-Apr-2018, at 8:55 AM, Christopher Collins <ch...@runtime.io> wrote: > > > > Hi Aditya, > > > > On Sat, Apr 07, 2018 at 07:59:44AM +0530, Aditya Xavier wrote: >

Re: MBUF behaviour

2018-04-06 Thread Christopher Collins
Hi Aditya, On Sat, Apr 07, 2018 at 07:59:44AM +0530, Aditya Xavier wrote: > Hi Christopher, > > That is the expected behaviour, however if you try running the sample app I > gave you would notice the following > After step 11, I.e initialise the os_mbuf by doing a os_mbuf_get from a >

Re: MBUF behaviour

2018-04-06 Thread Christopher Collins
Hi Aditya, On Fri, Apr 06, 2018 at 07:36:41PM +0530, Aditya Xavier wrote: > Hi Mynewt Team, > > Please help me understand the behavior of MBUF. > > PFB the steps I did :- > > 1.os_mempool_init > 2.os_mbuf_pool_init > 3.Initialized a os_mbuf by os_mbuf_get > 4.Triggered Console

Re: os data.core memory section

2018-04-02 Thread Christopher Collins
Hi Markus, On Sat, Mar 31, 2018 at 04:02:05PM -0700, markus wrote: > I looked into moving the stack into the CCM memory of the stm32 > mcu's - and although almost every linker script defines ".data.core" > sections and there are some defines in bsp.h's for section > attributes they don't seem to

Re: CBOR encoding problems.

2018-03-29 Thread Christopher Collins
On Thu, Mar 29, 2018 at 10:27:36PM +0530, Aditya Xavier wrote: > Thanks for the tip. Would try that too.. > > However, I have tried few variations to check the BLE side ( whether it was > responsible for truncating ) > > 1. I am able to send the same message using encoding only.. i.e. if I

Re: CBOR encoding problems.

2018-03-29 Thread Christopher Collins
Hi Aditya, On Thu, Mar 29, 2018 at 08:52:08PM +0530, Aditya Xavier wrote: [...] > And it doesn’t work when am trying to trigger it from BLE. > > Assuming it was a memory issue, I used a mem_pool, mbuf, allocating > and reserving space. However, problem remains. > > It usually encodes and sends

Re: Convenience header: mynewt.h

2018-03-27 Thread Christopher Collins
FYI- I have filed a PR implementing this change: https://github.com/apache/mynewt-core/pull/969 Chris On Wed, Mar 21, 2018 at 10:47:14AM -0700, Christopher Collins wrote: > Hello all, > > I was thinking about adding a new header to the core repo that just > includes the (more or les

Re: Digest for imaclist@googlegroups.com - 1 update in 1 topic

2018-03-25 Thread 'Christopher Collins' via iMac Group
I’m not sure that you are looking too hard…… https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1311.R1.TR3.TRC2.A0.H2.Ximac+g4.TRS0&_nkw=imac+g4&_sacat=0

Convenience header: mynewt.h

2018-03-21 Thread Christopher Collins
Hello all, I was thinking about adding a new header to the core repo that just includes the (more or less) mandatory headers: * syscfg/syscfg.h * sysinit/sysinit.h * os/os.h * defs/error.h The rule of thumb would be: just include "mynewt.h" in every file. I think this would

Re: Error "The filename or extension is too long." while building a split image app

2018-03-18 Thread Christopher Collins
On Sun, Mar 18, 2018 at 09:26:19PM -0400, Abderrezak Mekkaoui wrote: > Hi Chris. > The result of the build with -ldebug can be found here: > > https://www.dropbox.com/s/o749a6x6xjvva6t/clvrt_ess_split.log?dl=0 Darn... it seems Windows 7+ limits the command line length to 32767 characters [1].

Re: Error "The filename or extension is too long." while building a split image app

2018-03-18 Thread Christopher Collins
Hi Abderrezak, Could you try building again with the `-ldebug` switch? Please include the output in a follow up. Thanks, Chris On Sun, Mar 18, 2018 at 05:05:40PM -0400, Abderrezak Mekkaoui wrote: > Hi All, > > I was following the tutorial to build a split image application. The > process got

Re: Nimble Questions

2018-03-15 Thread Christopher Collins
Hi Ram, On Thu, Mar 15, 2018 at 12:07:55PM +0530, Sriram V wrote: > Hi, > > I have the following doubts on NimBle: > > The document says 32+ concurrent connections, multiple connections in > simultaneous central and peripheral roles. Does that mean the "device > running Nimble" can connect to

Re: Question regarding exchanging long characteristic values over BLE

2018-03-09 Thread Christopher Collins
t 12:19 PM, Andrzej Kaczmarek < > andrzej.kaczma...@codecoup.pl> wrote: > > > Hi, > > > > > > On Tue, Jul 25, 2017 at 8:14 PM, Christopher Collins <ch...@runtime.io> > > wrote: > > > > > On Tue, Jul 25, 2017 at 10:46:32AM -0700, Pr

Re: [DISCUSSION] Moving NimBLE to separate project

2018-03-05 Thread Christopher Collins
On Tue, Feb 27, 2018 at 08:39:04AM -0800, Christopher Collins wrote: > I agree with others that the best option is 2a > (@apache-mynewt-core/net/nimble* become empty packages that pull in the > external nimble packages). However, newt doesn't currently support repo > dependencie

Re: Device numbering clarification

2018-02-28 Thread Christopher Collins
Hi Markus, On Mon, Feb 26, 2018 at 11:36:41AM -0800, markus wrote: > Is there some documentation about the numbers, meanings and relationship (if > any) of the 3 different device numbers? > > -) syscfg, eg UART_0 > -) device name, eg "uart0" > -) mcu HW device, eg "USART2" The short answer

Re: JSON Encoding and Decoding

2018-02-28 Thread Christopher Collins
Hi Aditya, On Wed, Feb 28, 2018 at 06:35:04PM +0530, Aditya Xavier wrote: > Thanks got Encoding working for the required JSON. > > Any pointers on how to get the decoding working ? > > From the example >

Re: [DISCUSSION] Moving NimBLE to separate project

2018-02-27 Thread Christopher Collins
I agree with others that the best option is 2a (@apache-mynewt-core/net/nimble* become empty packages that pull in the external nimble packages). However, newt doesn't currently support repo dependencies; if a repo is not specified in the user's `project.yml` file, then newt won't download it.

Re: Define __MYNEWT__ symbol for Mynewt build

2018-02-09 Thread Christopher Collins
Hi Andrzej, The newt tool already adds the `-DMYNEWT=1` compiler flag during builds. Mynewt and newt are not part of the C implementation, so in my opinion they should not introduce identifiers in the reserved namespace (leading underscore). I know opinions differ on this point, and I could

[jira] [Resolved] (MYNEWT-843) BLE Host - Missing local IRK functionality

2018-02-01 Thread Christopher Collins (JIRA)
[ https://issues.apache.org/jira/browse/MYNEWT-843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Collins resolved MYNEWT-843. Resolution: Fixed Fixed in https://github.com/apache/mynewt-core/pull/593 >

  1   2   3   4   5   6   7   8   9   10   >