way to generate a standalone sketch with eepromm with log to reference to capture files on due or uno #653
meowcatluke
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Do you think it will be possible that's once the ID's and frames and data has been collected so you know what IDs and frames you are interested in that you are able to then press the generate button to generate you code which would allowed to be uploaded on a due or Uno with the correct hardware of course to listen out for the IDs and frames "set" in a configuration builder and reply with either a set of frames in the code or refer to a capture file to reply back on the bus with this. All in order to create a standalone Arduino which its purpose is to correct the issue people initially first have which in my case is to repurpose some of the steering wheel buttons obviously in order to force the packages to be sent at the moment I need to send the frames with my PC.
with my duo atsam3x8e ideallyor esp or uno id like to connect either which I could bare bones install in the car so that I can have it automatically respond properly to fix the steering wheel buttons are pressed now that I know the IDs and values that the steering wheel buttons correspond to. but the generated config and capture file need to be compatible with the arduino ide and the capture files would have to be uploaded to an eepromm , under different file names . so a barebones due board could be created as to bring the costs down for the fix. allowing some after-the-fact code editing manually to code normally in the ide. since i upload with the flash tool to the due i have, i dont have access to the ide to try to rejig theh code to look out for frames and if found read from the eepromm to play back a file capture.
simply put, a barebones script with eepromm access to the files i could modify to create a low cost due to leave in my car. so no flash tool is needed so i can add on to it as and when i can.
like even a "man in the middle mode" would be great. whereif activated it puts out on the bus what it receives on bus one automatically unless there is a condition for an id and value, in which case packet manipulation . because i cant drive my pc around :p i need it to take care of some updates and improvements and retrofits and sit under the seat doing its job
if not in orbit or busy something or even far fetched can you add it in the request queueso that it is possible that you could upload some complimentary code for the due atsam3x8eor you know which would read from an eprom chip a file which reads that file exhaustively with all its packets depending on if one frame in particular is received and if another frame is received then respond on the bus with another differently named packet that's stored in the epromm. i go with eepromm since sdcards are more expensive and i imagine a single or few eepromm chips holding 2-3 captures and only triggered to play on the bus when a certain frame with value is heard .
LASTLY could you share you thoughts on a man in the middle attack version? there are a few devices i cant work around as they are active listeners on the network.
also whilst ive been thinking on this today, if there was a button you could press which as soon as you did inserted letters as the data packets in a form of a name you would give it , you could musch easier look back over the code at the time you pressed the button at the same time turning the steering wheel knowing your inserted "lookingforsteeringwheel" inserted data point at the same time as turning the wheel would be obvious when you looked back over the code to find the relation of when the SAS started moving.
then you did another one like "pressing brake" then pressed the brake , you could goto the capture file goto that data packet directly and look for the consequentual oother ID which is turning on and off at that exact time. all this could be done after the packet has been captured and you are in the comfort of your own house.
Beta Was this translation helpful? Give feedback.
All reactions