File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -158,15 +158,13 @@ pub async fn io_loop(
158
158
info ! ( "{} 🛰️ Starting TCP server..." , NAME ) ;
159
159
let bind_addr = format ! ( "0.0.0.0:{}" , TCP_SERVER_PORT ) . parse ( ) . unwrap ( ) ;
160
160
let listener = tokio_uring:: net:: TcpListener :: bind ( bind_addr) . unwrap ( ) ;
161
- info ! (
162
- "{} 🛰️ TCP server now listening on: <u>{}</u>" ,
163
- NAME , bind_addr
164
- ) ;
161
+ info ! ( "{} 🛰️ TCP server bound to: <u>{}</u>" , NAME , bind_addr) ;
165
162
loop {
166
- // wait for bluetooth handshake
163
+ info ! ( "{} 💤 waiting for bluetooth handshake..." , NAME ) ;
167
164
tcp_start. notified ( ) . await ;
168
165
169
166
// Asynchronously wait for an inbound TCP connection
167
+ info ! ( "{} 🛰️ TCP server: listening for phone connection..." , NAME ) ;
170
168
let retval = listener. accept ( ) ;
171
169
let ( stream, addr) = match timeout ( TCP_CLIENT_TIMEOUT , retval)
172
170
. await
You can’t perform that action at this time.
0 commit comments