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

BSDLib version

How do I in runtime, not compilte itme, decide which nrf bsdlib version i am using?

Parents
  • Hello,

    in bsd_platform.h there are these defines

    /**@brief Major version number. */
    #define BSD_VERSION_MAJOR_NUMBER               0x0001
    
    /**@brief Minor version number. */
    #define BSD_VERSION_MINOR_NUMBER               0x0000
    

    but as you can see they are wrong. I will report this internally. We can just hope they will be maintained better in the future. In the meantime, you can modify these yourself to match the version number of you bsdlib revision.

Reply
  • Hello,

    in bsd_platform.h there are these defines

    /**@brief Major version number. */
    #define BSD_VERSION_MAJOR_NUMBER               0x0001
    
    /**@brief Minor version number. */
    #define BSD_VERSION_MINOR_NUMBER               0x0000
    

    but as you can see they are wrong. I will report this internally. We can just hope they will be maintained better in the future. In the meantime, you can modify these yourself to match the version number of you bsdlib revision.

Children
Related