You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Adding generic logs is in progress

Pre-requisite :

TV and Laptop should be in the same network and VBN build 


Steps : 

  1.  In chrome browser on laptop type http://<TV IP>:10002/ then you will see below
  2. Click on Inspect button, after that it will open one more window where we can check network trafic log , console logs from app,


Tip

Resident app will be available on port 10000


Problem

To analyze the logs from the third party application, we need to invoke Web inspector . Following are the steps to do the same.

Solution

  1. Add following lines in SetEnv.sh
    1. export RFC_ENABLE_WEBKIT_INSPECTOR=true                                                                                                                                                                                                                                                      export WEBKIT_INSPECTOR_SERVER=${WEBKIT_INSPECTOR_SERVER:-':::9224'}

       2. Add libWPEWebInspectorResources.so to the STB

i. Copy and untar the attached data.tar into /media/apps/web-inspector-plugin/ - after un-taring it you will see usr\lib\wpe-webkit-0.1\libWPEWebInspectorResources.s                                              

           ii. Replace the extracted library              

         3. Restart the receiver process 

               i. sytemctl restart <Operator UI App>               

        4.  Execute the below command  

                i. iptables -i INPUT -j ACCEPT  

                ii. fling the application through IBIS 

       5.  Invoke Web inspector as below   

                 http://<Device-IP>:9224/



data.tar


  • No labels