2025-02-12 11:03 PM - last edited on 2025-02-13 12:53 AM by Andrew Neil
while(dataRemain > 0){
Custom_STM_App_Update_Char( CUSTOM_STM_SENSORREAD, &audioSend[dataIndex] ); // each time send 48*2 = 148 bytes
dataIndex = dataIndex + CHUNK_SIZE;
dataRemain = dataRemain - CHUNK_SIZE;
}