Difference between revisions of "FTC adb Android Debugging Bridge 202008"

From wikidb
Jump to: navigation, search
(Getting Log files)
(References)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
= References =
 
= References =
  
* [https://blog.jcole.us/2017/04/13/wireless-programming-for-ftc-robots/ Wireless Programming for FTC Robots]
+
* [http://developer.android.com/tools/help/adb.html Official Android adb reference]
 
* [https://www.xda-developers.com/install-adb-windows-macos-linux/ install Android Debug Bridge (adb)]
 
* [https://www.xda-developers.com/install-adb-windows-macos-linux/ install Android Debug Bridge (adb)]
 
* [https://www.androidauthority.com/android-customization-transfer-files-adb-push-adb-pull-601015/ Android customization – how to transfer files using ADB push and pull commands]
 
* [https://www.androidauthority.com/android-customization-transfer-files-adb-push-adb-pull-601015/ Android customization – how to transfer files using ADB push and pull commands]
  
* [http://flyset.org/wp-content/uploads/2015/07/FTC-workshop-debugging.pdf FTC workshop debugging]
+
== Related ==
** log on page 72
+
 
** also ADB Android Debug Bridge  http://developer.android.com/tools/help/adb.html
+
* [https://blog.jcole.us/2017/04/13/wireless-programming-for-ftc-robots/ Wireless Programming for FTC Robots]
  
 
= Windows =
 
= Windows =
Line 70: Line 70:
 
       sdcard/robotControllerLog.txt: 1 file pulled. 3.3 MB/s (1257240 bytes in 0.364s)
 
       sdcard/robotControllerLog.txt: 1 file pulled. 3.3 MB/s (1257240 bytes in 0.364s)
  
It will be downloaded in the local command window's directory. In this case;
+
It will be downloaded to the Window's Command window local command local directory. In this case;
  
 
   C:\Users\epp\AppData\Local\Android\sdk\platform-tools\robotControllerLog.txt
 
   C:\Users\epp\AppData\Local\Android\sdk\platform-tools\robotControllerLog.txt

Latest revision as of 11:09, 21 August 2020

References

Related

Windows

Install

I found adb in

  • Users\epp\AppData\Local\Adroid\sdk\platform-tools

Probably from an Android Studio install

Connecting

Open a command Window get into Android's platform-tools directory

TBD set up path to find adb

 >cd  C:\Users\epp\AppData\Local\Android\sdk\platform-tools

 >adb connect 192.168.43.1
     connected to 192.168.43.1:5555

 >adb devices
     List of devices attached
     192.168.43.1:5555       device

FTC Android File System

Selected files

 C:\Users\epp\AppData\Local\Android\sdk\platform-tools>adb shell ls
     ...
     config
     ...
     data
     ...
     dev
     ...
     etc
     ...
     init.ftc.rc
     ..
     mnt
     ...
     proc
     ...
     root
     sbin
     sdcard
     ...
     selinux_version
     ...
     storage
     sys
     system
     ...

Getting Log files

Log files are in the sdcard direcotry

 >adb pull sdcard/robotControllerLog.txt
     sdcard/robotControllerLog.txt: 1 file pulled. 3.3 MB/s (1257240 bytes in 0.364s)

It will be downloaded to the Window's Command window local command local directory. In this case;

 C:\Users\epp\AppData\Local\Android\sdk\platform-tools\robotControllerLog.txt

Notes and Logs