Re: Running Newt on nrf51 boards with 0.9.0 and 0-dev

2016-06-02 Thread Wayne Keenan
Hi Will, Ok, thanks for letting me know. Boards 2&3 are 'hidden' behind the mbed CMSIS-DAP interface and I also didn't want to resort to using additional h/w (a non-dev user wouldn't have) in order to erase or program them; prior to programming board 1 am using: JLinkExe -device nrf51 -if swd

Re: MIPS 32 M4K - os specific code to run mynewt

2016-06-02 Thread Pradeep Sanjeewa
Hi Will, I want to understand how this code is generated looking at the datasheet as well as the block diagram of the processor. Yes, let's make this the starting point. I'm completely OK with that. Regards, Sanjeewa On Fri, Jun 3, 2016 at 9:28 AM, will sanfilippo wrote: >

Running Newt on nrf51 boards with 0.9.0 and 0-dev

2016-06-02 Thread Wayne Keenan
Hi, I've been trying to get the bletiny and bleprph apps running on a few types of nrf51 boards but not having much luck. The 3 types are: 1. PCA1 - QFAA G0 (The stubby little USB dingle with the built-in Jsegger J-link) 2. PCA10024 - QFAA G0 (The mbed enabled board, using a hex file )

Re: [VOTE] Release Apache Mynewt 0.9.0-incubating-rc3

2016-06-02 Thread will sanfilippo
[X] +1 Release this package [ ] 0 I don't feel strongly about it, but don't object [ ] -1 Do not release this package because... Will

Re: [VOTE] Release Apache Mynewt 0.9.0-incubating-rc3

2016-06-02 Thread Christopher Collins
On Mon, May 30, 2016 at 11:34:24AM -0700, Christopher Collins 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... Chris

Re: BLE_GATT_CHR_F_NOTIFY and pinkey

2016-06-02 Thread Wayne Keenan
Hi, > > 2. It is too difficult to get all the configuration settings correct. > I'm wondering if we should have the application pass its service table > to ble_hs_init(). That way, the correct values for max_services, > max_attrs, and max_client_configs can all be derived from the table. > One

Re: BLE_GATT_CHR_F_NOTIFY and pinkey

2016-06-02 Thread Stephane D'Alu
On 06/02/2016 05:53 PM, Christopher Collins wrote: On Thu, Jun 02, 2016 at 02:25:33PM +0200, Stephane D'Alu wrote: Adding the "| BLE_GATT_CHR_F_NOTIFY" result in an error when setting advertisement, which seems to be: pinkey missing. 105:[ts=102480ssb, mod=64 level=3] error enabling

Re: BLE_GATT_CHR_F_NOTIFY and pinkey

2016-06-02 Thread Christopher Collins
On Thu, Jun 02, 2016 at 02:25:33PM +0200, Stephane D'Alu wrote: > Adding the "| BLE_GATT_CHR_F_NOTIFY" result in an error when setting > advertisement, which seems to be: pinkey missing. > > 105:[ts=102480ssb, mod=64 level=3] error enabling advertisement; rc=6 > 111:[ts=108336ssb, mod=4 level=0]

BLE_GATT_CHR_F_NOTIFY and pinkey

2016-06-02 Thread Stephane D'Alu
I was trying to add a simple service with notification: So I added to gatt_svr_svcs { /*** Service: Battery */ .type = BLE_GATT_SVC_TYPE_PRIMARY, .uuid128 = BLE_UUID16(GATT_SVR_SVC_BATTERY), .characteristics = (struct ble_gatt_chr_def[]) { {