add README.md
This commit is contained in:
		
							parent
							
								
									362426c758
								
							
						
					
					
						commit
						24445dfb79
					
				
					 1 changed files with 42 additions and 0 deletions
				
			
		
							
								
								
									
										42
									
								
								README.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								README.md
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,42 @@ | |||
| # servicepoint | ||||
| 
 | ||||
| In [CCCB](https://berlin.ccc.de/), there is a big pixel matrix hanging on the wall. It is called  "Service Point Display" or "Airport Display". | ||||
| This repository contains a library for parsing, encoding and sending packets to this display via UDP. | ||||
| 
 | ||||
| ### Installation | ||||
| ```bash | ||||
| cargo add --git https://github.com/kaesaecracker/servicepoint.git | ||||
| ``` | ||||
| 
 | ||||
| ### Example | ||||
| 
 | ||||
| ```rust | ||||
| fn main() { | ||||
|     // establish connection | ||||
|     let connection = servicepoint2::Connection::open("172.23.42.29:2342") | ||||
|         .expect("connection failed"); | ||||
|      | ||||
|     // clear screen content | ||||
|     connection.send(servicepoint2::Command::Clear) | ||||
|         .expect("send failed"); | ||||
| } | ||||
| ``` | ||||
| 
 | ||||
| More are available  in the `examples` folder. | ||||
| 
 | ||||
| ### Features | ||||
| 
 | ||||
| This library has multiple compression libraries as optional dependencies.  | ||||
| If you do not need compression/decompression support you can disable those features. | ||||
| In the likely case you only need one of them, you can include that one specifically. | ||||
| 
 | ||||
| ```toml | ||||
| [dependencies.servicepoint2] | ||||
| git = "https://github.com/kaesaecracker/servicepoint.git" | ||||
| default-features = false | ||||
| features = ["compression-bz"] | ||||
| ``` | ||||
| 
 | ||||
| ### Projects using the library | ||||
| 
 | ||||
| - screen emulator: https://github.com/kaesaecracker/pixel-receiver-rs | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vinzenz Schroeter
						Vinzenz Schroeter