Rp1210

Latest version: v0.0.26

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.0.14alpha

✨ Enhancements
1. Added new functions to RP1210VendorList class
- `__str__`
- getVendorNames
- getAPINames
- getDeviceIDs
2. Added magic methods to RP1210.py

🐛 Bugs Fixed
- Fixes issue with `RP1210API.ReadHardwareStatusDirect` introduced in v0.0.13
- Instead of translating to string, returns `raw` of string buffer
- Also, will now default to `BufferSize = 16` rather than 64.

🗿 Miscellaneous
- Added reminders for unit tests, workflows, and examples in PR template
- Added some examples in Examples folder

0.0.13alpha

- Pass relevant args of API functions in RP1210API through sanitize_msg_param()
1. ClientMessage arg in SendMessage()
2. Protocol arg in ClientConnect()
- Add ReadDLLVersion() and ReadAPIVersion() to RP1210API class
- Add pull request template
- Update some docstrings & type hints
- Add DrewLinQ drivers to automated unit tests
- DrewLinQ.ini/dll
- DTKRP32.ini/dll
- RP1210API.GetHardwareStatus() will now automatically determine buffer size by default
- Handle case in getProtocol() when user inputs value that isn't int or str
- RP1210VendorList update
- Add ability to specify alternate paths for RP121032.ini, INI directory, and DLL directory
- Add __getitem__(), which provides direct access to vendors
- Add __bool__(), which returns True if vendors were populated, False if not
- Add __len__(), which returns number of vendors stored in list
- Re-enable and refactor RP1210VendorList tests
- Bumped code coverage to 92%
- Fall back to translating ErrorCode in GetErrorMsg instead of returning ret_val
- Translate the return value of GetHardwareStatusDirect into a string

closes 70, closes 71, closes 62, closes 75, closes 76

0.0.12alpha

- Full rework of `J1939Message`
- Now supports message generation outside of `toJ1939Message()`
- Automatically maintains compliance with RP1210 standard for J1939 messages
- Properties are now accessed directly, just like with `DTC` and `DiagnosticMessage` classes
- Reworked `J1939.DiagnosticMessage`
- More efficient and reliable
- Greatly reduce time complexity of processing large numbers of DTCs
- 100% test coverage of J1939.py
- Every single line of code is tested at least once
- Helps maintain compliance with RP1210 standard for J1939 messages
- Fixed a number of bugs uncovered by new tests
- sanitize_msg_param() will now parse `None` as `b''`
- Removed `toJ1939Name()`
- Add cm() function to J1939.DTC (returns Conversion Method bit)
- Updated `__driver_clientid_fix()` to include error checking from `translateErrorCode()` - fixes issue with some PCAN adapters.

This update will break some functionality for code using the J1939Message class.

Related issues: 46, 66

0.0.11alpha

Previous release erroneously removed return value from RP1210Client.connect() - this release fixes that.

0.0.10alpha

- Increase size of toJ1939Request data to 8 bytes
- Already-translated strings can be passed through translateErrorCode() unchanged
- Added band-aid to fix stalls/crashes with PCAN-RP1210 drivers

0.0.9alpha

RP1210 drivers like to remove the destination address from the PGN for PDU1 J1939 messages, despite still reporting 0x00 for that byte. This update fixes that for PGN parsing in the J1939Message class.

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.