Skip to content

Add rts dtr and baudrate public functions in CDC Serial_ class #1179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

ynsta
Copy link

@ynsta ynsta commented Dec 19, 2012

This permit to use the CDC serial link like a modem. For example configuration
mode while DTR is low and data mode otherwise.

Signed-off-by: Stany MARCEL stanypub@gmail.com

This permit to use the CDC serial link like a modem. For example configuration
mode while DTR is low and data mode otherwise.

Signed-off-by: Stany MARCEL <stanypub@gmail.com>
@ffissore ffissore added the New label Feb 27, 2014
@ArduinoBot
Copy link
Contributor

Can I build this pull request?

@ynsta
Copy link
Author

ynsta commented Aug 27, 2014

Yes I think so, I can't see any reason it should not work.

@ynsta ynsta closed this Aug 27, 2014
@ffissore ffissore reopened this Aug 27, 2014
@ffissore
Copy link
Contributor

@ynsta sorry for the comment from arduinobot. we are setting up automated build of all PRs, so that we can provide a downloadable version of the patched IDE

@matthijskooijman
Copy link
Collaborator

Code looks good to me. I don't think we can really make this API generic, so just adding it in CDCSerial seems fine to me?

@Testato
Copy link

Testato commented Sep 8, 2014

"ynsta commented on 19 Dec 2012"
Is this really from 19 Dec 2012 ?

NicoHood pushed a commit to NicoHood/HID that referenced this pull request Dec 9, 2014
arduino/Arduino#2469
Weak implementation sounds usefull but takes 6 more bytes of flash/
function (12). Even more, if we would also pass the line states but the
user can read this with Serial.dtr() for example.

arduino/Arduino#1179
Should we inline the Serial.dtr() functuions etc? But then we need to
move the line info to the header as well, also the definition.
These optional functions only take flash if they are used. Virtual isnt
used, because this would take more flash for no reason.
Syntax like this: https://www.pjrc.com/teensy/td_serial.html
@cmaglie cmaglie added Component: Core Related to the code for the standard Arduino API feature request A request to make an enhancement (not a bug fix) Component: USB Device Opposed to USB Host. Related to the USB subsystem (SerialUSB, HID, ...) and removed Component: Core Related to the code for the standard Arduino API labels Apr 8, 2015
@facchinm facchinm added the USB: CDC serial Serial interface used by MCUs with native USB (e.g. Leonardo) to communicate with the computer label Jul 10, 2015
@cmaglie
Copy link
Member

cmaglie commented Sep 28, 2015

Fixed with 96f7b96

@cmaglie cmaglie closed this Sep 28, 2015
@cmaglie cmaglie added this to the Release 1.6.6 milestone Sep 28, 2015
obra pushed a commit to keyboardio/Kaleidoscope that referenced this pull request Dec 14, 2023
arduino/Arduino#2469
Weak implementation sounds usefull but takes 6 more bytes of flash/
function (12). Even more, if we would also pass the line states but the
user can read this with Serial.dtr() for example.

arduino/Arduino#1179
Should we inline the Serial.dtr() functuions etc? But then we need to
move the line info to the header as well, also the definition.
These optional functions only take flash if they are used. Virtual isnt
used, because this would take more flash for no reason.
Syntax like this: https://www.pjrc.com/teensy/td_serial.html
obra pushed a commit to keyboardio/Kaleidoscope that referenced this pull request Dec 14, 2023
arduino/Arduino#2469
Weak implementation sounds usefull but takes 6 more bytes of flash/
function (12). Even more, if we would also pass the line states but the
user can read this with Serial.dtr() for example.

arduino/Arduino#1179
Should we inline the Serial.dtr() functuions etc? But then we need to
move the line info to the header as well, also the definition.
These optional functions only take flash if they are used. Virtual isnt
used, because this would take more flash for no reason.
Syntax like this: https://www.pjrc.com/teensy/td_serial.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: USB Device Opposed to USB Host. Related to the USB subsystem (SerialUSB, HID, ...) feature request A request to make an enhancement (not a bug fix) USB: CDC serial Serial interface used by MCUs with native USB (e.g. Leonardo) to communicate with the computer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants