[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Further serial port question



Hi Marije;

This doesn't work, since B921600 is not defined in the sys/termios.h file in OS X (legacy issue).

That's the heart of the problem!

Thanks anyway. I am still working on this; if anyone has any other suggestions they would be most welcome.

Best,

Hans

On 4-Mar-09, at 8:20 AM, nescivi wrote:

Hiho,

try compiling SC with:

#if defined(B921600)
		case 921600:
			brate = B921600;
			break;
#endif

added at line 243 in Source/lang/LangPrimSource/PyrSerialPrim.cpp
This will only work if OSX actually supports this baudrate.

I hope this helps.

sincerely,
Marije

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/