Re: Tx Power Adjustment on the nRF52dk

2017-05-15 Thread Gurpreet Singh
Ah... interesting. Thanks for the tip... I see the code you're talking about. I'll try this out. Thanks! On Mon, May 15, 2017 at 4:47 PM, will sanfilippo wrote: > This is definitely a bit confusing in the current code base. To set > advertising power for a particular

Re: Tx Power Adjustment on the nRF52dk

2017-05-15 Thread will sanfilippo
This is definitely a bit confusing in the current code base. To set advertising power for a particular advertising state machine you need to use the multi-advertising code. If you see the code in this function: ble_ll_adv_set_adv_params() you will see that the advsm->adv_txpwr element gets set

Tx Power Adjustment on the nRF52dk

2017-05-15 Thread Gurpreet Singh
Hi, I used the example snippet from this mail thread [1] to adjust the Tx Power Level of an eddystone URL beacon from the nRF52dk Unfortunately, I dont see the rssi change as I change the values. I checked and tried

Re: Problems with erasing flash on nordic devices

2017-05-15 Thread Christopher Collins
Hi Jacob, On Mon, May 15, 2017 at 02:51:35PM -0700, Jacob Rosenthal wrote: > So Ill duplicate the upload command to an erase command. > > Is there a bit of metadata I could check to see if a slot was filled and > erase was necessary? If so I could conditionally erase in the upload > command

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

2017-05-15 Thread Szymon Janc
Hi, On Monday, 15 May 2017 20:06:02 CEST Christopher Collins wrote: > On Mon, May 15, 2017 at 11:01:38AM -0700, Christopher Collins wrote: > > Hi Łukasz, > > > > On Mon, May 15, 2017 at 12:33:59PM +0100, Łukasz Wolnik wrote: > > > Hello, > > > > > > From time to time my ble_gattc_write_flat

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

2017-05-15 Thread Christopher Collins
On Mon, May 15, 2017 at 11:01:38AM -0700, Christopher Collins wrote: > Hi Łukasz, > > On Mon, May 15, 2017 at 12:33:59PM +0100, Łukasz Wolnik wrote: > > Hello, > > > > From time to time my ble_gattc_write_flat (run as central) is timing out > > after 20 seconds while sending to an Android 6

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

2017-05-15 Thread Christopher Collins
Hi Łukasz, On Mon, May 15, 2017 at 12:33:59PM +0100, Łukasz Wolnik wrote: > Hello, > > From time to time my ble_gattc_write_flat (run as central) is timing out > after 20 seconds while sending to an Android 6 phone (in peripherial mode). > Is there a way to reduce the timeout to just 1 second?

Re: PMC and PMC chair for Apache Mynewt after graduation

2017-05-15 Thread marko kiiskila
\o/ +1 > On May 15, 2017, at 4:41 AM, Jim Jagielski wrote: > > +1! > >> On May 11, 2017, at 7:46 PM, aditi hilbert wrote: >> >> Hello everyone, >> >> Since there has been no objection to my nomination of Justin McClean for the >> PMC chair role, we will

Re: PMC and PMC chair for Apache Mynewt after graduation

2017-05-15 Thread Jim Jagielski
+1! > On May 11, 2017, at 7:46 PM, aditi hilbert wrote: > > Hello everyone, > > Since there has been no objection to my nomination of Justin McClean for the > PMC chair role, we will be appointing him the chair. > > More information on graduation will be following soon. >

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

2017-05-15 Thread Łukasz Wolnik
Hello, >From time to time my ble_gattc_write_flat (run as central) is timing out after 20 seconds while sending to an Android 6 phone (in peripherial mode). Is there a way to reduce the timeout to just 1 second? At the moment if there's an issue with writing, my newt program has to wait 20

RE: Writing PWM api, and nrf51 implementation

2017-05-15 Thread Cufi, Carles
Hi Wayne, > -Original Message- > From: Wayne Keenan [mailto:wayne.kee...@gmail.com] > Sent: Monday, May 15, 2017 11:36 > To: dev@mynewt.incubator.apache.org > Subject: Re: Writing PWM api, and nrf51 implementation > > Hi Jacob, > > > I've listed below various soft PWM implementations

Re: Writing PWM api, and nrf51 implementation

2017-05-15 Thread Wayne Keenan
Hi Jacob, I've listed below various soft PWM implementations I've bumped into over time, I thought they might make a handy reference for you: ARM Mbed: https://github.com/ARMmbed/mbed-hal-nrf51822-mcu/blob/master /source/pwmout_api.c 3rd Party support for Arduino IDE: