API Question

thetch1

Noob Account
Mar 17, 2014
5
0
Does a call to the low level API function dcp_read_serial clear the serial buffer after? Also lets say I want to read more bytes than the buffer stores, therfore calling the function twice, would I need to wait until the second buffer is full of the new data, or will the api return some old data from the previous call.
 

Dwack

Noob Account
Jan 23, 2014
9
0
Bump ... what did you end of learning about this?

Interested in this as well. I want to write my own app for UART access.
 

professor_jonny

VIP Member
I think it lists the last commands sent to the demon over the usb link and they are naturally purged as new commands come in, I dont think you can read the actual serial data between the console and demon unless I am missing something.

It looked to me that the api is for pc to demon comms.

it would be nice if we could access the demon's digital i/o from the api from the console end, this is the info we need to implement an spi screen or something to the demon.

it has been over a year since the last firmware update or any deamon related updates info may be they have decided not to do develop it futher.
 
Last edited:

professor_jonny

VIP Member
Bump ... what did you end of learning about this?

Interested in this as well. I want to write my own app for UART access.
Seems silly to reinvent the wheel when you can do it with tools that are currently available now such as hyper terminal all you need is a serial to 3.3vttl converter or usb to ttl adaptor.

it would be nifty to use the demon usb port as a debugging interface