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

DEBUG in preprocessor definition cause issue in bluetooth connection

hello,

I am using SDK v15.2.0,s140,pca100056. In my custom application I am using 3 SPI, RTC, timers, USBD, etc.

Actually during the development stage I have used DEBUG in preprocessor definition to see logs . All works fine according to the flow. But when I removed DEBUG from the preprocessor definitions, I am not able to connect my device to the phone via bluetooth. On connecting to the advertised device, the connection get disconnected and will never get advertised again. 

Why this could be so?

I am attaching my sdk_config.h file with this.sdk_config.h

Please  provide me some suggestions on this.

Regards,

Shilpa

  • hello,

    Thank you for the advice .I could successfully resolve this issue by your guidance.

    I want to know further that is there any parameters in sdk_config which may change the speed of sending data via bluetooth?

    In my application from the custom device we are actually sending some values via bluetooth and plot that values a s a graph. In my case I am able to plot the graph but on plotting for some time the speed at which the graph is plotted get reduced and is almost stuck. Later the graph retains its speed.

    What might be the possibility of this issue? I suspect this might be due to some parameters in sdk_config.h file. If so what could be the reason?

    Regards,

    Shilpa

  • Hi Shilpa, 

    It is hard to identify the issue. It might be the device could not handle the data to plot on time or something else.  

    Please have a look at our throughput example to learn how you can increase the speeds. If you have further questions about throughput I suggest that you open a new thread.

    -Amanda H.

Related