Thank you very much!
I'm looking at the branch you created, it is getting good shape.
What do you suggest? Maybe we need to test it using the same external
bluetooth chip that was used on Intel's Arduino board.
What do you suggest? Maybe we need to test it using the same external
bluetooth chip that was used on Intel's Arduino board.What chip is that? Is it available on shield or some other module? There is only one Bluetooth low-level driver. It is a simple serial interface that, apparently, supports BLE over serial.
The serial interface used here is documented under the UART Transport Layer, in the Bluetooth core spec. You can talk to a powered/enabled module through a standard serial driver with RTS-CTS flow control enabled. I have used a fork of this stack with BCM4330 (on MIPS Creator CI20), TiWI-BLE (on the Pandaboard ES), and the TI BOOST-CC2564MODA.
I would highly recommend getting the raw hci socket going first. On of the major advantages of this is it makes debugging the rest of the stack a lot easier. The last time I did this I wrote a small shim to pipe the HCI traffic over tcp so that I could parse it with btmon from bluez on another host and clearly see a human readable trace of what is going on.
By the way, good to see your name pop up in the group. It has been awhile!It has been a while. But you peaked my interest with the Bluetooth stuff. I have been working on Bluetooth mesh technology for the last two years which took my time away from building stuff with Nuttx. I have been lurking all along.
I have a few of these around, so I was thinking if time allows I might try and start bringing it up. It's a nice package with a bunch of sensors Bluetooth 5 and rfid.
--Brennan
I appreciate your comments. Thanks for keeping me honest. I knew nothing of consequence about Bluetooth when I started this. The BSD licensed stack was pointed out to me and I thought it worth porting. But Bluetooth has been pure OJT for me. I am sure I will get a few things wrong.That is part of the nature of developing an OS: You have to know a little but about a lot of things, but not very much about most things.Some things are still confusing me. Like, for example, there appears to be two connections between each master and slave. A public interface and a random (encrypted) interface. So it is not clear to me how the socket layer knows which interface is should use. Should this be a part of the sockaddr structure?
The serial interface used here is documented under the UART Transport Layer, in the Bluetooth core spec. You can talk to a powered/enabled module through a standard serial driver with RTS-CTS flow control enabled. I have used a fork of this stack with BCM4330 (on MIPS Creator CI20), TiWI-BLE (on the Pandaboard ES), and the TI BOOST-CC2564MODA.
Living in Costa Rica, my options for hardware are very limited locally. I was able to get one of these and should have it by this afternoon: ftp://imall.iteadstudio.com/IM120417010_BT_Shield_v2.2/DS_IM120417010_BTShield.pdf It is based on an HC-05.Will that work with BLE stack? It appears to be okay. It comes up in Data vs. AT mode, so I hope that means in "UART Transport Layer" mode. Is that your understanding?
It doesn't look like it will work. The Bluetooth 2.0 means there is no BLE. I am still reading.
The serial interface used here is documented under the UART Transport Layer, in the Bluetooth core spec. You can talk to a powered/enabled module through a standard serial driver with RTS-CTS flow control enabled. I have used a fork of this stack with BCM4330 (on MIPS Creator CI20), TiWI-BLE (on the Pandaboard ES), and the TI BOOST-CC2564MODA.
--
You received this message because you are subscribed to the Google Groups "NuttX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nuttx+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Before you get the BOOST-CC2564MODA take a look at the firmware patch license below:
.... Here are a couple questions/observations:
1. Is bnep0 an appropriate name for the an Bluetooth network device. When accessed by the network, Bluetooth devices will need to have a network name (such as eth0 for Ethernet and wpan0 for IEEE 802.15.4, etc.). I could not find the definitive naming of Bluetooth devices but I did see some reference to bnep0 devices. But I think that is not what I want.2. As you an see, even the scan works! I have only my Bluetooth speakers in my office and the scan apparently finds those speakers multiple times (there is a command option to suppress duplicates but I did not select it). The question is in the name of the device: I consistently see öïrBÔØµù0 but the rest of the scan data seems plausible. Everything else seems consistent (the RSSI is very high because the BT860 is right over the speakers and can't missing the speakers.. even with no antenna).
--
You received this message because you are subscribed to the Google Groups "NuttX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nuttx+unsubscribe@googlegroups.com.
After I add few more drivers in the IMXRT1050 port , I will work on Bluetooth. So far i was going to use nRF52810 based module which would be connected with Imxrt via Uart, but I would be interested to test the nuttx Bluetooth stack. Can you please tell me with what kind of module would you suggest me to use for that task?