Comments (3)
Hello, thank you for the notes. beginToSerial
, which is used in examples, does the same work as begin
method. You can find implementation in header files.
As for hdlc_run_rx_until_read
, I can add to documentation that readcb cannot be NULL, but if you really need it to be NULL, it is ok to add verifications.
Let me know, what is the best way to your mind.
from tinyproto.
Hi, thanks for quick response. I'm trying to use tinyproto on Linux with usb<->uart converter. I think that predefined functions like beginToSerial are valid not for all platforms, is that right? They are also not mentioned at "Easy to use" paragraph.
With my idea of assertions - I recall this, as assertions are not platform-flexible I guess. But error code would be easy to return on nullptr.
from tinyproto.
Hello,
Well, could you please clarify your setup? As far as understand, your setup is:
PC<->USBPort<->USB2TTLconverter<->UART<->Your device.
So, what is your device?
I found that some USB2TTL converters are not good as they should be, even if they are based on FTDI232 chip.
Next question, do you have some logic analyzer?
beginToSerial()
should work for most of Arduino development boards.
from tinyproto.
Related Issues (20)
- Integrate 1-Wire protocol to tinyproto library
- Software serial support HOT 2
- Pyserial and tinyproto example HOT 10
- proto.run_rx hangs indefinitely in Arduino HOT 1
- Unreliable communication with tinyproto HOT 2
- TinyProtocolStream - encapsulate tinyproto into Arduino Stream for ease of use HOT 2
- License? HOT 2
- Multidrop / Master+Slaves on RS485 or similar HOT 17
- Pi Pico serial1 problem HOT 10
- Questions on connection management HOT 3
- IFd class does not allow station address intiailization. HOT 5
- Add support for ESP32 "BluetoothSerial.h"? HOT 1
- Simple build fails on Teensy 4.1 HOT 1
- Build with visual studio works, but unable to do a proto begin --> m_handle=null HOT 3
- Connection is silently re-established
- Connection breaks down if nothing is sent for >= keep alive timeout HOT 2
- Unable to successfully begin() Python Tinyproto when using crc settings different than CRC16 HOT 1
- Unable to connect to tinyproto after second connection. HOT 1
- riscv processor based esp32 series support(and more) HOT 7
- Arduino due doesn't seem to work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyproto.