This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ble as a scanning device

Dear Guys,

I wonder if there is any possibility to have my ble as a scanning device but for softdevice version s110, I'm asking because I found all the examples are with S120 and S130.

and of course if I can specify a ble device to do scanning for.

Regards,

Mohamed Osama

Parents Reply Children
  • @endnode :Okay but can I do multiple fota for this particular case, the first code I've is using S110 but after that it will be using s130, there is no contradiction between them, right?

  • Not sure what you mean by contradiction but yes, you can upgrade from FW + S110 to different FW + S130. MBRs (which are the only parts to matter for OTA update) are compatible but you will need to put some effort to first migrate your FW to S130 V2 API (there are several changes since your pre-historic S110;) and second to make bootloader working for this migration. There is no example as far as I know but you won't be the first one to do this so it should pass at some point.

  • @endnode : Thank you for your answer, I mean by contradiction exactly what you explained, it's doable but after doing changes, I will take over and if I missed up completely with it, I will post another question, Thank you again for your answer.

  • @endnode : but let's say it's okay and everything now is good, how can I do multiple fota? I mean before it was a peripheral and I can see this DFU service and I can tell it to jump to bootloader to do another fota? now my device is the central? how can I do multiple fota for a central device? it may be with an external interrupts or so?!!! I don't know !

  • I don't understand what you call "multiple" FOTA. For me it's just Over The Air Frimware update as any other. To the topic: sure, Nordic examples don't show reverse GAP roles (target device being GAP Central) but as you can feel tha1t's rather cosmetic change. The transport of image is done little bit differently but otherwise it's the same thing. I believe someone already succeeded with this architecture and Nordic way of upgrading firmware, I would search this forum and internet. If not successful then post new question and hope that someone will help you, in the worst case you will need to write it yourself. Alternatively you can keep GAP Peripheral role for OTA Firmware update, would that be any problem? Normally it isn't...

Related