> Right now, it appears I can open the file (rt_dev_open returns 0) and > configure the serial port (using rt_dev_ioctl), however, every call to > rt_dev_write returns -1. I'm using the configuration from the example > code which basically has everything set to defaults. Is there an > equivalent of errno I can get to find out what's going wrong? Thanks. > -Brandt
Slight modification here, it does write correctly if I call rt_dev_write from a task spawned by main, but not if I call it from main itself. So I guess this is less about rtser per se and more about the rtdm API. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
