From c7dfaff66266901859454f4520aacd21ebd804d9 Mon Sep 17 00:00:00 2001 From: alan Date: Thu, 8 Aug 2019 12:46:03 +0800 Subject: [PATCH] modify data lost analyze doc --- python_test_code/uni/briefly_data_analysis.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/python_test_code/uni/briefly_data_analysis.py b/python_test_code/uni/briefly_data_analysis.py index cf9dbba7b..4ca9be8a9 100644 --- a/python_test_code/uni/briefly_data_analysis.py +++ b/python_test_code/uni/briefly_data_analysis.py @@ -9,13 +9,6 @@ def main(): Guess that there are three type of data loss. In order to prove this idea, several tests are needed - method: - compare ramp data with time stamp, there are several conditions - if data_delta * 1 / sampling rate == time_delta: - this should be packet loss - else - this should be program delay - types of data loss: 1. packet loss: bluetooth notification does not need any negotiation. @@ -27,6 +20,14 @@ def main(): 3. program delay causes loss in host(controller): ...todo and need to define + Assume that we have lost several bytes data. We want to analyze the type of data lost. + method: + compare ramp data with time stamp, there are several conditions + if data_delta * 1 / sampling rate == time_delta: + this should be packet loss + else + this should be program delay + method to coped with the corresponding problem: 1. try 'Indication' to check data loss is reduced or not 2. modified the procedure of data packaging