Time travel - selecting NRF5SDK v13 for S132(4.0.5) on NRF52810

I currently use NRF5SDK v17 with S112 supporting 0-2 peripherals, ideally using data extension (4.2). No encryption is used and I don't need any 5.0 features.

I now wish to support the same but supporting 1 observer. This requires shifting to the S132. Start the music...

I then began looking at which S132 softdevice will fit into the available free flash/ram and the latest to do so is v4.0.5.

According to the docs v4.0.5 will support multiple peripherals and a central. I can't see anything about observer but assume it's possible if it's just a scan without a connect (pray).

Rolling back code and refactoring to SDK v13 is quite a bit of work so I thought I'd ask before I begin whether there's any other solution. The only potential I could think of is that SDK v7 might support earlier softdevices through the NRF_SD_BLE_API_VERSION=7 definition, however I can find no documentation on whether this is true or how many revisions back may be supported.

Cheers!

Parents Reply Children
  • I may have to manually test 4.0.5 on the 810 then, I feel it will work as the hardware is 832 compatible. The 5.1.0 jumps in flash size and there's a minuscule amount left for Application space, not enough in my case.

    Yes I wondered if setting NRF_SD_BLE_API_VERSION=4 might be possible but the release notes of any nrf5sdk always says it only supports the latest/matching softdevice. While I did by accident use v17 sdk with v6 softdevice without issue, the v4 softdevice has some noticeable differences like the lack of Observer event registration.

    While softdevice is proprietary is it possible to get the source by NDA? If I had the latest code I could recompile it without a lot of the central code.


  • One more option, s132_nrf52_5.0.0-2.alpha is 132kb which will leave 5.9kb flash after every optimisation I can muster and should just be enough. I might as well test it as the v5 series is closer to the v6&7. Any chance you could supply the file?.. it's not on the website.

Related