Roma Sokolov
Roma Sokolov
One may want to access underlying connection, to set socket options, also. That might be useful for implementing http-streaming services, for example.
But I'm using mirage and my http server is Cohttp_lwt.Server. Is it possible to access underlying connection it this case? Or at least local client ip?
@dinosaure yes, this function might be useful, but when I'm using mirage to create http-service, my http-callback function has this signature: `H.IO.conn * Cohttp.Connection.t -> Cohttp.Request.t -> Cohttp_lwt_body.t -> (Cohttp.Response.t...
Any news on that?
On the somewhat related note, maybe it's time to move [time.rs](https://github.com/japaric/stm32f30x-hal/blob/master/src/time.rs) that is currently copied to almost every hal implementation somewhere? I found https://github.com/dfrankland/bitrate, but maybe @rust-embedded should provide smth...
Somewhat related: mpu9250 (accelerometer & gyroscope sensors) allows using SPI configured at 1Mhz to read/write configuration register, but up to 20Mhz to retrieve readings. To account for that, we've added...
@therealprof that what this issue is about, I guess: should embedded-hal include methods like `set_speed(bps)` or `set_bus_frequency(hz)`.
@therealprof I don't know, but do they have to be safe? For example, [this hal implementation](https://github.com/stm32-rs/stm32f4xx-hal) has buncf of `unsafe` calls in `Watchdog`, `OutputPin`, `InputPin`, and maybe others. On the...
Does `#![allow(deprecated)]` help?
@ryankurte Thanks, indeed this was the problem. Wonder why this worked before and what was changed in Rust. As for `stm32fNNx` vs `stm32fNxx`, `alt-stm32f30x-hal` depends on `stm32f3` so users are...