aanon4 / BlueBasic

BASIC interpreter for CC2540 and CC2541 Bluetooth LE chips
https://gitlab.com/timwilkinson/BlueBasic
97 stars 55 forks source link

Serial/UART handshaking #12

Closed mikewen closed 9 years ago

mikewen commented 9 years ago

Love BlueBasic! Thanks!!!!

Right now, BlueBasic only support hardware handshaking SERIAL 9600,N,8,1,H

This will give error: SERIAL 9600,N,8,1,N

Here are the codes in OS_serial_open function (os.c ) : // Only support port 0, no-parity, 8-bits, 1 stop bit if (port != 0 || parity != 'N' || bits != 8 || stop != 1 || flow != 'H') { return 3; }

aanon4 commented 9 years ago

As far as I could tell reading the UART code from TI, they only support hardware handshaking.

mikewen commented 9 years ago

I changed the UART code from TI , and compiled .hex files with software handshaking support: Here is link of my Fork with .hex files for download: https://github.com/mikewen/BlueBasic

aanon4 commented 9 years ago

Cool. Can you send me a patch?

aanon4 commented 9 years ago

Or a pull request perhaps?