98d0a66cf3 
								
							 
						 
						
							
							
								
								debug and fix a bunch of modem read/write errors  
							
							
							
						 
						
							2022-11-30 00:26:44 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								018af71262 
								
							 
						 
						
							
							
								
								make serial read/write non-blocking  
							
							
							
						 
						
							2022-11-29 15:47:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								b6e7e64e72 
								
							 
						 
						
							
							
								
								refactor and make mqtt work  
							
							
							
						 
						
							2022-11-26 18:59:33 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								e42302988a 
								
							 
						 
						
							
							
								
								derive Debug for commands  
							
							
							
						 
						
							2022-11-26 18:58:30 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								f7f0689f46 
								
							 
						 
						
							
							
								
								add a todo for sim800l response parsing  
							
							
							
						 
						
							2022-08-08 12:54:29 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								41e89028e9 
								
							 
						 
						
							
							
								
								map to () instead of ? ... Ok(())  
							
							
							
						 
						
							2022-07-21 16:25:47 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								78df516fba 
								
							 
						 
						
							
							
								
								send received messages via mqtt in modem main  
							
							
							
						 
						
							2022-07-20 13:32:58 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								23ff182b65 
								
							 
						 
						
							
							
								
								use same interface in gps as in gsm modem  
							
							
							
						 
						
							2022-07-20 12:33:11 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								63359cc4c0 
								
							 
						 
						
							
							
								
								TODO: handle reading lines in a bettwr way  
							
							
							
						 
						
							2022-07-20 12:27:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								db3cd1548e 
								
							 
						 
						
							
							
								
								match payload v.s. sent bytes length in Serial::send_bytes  
							
							
							
						 
						
							2022-07-20 12:20:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								a01b6d3a7b 
								
							 
						 
						
							
							
								
								decrease gps rate  
							
							
							
						 
						
							2022-07-12 19:11:29 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								545fa95f17 
								
							 
						 
						
							
							
								
								copy-paste ublox serial config and reading  
							
							
							
						 
						
							2022-07-12 19:10:04 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								6f90f46b68 
								
							 
						 
						
							
							
								
								move common serial io code to a module  
							
							... 
							
							
							
							closes : #6 
closes : #7  
						
							2022-07-12 19:09:04 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								1fc1218ba6 
								
							 
						 
						
							
							
								
								initial gps read/write and publish  
							
							
							
						 
						
							2022-07-11 16:17:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								df46a56cc3 
								
							 
						 
						
							
							
								
								send Movement from accel main thread  
							
							
							
						 
						
							2022-07-11 16:16:30 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								7bfd37b799 
								
							 
						 
						
							
							
								
								working threads with mpsc::channel  
							
							
							
						 
						
							2022-07-06 20:33:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								d023f5db76 
								
							 
						 
						
							
							
								
								mqtt works ... connect + publish  
							
							
							
						 
						
							2022-07-04 17:04:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								a215c628a7 
								
							 
						 
						
							
							
								
								http post - not working because sim800l supports tlsv1.0 only  
							
							
							
						 
						
							2022-07-03 02:27:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								edf427dcb1 
								
							 
						 
						
							
							
								
								mqtt continues  
							
							
							
						 
						
							2022-06-26 00:56:59 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								8d7d4d898d 
								
							 
						 
						
							
							
								
								initial mqtt connect  
							
							
							
						 
						
							2022-06-25 18:35:35 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								a4c8d03eb9 
								
							 
						 
						
							
							
								
								rename payload to response in response size parsing  
							
							
							
						 
						
							2022-06-25 18:33:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								bc495a7592 
								
							 
						 
						
							
							
								
								use &[u8] instead of &str  
							
							
							
						 
						
							2022-06-25 18:31:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								1ea0bf62e5 
								
							 
						 
						
							
							
								
								misc + implement tcp receive in buffer  
							
							... 
							
							
							
							needed for the TcpClientStack in minimq 
							
						 
						
							2022-06-24 00:28:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								481805a1d1 
								
							 
						 
						
							
							
								
								turning quick mode off also works  
							
							
							
						 
						
							2022-06-23 02:18:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								6ce84ddfff 
								
							 
						 
						
							
							
								
								read tcp replies from server  
							
							
							
						 
						
							2022-06-23 02:11:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								4842f18b34 
								
							 
						 
						
							
							
								
								read the TCP reply length and return a number  
							
							
							
						 
						
							2022-06-22 14:37:55 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								327c86a504 
								
							 
						 
						
							
							
								
								fix bug in timeout handling  
							
							... 
							
							
							
							use timeout.saturating_sub instead of plain '-' 
							
						 
						
							2022-06-22 14:35:18 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								f0d474d062 
								
							 
						 
						
							
							
								
								use Duration::ZERO when reading times out  
							
							
							
						 
						
							2022-06-22 14:34:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								10c61f5d78 
								
							 
						 
						
							
							
								
								read reply from tcp server  
							
							
							
						 
						
							2022-06-21 02:30:00 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								55e5b0dc96 
								
							 
						 
						
							
							
								
								rename IterableRx to RxIter  
							
							
							
						 
						
							2022-06-21 01:27:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								5a190e4890 
								
							 
						 
						
							
							
								
								move read_line to IterableRx, improve read_response  
							
							
							
						 
						
							2022-06-21 00:37:15 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								626c47c58f 
								
							 
						 
						
							
							
								
								read_line now returns String instead of Result<string>  
							
							... 
							
							
							
							maybe a worse interface than before ... will be revisited 
							
						 
						
							2022-06-20 17:02:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								a408544e4e 
								
							 
						 
						
							
							
								
								fix timeout handling  
							
							... 
							
							
							
							was accumulative by mistake, now it's flat incremental 
							
						 
						
							2022-06-20 16:57:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								172bdead14 
								
							 
						 
						
							
							
								
								do a basic AT probe instead of waiting on startup  
							
							
							
						 
						
							2022-06-20 01:38:50 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								fccbf98155 
								
							 
						 
						
							
							
								
								restore the received message (including \r\n in the end)  
							
							
							
						 
						
							2022-06-20 00:44:51 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								858129cc82 
								
							 
						 
						
							
							
								
								remove unused modem methods  
							
							
							
						 
						
							2022-06-20 00:13:47 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								84ab94df46 
								
							 
						 
						
							
							
								
								refactor sending data to remote server  
							
							... 
							
							
							
							works as expected now, but far from perfect 
							
						 
						
							2022-06-20 00:12:55 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								4fefd547d1 
								
							 
						 
						
							
							
								
								remove \r\n from the end of the rx buffer  
							
							... 
							
							
							
							may be a bad idea and should be revisited 
							
						 
						
							2022-06-20 00:10:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								835bf50b80 
								
							 
						 
						
							
							
								
								use saturating sub for timeouts, it overflowed at some point  
							
							
							
						 
						
							2022-06-20 00:08:52 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								f7070e02e7 
								
							 
						 
						
							
							
								
								remove prints in uart Iterator impl  
							
							
							
						 
						
							2022-06-20 00:05:57 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								fac3115a93 
								
							 
						 
						
							
							
								
								add tcp send/receive command modes  
							
							
							
						 
						
							2022-06-20 00:03:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								08c5cabe6d 
								
							 
						 
						
							
							
								
								implement iterator on reader (serial rx)  
							
							
							
						 
						
							2022-06-19 03:18:21 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								792eef13ba 
								
							 
						 
						
							
							
								
								implement non-blocking read with timeout  
							
							... 
							
							
							
							much better than before :) 
							
						 
						
							2022-06-19 00:33:32 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								94b9ce312f 
								
							 
						 
						
							
							
								
								connect to gprs and check if attached  
							
							
							
						 
						
							2022-06-18 01:39:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								1cb8a90caf 
								
							 
						 
						
							
							
								
								remove mut from examples in modem::init  
							
							
							
						 
						
							2022-06-16 01:43:28 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								17b54fbe3a 
								
							 
						 
						
							
							
								
								remove all unwraps :)  
							
							
							
						 
						
							2022-06-16 01:39:16 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								43424ba997 
								
							 
						 
						
							
							
								
								implement commands and turn everything on  
							
							... 
							
							
							
							Turn the modem on by setting appropriate pins to high/low.
Implemented all commands from
https://github.com/pythings/Drivers/blob/master/SIM800L.py#L116-L143  in Rust.
Moved AP values to a config module. Maybe create a build environment for this
later on, we'll need to support multiple telecom providers for sure ...
Fix the write/read implementation for the Serial. Match on end and handle the
timeout properly for every command. 
							
						 
						
							2022-06-16 01:09:31 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								737e29f108 
								
							 
						 
						
							
							
								
								RADI RADNJA!!  
							
							
							
						 
						
							2022-06-16 01:05:31 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								e3c3aa7391 
								
							 
						 
						
							
							
								
								implement modem on a Read/Write structure (rx, tx)  
							
							
							
						 
						
							2022-06-12 12:02:59 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								fbe132295e 
								
							 
						 
						
							
							
								
								dummy gprs connect with error handling  
							
							
							
						 
						
							2022-06-11 16:49:16 +02:00