This does sound the way I was thinking about it. I do have a concern with this
approach though: since the log entry gets stored in the flash, we need a way to
mark an entry which increases the amount of space needed on the flash.
As an alternative, I was thinking in the direction of keeping
I’d personally like to see these separated. Many of the comments that are
coming in are routine (though very informative) and do not inform the design or
development of Apache Mynewt.
And, besides, it is likely that you will have “user” and “dev” sourced to the
same mailbox or mail filter!
On Thu, May 19, 2016 at 12:57:53PM -0700, James Howarth wrote:
> Hi Chris,
>
> A) Thanks for the style tips. I always appreciate those.
>
> B) The device seems to be stuck in trying to register attributes loop,
> similar to what had happened when I didn't have enough attributes
> supported.
Hi Chris,
A) Thanks for the style tips. I always appreciate those.
B) The device seems to be stuck in trying to register attributes loop,
similar to what had happened when I didn't have enough attributes
supported. Because I have just changed the UUID of the attribute I had
working before, I
On Thu, May 19, 2016 at 11:57:45AM -0700, James Howarth wrote:
> I'm not quite sure how to define a custom 128 bit UUID and pass it to
> .uuid128.
>
> I thought it might be a global variable e.g.
> static uint8_t UUID_BASE[16] = {0x03, 0x04, 0x00, 0x00, 0x2A, 0xAE,
> 0x4D,
> 0x26, 0xAD, 0x62,
Hi,
I am looking for the correct way to specify custom UUID's.
1) I can see how to define a custom 16 bit UUID e.g.
#define GATT_SVR_SVC_CUSTOM 0xABBA
2) I'm not quite sure how to define a custom 128 bit UUID and pass it to
.uuid128.
I thought it might be a global variable
For FCB option:
You could add a callback to FCB backend for logging, which would call
you when it’s ready to erase a sector. Maybe call it for every entry,
and then in the end when it’s finished with erase.
In this callback you could then decide whether you want to keep that
log entry, or toss
The API takes a signed int as a parameter as I usually just like using ‘int’ as
opposed to ‘int8_t’ in functions. However, the lower-layer phy driver stores
the power as a signed, 8-bit integer as that is all that is needed at the lower
layer (just as you say Kevin).
Certainly we can change
On Thu, May 19, 2016 at 11:12:39AM -0700, James Howarth wrote:
> Hi Chris,
>
> I think it needs to be a signed int right, as txpwer can be negative, does
> that sound right?
Yes, good catch (thanks also, Kevin!).
In that case, you should declare the tx power variable as an int8_t.
Chris
A single signed 8-bit integer will cover most radios I'm familiar with, yes.
On 19/05/16 20:12, James Howarth wrote:
Hi Chris,
I think it needs to be a signed int right, as txpwer can be negative, does
that sound right?
Cheers
James
On Thu, May 19, 2016 at 11:10 AM, Christopher Collins
I¹d prefer to keep them together for now. As this is new, I think that
developers are going to learn a lot from the users issues or questions,
and vice versa. I agree that this will get too much at some point, but
I¹m really getting a lot from seeing the user and developer issues
together.
On
Hi Chris,
I think it needs to be a signed int right, as txpwer can be negative, does
that sound right?
Cheers
James
On Thu, May 19, 2016 at 11:10 AM, Christopher Collins
wrote:
> On Thu, May 19, 2016 at 11:03:22AM -0700, Christopher Collins wrote:
> > > > On May 19,
Hi,
With Mynewt attracting an increasing number of both users and developers of
various levels, it might make practical sense to have a users@ mailing list
separate from dev@ mailing list. That way support questions about product
usage, asks, needs etc can be separated from
David,
I did the BSP for the atmel SAMD21 for arduino_zero (also a cortex M0
SoC). I utilized the driver code from atmel for the hal. Its available
in a separate repository ( to preserve the license from Atmel) when you
are ready. This tutorial shows you how to get it up and running.
You are correct; adding a bsp and mcu support is not the first thing I would
tackle either :-) Those boards are indeed cheap so getting one and trying
mynewt out with a board that is already supported is definitely the path I
would take.
I think once you get familiar with mynewt you will find
Thanks for the quick response Will!
I’m brand new to mynewt, so I'm not sure that dealing with this is necessarily
the first thing I should tackle. The STM32F3DISCOVERY board was only $12 at
DigiKey, so I just ordered one. I have a more pressing goal with mynewt first,
but once I get that
Hello David:
I took a peek at the evaluation board you mentioned. We dont have that eval
board in house nor do we have that flavor of st chip in house, but getting
mynewt up and running on this would certainly be possible. It appears that
this is the 256K Flash/32KB RAM version on that eval
Hi,
Is there a special procedure for changing power level of the BLE radio on
an nRF52 PDK?
Can I just do something like the following in my callback:
static int txpwer_to_set[1] ;
memcpy(txpwer_to_set, ctxt->chr_access.data,
sizeof txpwer_to_set);
ble_phy_txpwr_set(*txpwer_to_set);
Is this something that is supported/possible? I don’t happen to have an
STM32F3DISCOVERY board, but I do happen to have one of these lying around. If
anyone has used this board, or knows haow to get it up and running with mynewt,
I’d appreciate some pointers/help.
Best regards,
dg
--
David G.
Hi! I earlier wrote you on github as gnatyukv. I forgot to ask a main
qustion. May your projects (from the apps folder) be compiled in Keil IDE?
How to do it? I have uVision V5.17 and Armcc compiler. I cannot compile
your code yet. Maybe another compiler (GCC) needed?
On Wed, May 18, 2016 at 11:28:03PM -0700, Christopher Collins wrote:
> Hello all,
>
> This thread is for any and all discussion regarding the release of
> apache-mynewt-0.9.0-incubating. All feedback is welcome.
There is one thing I really should have mentioned in the vote email. If
you want
Hi Chris,
Sorry this may be an old issue then so feel free to ignore. I understand
that native emulation of the BLE stack doesn't currently work and there are
other priorities, but copying that one file at least allows me to build a
basic project to test some custom shell commands and make sure
On Thu, May 19, 2016 at 11:30:05AM +0200, Kevin Townsend wrote:
> I'm running in 'develop' which may not be the right branch, but
> switching a bare bones BLE project to 'native' as a BSP generates this
> error:
>
> $ newt build bleuart
> Building target targets/bleuart
> Compiling ble_ll_adv.c
I'm running in 'develop' which may not be the right branch, but
switching a bare bones BLE project to 'native' as a BSP generates this
error:
$ newt build bleuart
Building target targets/bleuart
Compiling ble_ll_adv.c
Error: ble_ll_adv.c:24:22: fatal error: ble/xcvr.h: No such file or
Hello all,
This thread is for any and all discussion regarding the release of
apache-mynewt-0.9.0-incubating. All feedback is welcome.
Thanks,
Chris
Hello all,
I am pleased to be calling this vote for the source release of Apache
Mynewt 0.9.0. Given that it is version 0.x, it is still a bit of a beta.
Apache Mynewt is a community-driven, permissively licensed open source
initiative for constrained, embedded applications. Mynewt provides a
26 matches
Mail list logo