MQTT Example in the IoT SDK compiles with size bigger than available 160KB Program space?!! Is this correct as I can't flash with the IoT SoftDevice on it.
I tried to compile both the MQTT publisher and MQTT subscriber examples and both have a program size of about 37KB. After you compile the program size is shown in the Build Output window (the hex-file contains a lot of overhead and will be larger).
I did successfully flash both examples on the nRF51 Dongle, and they are advertising. I have not changed anything in the Keil project files. I flashed the modified SoftDevice included in the IoT SDK first.
Which version of Keil are you using? Have you downloaded the legacy support for Keil? Are you sure you haven't altered anything? Try to download a clean copy of the IoT SDK and try again.
Unfortunately, I'm not able to reproduce your problem. Can you please post your code so I can try to compile it here?
Unfortunately, I'm not able to reproduce your problem. Can you please post your code so I can try to compile it here?