REVrobotics / node-can-bridge

Other
1 stars 1 forks source link

Add method to send RTR frame #33

Closed LandryNorris closed 3 weeks ago

LandryNorris commented 3 weeks ago

To tell the library to send an RTR, the highest bit needs to be set. JS converts to signed int32 for bitmath (bitmath on signed values 🤮), so we want to do this in C++. This PR also removes the JS constant so no one is tempted to try it.