Dthiriez_ | Hi Stoffe, no worries, I need to d/l an IRC client so I hear the messages come through | 00:18 |
---|---|---|
Dthiriez_ | I was looking through my set up and am wondering what config, if any, is needed at rvibackend | 00:19 |
Dthiriez_ | I tried matching your setup on rvi-test1.nginfotpdx.net | 00:20 |
stoffe | I noticed Thunderbird is pretty good ... | 00:22 |
Dthiriez_ | thx! Downloading it now :) | 00:23 |
Dthiriez_ | Do you happen to know if mobile app => backend communication is dependent on having the phone and raspi details recorded at rvibackend? Still a bit fuzzy on how rvi_core and rvibackend interact with each other on the web server. | 00:27 |
stoffe | AFAIK there is no correlation ... | 00:30 |
stoffe | only thing I know is that your mobile device IMSI has to be matching for backend to push a digital key ... | 00:30 |
stoffe | that is the only thing I know of | 00:30 |
stoffe | Have a look at http://rvi-test1.nginfotpdx.net:8000/admin/devices/device/ | 00:32 |
stoffe | there is a stoffe device ... | 00:32 |
Dthiriez_ | hmm, so should only have to do with the backend's RVI_core and the mobile app's connection to it | 00:32 |
stoffe | yes | 00:33 |
Dthiriez_ | I've added the same to my server. however with updated uuid | 00:33 |
stoffe | unless there is something new checked in ... last couple of days | 00:33 |
stoffe | cool yes you can see your ID in the Android settings menu | 00:34 |
stoffe | but I guess you already figured it out | 00:34 |
Dthiriez_ | ahh. I've been using "jlr.com/mobile/"+ tm.getDeviceId()+"/control/status";, the device ID shown in the android logs | 00:34 |
Dthiriez_ | that's equivalent, right? | 00:35 |
stoffe | yep same thing | 00:36 |
Dthiriez_ | k. Mind if I send over my Android logs? Maybe you'll notice some discrepancies between your setup and mine | 00:38 |
Dthiriez_ | http://pastebin.com/5SyHvBKt Android logs for unlock app "front-end" branch | 00:41 |
stoffe | this is the old code still right ? | 00:43 |
Dthiriez_ | should be "front-end" branch | 00:43 |
Dthiriez_ | but let me double check | 00:44 |
stoffe | ok I just saw another beacon parser ... maybe I dod not cleanup well on output :-) | 00:44 |
Dthiriez_ | D'oh, I downloaded the master branch. Let me fix that and try again with front-end branch | 00:45 |
stoffe | ok, no problem | 00:47 |
Dthiriez_ | building, I'll provide link to logs once up and running on my phone. thank you for your help! | 00:50 |
stoffe | Ok, should be much better interaction with the server on that build. | 00:51 |
stoffe | Btw, I just discovered a very strange thing with the BTLE on Android ... will need to dig more | 00:54 |
stoffe | My Sony phone scans and reports beacons in 10hz .... on the HTC phone .. 1Hz !!! | 00:54 |
stoffe | And I think Magnus Nexus also seems to do 1 Hz! | 00:55 |
stoffe | that makes a big difference in ranging ... | 00:55 |
stoffe | Android ... write once, adapt 1000 times ... almost the Java promise ... | 00:55 |
Dthiriez_ | lol | 00:56 |
Dthiriez_ | frontend branch app logs are here http://pastebin.com/Zu04n9Us, and correct, I'm observing a bit more traffic on my backend's rvi_core | 00:58 |
Dthiriez_ | how are you checking the beacon frequencies? I'll give it a look on my Nexus5 | 00:59 |
stoffe | https://github.com/stoffeg/BTLEView | 01:04 |
stoffe | I made a separate app so I can experiment ... I also tried the new 21 API but same result ... | 01:04 |
stoffe | From the trace it looked good ... | 01:05 |
Dthiriez_ | Also, I'm thinking the exception "W/Bundle﹕ Key profile expected String but value was a java.lang.Long. The default value <null> was returned." could have to do with my rvibackend. RVI_core logs show "20:52:36.493 [debug] notify_subscribers(dlink_tcp_rpc:["jlr.com/mobile/xx/dm/cert_provision"]) unavailable" | 01:05 |
stoffe | I have to fix that print exception ... | 01:05 |
stoffe | ok, but it should still be more robust on my side :-) | 01:06 |
stoffe | Did you notice the now 3 HCI commands ? | 01:07 |
stoffe | sudo hcitool -i hci0 cmd 0x08 0x0008 1E 02 01 1A 1A FF 4C 00 02 15 33 43 33 43 46 46 47 45 38 45 54 32 39 31 34 30 39 00 00 00 C5 00 | 01:07 |
stoffe | sudo hcitool -i hci0 cmd 0x08 0x0006 A0 00 A0 00 03 00 00 00 00 00 00 00 00 07 00 | 01:07 |
stoffe | sudo hcitool -i hci0 cmd 0x08 0x000a 01 | 01:07 |
stoffe | I have validated that this gives ~ 10 Hz | 01:08 |
Dthiriez_ | let me check, should be the same on my raspi | 01:08 |
Dthiriez_ | updating Android buildtools, I'll let you know what I see via BTLEView once running | 01:09 |
stoffe | cool, thanks! | 01:11 |
Dthiriez_ | aha did not take into account those 3 commands | 01:12 |
Dthiriez_ | I only have -- hcitool -i hci0 cmd 0x08 0x0008 1E 02 01 1A 1A FF 4C 00 02 15 92 77 83 0A B2 EB 49 0F A1 DD 7F E3 8C 49 2E DE 00 00 00 00 C5 00 | 01:12 |
Dthiriez_ | adding the other 2 | 01:13 |
stoffe | ok | 01:14 |
stoffe | use all 3 | 01:14 |
stoffe | even the first one is different ... it matches the VIN of my Fiat :-) | 01:15 |
stoffe | just in case I did not comment out the 100% match code | 01:15 |
stoffe | I also added that you can do a 1-15 digit match | 01:15 |
stoffe | so if you only want to match JLR vehicles manufactured in UK .... then match first 8 | 01:15 |
Dthiriez_ | lol that's pretty trippy to match | 01:15 |
stoffe | Now that Sergio's cars are getting hacked maybe he wants to buy our system :-D | 01:16 |
Dthiriez_ | Crossed my mind too, I think it's a great opportunity to standout in terms of security | 01:18 |
Dthiriez_ | Checking BTLEView and I'm seeing the distance vary a lot | 01:19 |
stoffe | Yes this is expected ... that is why its important to buffer and throw away some ... and calculate a mean .. | 01:20 |
Dthiriez_ | I see a lot of "Rejected ADV = " in the logs is that normal? | 01:20 |
Dthiriez_ | aha | 01:20 |
stoffe | the rejected is non iBeacons | 01:20 |
stoffe | do you have Gimbal? | 01:21 |
stoffe | no, actually I drop Gimbal without print | 01:21 |
stoffe | so you have something else. | 01:21 |
Dthiriez_ | no, let me check, what is it :P | 01:21 |
*** waltminer has quit IRC | 01:26 | |
*** waltminer has joined #automotive | 01:27 | |
stoffe | Are you getting a Freq value? | 01:30 |
Dthiriez_ | yes, it's changing a lot too: 1, -1, -2, 0, and I think at one point I saw 10 | 01:31 |
stoffe | 10 would be great ... that is 10hz | 01:34 |
stoffe | I just hope you did not see -10 | 01:34 |
stoffe | -1 is missed HB and if it gets to 20 it goes away from list | 01:34 |
*** jlrmagnus has left #automotive | 01:39 | |
Dthiriez_ | moving the phone closer to the raspi | 01:42 |
Dthiriez_ | it's staying pretty consistent between 1 and 0 | 01:43 |
Dthiriez_ | Thank you for your help Stoffe, I'm gonna pick up my debug tomorrow am. Good night | 01:47 |
stoffe | Ok, cool ! | 01:48 |
*** Dthiriez_ has quit IRC | 01:48 | |
*** waltminer has quit IRC | 02:16 | |
*** stoffe has quit IRC | 02:20 | |
*** dthiriez has quit IRC | 02:35 | |
*** waltminer has joined #automotive | 02:48 | |
*** dthiriez has joined #automotive | 03:13 | |
*** dthiriez has quit IRC | 03:16 | |
weston | good morning friends.. I have a presentation today on some protocol.. japansese audience | 03:55 |
waltminer | weston - you must be from the future. It is midnight here | 04:48 |
persia | http://www.total-knowledge.com/~ilya/mips/ugt.html is an interesting read about "good morning" on freenode. | 05:10 |
waltminer | Yeah - just getting loopy. It’s late | 06:35 |
*** waltminer has quit IRC | 06:46 | |
JEEB | japanese is one of those markets where it really helps if you can do the language :) | 07:36 |
JEEB | *japan | 07:37 |
JEEB | (I need more coffee) | 07:37 |
* paulsherwood too | 07:37 | |
rjek | Needing more coffee is the only state of being I know. | 07:51 |
CTtpollard | Should I expect a welcome / confirmation emailing email from genivi-projects mailing list? | 08:01 |
CTtpollard | without the emailing | 08:01 |
rjek | When you sign up? Yes, you should, because it's Mailman | 08:02 |
CTtpollard | I've not had anything, subscribed on Wednesday iirc | 08:02 |
rjek | There have been postings to the list, so that suggests the subscription request didn't happen | 08:03 |
rjek | So I'd suggest trying again :) | 08:04 |
CTtpollard | I have, I tried again yesterday | 08:04 |
* rjek tries subscribing using personal address | 08:05 | |
rjek | I would have expected an automated email by now, but there has been none | 08:06 |
rjek | So either they've broken their mailing list, or they have manual subscription approval turned on and somebody's not processing the requests. | 08:06 |
CTtpollard | the latter I would guess | 08:06 |
rjek | paulsherwood: Do you happen to know who maintains the GENIVI lists? | 08:06 |
*** mdunford has joined #automotive | 08:07 | |
rjek | 2015-07-24 09:06:04 1ZIXzW-00007y-9n 213.131.239.194 / genivi-dev-owner@mail.genivi.org would have failed sender verification test | 08:09 |
rjek | Although that's a different issue | 08:09 |
*** RzR has quit IRC | 08:11 | |
*** RzR has joined #automotive | 08:13 | |
*** apinheiro has joined #automotive | 08:16 | |
*** jonathanmaw has joined #automotive | 08:23 | |
rjek | CTtpollard: I just received my subscription to my personal address... | 09:38 |
* rjek unsubscribes again | 09:38 | |
CTtpollard | rjek: same | 09:39 |
rjek | Somebody got their finger out then :) | 09:41 |
paulsherwood | rjek: maybe jeremiah, or joel replogle | 09:49 |
paulsherwood | joel is on holiday i believe | 09:50 |
* rjek nods | 09:50 | |
*** mdunford has quit IRC | 09:51 | |
*** mdunford has joined #automotive | 10:09 | |
*** mdunford has quit IRC | 10:16 | |
weston | back..just completed only one slide completed.. I think I got a "repeat" | 10:59 |
weston | paulsherwood: how was your session? | 11:10 |
*** mdunford has joined #automotive | 11:33 | |
*** fulup has joined #automotive | 12:30 | |
*** emaj has joined #automotive | 13:13 | |
weston | leaving for the day/. Have a nice weekend ahead! | 13:13 |
*** mdunford has quit IRC | 14:02 | |
*** jlrmagnus has joined #automotive | 14:11 | |
jlrmagnus | Morning | 14:12 |
*** mdunford has joined #automotive | 14:16 | |
paulsherwood | hi! :) | 14:22 |
fury | Hiya! | 14:25 |
*** fulup has quit IRC | 14:26 | |
*** riazantsev has joined #automotive | 14:51 | |
*** waltminer has joined #automotive | 15:17 | |
*** stoffe has joined #automotive | 15:22 | |
*** Dthiriez has joined #automotive | 15:47 | |
*** jonathanmaw has quit IRC | 15:48 | |
*** CTtpollard has quit IRC | 15:50 | |
*** waltminer has quit IRC | 16:14 | |
*** mdunford has quit IRC | 17:07 | |
*** c0dd3r5 has quit IRC | 17:10 | |
*** emaj has quit IRC | 17:45 | |
*** apinheiro has quit IRC | 17:49 | |
*** waltminer has joined #automotive | 19:13 | |
*** e8johan has joined #automotive | 20:35 | |
*** waltminer has quit IRC | 20:45 | |
*** waltminer has joined #automotive | 20:53 | |
*** e8johan has quit IRC | 21:51 | |
*** bbranch has joined #automotive | 21:57 | |
*** stoffe has quit IRC | 22:04 | |
*** bbranch has left #automotive | 22:09 | |
*** waltminer has quit IRC | 22:11 | |
*** waltminer has joined #automotive | 22:12 | |
*** bbranch has joined #automotive | 22:54 | |
*** bbranch has left #automotive | 22:55 | |
*** waltminer has quit IRC | 22:56 | |
*** waltminer has joined #automotive | 23:10 | |
*** waltminer has quit IRC | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!