QNX Development for CIC

doublespaces

Administrator
Oct 18, 2016
9,310
4,341
0
AZ
Ride
2009 E93 335i
The brute force way of accomplishing this goal would be to build a can sniffer and do some packet analysis. I have a software sniffer on my PC somewhere that was given to me a long time ago which records the data like wireshark. You would then try and replay those back back until you managed to trigger the alert you wanted.

If you want actual customized messages you may need to modify the cic firmware as I doubt strings are sent via Can. Then the associated hardware to trigger the arduino and then the bulk and reliability and ease of use come into consideration when you're past prototype. At that time you'll start contemplating plastic injection and you may as well start at business making Legos and army men.

The other way to go about this is to check your methanol tank routinely.
 

NoQuarter

Major
Nov 24, 2017
1,662
1,066
0
Indiana, USA
Ride
Z4 35is, 535xi, X5 35i
The brute force way of accomplishing this goal would be to build a can sniffer and do some packet analysis. I have a software sniffer on my PC somewhere that was given to me a long time ago which records the data like wireshark.

This is exactly the way I did it years ago. Capture thousands of records and do the analysis on most likely addresses and continue to narrow it down. That was still the "easy" part. Determining the packet payload was very difficult for anything that was more than simple yes/no on/off, etc.
 

e90reborn

Lurker
Nov 5, 2018
13
2
0
Ride
BMW 335i E90 2010
Not sure how to do it with arduino

I was actually referring to the QNX code. I can manage the Arduino code.

Reading and writing on the can bus is actually the easy part. Getting the addresses and, even harder, figuring out the data packet encoding.

I would have to say .. if your first question is how to read can data the actual data part of the problem might be a stretch.

Triggering an existing alert will be a significant achievement. Creating a custom message? That is a very big task.

That's not the way I'm going. See below.

If you want actual customized messages you may need to modify the cic firmware as I doubt strings are sent via Can. Then the associated hardware to trigger the arduino and then the bulk and reliability and ease of use come into consideration when you're past prototype.

Thanks guys for the replies. I'll try to clear things up on how I'm picturing this.

#1: my meth kit already comes with a level sensor and a led that fires up when meth level is low.
#2: led wiring is already in place all the way up to the dash
#3: i would take the led off and feed an arduino port
#4: when port goes up (meaning LED was going ON) arduino will FLAG the CAN BUS. not a string, just a switch (ON/OFF). and it's not supposed to be addressed to CIC.
#5: i'll have a custom app (QNX code I sample I was asking in the original message) running in CIC as a daemon or a cron job that would capture that custom CAN package and pops up a message when flag is ON. I am not trying to modify CIC's code.
 

NoQuarter

Major
Nov 24, 2017
1,662
1,066
0
Indiana, USA
Ride
Z4 35is, 535xi, X5 35i
Ok.. now this sounds much more achievable and matches something I have had in my head.

I want to add in a sensor package (MAP sensors, temp sensors, etc) and put that data on the CAN BUS to be picked up by something. MHD would be great, a custom app on the CIC would be cool.

Send me a PM to remind me to track down some of my old code. It has been years but the gist of it should be relevant.
 

e90reborn

Lurker
Nov 5, 2018
13
2
0
Ride
BMW 335i E90 2010
Ok.. now this sounds much more achievable and matches something I have had in my head.

I want to add in a sensor package (MAP sensors, temp sensors, etc) and put that data on the CAN BUS to be picked up by something. MHD would be great, a custom app on the CIC would be cool.

Send me a PM to remind me to track down some of my old code. It has been years but the gist of it should be relevant.

The data you want might already be available in the CAN BUS. Please take a look here:

 

NoQuarter

Major
Nov 24, 2017
1,662
1,066
0
Indiana, USA
Ride
Z4 35is, 535xi, X5 35i
The data you want might already be available in the CAN BUS. Please take a look here:


I'm talking about sensors where they don't currently exists.

Thanks for posting the link though
 

Laurens

New Member
Jun 27, 2019
1
0
0
Ride
E88
Hi All, great work so far! I've been reading a lot on this forum for a while and would like to have access to the "setting-up-development-environment" thread so i can play around with my CIC and share my findings.

Amazing to see something developed by the community running on the CIC. I'm looking into going the HTML5 road with the development of an react app. I'm very curious for the HTML5 QNX SDK.

I'm pretty statisfied with the functionality of the CIC, but missing two features. One is Flitsmeister (iOS/Android) and more accurate traffic information. I'm very curious if it's possible to create a background service which sends out notifications (like the service required notification) when a traffic cam is detected. I'll also need GPS coordinates to achieve this.

Thanks in advance, keep up the good work!
 

Kawaii-uwu

New Member
Jan 21, 2020
1
0
0
Ride
2012 535i
Can I get tagged in on all the info for QNX these BMWs are running? I have a strong background in reverse engineering and wanted to start poking around some. I’ll forward my professional credentials to mods if needed.
 

gnjax

New Member
May 30, 2020
2
1
0
Just added a few people so you should have access to the thread now.

Hey, Just found out about this community I'm really curious about the dev environment and would like to guinea pig with my CIC as well if I can have access to the thread ! Thanks
 

madac1980

New Member
Jan 1, 2020
3
0
0
Ride
bmw
Hi,
I am interested in doing/trying some things on these units. I read a few things and tried some stuff already.
I have a few questions that maybe someone can clear for me:
1. what is the difference between CIC and CIC Business that the autorun script isn't working?
2. is it possbile to run CIC correctly outside of the car?

Thanks!
 

ccfj1

Specialist
Jul 26, 2018
65
57
0
UK
Ride
bmw e92 n55 335i Sport manual
1: the CIC Business has no hdd and has a limited navigation setup, it also only runs small screen. cic pro, has wide screen and hdd.
2: yes very possible, i have a bench setup that allows this.

wcJZOO5l.jpg
 

madac1980

New Member
Jan 1, 2020
3
0
0
Ride
bmw
1: the CIC Business has no hdd and has a limited navigation setup, it also only runs small screen. cic pro, has wide screen and hdd.
2: yes very possible, i have a bench setup that allows this.

View attachment 39272
Thanks for answering!
1. I was more interested in a comparison between the QNX in CIC/P vs CIC/B Business. I suppose the USB drive mounts on CIC/B too, but the script is not executed. Is it still possble to connect via telnet like in CIC/P case? Would it be possible to do some customization like has been shown in this thread for CIC/P? I am interested in the topic beyond maps.
2. what is needed to run the CIC/P standalone? Would it work same way on CIC/B?

I am thinking to buy a CIC/B since my car has CIC/P and I get limited access to CIC/B from time to time.