Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SRC OBDH TMTC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Robin Mueller
SRC OBDH TMTC
Commits
c5d34afa
Commit
c5d34afa
authored
5 years ago
by
Robin Mueller
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
a3f242fd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+50
-1
50 additions, 1 deletion
README.md
with
50 additions
and
1 deletion
README.md
+
50
−
1
View file @
c5d34afa
TMTC Client
====
\ No newline at end of file
====
## Prerequisites
Manual installation of crcmod might be needed
1.
Install pip if it is not installed yet
2.
Install crcmod and all other reqiored packages:
Command: pip install crcmod
or use IDE (interpreter settings -> pip in PyCharm)
## How To Use
The script can be used by specifying command line parameters.
Please run this script with the -h flag
or without any command line parameters to display options. GUI is work-in-progress
It might be necessary to set board or PC IP address if using ethernet communication.
Default values should work normally though.
Example command to test service 17,
assuming no set client IP (set manually to PC IP Address if necessary) and default board IP 169.254.1.38:
```
sh
OBSW_UdpClient.py
-m
3
-s
17
```
Example to run Unit Test:
```
sh
OBSW_UdpClient.py
-m
5
```
There are four different Modes:
0.
GUI Mode: Experimental mode, also called if no input parameter are specified
1.
Listener Mode: Only Listen for incoming TM packets
2.
SingleCommandMode: Send Single Command repeatedly until answer is received,
only listen after that
3.
ServiceTestMode: Send all Telecommands belonging to a certain service
and scan for replies for each telecommand. Listen after that
4.
SoftwareTestMode: Send all services and perform reply scanning like mode 3.
Listen after that
5.
Unit Test Mode: Performs a unit test which returns a simple OK or NOT OK. This mode
has the capability to send TCs in bursts, where applicable
The TC timeout factor is mulitplied with the TM timeout to specifiy
when a TC is sent again, if no reply is received.
## Ethernet Communication
If there are problems receiving packets, use the tool Wireshark to track ethernet communication
for UDP echo packets (requests and response).
If the packets appear, there might be a problematic firewall setting.
Please ensure that python.exe UDP packets are not blocked in advanced firewall settings
and create a rule to allow packets from port 2008.
## Serial Communication
Work-In-Progress
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment