i'm using the MKW40 BLE Module and i want send three values through wireless uart connection, I am trying to modify the wireless example but not know where put the data that I have to send, this data is sent every 1 second. Could you give me an example of how to do it?
Hi,
Please refer the Battery service profile. Same example.
/* Start battery measurements */
TMR_StartLowPowerTimer(mBatteryMeasurementTimerId, gTmrLowPowerIntervalMillisTimer_c,
TmrSeconds(mBatteryLevelReportInterval_c), BatteryMeasurementTimerCallback, NULL);
The service will be really helpful for your implementation
Regards,
Mario