HCI UART with console UART

2018-06-27 Thread Jeff Belz
All: I have to use uart0 as the HCI, but I want to use the console too. Anyone do this before? I'm assuming I have to change the BSP, but I think it's more that that. Jeff

Re: Different Bluetooth controller

2018-06-27 Thread Andrzej Kaczmarek
Hi Jeff, In general, NimBLE host does assume that (depending on features enabled) certain functionality has to be supported by controller and it will just try to use it. For example, if Privacy feature is enabled host assumes that Link Layer Privacy is supported by controller thus at least 4.2

Re: Different Bluetooth controller

2018-06-27 Thread will sanfilippo
Jeff: I may not be answering the question you want but the controller itself runs on the nordic chips only so you will not be able to run the nimble controller on those devices. What *is* supported is the nimble host. The nimble host should be able to talk to any controller. The set of HCI

Different Bluetooth controller

2018-06-27 Thread Jeff Belz
All: I was wondering how mynewt handles different controller. For example CC2564b vs BCM43438 Both of these have a 4 wire HCI interface, but I would think they would have slightly different command sets. When working with HCI, is there a list of qualified BT controllers it works with? Jeff

Re: bleprph using HCI 4 wire

2018-06-27 Thread Andrzej Kaczmarek
Hi Jeff, It seems you have explicit dependency to net/nimble/transport/ram somewhere in your configuration (target, I suppose) which you need to remove. bleprph app already includes net/nimble/transport package which pulls proper HCI transport package depending on BLE_HCI_TRANSPORT_* syscfg

Re: bleprph using HCI 4 wire

2018-06-27 Thread Christopher Collins
Hi Jeff, The `ble_hci_ram_rx_cmd_ll_cb` callback should be getting configured by the controller at startup (assuming you are running the combined-host-controller). I have a few questions: 1. What version of Mynewt are you using? 2. What changes have you made to the apps that are failing? Also,

RE: bleprph using HCI 4 wire

2018-06-27 Thread Jeff Belz
Nimble error? I have tried the bleprph and bleuart and both fail at this point in the ble_hci_ram.c assert(ble_hci_ram_rx_cmd_ll_cb != NULL); Either I'm missing a setting or maybe an error in Nimble /This is the whole trace #12 0x08020b30

Re: newtmgr on Android

2018-06-27 Thread Brian Giori
Hi Andrey, I have built Android and iOS NewtMgr implementations which are currently in a "private beta" (if you will) and are still under active development. The plan is to release these libraries (Apache 2.0) when they have stabilized, which for Android should be soon. If you'd like access to

Re: [VOTE] Release Apache Mynewt 1.4.1-rc1

2018-06-27 Thread Sasa Petrovic
+1 (binding) Best, Sasa On Fri, Jun 22, 2018 at 7:14 AM, Szymon Janc wrote: > Hello all, > > I am pleased to be calling this vote for the source release of > Apache Mynewt 1.4.1. > > Apache Mynewt is a community-driven, permissively licensed open source > initiative for constrained, embedded

Re: [VOTE] Release Apache Mynewt 1.4.1-rc1

2018-06-27 Thread Łukasz Rymanowski
Hi On Fri, Jun 22, 2018, 16:14 Szymon Janc wrote: > Hello all, > > I am pleased to be calling this vote for the source release of > Apache Mynewt 1.4.1. > > Apache Mynewt is a community-driven, permissively licensed open source > initiative for constrained, embedded applications. Mynewt

Re: [VOTE] Release Apache Mynewt 1.4.1-rc1

2018-06-27 Thread Andrzej Kaczmarek
Hi, +1 (binding) Best, Andrzej On Fri, Jun 22, 2018 at 4:14 PM Szymon Janc wrote: > > Hello all, > > I am pleased to be calling this vote for the source release of > Apache Mynewt 1.4.1. > > Apache Mynewt is a community-driven, permissively licensed open source > initiative for constrained,

Re: newtmgr on Android

2018-06-27 Thread Jacob Rosenthal
I dont know if that runtime sensors app has firmware update, but it has oic which would get you close https://github.com/runtimeco/android_sensor Also I have a web bluetooth solution that would work on a lot of android phones https://github.com/jacobrosenthal/web-newtmgr On Wed, Jun 27, 2018

RE: bleprph using HCI 4 wire

2018-06-27 Thread Jeff Belz
Also I keep getting these errors when I try to debug, any ideas Program received signal SIGTRAP, Trace/breakpoint trap. __assert_func (file=0x0, line=0, func=, e=) at repos/apache-mynewt-core/kernel/os/src/arch/cortex_m4/os_fault.c:137 137asm("bkpt"); (gdb) c Continuing.

RE: bleprph using HCI 4 wire

2018-06-27 Thread Jeff Belz
A few more questions 1) If I configure to UART 2, what pins does it select. UART 2 on the STM32F4 can be configured to different pins. 2) HAL_UART_FLOW_CTL_RTS_CTS <- Where is this definition 3) When Selection UART 2. Is that actual UART 2 or is it really UART 1. What I mean to say the

Re: Linking of tests when app itself has a main

2018-06-27 Thread marko kiiskila
Hi René, unittest framework was developed assuming that apps themselves would not have test suites. Only individual packages/libraries. So the method you described is pretty much what you’d need to do. Or alternatively create a library out of the components you want to create unittests for. >