> Can the dongle be easily programmed as a BLE sniffer to debug the > protocol? That would make it valuable.
Nordic provides a lot of ready to use tools which are quite useful. They also have a lot of useful code and documentation. They base their ecosystem on Zephyr, but it's still useful. BLE sniffer can be found here https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le/download The dongle comes with factory-programmed Nordic's bootloader so it was possible to flash fw using this method (and flash sniffer fw). But Nordic messed up their tools a lot, so honestly I have no idea with which bootloader version they ship the dongle now (and which tools are compatible) pt., 2 lut 2024 o 17:37 Sebastien Lorquet <sebast...@lorquet.fr> napisał(a): > Hi, > > Thank you very much for your advice. > > I can probably get a -DK. I'll have more questions once I get that board > running. > > Can the dongle be easily programmed as a BLE sniffer to debug the > protocol? That would make it valuable. > > ACK for the 802.15.4 part, thank you and best wishes for working this. > > Sebastien > > > Le 02/02/2024 à 17:26, raiden00pl a écrit : > > The nrf52 port in NuttX has support for BLE using a closed-source > > Softdevice controller > > from Nordic ( > > > https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/README.html > > ). > > This is a certified BLE stack so there should be no problems with it. > > It worked with NuttX BLE Host and NimBLE BLE stack. > > > > Regarding low energy - there is some PM logic, but I personally haven't > had > > a chance to test it. One day I would like to measure the power > consumption > > of > > Nordic chips with NuttX. If something in the nrf PM logic doesn't work, > it > > should be > > easy to fix it, Nordic peripherals are usually simple (until you have to > > work > > around bugs from errata). > > > >> Zigbee would also be possible I guess, but IIRC it's not as energy > >> efficient as BLE? > > For now there is no IEEE802154 support for Nordic chips in NuttX. > > I'm working on this in my spare time, but it'll take some time to make it > > useful. > > > >> I can get a nrf52840 dongle soon for testing. I will probably spin my > >> own board with a ble, temperature sensor, and battery. > > Working with Nordic dongle sucks. You have to connect the external JLink > to > > work > > with it. The USB peripheral on Nordic chips is a nightmare and the > current > > support > > in NuttX has a bug that I haven't had a chance to fix yet - so another > > argument > > to avoid dongle for now. > > For development, I would recommend nrf52840-dk but it costs much more. > > > > pt., 2 lut 2024 o 11:27 Sebastien Lorquet <sebast...@lorquet.fr> > napisał(a): > > > >> Hello, > >> > >> Just a noob question: does NuttX support developing a BLE peripheral on > >> a NRF component, and if so, does it support low power modes so the > >> peripheral could run for years on a battery? I've seen the nrf52 is a > >> supported target. > >> > >> I'm just looking to see if I can replace my home network sensor (which > >> is based on usb powered ESP32 running nodemcu, connected via wifi/mqtt) > >> by these BLE thingies. I've done some test with a pi pico and > >> micropython, it works awesomely well, but I wonder how to do the same > >> while saving as much power as possible, as should be with BLE. > >> > >> Zigbee would also be possible I guess, but IIRC it's not as energy > >> efficient as BLE? > >> > >> I can get a nrf52840 dongle soon for testing. I will probably spin my > >> own board with a ble, temperature sensor, and battery. > >> > >> Thanks, > >> > >> Sebastien > >> > >> >