Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Honk and Blink #52

Open
FireWizard52 opened this issue Aug 1, 2019 · 0 comments
Open

Honk and Blink #52

FireWizard52 opened this issue Aug 1, 2019 · 0 comments

Comments

@FireWizard52
Copy link

FireWizard52 commented Aug 1, 2019

Hello Erik,

After I got a new car some weeks ago, I decided to look once again to this issue.
Although some developers claim that the function honk and blink is supported I only see posts that users can't get it to work. However most users do not pay much attention to this function, but it would be nice to make it work. Some other developments are all based on your script, as you might know. So I don't think their claims are correct.

I tested it with, what I believe, all possible combinations of honk_and_blink and/or call but it didn't function.

So I decided to use a capture app on the phone and to capture the data send from the VoC app to the server.
Regarding honk and blink see the results below:

X-Client-Version: 4.4.5.21126
X-Device-Id: 55792eff9c2ac026
X-OS-Type: Android
X-App-Name: Volvo On Call
X-OS-Version: 23
X-Originator-Type: app
Accept: application/vnd.wirelesscar.com.voc.Service.v4+json; charset=utf-8
X-Request-Id: 436c176a-f547-4206-af85-c63a4364b0d8
Locale: en_GB
Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Content-Type: application/vnd.wirelesscar.com.voc.ClientPosition.v4+json; charset=utf-8
User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0.1; MotoG3 Build/MPIS24.107-55-2-17)
Host: vocapi.wirelesscar.net
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 94

{"clientAccuracy":0.0,"clientLatitude":lat_coordinate,"clientLongitude":lon_coordinate}

//Received command from VoC server to VoC application

HTTP/1.1 200 OK
Server: nginx
Date: Thu, 01 Aug 2019 13:52:38 GMT
Content-Type: application/vnd.wirelesscar.com.voc.Service.v4+json;charset=utf-8
Content-Length: 317
Connection: keep-alive
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-XSS-Protection: 1; mode=block
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000

{"status":"Started","statusTimestamp":"2019-08-01T13:52:38+0000","startTime":"2019-08-01T13:52:38+0000","serviceType":"RHBLF","failureReason":null,"service":"https://vocapi.wirelesscar.net/customerapi/rest/vehicles//services/number_7_digits","vehicleId":"","customerServiceId":"number_7_digits"}

// Send command from VoC application to VoC server

GET /customerapi/rest/vehicles//services/number_7_digits
HTTP/1.1
X-Client-Version: 4.4.5.21126
X-Device-Id: 55792eff9c2ac026
X-OS-Type: Android
X-App-Name: Volvo On Call
X-OS-Version: 23
X-Originator-Type: app
Accept: application/vnd.wirelesscar.com.voc.Service.v4+json; charset=utf-8
X-Request-Id: 8afe1536-8ad3-4748-873f-752c1ca478a9
Locale: en_GB
Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0.1; MotoG3 Build/MPIS24.107-55-2-17)
Host: vocapi.wirelesscar.net
Connection: Keep-Alive
Accept-Encoding: gzip

//Received command from VoC server to VoC application

HTTP/1.1 200 OK
Server: nginx
Date: Thu, 01 Aug 2019 13:52:44 GMT
Content-Type: application/vnd.wirelesscar.com.voc.Service.v4+json;charset=utf-8
Content-Length: 326
Connection: keep-alive
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-XSS-Protection: 1; mode=block
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000

{"status":"MessageDelivered","statusTimestamp":"2019-08-01T13:52:41+0000","startTime":"2019-08-01T13:52:38+0000","serviceType":"RHBLF","failureReason":null,"service":"https://vocapi.wirelesscar.net/customerapi/rest/vehicles//services/number_7_digits","vehicleId":"","customerServiceId":"number_7_digits"}

//Send command from VoC application to VoC server

GET /customerapi/rest/vehicles//services/number_7_digits HTTP/1.1
X-Client-Version: 4.4.5.21126
X-Device-Id: 55792eff9c2ac026
X-OS-Type: Android
X-App-Name: Volvo On Call
X-OS-Version: 23
X-Originator-Type: app
Accept: application/vnd.wirelesscar.com.voc.Service.v4+json; charset=utf-8
X-Request-Id: eaf23680-a38b-4fcb-a0fc-147cb2ae1bed
Locale: en_GB
Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0.1; MotoG3 Build/MPIS24.107-55-2-17)
Host: vocapi.wirelesscar.net
Connection: Keep-Alive
Accept-Encoding: gzip

//Received command from VoC server to VoC application

HTTP/1.1 200 OK
Server: nginx
Date: Thu, 01 Aug 2019 13:52:54 GMT
Content-Type: application/vnd.wirelesscar.com.voc.Service.v4+json;charset=utf-8
Content-Length: 320
Connection: keep-alive
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-XSS-Protection: 1; mode=block
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000
{"status":"Successful","statusTimestamp":"2019-08-01T13:52:49+0000","startTime":"2019-08-01T13:52:38+0000","serviceType":"RHBLF","failureReason":null,"service":"https://vocapi.wirelesscar.net/customerapi/rest/vehicles//services/number_7_digits","vehicleId":"","customerServiceId":"number_7_digits"}

The lines after // are my comments.
For privacy reasons, I removed my VIN number and the lat and lon co-ordinates.
If you look to the message sequence, you see that they use a so called: "customerServiceId":"number_7_digits".
This is a seven digit number, that I have removed for privacy reasons as well.

The question is:
Is it possible to make honk and blink work?
Would be nice?

Regards,

Herman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant