Transform CAN message handlers from mBed C/C++ code to Python

Note: I'm dropping all automated replies with generic proposals - see question in the end.

We've got a small module of code that parses CAN messages using a microcontroller. The current system uses mBed OS and we're now moving to Linux. I'd like to have the knowledge embedded in C code to be usable in the new system, which is written in Python. Currently the software is compiled per car model and the correct .h is included with and #ifdef during the build.

Basic structure is that there's a common part that ingests CAN mesages (uint8_t processCanMessage(CANMessage msg)) and provides a few functions that return the data item's we're interested in (example uint8_t getCanWiper(void) returns if windshield wiper is currently active). The state is kept by the module in static variables - mostly no C++ features are used.

Each car model (17 models and thus .h files) is configured a .h file, which encodes which CAN message IDs are of interest (used for HW message filtering) and how the CAN messages are decoded to state variables.

The embedded code has almost no dependencies to other parts - it's just ingest-process-provide accessors to state.

The task is to:

Create single or multiple Python modules that:

-Use cut and paste, preferably even directly, the current embedded code

-For each car model, create a Python module that uses the code and provides the following functionality:

--function to list the CAN message IDs used (.h has a list of structs that have these as uint16_t)

-ingest function that takes CAN message and processes it

-accessor functions to state variables in C module

-Build script to build these all on ARM target (can be built on Raspbian or similar, no cross compiling needed.

There can be either 1 or 17 Python modules as a result. The less changes to existing C code the better.

I can send the source code with NDA. Included here is one example of the 17 configuration .h files.

As a sanity filter to block robots and your stuff - usually only one or two proposals are from people who actually know their stuff and I'm plonking all others. A few correct words are enough, no need for writing a novel!

How can you use C code in Python ?

Taidot: Python, C-ohjelmointi, Linux, Sulautetut ohjelmistot

Näytä lisää: can set digits phone code vb60, can someone decode eaccelerator code, message board tracking code, app developers message board facebook code, converting php code python, php message board example code, convert php code python, can iphone scan upc code, vbnet message board source code, message board html code template, site crawler code python, can convert visual basic code matlab, convertphp code python, program translate message english morse code java, conversion code python php, php mysql instant message open source code, can message hornymatches, looking for a developer who can code python and php

Tietoa työnantajasta:
( 8 arvostelua ) Finland

Projektin tunnus: #21707034

Myönnetty käyttäjälle:


Hello Sir, Got two files: // file module.c // $ cc -fPIC -shared -o [login to view URL] module.c int my_function(int num) { if (num == 0) return 0; else if ((num & (num - 1) == 0)) // even return 1; return -1; // odd Lisää

€350 EUR 7 päivässä
(0 Arvostelua)

18 freelanceria on tarjonnut keskimäärin 540€ tähän työhön


Hello sir, I read your project description and I am interested in your job. As you can see my profile, I am a full-time developer and have just completed many projects. Specially, I have top skills for C/C++, C#, J Lisää

€500 EUR 4 päivässä
(77 arvostelua)

Hello, Here's how to use c code in python. First, let’s write one simple function using C and generate shared library of the file. Let’s say file name is function.c. filter_none brightness_4 int myFunction(int num) Lisää

€500 EUR 7 päivässä
(19 arvostelua)

Hi Sir, we are CAN BUS experts , we can transform the C code to python. Lets talk to us on this. We are professional engineers and developers who do such projects from the last 10 years. We offer you our skills for Lisää

€400 EUR 7 päivässä
(17 arvostelua)

Hello! Nice to meet you! I have read your project carefully. I am very interested in your project. I am a Microelectronics engineering expert. I have a lot of experience on ARM, FPGA, DSP, Arduino, Raspberry, PLC, PIC, Lisää

€500 EUR 3 päivässä
(10 arvostelua)

hello,how are you. i read your bid carefully. i am c/c++ expert and have full experience for 10 years. c++ language is my top skill. i can provide most quality and high speed. if you want to success, please contact me. Lisää

€500 EUR 7 päivässä
(6 arvostelua)

I'm a python developer with 3+ year's of experience that specializes me in multi-platform applications using Pyside /puqt, scrapy , pillow matplotlib. I am also working as a full stack developer, so that I have more ex Lisää

€500 EUR 7 päivässä
(8 arvostelua)

Hello. I am a senior Microcontroller firmware and embedded system developer. I read your description and I am interested in your project. I have developed the raspberry pi app using python and Qt, Node js. I can devel Lisää

€500 EUR 10 päivässä
(15 arvostelua)

Hi,dear. I understand your proposals and I am very interested in this job - 'Transform CAN message handlers from mBed C/C++ code to Python'. I've already done this kind of project before. I am senior software developer Lisää

€555 EUR 2 päivässä
(3 arvostelua)

Hi, This is Vipin, an alumnus of IIT Kanpur. I have 6+ years of experience in customized software, web and mobile app development and has expertise in Android, iOS, Python, Magento, PHP, HTML, Java, Angular and Ioni Lisää

€500 EUR 7 päivässä
(2 arvostelua)

I read your details . Your project is very interesting. If you work with me, it will be very reasonable. Looking forward hearing from you. Best Regards. Thank.

€500 EUR 7 päivässä
(2 arvostelua)

I have worked as developer embedded system with microcontroller such as DSP, FPGA/CPLD, PIC, PLC and so on. In there years, I have experiences about electronics engineering, power converter, communication such as I2C, Lisää

€400 EUR 7 päivässä
(7 arvostelua)

Hello, this is a preliminary bid because (at least on the mobile interface I cannot find the include file). As for your questsion: Python can simply import compiled extensions (with minimal changes). Relevant Skills a Lisää

€1666 EUR 15 päivässä
(0 arvostelua)

Hello I hope you're doing well. I read your project needs carefully and found my skills relevant to your project we are a team of expert developers and have more than 6 years of experience in the same domain. As per Lisää

€500 EUR 7 päivässä
(0 arvostelua)

Hi there, I am Python developer, having below given skills: Engineering professional with 10 years of experience in Software development. Mastering/Leading in the development of applications/tools using Python for 6 Lisää

€500 EUR 7 päivässä
(0 arvostelua)

we have experiences on data sciences and python or r we have good team working on this projects please give a chances to done your work on time

€400 EUR 7 päivässä
(0 arvostelua)

Nice to meet you I am an Amazon Cloud Architect for the web infrastructure serving 90 million page impressions and 12 TB Internet traffic per month. The AWS services I use are EC2, ELB, MySQL RDS, VPC, CloudFront, Elas Lisää

€700 EUR 10 päivässä
(0 arvostelua)

I can start your project immediately. I can provide full-time communication and work your time-zone. If you give me a chance to serve you, I will provide a high quality product within the deadline. Best Regards

€250 EUR 7 päivässä
(0 arvostelua)