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

uBlox NINA-B302 doesn't advertise its DEVICE_NAME

Hi All. 

I am familiarised with NINA-B312 module and I am used to seeing its local name being advertised after switch-on, but while testing a  NINA-B302 I've just bought I can't see any DEVICE_NAME being advertised. Is that normal? Is this due to the factory pre-flashed firmware? The supply voltage is 3,6 volt and the consumption (2,x mV) seems fair enough.  


Thanks in advance

  • Hi, Andreas.

    Thanks. I think I finally got the idea.

    One last (hopefully) question:

    According to your comment above (... If you want to "keep the DFU functionality", then you have to include a method in your code where you can enter the bootloader.), to include this method in the new app to be uploaded, would it be enough to copy-paste the code you find here, first in the sdk_config.h file (regarding settings with bonds o without bonds) and then the rest (DFU event handler, Power Manager module, and Buttonless Secure DFU Service Initialization) in the main.c file, and in both cases just at the beginning of the existing app code?

    Best regards

  • Hi.

    I'm not sure what you are linking to, that link is broken.

    However, the should not be any issues in including the DFU Service to your applications existing code, you should only have to follow the guide in DocLib.

    Best regards,

    Andreas

  • Hi.

    The broken link you mention was pointing to the same document you refer to in your "guide" link. That's why I ask you:

    ... would it be enough to copy-paste the code you find in the "Buttonless Secure DFU Service" document, that is, copy-pasting (at the top of the sdk_config.h file) the code regarding the settings with bonds o without bonds, and then (at the top of the main.c file), the code regarding the DFU event handler, the Power Manager module and Buttonless Secure DFU Service Initialization? 

    I know it may seem a silly question for you, but I would very much appreciate your answer (you could call it help) since I am not yet experienced enough in "C" language.

    Thanks so much.

    Best Regards,

    Juan

  • Hi.

    p143 said:
    ... would it be enough to copy-paste the code you find in the "Buttonless Secure DFU Service" document, that is, copy-pasting (at the top of the sdk_config.h file) the code regarding the settings with bonds o without bonds, and then (at the top of the main.c file), the code regarding the DFU event handler, the Power Manager module and Buttonless Secure DFU Service Initialization? 

     Yes, as I said in my previous reply, you should only have to follow the guide on DocLib, which shows you how to add the Buttonless Secure DFU Service to a BLE application (DFU event handler, Power Manager,  Buttonless Secure DFU Service Initialization)

    Best regards,

    Andreas

  • Hi.

    Following the guide you were suggesting, I get errors while trying to compile. In order to ascertain were is the problem, I am adding the five scripts being mention in this guide (SDK configuration header files, DFU event handler, enable auto shutdown retry, implement the power management and Initialize de Buttonless Secure DFU Services) one at a time, and running a Build immediately after each script has been pasted.   

    As soon as I reach the "DFU event handler" script, I get the following error:

    Would you mind telling me what is wrong?

    Thanks

Related