Michał Hanusek

Results 30 issues of Michał Hanusek

Hello! I would like to use [can_frame](https://github.com/rhyttr/SocketCAN/blob/master/kernel/2.4/include/linux/can.h#L60) in my bindings. I need to use my rust's library in C++. I need to create can_frame in rust and pass it to...

Hello. I am doing a binding from Rust to C++. I have a problem with access to structs fields in C++. How to do correct binding? Please help me. Rust:...

Hello. I have test code: ```rust let mut socket_rx = CANSocket::open("vcan0").unwrap(); let socket_tx = CANSocket::open("vcan0").unwrap(); while let Some(Ok(frame)) = socket_rx.next().await { println!("frame: {:?}", frame); socket_tx.write_frame(frame).unwrap().await.unwrap(); } ``` but I have...

Hello! I have two problems with expressions. 1. Library did not recognize booleans. 2. The function - `ez_eval()` returns an incorrect value. The correct value is 2. @lnicola @likebike Can...

``` ... Step 7/10 : RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y ---> Running in 66b400ac9551 info: downloading installer info: profile set to 'default' info:...

Hello. I have a problem with chrono on CI runner (Permission Denied), on local PC is ok. **Example code:** ``` // let ts_option : Option = ... (any code) let...

Hello. How do you change the pin number in the code? I made a mistake when designing pcb - I replaced MISO with MOSI. My configuration: **MISO - 11 MOSI...

When I read the value from the server (value on server == 2 [Reserved]) then the client (python) reads the value == 1 [Invalid] **Code:** ```c++ #define QUALITY_VALIDITY_GOOD 0 #define...

Hello. how to read INT16U value by IEC client? **This not working:** ```python def read_int16u(var_name): con = iec61850.IedConnection_create() error = iec61850.IedConnection_connect(con, "127.0.0.1", 102) if error != iec61850.IED_ERROR_OK: iec61850.IedConnection_destroy(con) assert False,...