Re: NuttX BLE. Pairing with a device

2023-05-16 Thread Alexandru Motoi
Hi all, I am also trying to pair my ESP32 running NuttX with a bluetooth device. I was wondering if you managed to do it Petro. Also a problem I ran into is when I am trying to advertise from my ESP32 with "bt bnep0 advertise start" I can't see the ESP32 on any other devices I tried. Any info w

Re: NuttX BLE. Pairing with a device

2023-04-25 Thread Alan C. Assis
On 4/25/23, Brennan Ashton wrote: > > I should probably have added this in more detail to the docs, but see the > testing section of the PR where I added it. I think it shows exactly what > you are trying to do > > https://github.com/apache/nuttx/pull/1655 > Petro is right, we need to improve the

Re: NuttX BLE. Pairing with a device

2023-04-25 Thread Tomek CEDRO
On Tue, Apr 25, 2023 at 6:54 PM Petro Karashchenko wrote: > Is this going to work on OSX? Or Linux only is verified? XCode has PacketLogger utility that should help :-) Also you will see additional information when pressing Buetooth icon with Alt key pressed :-) Some folks recommend Ubertooth On

Re: NuttX BLE. Pairing with a device

2023-04-25 Thread Petro Karashchenko
Ok. Thank you. I was able to monitor traffic from Ubuntu bluetooth port and found out that my device sends advertising reports not frequently, so I did a few more tries with duplicates on NuttX ESP32 and finally was able to identify the needed string. So what is the next step? How to pair with the

Re: NuttX BLE. Pairing with a device

2023-04-25 Thread Brennan Ashton
Unfortunately this is coupled to the Linux kernel Bluetooth stack since it is relying on the User Channel of the hcisocket which let's your application (NuttX in this case) have a virtual HCI device and temporarily provide it largely isolated control over it (you cannot scan from the host anymore f

Re: NuttX BLE. Pairing with a device

2023-04-25 Thread Petro Karashchenko
Is this going to work on OSX? Or Linux only is verified? вт, 25 квіт. 2023 р. о 19:45 Brennan Ashton пише: > On Tue, Apr 25, 2023, 5:41 PM Brennan Ashton > wrote: > > > > > On Tue, Apr 25, 2023, 5:36 PM Petro Karashchenko < > > petro.karashche...@gmail.com> wrote: > > > >> Hello, > >> > >> I'm

Re: NuttX BLE. Pairing with a device

2023-04-25 Thread Brennan Ashton
On Tue, Apr 25, 2023, 5:41 PM Brennan Ashton wrote: > > On Tue, Apr 25, 2023, 5:36 PM Petro Karashchenko < > petro.karashche...@gmail.com> wrote: > >> Hello, >> >> I'm starting to experiment with NuttX BLE support. I have a device that I >> can successfully pair with my phone and I would like to

Re: NuttX BLE. Pairing with a device

2023-04-25 Thread Brennan Ashton
On Tue, Apr 25, 2023, 5:36 PM Petro Karashchenko < petro.karashche...@gmail.com> wrote: > Hello, > > I'm starting to experiment with NuttX BLE support. I have a device that I > can successfully pair with my phone and I would like to try pairing it with > the NuttX based device. I chose ESP32 for m

NuttX BLE. Pairing with a device

2023-04-25 Thread Petro Karashchenko
Hello, I'm starting to experiment with NuttX BLE support. I have a device that I can successfully pair with my phone and I would like to try pairing it with the NuttX based device. I chose ESP32 for my experiments. For now I enabled (and fixed) esp32-devkitc:ble configuration, but that is basicall