Skip to main content

No project description provided

Project description

In-Vehicle SDK Package

This package provides the In-Vehicle SDK, offering a range of functionalities to support communication and operations with in-vehicle systems.

Features

The In-Vehicle SDK package includes the following interfaces and implementations:

  1. Communication

    1. CommunicatorBase: Provides the capability to send and receive byte data over various protocols. The following implementations are available:

      • TcpCommunicator
      • UdpCommunicator
      • MulticastCommunicator
      • IsoTpCommunicator
      • DoipCommunicator
    2. RawSocketCommunicatorBase: Offers send, receive, and srp (send and receive answer) operations for py_pcapplusplus.Packet types. The following implementations are available:

      • Layer2RawSocket
      • Layer3RawSocket
      • WiFiRawSocket
    3. CanCommunicatorBase: Exposes the python-can functionality, offering operations like send, receive, sniff, and more. The following implementation is available:

      • CanCommunicatorSocketCan - A specific implementation for the socketcan driver
  2. DoipUtils: A utility library for performing Diagnostic over IP (DoIP) operations, such as vehicle identity requests, routing activation, and more.

  3. UdsUtilsBase: Used for performing Unified Diagnostic Services (UDS) operations, such as ECU reset, read DIDs, session change, and more. The following implementation is available:

    • UdsUtils - Can be initialized to work over DoIP/ISO-TP
  4. IDeviceShell: Allows for the execution of shell commands. The following implementations are available:

    • AdbDeviceShell
    • SerialDeviceShell
    • SshDeviceShell
  5. SomeipUtils: A utility library for SOME/IP operations, allowing the receive and parse services, and in these services invoke methods and subscribe to eventgroups

  6. Plugins:

    • SessionChangeCrashDetector: a plugin that detects ECU crash based on UDS session change
    • UnrespondedTesterPresentCrashDetector: a plugin that detects ECU crash based on UDS TP that is not being responded
    • UdsEcuRecoverPlugin: a plugin responsible of recovering the ECU back to predefined UDS state - session and elevation
    • RelayResetPlugin: a plugin that resets a device via relay
    • UdsBasedEcuResetPlugin: a plugin that resets a device via UDS ECU Reset
  7. ConfigurationManager: An API allowing to perform configuration of the IOT Device.

    • configure_actions(action/s) - can perform the following configuration actions on the device:
      1. IpAddAction - add an IP to an Ethernet interface, and optionally configure a route for this IP.
      2. IpRemoveAction - remove an existing IP from an Ethernet interface.
      3. CanConfigurationAction - configure CAN interface parameters. e.g. bitrate, sample-point, cc-len8-dlc flag and state.
      4. EthInterfaceConfigurationAction - configure the Ethernet interface: mtu, state and flags.
      5. WifiConnectAction - connect to a WiFi access point
    • get_device_configuration() - retrieves the current device configurations:
      1. Ethernet interface configuration: state, IPs, flags and MTU.
      2. CAN interface configurations: state, bitrate, sample-point and cc-len8-dlc flag.
      3. The available WiFi access points.

Installation

You can install the In-Vehicle SDK package using pip:
pip install cyclarity-in-vehicle-sdk

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cyclarity_in_vehicle_sdk-1.0.10a41210.tar.gz (64.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file cyclarity_in_vehicle_sdk-1.0.10a41210.tar.gz.

File metadata

File hashes

Hashes for cyclarity_in_vehicle_sdk-1.0.10a41210.tar.gz
Algorithm Hash digest
SHA256 15a9bc092485bc4e65c28c73ddf5d04cb6046b501a96caabf3e84d63a5782f30
MD5 7f986172267466713ceb97729957709c
BLAKE2b-256 1a0be943857d2570bc16a0e710e4d01721c9518c7ef95d6ec5cda4bcf9e1e344

See more details on using hashes here.

File details

Details for the file cyclarity_in_vehicle_sdk-1.0.10a41210-py3-none-any.whl.

File metadata

File hashes

Hashes for cyclarity_in_vehicle_sdk-1.0.10a41210-py3-none-any.whl
Algorithm Hash digest
SHA256 a7134b4fa76c567809d9b0883df896e59b53dbd5d130bce3ba00c8b952cd99c9
MD5 3f00afa87da6ae9691788aa4a6ddcf78
BLAKE2b-256 15fcdfa0f93325ebe074fc53dfa86dc2d4b56761914cf009a577e81fc99c3b78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page