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

Can't get logs to work and compile successfully.

Been stuck for a few days on error related to logging. Have tried SDK 15.0 to 15.3 and get same error. Have deadline tomorrow and can't work on code. Ran out of ideas.  Seems to be related to macros expansion but not sure of anything anymore. Is Segger SES 4.12. 

Original problem occurred when I tried to enable logging. Logging had worked in the past so not sure what happened. Was stuck in cycle where when logging was enabled, during link phase there was an error that m_nrf_log_app_log_dataconst was not defined. Could not resolve that or find any reference to indicate a missing setting in sdk_config. So days later out of desperation i tried to define it to see if I would learn something else about the problem. All I learned is that you can waste a great deal of time chasing problems. Need help please. Have demo on Monday and just needed to add finishing touches to custom board that is doing active scanning of beacons and sending data via wifi soc to backend. Was needing logging to debug the wifi interface but have not added that code to the project yet. Using S132 and scan module only to gather the beacon info. Will be up in a few hours trying to complete this so I hope there is some guidance/wisdom when I wake up.

Parents
  • In the meantime, I am going to focus on sdk 15.2 as the version to use for our demoes and production along with both S132 and S140 version 6.1 unless I learn reasons to use other versions together.  While active scanning is required now, the product roadmap requires also supporting classic BT connections and a wider range of ble functionality this year. So likely those requirements will be met by nrf52840 version of the product.

Reply
  • In the meantime, I am going to focus on sdk 15.2 as the version to use for our demoes and production along with both S132 and S140 version 6.1 unless I learn reasons to use other versions together.  While active scanning is required now, the product roadmap requires also supporting classic BT connections and a wider range of ble functionality this year. So likely those requirements will be met by nrf52840 version of the product.

Children
No Data
Related