Find Jobs
Hire Freelancers

requesting VIN number using isotp - CANBUS

€8-30 EUR

Ditutup
Disiarkan lebih dari 2 tahun yang lalu

€8-30 EUR

Dibayar semasa penghantaran
I would like to know how to request a VIN Number from c++ code I have this code for example I can send a message but I want to send a request message for VIN Number for example, I have the following code to send and read long messages using ISOTP CAN messages int main(int argc, char **argv) { char dataReceive[64] ; /////////////////// int s = socket(PF_CAN, SOCK_DGRAM, CAN_ISOTP); struct ifreq ifr; strcpy(ifr.ifr_name, "vcan0"); ioctl(s, SIOCGIFINDEX, &ifr); // ifr.ifr_ifindex gets filled // with that device's index struct sockaddr_can addr; //////////////////// /* “a very long message“ */ char data[] = "a very long message"; /* create socket instance */ addr.can_family = AF_CAN; /* address family AF_CAN */ addr.can_ifindex = ifr.ifr_ifindex; /* CAN interface index e.g. for can0 */ addr.can_addr.tp.tx_id = 0x7DF; /* transmit on this CAN ID */ addr.can_addr.tp.rx_id = 0x7E8; /* receive on this CAN ID */ bind(s, (struct sockaddr *)&addr, sizeof(addr)); /* establish datagramm communication */ write(s, data, strlen(data)); while(1) { int limit=read(s, &dataReceive,sizeof(dataReceive)); dataReceive[limit]='\0'; cout<<endl<<dataReceive<<endl; } /* reception of messages */ close(s); /* close socket instance */ return 0; } this code works fine but I want to send instead of this message a Request message for VIN Number I can do it from the terminal like this cansend can0 7df#0209020000000000 && sleep 0.01 && cansend can0 7e0#3000000000000000 but I want to do that from the code anyone can help me with that
ID Projek: 30897299

Tentang projek

4 cadangan
Projek jarak jauh
Aktif 3 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
4 pekerja bebas membida secara purata €60 EUR untuk pekerjaan ini
Avatar Pengguna
Hello, What hardware are you using for CAN bus communication with the vehicles? I have experience with reading VIN from ECU in cars via the canbus, so I suppose I can help you. Best regards, Drago
€90 EUR dalam 7 hari
5.0 (70 ulasan)
4.9
4.9
Avatar Pengguna
Hello. Dear Client! I'm a C/C++/C# expert with over 10 years of experience. I have developed many C++ projects. I wanna work with you for a long term. Please ping me and discuss this in detail. Best Regards.
€30 EUR dalam 1 hari
5.0 (6 ulasan)
3.6
3.6
Avatar Pengguna
Hi there, I would love to help you with this one.. feel free to get in touch with a short message to start discussing how to move forwards.. Best Regards..
€100 EUR dalam 7 hari
5.0 (17 ulasan)
3.7
3.7
Avatar Pengguna
***requesting VIN number using isotp - CANBUS *** Hi Sir Professional C++ developer is ready for your project! I have gone through your description and I'm very interesting as an expert in this field. I'm developing C++ program for 10+ years and have excellent commands in all versions. I will complete your project in your deadline and provide you best support on your project. Please hire me, then you will get successful results in competitive budget. Thank you in advance.
€19 EUR dalam 7 hari
0.0 (0 ulasan)
0.0
0.0

Tentang klien

Bendera GERMANY
Berlin, Germany
5.0
2
Kaedah pembayaran disahkan
Ahli sejak Ogo 19, 2019

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.