How to Advertise Multiple Local Names at once in an arduino sketch using the intel CurieBLE library for Arduino?
I have a sketch with different sensors , i.e one to NOTIFY me on the battery of which am using the example from the Library for Battery Monitor and then I have another which is to NOTIFY me when a pin goes HIGH or LOW and I was yet to add more sensors before I got stocked. My issue now is, I am trying to send each of these reports independently with different Local names but i have been unable to achieve that. When ever i upload the sketch both sensor report are being captured under one Local Name. I am quite sure my logic should be wrong or am trying something not possible. please this is very important to me as am very new to arduino101(am using TinyTILE) an example code or a correction to my code on how to achieve this would be well appreciated. Thanks in Anticipation. Below is an attachment to my code.