public extern static bool candle_frame_read(IntPtr device, out candle_frame_t frame, UInt32 timeout_ms);
 public extern static bool candle_frame_send(IntPtr device, byte channel, ref candle_frame_t frame);