-
-
Notifications
You must be signed in to change notification settings - Fork 537
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
Add support for Calendar API #27
Comments
I don't believe there is an API, it's the iPhone app syncing with the car directly. |
Yep, @dewski is correct. The connection is done directly via Bluetooth. |
there is an API, the bluetooth connection is just controlling which calendar the car will display |
The car says you need to keep the phone backgrounded. Do you have any requests/responses that support an API? |
Here’s a sample from 2014 when I first hooked it up. The official apps send just a couple days worth of data. I never set up background tasks in my app and just have a manual push at the moment.
This is for an event from 3-4pm on Sunday 9/28/2014, with a Red category color on the appointment. Note the times here are milliseconds since 1970 (vs seconds since 1970 for the scheduled timer time) |
That looks valid. Sorry for closing so quickly. The phone_name is most likely the Bluetooth name for the phone. That's what the Summon and Homelink APIs use. I'll check the Android source for that uuid field. It's probably a hash of some stuff (BT name, broadcast MAC, etc etc). |
Yes, thanks Andy this is great info. Is the Bluetooth name typically what the car displays as the phone name? |
@mseminatore Yes, it's the Bluetooth name. On Android, you can set this via the Bluetooth settings. I believe on iOS, it's pulled from the name of the device (which applies in multiple contexts). |
Hey Andy, The JSON you shared looks like it may have some errors. Specifically {"calendar_data":{"access_disabled":false,"calendars":[{"color":"ff9a9cff","events":[{"color":"ff9a9cff","location":"1
LaLa St, Fremont CA","start":1411941600000,"organizer":"[email protected]
","name":"Testlled":false,"all_day":false,"tentative":false,"end":1411945200000}],"name":"
[email protected]"},{"color":"ff71aea7","[email protected]"}],"phone_name":"Nexus
5","uuid":"333239059961777"}} |
Hi @mseminatore and @timdorr
|
No description provided.
The text was updated successfully, but these errors were encountered: