|
|
@ -536,7 +536,7 @@ Java_com_xypower_mpapp_MicroPhotoService_sendHeartbeat(
|
|
|
|
char buf[64] = { 0 };
|
|
|
|
char buf[64] = { 0 };
|
|
|
|
snprintf(buf, sizeof(buf), "%s %d\r\n", FormatLocalDateTime(ts).c_str(), ldr);
|
|
|
|
snprintf(buf, sizeof(buf), "%s %d\r\n", FormatLocalDateTime(ts).c_str(), ldr);
|
|
|
|
|
|
|
|
|
|
|
|
appendFile("/sdcard/com.xypower.mpapp/tmp/ldr.txt", buf, strlen(buf));
|
|
|
|
appendFile("/sdcard/com.xypower.mpapp/tmp/ldr.txt", (const unsigned char* )buf, strlen(buf));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|