Thanks for rechecking. I know I'm not setup with RTS/CTS handshaking on the 
custom board so that is probably going to be a problem. When I get a chance 
I'll repeat my tests with a complete serial signal set on the nRF52832 DK 
board. 

BTW Do you know if Linux assumes hardware flow control by default and if it is 
possible to override that configuration somewhere? I've been caught before with 
hardware flow defaults on PPP over serial on Linux... 

ALan

-----Original Message-----
From: Christopher Collins [mailto:[email protected]] 
Sent: Wednesday, February 01, 2017 4:00 PM
To: [email protected]
Subject: Re: BLE HCI support on NRF52DK

Hi Alan,

On Wed, Feb 01, 2017 at 11:05:23PM +0000, Alan Graves wrote:
> Hi,
> 
> I've spent some time trying to get nRF52832 DK running the 'blehci' code 
> communicating with Xubuntu 16.10 (under VMware) with not much luck. 

I just ran the latest blehci from develop with the following setup:

    * BlueZ 5.39
    * Ubuntu 16.04 (Xenial)
    * nRF52832 DK

I didn't notice any issues when I tried.  I'm afraid I don't see anything wrong 
with the steps you follows.  Maybe one of the following hints will help:

* Make sure the two flow control pins (RTS / CTS) are attached.

* Try killing btattach and restarting it.  When you do this, you should
  see BlueZ send the host init sequence in btmon (starting with a Reset
  command).

The btattach step is required because the BlueZ host doesn't seem to interpret 
the no-op event as a controller reset.  You have to explicitly tell the host to 
reset the controller.

Hopefully this gets you a little closer to a solution.  If you're still seeing 
the same issue, just let me know and we can debug it further.

Thanks,
Chris

Reply via email to