Skip to content

Commit

Permalink
core: comment about serial connection support
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Apr 26, 2018
1 parent ce84880 commit 84e91ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/dronecore.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ class DroneCore
* Default URL : udp://:14540.
* - Default Bind host IP is localhost(127.0.0.1)
*
* @warning Serial connections are not supported on Windows (they are supported on Linux and macOS).
*
* @param connection_url connection URL string.
* @return The result of adding the connection.
*/
Expand All @@ -80,6 +82,9 @@ class DroneCore
/**
* @brief Adds a serial connection with a specific port (COM or UART dev node) and baudrate as specified.
*
*
* @warning This method is not supported on Windows (it is supported on Linux and macOS).
*
* @param dev_path COM or UART dev node name/path (defaults to "/dev/ttyS0").
* @param baudrate Baudrate of the serial port (defaults to 57600).
* @return The result of adding the connection.
Expand Down

0 comments on commit 84e91ab

Please sign in to comment.