IRC logs for #automotive for Thursday, 2015-07-23

*** riazantsev has quit IRC01:04
*** riazantsev has joined #automotive03:07
*** mdunford has joined #automotive08:12
*** Egy has joined #automotive08:13
*** jonathanmaw has joined #automotive08:18
*** Egy has quit IRC09:16
*** JEEB has quit IRC09:26
*** JEEB has joined #automotive09:27
*** kratz00_work has quit IRC09:33
*** kratz00_work has joined #automotive09:33
*** Egy has joined #automotive09:48
paulsherwoodw00t! ELCE has accepted my proposal for a Panel on Automotive Collaboration http://sched.co/3xXO09:52
paulsherwoodpls ping me if you're attending ELCE :-)09:52
* rjek tries to remember if he prefers Guinness of Caffrey's.10:00
westonhi all10:01
rjekor, even.10:01
paulsherwoodhi weston10:01
westonpaulsherwood: reading your profile :)10:02
* paulsherwood has several... a jack of all trades :-)10:02
westoncool10:02
* weston too junior in this channel 10:03
paulsherwoodweston: nope. we need new ideas and new people in automotive10:03
westonpaulsherwood: "He developed his first commercial software in 1981, founded Teleca in 1992"10:03
paulsherwoodweston: yup, i'm old! :)10:03
westonpaulsherwood my parents not married in that time10:04
paulsherwoodlol. well, i thought my code was pretty good by the time i was 21... only recently i discovered how much there is still to learn :)10:05
westonpaulsherwood: nice10:05
CTtpollardweston: maybe others are too old10:06
westoncool. lucky myself , for getting chance to meet giants10:06
westonI'm just a research scholar10:07
* rjek wrote his first commericial software in 1989, and was only just born when paulsherwood wrote his.10:07
westonI am wondering the languages used in that time? C?10:08
westonand like to see that program now10:08
westonand the OS used10:08
westonand the PC's used10:08
westonesp RAM, HDD etc10:08
paulsherwoodlol... the source for my very first program is here... http://www.devcurmudgeon.com/my-briefcase-is-older-than-you.html10:09
* paulsherwood should get back to changing the world, instead of reminiscing :-)10:10
westonpaulsherwood: great thanks..inspiring!10:11
paulsherwoodlol. that code is pretty awful. but it does demonstrate a 'procedurally generated universe'... i like to think of it as a precursor to No Man's Sky :-)10:12
westonpaulsherwood: you know, I am inspired with the article as a whole10:13
* rjek 's was a viewdata management system, written in 6502 and BBC Basic.10:13
paulsherwoodweston: thank you10:13
westonpaulsherwood: welcome10:13
westonpaulsherwood: you know, In India, the computer education came very late10:16
paulsherwoodyup10:16
westonand because of that, we have less contribution to this area as a whole10:16
westonbut now, things changed10:16
paulsherwoodweston: but it's ok... there's still a lot to learn :-)10:16
westonand in my Uni, you know, everything is open source10:17
westonand Govt only promotes open source stuffs10:19
westonThe only MS product I use are MPP and MS Visio10:20
CTtpollardweston: far more open than my University then :)10:20
westonwhich is your Uni10:21
CTtpollardweston: I finished my degree last year at the University of Leeds10:22
westonok10:22
westonanybody here do some ISO26262 engineering?10:23
*** Egy has quit IRC10:25
* weston is searching any ASIL A compliant open source OS, 10:26
westonplanning to implement some ASIL A software10:26
mdunfordweston: Have you looked at Autosar?10:29
westonmdunford: yes, but I am not using automotive micro10:30
westonusing some general purpose processor from nvidia,freescale or renesas10:31
* weston worked in AUTOSAR OS team for 3.0 version10:32
westonfor some tier 110:32
rjekThere was some thing that provided the AUTOSAR API on top of Linux, but I don't know how mature it is.10:33
rjekobv. no real time10:33
paulsherwoodis that ionas?10:33
rjekIt could be; I've sadly forgotten the name.10:34
westonsorry10:41
westonI read safety engineering is a mandatory requirements for all OEM's10:44
westonalso, in some pages, now a days, integrated HMI is preferred. ie,  instrument cluster + head unit11:09
westonseamless display11:09
*** RzR has quit IRC11:19
*** RzR has joined #automotive11:19
*** RzR has joined #automotive11:19
*** Egy has joined #automotive11:23
*** Egy has quit IRC12:35
*** Egy1 has joined #automotive12:35
*** mdunford has quit IRC12:35
*** riazantsev has quit IRC13:11
*** jonathanmaw has quit IRC13:32
*** jonathanmaw has joined #automotive13:35
*** jonathanmaw has quit IRC13:37
*** jonathanmaw has joined #automotive13:38
*** jonathanmaw has quit IRC13:40
*** FelixH has quit IRC13:42
*** FelixH has joined #automotive13:42
*** riazantsev has joined #automotive13:47
*** jonathanmaw has joined #automotive13:48
weston[idle] ?13:52
* rjek dances13:55
*** Egy1 has quit IRC14:04
*** Egy has joined #automotive14:27
westonleaving for the day. see you15:10
*** kooltux has joined #automotive15:56
*** waltminer has joined #automotive15:58
*** fulup has joined #automotive16:10
*** fulup has left #automotive16:15
*** fulup has joined #automotive16:15
*** fulup has quit IRC16:17
*** fulup has joined #automotive16:17
*** Dthiriez has joined #automotive16:18
*** fulup has joined #automotive16:18
*** waltminer has quit IRC16:20
*** jlrmagnus has quit IRC16:22
*** Egy has quit IRC16:23
*** waltminer has joined #automotive16:23
*** jonathanmaw has quit IRC16:27
*** jlrmagnus has joined #automotive16:35
jlrmagnusMorning.16:48
CTtpollardevening.16:48
*** Egy has joined #automotive16:51
Dthiriezgood morning17:03
jlrmagnusMorning David.17:03
DthiriezHi Magnus17:03
Dthiriezactually have a couple of questions for you after working with my rvi_unlock setup this morning17:04
jlrmagnusOk.17:04
jlrmagnusGo ahead.17:07
Dthiriez1st thing I'm observing on the mobile app is that my Raspi is being detected, "Car Discovered," but then transitions to "Car Out of Range." I never see it show up as "Connected to car"17:07
jlrmagnusHm.17:07
Dthiriezquoted messaging is from the mobile apps notifications17:08
jlrmagnusDo you see any traffic in the RP's RVI log?17:08
Dthiriezyes, on connecting and even when "Car Out of Range"17:08
jlrmagnusOk.17:09
jlrmagnusSo then you have the basics in place.17:09
jlrmagnusCan you pastebin your RasPi RVI config again, please.17:09
Dthiriezsure17:09
Dthiriezhttp://pastebin.com/tTUuNF91, raspi rvi_core .config17:12
jlrmagnusAh.17:12
jlrmagnusThe default routing rule uses is dlink_tcp_rpc. Should be dlink_tcp_bt17:13
jlrmagnusOne sec17:13
jlrmagnusActually. That was wrong of me.17:13
jlrmagnusIt will still work.17:13
*** RzR is now known as rZr17:14
jlrmagnusLGTM.17:14
jlrmagnusWhat happens, after the car connects, and you press the lock button on the app.17:14
jlrmagnusDoes that generate output on RVI?17:14
*** Dthiriez_ has joined #automotive17:17
Dthiriez_had to rejoin17:18
jlrmagnusk17:18
*** Dthiriez has quit IRC17:18
Dthiriez_logs show command received on the raspi rvi console for mobile app unlock17:19
jlrmagnusWell then, you are up and running.17:19
jlrmagnusNext step is to start messing with pins or CAN bus to actually actuate the locks of the vehicle.17:19
Dthiriez_http://pastebin.com/hHhrbZH8, sample logs from RVI17:20
Dthiriez_*RVI_core raspi17:21
Dthiriez_k17:21
jlrmagnusThat looks good.17:21
jlrmagnusDo you have log output from the python script?17:21
jlrmagnusfob.py...17:21
Dthiriez_yes, let me get that. However, it's currently showing errors regarding GPIO settings.17:22
jlrmagnusThose are most likely warnings.17:22
jlrmagnus?17:22
jlrmagnusI get them too, but they do work.17:23
jlrmagnusRight now, I'm pretty sure you have end to end communication from handset to fob.py and GPIO pins.17:23
Dthiriez_correction! Yes, they're not errors, just warnings17:23
jlrmagnusOk. Ignore those.17:23
jlrmagnusfob.py doesn't clean up after itself correctly.17:24
Dthiriez_http://pastebin.com/qWfFMXu8, raspi py logs17:25
Dthiriez_aha! I see that "Try cleaning up at the end of your program instead!"17:27
*** skf has joined #automotive17:28
jlrmagnusYep. You are pulling the GPIO pins.17:30
jlrmagnusSo do you have hardware integration with the ECU yet?17:30
*** dthiriez has joined #automotive17:31
Dthiriez_great! not yet, we'll be pursuing that beginning of next week in-vehicle17:31
Dthiriez_I think we'll have access to some hard wired connections as opposed to ECU integration for the first demo17:33
jlrmagnusAh yes.17:33
jlrmagnusNow I remember.17:33
jlrmagnusWill Motivo do that the integration?17:33
Dthiriez_potentially, or us17:34
jlrmagnusOk.17:34
*** fulup has quit IRC17:35
Dthiriez_Thanks for confirming my raspi > mobile app set up. I also wanted to check with you on the backend connectivity I'm observing17:35
Dthiriez_so far I'm only seeing logs show up on mobile app launch when it connects to the backend rvi and on killing the app for disconnect17:36
jlrmagnusOk.17:39
jlrmagnusYou should see some service registrations as well.17:39
Dthiriez_Is that expected? Are logs expected for mobile app events? I'm guessing they might go directly to rvi_backend instead of rvi_core though17:39
Dthiriez_k, let me confirm that17:39
jlrmagnusTry ./python/rvi_get_services.py to see if any services with the word 'stoffe' shows up17:39
Dthiriez_k, trying17:42
*** waltminer has quit IRC17:43
Dthiriez_mobile app is up, connection log shown on the backend rvi_core, but no services show up on running the rvi_get_services.py17:45
jlrmagnusAh.17:45
jlrmagnusOne sec.17:45
jlrmagnusIn the android app settings, have you changed RVI server to the IP address of your backend server.17:46
jlrmagnusAlso: Make sure that port 8807 is open to your server in the firewall.17:46
Dthiriez_aha, changing the ip address17:46
jlrmagnusk17:46
Dthiriez_firewall config should already be taken care of on my aws instance, but I'll double check that too17:47
jlrmagnusJust telnet to the ip address 8807. If you see a debug message on the RVI, the firewall is open.17:48
Dthiriez_k, trying that too. thanks!17:50
jlrmagnusnp17:50
Dthiriez_yup, telnet worked fine for that port17:51
jlrmagnusOk.17:51
jlrmagnusSo once you've restarted the android app after reconfiguring it, you should see traffic on your RVI server.17:52
Dthiriez_restarting the app and checking logs17:52
Dthiriez_changing RVI server to my backend's ip address in the app, first check didn't show services with rvi_get_services.py17:54
jlrmagnusOk. ANd the app restart was done after chaning the RVI server address?17:55
Dthiriez_yes, killed the app and relaunched it17:55
*** Egy has quit IRC17:56
Dthiriez_ahh logs are looking different on the backend rvi_core17:57
Dthiriez_adding to pastebin17:58
Dthiriez_rvi_core backend logs (mobile app connectivity), http://pastebin.com/Hq0b8NMc18:02
jlrmagnusChecking18:02
Dthiriez_thx!18:03
jlrmagnusLots of connect and disconnects, but no traffic.18:05
jlrmagnusI don't know what is going on there.18:06
jlrmagnusYou are running release-0.4.0 on the backend, correct?18:06
Dthiriez_yes18:06
jlrmagnusThis is a question for stoffe, I believe.18:07
jlrmagnusOne sec.18:07
jlrmagnusWhat's the IP of your server?18:07
Dthiriez_54.172.25.25418:08
Dthiriez_I'm seeing additional messages in the backend logs, looks like more than connects and disconnects. I'll paste those too18:09
Dthiriez_http://pastebin.com/tquQLdkx18:10
jlrmagnusConnected a local RVI to your RVI server.18:10
jlrmagnusOne sec18:10
Dthiriez_k, ready to check for available services18:11
jlrmagnusWorks.18:11
jlrmagnusI've registered jlr.com/vin/afc0a6d8-0264-4f8a-bb3e-51ff8655b51c/test on my local RVI server, and it was propagated to you.18:11
jlrmagnuscd python18:11
Dthiriez_$ python ./python/rvi_get_services.py jlr.com/vin/afc0a6d8-0264-4f8a-bb3e-51ff8655b51c/test18:12
jlrmagnus./rvi_call jlr.com/vin/afc0a6d8-0264-4f8a-bb3e-51ff8655b51c/test a=b18:12
Dthiriez_seeing it! :)18:12
Dthiriez_trying rvi_call18:12
jlrmagnusTry the call above.18:12
*** Egy has joined #automotive18:12
Dthiriez_hmm not finding rvi_call18:13
jlrmagnuscd python18:13
jlrmagnus./rvi_call.py ...18:13
Dthiriez_oops! .py18:13
jlrmagnusSorry.18:14
jlrmagnusSaw that18:14
jlrmagnusService invoked!18:14
jlrmagnusargs: {u'a': u'b'}18:14
Dthiriez_nope, my bad!18:14
jlrmagnusSo it works.18:14
Dthiriez_success on my side too18:14
jlrmagnusThis is, in other words, an issue with the Android app.18:14
jlrmagnusI'll see if I can get Kristoffer @ Ericsson to join.18:15
Dthiriez_k, thank you for your help! I'll standby18:15
*** waltminer has joined #automotive18:15
jlrmagnusStoffe is on his way.18:16
jlrmagnusHello Walt.18:16
Dthiriez_k, thx18:17
*** stoffe has joined #automotive18:19
Dthiriez_Hi Kristoffer18:21
jlrmagnusHello Stoffe.18:21
jlrmagnusBackground:18:21
stoffedamn fast18:21
jlrmagnusWe have android - RasPi working nicely.18:21
waltminerHello Magnus18:21
jlrmagnusDavid has setup his own backend server.18:21
stoffegreat18:21
jlrmagnusDavid changed the setup in the android app to connect to his backend server instead of rvi-test1.nginfotpdx.net18:22
jlrmagnusrestart18:22
jlrmagnus* restart app18:22
jlrmagnusWe see connect/disconnects on the backend server, but not service registration.18:22
jlrmagnusGotta go.18:22
jlrmagnusI think you can sort it out between you.18:22
jlrmagnusBack in 20 min18:22
stoffeok, so is there a wireshark trace or something ?18:23
stoffeguessing its regular TCP18:23
Dthiriez_yes, but no wireshark trace18:23
Dthiriez_I can work on getting that if needed though18:24
rZrulf`, hi18:24
stoffeok, but not sure how much is there ...18:24
stoffebecause the main branch is the version that just connects ... I dont think its doing anything with the Cert18:25
Dthiriez_for RVI Server, should I modify in code via private void connectCloud() or via in-app settings?18:25
Dthiriez_ahhh I see18:25
stoffethey do the same thing ...18:26
Dthiriez_that could explain it, Magnus checked over my rvi_core backend logs and was only seeing connects and disconnects18:26
Dthiriez_k, that's what I thought18:26
stoffebut its probably more convenient to do it in the code while testing or else you have to change every time you load a new version18:27
Dthiriez_k, updating the mobile app code to my server's ip18:28
Dthiriez_checking rvi_core backend logs18:30
Dthiriez_I should also expect for the mobile app's rvi services to be shared with the backend on connect, correct?18:33
stoffelet me check the code ... I think it waits for an AU first18:33
Dthiriez_k. Authorized user?18:36
stoffeOk, so I double checked. If you just use the version from master it will just parse and print incoming JSON ... thats it18:39
stoffebecause that is the version that does all the BT commands without auth18:39
stoffeIf you want the latest its still in my repo ...18:40
stoffehttps://github.com/stoffeg/rvi_mobile_unlock/tree/front-end18:40
Dthiriez_aha, k! thanks for clarifying. I'm checking out the new branch now18:40
stoffeThat one will answer ... also register a service that Rudis server will send a message JWT ....18:41
stoffethen I will send that JWT on the next AU message over BT18:42
stoffebut I do not persist the JWT ... (better for testing) so after restart you need to push a key from server again18:42
stoffejust so you know18:43
*** Egy has quit IRC18:43
*** skf has quit IRC18:43
stoffealso you have to check with Magnus ... Im sending the JWT but I dont know how well he is validating ...18:43
*** skf has joined #automotive18:46
Dthiriez_k, let's check with him when back18:46
Dthiriez_also, have to see that my server will accept the registration and send the JWT18:47
stoffelet me know, going 4 lunch18:50
Dthiriez_hmm, seeing the same messaging on rvi_core logs as I was with the master branch of the app18:53
Dthiriez_k, thx! I'll look through my setup and catch up later18:55
*** waltminer has quit IRC18:58
Dthiriez_be back in a few hours, have a meeting at 1pm pdt19:01
*** waltminer has joined #automotive19:07
*** dthiriez has quit IRC19:17
*** Dthiriez_ has quit IRC19:20
*** Egy has joined #automotive19:29
*** FelixH has quit IRC19:32
*** rZr is now known as RzR19:50
*** FelixH has joined #automotive20:01
*** AlisonChaiken has quit IRC20:04
*** AlisonChaiken has joined #automotive20:18
*** dthiriez has joined #automotive20:38
*** Dthiriez_ has joined #automotive20:40
*** riazantsev has quit IRC20:43
*** dthiriez has quit IRC21:07
*** Dthiriez_ has quit IRC21:11
*** kooltux has quit IRC21:29
*** dthiriez has joined #automotive21:29
*** waltminer has quit IRC21:33
*** waltminer has joined #automotive21:48
*** dthiriez has quit IRC21:56
*** waltminer has quit IRC22:06
*** dthiriez has joined #automotive22:13
*** Dthiriez_ has joined #automotive22:14
Dthiriez_Hi Stoffe22:25
*** waltminer has joined #automotive22:37
*** Egy has quit IRC22:57
*** waltminer has quit IRC23:16
*** sebh has quit IRC23:32
*** sebh has joined #automotive23:32
stoffeHi David, sorry now back at the keyb ...23:40
*** waltminer has joined #automotive23:55
*** skf has quit IRC23:58

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!