*** riazantsev has quit IRC | 01:04 | |
*** riazantsev has joined #automotive | 03:07 | |
*** mdunford has joined #automotive | 08:12 | |
*** Egy has joined #automotive | 08:13 | |
*** jonathanmaw has joined #automotive | 08:18 | |
*** Egy has quit IRC | 09:16 | |
*** JEEB has quit IRC | 09:26 | |
*** JEEB has joined #automotive | 09:27 | |
*** kratz00_work has quit IRC | 09:33 | |
*** kratz00_work has joined #automotive | 09:33 | |
*** Egy has joined #automotive | 09:48 | |
paulsherwood | w00t! ELCE has accepted my proposal for a Panel on Automotive Collaboration http://sched.co/3xXO | 09:52 |
---|---|---|
paulsherwood | pls ping me if you're attending ELCE :-) | 09:52 |
* rjek tries to remember if he prefers Guinness of Caffrey's. | 10:00 | |
weston | hi all | 10:01 |
rjek | or, even. | 10:01 |
paulsherwood | hi weston | 10:01 |
weston | paulsherwood: reading your profile :) | 10:02 |
* paulsherwood has several... a jack of all trades :-) | 10:02 | |
weston | cool | 10:02 |
* weston too junior in this channel | 10:03 | |
paulsherwood | weston: nope. we need new ideas and new people in automotive | 10:03 |
weston | paulsherwood: "He developed his first commercial software in 1981, founded Teleca in 1992" | 10:03 |
paulsherwood | weston: yup, i'm old! :) | 10:03 |
weston | paulsherwood my parents not married in that time | 10:04 |
paulsherwood | lol. 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 |
weston | paulsherwood: nice | 10:05 |
CTtpollard | weston: maybe others are too old | 10:06 |
weston | cool. lucky myself , for getting chance to meet giants | 10:06 |
weston | I'm just a research scholar | 10:07 |
* rjek wrote his first commericial software in 1989, and was only just born when paulsherwood wrote his. | 10:07 | |
weston | I am wondering the languages used in that time? C? | 10:08 |
weston | and like to see that program now | 10:08 |
weston | and the OS used | 10:08 |
weston | and the PC's used | 10:08 |
weston | esp RAM, HDD etc | 10:08 |
paulsherwood | lol... the source for my very first program is here... http://www.devcurmudgeon.com/my-briefcase-is-older-than-you.html | 10:09 |
* paulsherwood should get back to changing the world, instead of reminiscing :-) | 10:10 | |
weston | paulsherwood: great thanks..inspiring! | 10:11 |
paulsherwood | lol. 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 |
weston | paulsherwood: you know, I am inspired with the article as a whole | 10:13 |
* rjek 's was a viewdata management system, written in 6502 and BBC Basic. | 10:13 | |
paulsherwood | weston: thank you | 10:13 |
weston | paulsherwood: welcome | 10:13 |
weston | paulsherwood: you know, In India, the computer education came very late | 10:16 |
paulsherwood | yup | 10:16 |
weston | and because of that, we have less contribution to this area as a whole | 10:16 |
weston | but now, things changed | 10:16 |
paulsherwood | weston: but it's ok... there's still a lot to learn :-) | 10:16 |
weston | and in my Uni, you know, everything is open source | 10:17 |
weston | and Govt only promotes open source stuffs | 10:19 |
weston | The only MS product I use are MPP and MS Visio | 10:20 |
CTtpollard | weston: far more open than my University then :) | 10:20 |
weston | which is your Uni | 10:21 |
CTtpollard | weston: I finished my degree last year at the University of Leeds | 10:22 |
weston | ok | 10:22 |
weston | anybody here do some ISO26262 engineering? | 10:23 |
*** Egy has quit IRC | 10:25 | |
* weston is searching any ASIL A compliant open source OS, | 10:26 | |
weston | planning to implement some ASIL A software | 10:26 |
mdunford | weston: Have you looked at Autosar? | 10:29 |
weston | mdunford: yes, but I am not using automotive micro | 10:30 |
weston | using some general purpose processor from nvidia,freescale or renesas | 10:31 |
* weston worked in AUTOSAR OS team for 3.0 version | 10:32 | |
weston | for some tier 1 | 10:32 |
rjek | There was some thing that provided the AUTOSAR API on top of Linux, but I don't know how mature it is. | 10:33 |
rjek | obv. no real time | 10:33 |
paulsherwood | is that ionas? | 10:33 |
rjek | It could be; I've sadly forgotten the name. | 10:34 |
weston | sorry | 10:41 |
weston | I read safety engineering is a mandatory requirements for all OEM's | 10:44 |
weston | also, in some pages, now a days, integrated HMI is preferred. ie, instrument cluster + head unit | 11:09 |
weston | seamless display | 11:09 |
*** RzR has quit IRC | 11:19 | |
*** RzR has joined #automotive | 11:19 | |
*** RzR has joined #automotive | 11:19 | |
*** Egy has joined #automotive | 11:23 | |
*** Egy has quit IRC | 12:35 | |
*** Egy1 has joined #automotive | 12:35 | |
*** mdunford has quit IRC | 12:35 | |
*** riazantsev has quit IRC | 13:11 | |
*** jonathanmaw has quit IRC | 13:32 | |
*** jonathanmaw has joined #automotive | 13:35 | |
*** jonathanmaw has quit IRC | 13:37 | |
*** jonathanmaw has joined #automotive | 13:38 | |
*** jonathanmaw has quit IRC | 13:40 | |
*** FelixH has quit IRC | 13:42 | |
*** FelixH has joined #automotive | 13:42 | |
*** riazantsev has joined #automotive | 13:47 | |
*** jonathanmaw has joined #automotive | 13:48 | |
weston | [idle] ? | 13:52 |
* rjek dances | 13:55 | |
*** Egy1 has quit IRC | 14:04 | |
*** Egy has joined #automotive | 14:27 | |
weston | leaving for the day. see you | 15:10 |
*** kooltux has joined #automotive | 15:56 | |
*** waltminer has joined #automotive | 15:58 | |
*** fulup has joined #automotive | 16:10 | |
*** fulup has left #automotive | 16:15 | |
*** fulup has joined #automotive | 16:15 | |
*** fulup has quit IRC | 16:17 | |
*** fulup has joined #automotive | 16:17 | |
*** Dthiriez has joined #automotive | 16:18 | |
*** fulup has joined #automotive | 16:18 | |
*** waltminer has quit IRC | 16:20 | |
*** jlrmagnus has quit IRC | 16:22 | |
*** Egy has quit IRC | 16:23 | |
*** waltminer has joined #automotive | 16:23 | |
*** jonathanmaw has quit IRC | 16:27 | |
*** jlrmagnus has joined #automotive | 16:35 | |
jlrmagnus | Morning. | 16:48 |
CTtpollard | evening. | 16:48 |
*** Egy has joined #automotive | 16:51 | |
Dthiriez | good morning | 17:03 |
jlrmagnus | Morning David. | 17:03 |
Dthiriez | Hi Magnus | 17:03 |
Dthiriez | actually have a couple of questions for you after working with my rvi_unlock setup this morning | 17:04 |
jlrmagnus | Ok. | 17:04 |
jlrmagnus | Go ahead. | 17:07 |
Dthiriez | 1st 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 |
jlrmagnus | Hm. | 17:07 |
Dthiriez | quoted messaging is from the mobile apps notifications | 17:08 |
jlrmagnus | Do you see any traffic in the RP's RVI log? | 17:08 |
Dthiriez | yes, on connecting and even when "Car Out of Range" | 17:08 |
jlrmagnus | Ok. | 17:09 |
jlrmagnus | So then you have the basics in place. | 17:09 |
jlrmagnus | Can you pastebin your RasPi RVI config again, please. | 17:09 |
Dthiriez | sure | 17:09 |
Dthiriez | http://pastebin.com/tTUuNF91, raspi rvi_core .config | 17:12 |
jlrmagnus | Ah. | 17:12 |
jlrmagnus | The default routing rule uses is dlink_tcp_rpc. Should be dlink_tcp_bt | 17:13 |
jlrmagnus | One sec | 17:13 |
jlrmagnus | Actually. That was wrong of me. | 17:13 |
jlrmagnus | It will still work. | 17:13 |
*** RzR is now known as rZr | 17:14 | |
jlrmagnus | LGTM. | 17:14 |
jlrmagnus | What happens, after the car connects, and you press the lock button on the app. | 17:14 |
jlrmagnus | Does that generate output on RVI? | 17:14 |
*** Dthiriez_ has joined #automotive | 17:17 | |
Dthiriez_ | had to rejoin | 17:18 |
jlrmagnus | k | 17:18 |
*** Dthiriez has quit IRC | 17:18 | |
Dthiriez_ | logs show command received on the raspi rvi console for mobile app unlock | 17:19 |
jlrmagnus | Well then, you are up and running. | 17:19 |
jlrmagnus | Next 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 RVI | 17:20 |
Dthiriez_ | *RVI_core raspi | 17:21 |
Dthiriez_ | k | 17:21 |
jlrmagnus | That looks good. | 17:21 |
jlrmagnus | Do you have log output from the python script? | 17:21 |
jlrmagnus | fob.py... | 17:21 |
Dthiriez_ | yes, let me get that. However, it's currently showing errors regarding GPIO settings. | 17:22 |
jlrmagnus | Those are most likely warnings. | 17:22 |
jlrmagnus | ? | 17:22 |
jlrmagnus | I get them too, but they do work. | 17:23 |
jlrmagnus | Right 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 warnings | 17:23 |
jlrmagnus | Ok. Ignore those. | 17:23 |
jlrmagnus | fob.py doesn't clean up after itself correctly. | 17:24 |
Dthiriez_ | http://pastebin.com/qWfFMXu8, raspi py logs | 17:25 |
Dthiriez_ | aha! I see that "Try cleaning up at the end of your program instead!" | 17:27 |
*** skf has joined #automotive | 17:28 | |
jlrmagnus | Yep. You are pulling the GPIO pins. | 17:30 |
jlrmagnus | So do you have hardware integration with the ECU yet? | 17:30 |
*** dthiriez has joined #automotive | 17:31 | |
Dthiriez_ | great! not yet, we'll be pursuing that beginning of next week in-vehicle | 17:31 |
Dthiriez_ | I think we'll have access to some hard wired connections as opposed to ECU integration for the first demo | 17:33 |
jlrmagnus | Ah yes. | 17:33 |
jlrmagnus | Now I remember. | 17:33 |
jlrmagnus | Will Motivo do that the integration? | 17:33 |
Dthiriez_ | potentially, or us | 17:34 |
jlrmagnus | Ok. | 17:34 |
*** fulup has quit IRC | 17:35 | |
Dthiriez_ | Thanks for confirming my raspi > mobile app set up. I also wanted to check with you on the backend connectivity I'm observing | 17: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 disconnect | 17:36 |
jlrmagnus | Ok. | 17:39 |
jlrmagnus | You 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 though | 17:39 |
Dthiriez_ | k, let me confirm that | 17:39 |
jlrmagnus | Try ./python/rvi_get_services.py to see if any services with the word 'stoffe' shows up | 17:39 |
Dthiriez_ | k, trying | 17:42 |
*** waltminer has quit IRC | 17: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.py | 17:45 |
jlrmagnus | Ah. | 17:45 |
jlrmagnus | One sec. | 17:45 |
jlrmagnus | In the android app settings, have you changed RVI server to the IP address of your backend server. | 17:46 |
jlrmagnus | Also: Make sure that port 8807 is open to your server in the firewall. | 17:46 |
Dthiriez_ | aha, changing the ip address | 17:46 |
jlrmagnus | k | 17:46 |
Dthiriez_ | firewall config should already be taken care of on my aws instance, but I'll double check that too | 17:47 |
jlrmagnus | Just 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 |
jlrmagnus | np | 17:50 |
Dthiriez_ | yup, telnet worked fine for that port | 17:51 |
jlrmagnus | Ok. | 17:51 |
jlrmagnus | So 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 logs | 17:52 |
Dthiriez_ | changing RVI server to my backend's ip address in the app, first check didn't show services with rvi_get_services.py | 17:54 |
jlrmagnus | Ok. ANd the app restart was done after chaning the RVI server address? | 17:55 |
Dthiriez_ | yes, killed the app and relaunched it | 17:55 |
*** Egy has quit IRC | 17:56 | |
Dthiriez_ | ahh logs are looking different on the backend rvi_core | 17:57 |
Dthiriez_ | adding to pastebin | 17:58 |
Dthiriez_ | rvi_core backend logs (mobile app connectivity), http://pastebin.com/Hq0b8NMc | 18:02 |
jlrmagnus | Checking | 18:02 |
Dthiriez_ | thx! | 18:03 |
jlrmagnus | Lots of connect and disconnects, but no traffic. | 18:05 |
jlrmagnus | I don't know what is going on there. | 18:06 |
jlrmagnus | You are running release-0.4.0 on the backend, correct? | 18:06 |
Dthiriez_ | yes | 18:06 |
jlrmagnus | This is a question for stoffe, I believe. | 18:07 |
jlrmagnus | One sec. | 18:07 |
jlrmagnus | What's the IP of your server? | 18:07 |
Dthiriez_ | 54.172.25.254 | 18:08 |
Dthiriez_ | I'm seeing additional messages in the backend logs, looks like more than connects and disconnects. I'll paste those too | 18:09 |
Dthiriez_ | http://pastebin.com/tquQLdkx | 18:10 |
jlrmagnus | Connected a local RVI to your RVI server. | 18:10 |
jlrmagnus | One sec | 18:10 |
Dthiriez_ | k, ready to check for available services | 18:11 |
jlrmagnus | Works. | 18:11 |
jlrmagnus | I've registered jlr.com/vin/afc0a6d8-0264-4f8a-bb3e-51ff8655b51c/test on my local RVI server, and it was propagated to you. | 18:11 |
jlrmagnus | cd python | 18:11 |
Dthiriez_ | $ python ./python/rvi_get_services.py jlr.com/vin/afc0a6d8-0264-4f8a-bb3e-51ff8655b51c/test | 18:12 |
jlrmagnus | ./rvi_call jlr.com/vin/afc0a6d8-0264-4f8a-bb3e-51ff8655b51c/test a=b | 18:12 |
Dthiriez_ | seeing it! :) | 18:12 |
Dthiriez_ | trying rvi_call | 18:12 |
jlrmagnus | Try the call above. | 18:12 |
*** Egy has joined #automotive | 18:12 | |
Dthiriez_ | hmm not finding rvi_call | 18:13 |
jlrmagnus | cd python | 18:13 |
jlrmagnus | ./rvi_call.py ... | 18:13 |
Dthiriez_ | oops! .py | 18:13 |
jlrmagnus | Sorry. | 18:14 |
jlrmagnus | Saw that | 18:14 |
jlrmagnus | Service invoked! | 18:14 |
jlrmagnus | args: {u'a': u'b'} | 18:14 |
Dthiriez_ | nope, my bad! | 18:14 |
jlrmagnus | So it works. | 18:14 |
Dthiriez_ | success on my side too | 18:14 |
jlrmagnus | This is, in other words, an issue with the Android app. | 18:14 |
jlrmagnus | I'll see if I can get Kristoffer @ Ericsson to join. | 18:15 |
Dthiriez_ | k, thank you for your help! I'll standby | 18:15 |
*** waltminer has joined #automotive | 18:15 | |
jlrmagnus | Stoffe is on his way. | 18:16 |
jlrmagnus | Hello Walt. | 18:16 |
Dthiriez_ | k, thx | 18:17 |
*** stoffe has joined #automotive | 18:19 | |
Dthiriez_ | Hi Kristoffer | 18:21 |
jlrmagnus | Hello Stoffe. | 18:21 |
jlrmagnus | Background: | 18:21 |
stoffe | damn fast | 18:21 |
jlrmagnus | We have android - RasPi working nicely. | 18:21 |
waltminer | Hello Magnus | 18:21 |
jlrmagnus | David has setup his own backend server. | 18:21 |
stoffe | great | 18:21 |
jlrmagnus | David changed the setup in the android app to connect to his backend server instead of rvi-test1.nginfotpdx.net | 18:22 |
jlrmagnus | restart | 18:22 |
jlrmagnus | * restart app | 18:22 |
jlrmagnus | We see connect/disconnects on the backend server, but not service registration. | 18:22 |
jlrmagnus | Gotta go. | 18:22 |
jlrmagnus | I think you can sort it out between you. | 18:22 |
jlrmagnus | Back in 20 min | 18:22 |
stoffe | ok, so is there a wireshark trace or something ? | 18:23 |
stoffe | guessing its regular TCP | 18:23 |
Dthiriez_ | yes, but no wireshark trace | 18:23 |
Dthiriez_ | I can work on getting that if needed though | 18:24 |
rZr | ulf`, hi | 18:24 |
stoffe | ok, but not sure how much is there ... | 18:24 |
stoffe | because the main branch is the version that just connects ... I dont think its doing anything with the Cert | 18:25 |
Dthiriez_ | for RVI Server, should I modify in code via private void connectCloud() or via in-app settings? | 18:25 |
Dthiriez_ | ahhh I see | 18:25 |
stoffe | they 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 disconnects | 18:26 |
Dthiriez_ | k, that's what I thought | 18:26 |
stoffe | but its probably more convenient to do it in the code while testing or else you have to change every time you load a new version | 18:27 |
Dthiriez_ | k, updating the mobile app code to my server's ip | 18:28 |
Dthiriez_ | checking rvi_core backend logs | 18:30 |
Dthiriez_ | I should also expect for the mobile app's rvi services to be shared with the backend on connect, correct? | 18:33 |
stoffe | let me check the code ... I think it waits for an AU first | 18:33 |
Dthiriez_ | k. Authorized user? | 18:36 |
stoffe | Ok, so I double checked. If you just use the version from master it will just parse and print incoming JSON ... thats it | 18:39 |
stoffe | because that is the version that does all the BT commands without auth | 18:39 |
stoffe | If you want the latest its still in my repo ... | 18:40 |
stoffe | https://github.com/stoffeg/rvi_mobile_unlock/tree/front-end | 18:40 |
Dthiriez_ | aha, k! thanks for clarifying. I'm checking out the new branch now | 18:40 |
stoffe | That one will answer ... also register a service that Rudis server will send a message JWT .... | 18:41 |
stoffe | then I will send that JWT on the next AU message over BT | 18:42 |
stoffe | but I do not persist the JWT ... (better for testing) so after restart you need to push a key from server again | 18:42 |
stoffe | just so you know | 18:43 |
*** Egy has quit IRC | 18:43 | |
*** skf has quit IRC | 18:43 | |
stoffe | also you have to check with Magnus ... Im sending the JWT but I dont know how well he is validating ... | 18:43 |
*** skf has joined #automotive | 18:46 | |
Dthiriez_ | k, let's check with him when back | 18:46 |
Dthiriez_ | also, have to see that my server will accept the registration and send the JWT | 18:47 |
stoffe | let me know, going 4 lunch | 18:50 |
Dthiriez_ | hmm, seeing the same messaging on rvi_core logs as I was with the master branch of the app | 18:53 |
Dthiriez_ | k, thx! I'll look through my setup and catch up later | 18:55 |
*** waltminer has quit IRC | 18:58 | |
Dthiriez_ | be back in a few hours, have a meeting at 1pm pdt | 19:01 |
*** waltminer has joined #automotive | 19:07 | |
*** dthiriez has quit IRC | 19:17 | |
*** Dthiriez_ has quit IRC | 19:20 | |
*** Egy has joined #automotive | 19:29 | |
*** FelixH has quit IRC | 19:32 | |
*** rZr is now known as RzR | 19:50 | |
*** FelixH has joined #automotive | 20:01 | |
*** AlisonChaiken has quit IRC | 20:04 | |
*** AlisonChaiken has joined #automotive | 20:18 | |
*** dthiriez has joined #automotive | 20:38 | |
*** Dthiriez_ has joined #automotive | 20:40 | |
*** riazantsev has quit IRC | 20:43 | |
*** dthiriez has quit IRC | 21:07 | |
*** Dthiriez_ has quit IRC | 21:11 | |
*** kooltux has quit IRC | 21:29 | |
*** dthiriez has joined #automotive | 21:29 | |
*** waltminer has quit IRC | 21:33 | |
*** waltminer has joined #automotive | 21:48 | |
*** dthiriez has quit IRC | 21:56 | |
*** waltminer has quit IRC | 22:06 | |
*** dthiriez has joined #automotive | 22:13 | |
*** Dthiriez_ has joined #automotive | 22:14 | |
Dthiriez_ | Hi Stoffe | 22:25 |
*** waltminer has joined #automotive | 22:37 | |
*** Egy has quit IRC | 22:57 | |
*** waltminer has quit IRC | 23:16 | |
*** sebh has quit IRC | 23:32 | |
*** sebh has joined #automotive | 23:32 | |
stoffe | Hi David, sorry now back at the keyb ... | 23:40 |
*** waltminer has joined #automotive | 23:55 | |
*** skf has quit IRC | 23:58 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!