This commit is contained in:
		
							parent
							
								
									865a38ccd1
								
							
						
					
					
						commit
						06fc8e5850
					
				
					 3 changed files with 26 additions and 8 deletions
				
			
		
							
								
								
									
										2
									
								
								Cargo.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								Cargo.lock
									
										
									
										generated
									
									
									
								
							| 
						 | 
					@ -1455,7 +1455,7 @@ dependencies = [
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[[package]]
 | 
					[[package]]
 | 
				
			||||||
name = "servicepoint-simulator"
 | 
					name = "servicepoint-simulator"
 | 
				
			||||||
version = "0.1.0"
 | 
					version = "0.2.0"
 | 
				
			||||||
dependencies = [
 | 
					dependencies = [
 | 
				
			||||||
 "clap",
 | 
					 "clap",
 | 
				
			||||||
 "env_logger",
 | 
					 "env_logger",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										10
									
								
								Cargo.toml
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								Cargo.toml
									
										
									
									
									
								
							| 
						 | 
					@ -1,10 +1,16 @@
 | 
				
			||||||
[package]
 | 
					[package]
 | 
				
			||||||
name = "servicepoint-simulator"
 | 
					name = "servicepoint-simulator"
 | 
				
			||||||
version = "0.1.0"
 | 
					version = "0.2.0"
 | 
				
			||||||
edition = "2021"
 | 
					edition = "2021"
 | 
				
			||||||
publish = false
 | 
					publish = true
 | 
				
			||||||
license = "GPL-3.0-or-later"
 | 
					license = "GPL-3.0-or-later"
 | 
				
			||||||
keywords = ["cccb", "cccb-servicepoint", "cli"]
 | 
					keywords = ["cccb", "cccb-servicepoint", "cli"]
 | 
				
			||||||
 | 
					description = "A simulator for the Service Point display."
 | 
				
			||||||
 | 
					homepage = "https://git.berlin.ccc.de/servicepoint/servicepoint-simulator"
 | 
				
			||||||
 | 
					repository = "https://git.berlin.ccc.de/servicepoint/servicepoint-simulator"
 | 
				
			||||||
 | 
					readme = "README.md"
 | 
				
			||||||
 | 
					rust-version = "1.80.0"
 | 
				
			||||||
 | 
					resolver = "2"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[dependencies]
 | 
					[dependencies]
 | 
				
			||||||
# basics
 | 
					# basics
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										22
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										22
									
								
								README.md
									
										
									
									
									
								
							| 
						 | 
					@ -1,14 +1,16 @@
 | 
				
			||||||
# servicepoint-simulator
 | 
					# servicepoint-simulator
 | 
				
			||||||
 | 
					
 | 
				
			||||||
An emulator for the CCCB airport display. 
 | 
					A simulator for the CCCB airport display.
 | 
				
			||||||
 | 
					
 | 
				
			||||||

 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
In CCCB, there is a big LED matrix screen you can send images to via UDP. 
 | 
					In CCCB, there is a big LED matrix screen you can send images to via UDP.
 | 
				
			||||||
This project aims to build a working an application that can receive packages in the same binary format and display the contents to the user.
 | 
					This crate contains an application that can receive packages in the same binary format and display the contents to the
 | 
				
			||||||
 | 
					user.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Use cases:
 | 
					Use cases:
 | 
				
			||||||
- getting error messages for invalid packages
 | 
					
 | 
				
			||||||
 | 
					- getting error messages for invalid packages (instead of nothing happening on the display)
 | 
				
			||||||
- test your project when outside CCCB
 | 
					- test your project when outside CCCB
 | 
				
			||||||
- test your project while other people are using the display
 | 
					- test your project while other people are using the display
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -17,9 +19,12 @@ The screenshot above shows the output of two example projects running in paralle
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Running
 | 
					## Running
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					With cargo installed: `cargo install servicepoint-simulator`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
With nix flakes: `nix run github:kaesaecracker/servicepoint-simulator`
 | 
					With nix flakes: `nix run github:kaesaecracker/servicepoint-simulator`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Without nix: check out this repository and use `cargo run --release`.
 | 
					You can also check out this repository and use `cargo run --release`.
 | 
				
			||||||
 | 
					Make sure to run a release build, because a debug build _way_ slower.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Command line arguments
 | 
					## Command line arguments
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -44,6 +49,13 @@ Because this program renders to an RGB pixel buffer, you can enjoy the following
 | 
				
			||||||
- enable or disable the empty space between tile rows (`./servicepoint-simulator --spacers` to enable)
 | 
					- enable or disable the empty space between tile rows (`./servicepoint-simulator --spacers` to enable)
 | 
				
			||||||
- render pixels in red, green, blue or a combination of the three (`./servicepoint-simulator -rgb` for white pixels)
 | 
					- render pixels in red, green, blue or a combination of the three (`./servicepoint-simulator -rgb` for white pixels)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Known differences
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- The font used for displaying UTF-8 text is your default system monospace font, rendered to 8x8 pixels
 | 
				
			||||||
 | 
					- The brightness levels will look linear in the simulator
 | 
				
			||||||
 | 
					- Some commands will be executed in part on the real display and then produce an error (in a console you cannot see)
 | 
				
			||||||
 | 
					  while the simulator refuses to execute the whole command
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Contributing
 | 
					## Contributing
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Contributions are accepted in any form (issues, documentation, feature requests, code, reviews, ...).
 | 
					Contributions are accepted in any form (issues, documentation, feature requests, code, reviews, ...).
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue