Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add simple file transfer description #6520

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions tools/net/readme.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
* Tizen Lite
** Enable an example app in tizen lite
** Kconfig
EXAMPLES_SIMPLE_FILE_TRANSFER
** Source location
TizenRT/apps/examples/simple_file_transfer/
** Precondition
Wi-Fi should be connected
** Run sample program
*** Command
#+begin_src shell
TASH> sft
#+end_src

* PC
** Precondition
PC and Tizen Lite board are connected to a same AP.
** path:
TizenRT/tools/net/readme.org
** Send a file
Send a file in PC to Tizen lite.
*** command
python simple_file_transfer.py -a [IP address] -s [a file to send in PC] -t [a file location in Tizen lite]
#+begin_src shell
$ python simple_file_transfer.py -a 192.168.1.22 -s ./hello.txt -t /mnt/hello.txt
#+end_src
** Receive a file
Send a file in Tizen lite to a PC.
*** command
python simple_file_transfer.py -r -a [IP address] -s [a file name stored in PC] -t [a file location in Tizen lite]
#+begin_src shell
$ python simple_file_transfer.py -r -a 192.168.1.22 -s ./hello.txt -t /mnt/hello.txt
#+end_src