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

merge back everything #3

Open
wants to merge 51 commits into
base: master
Choose a base branch
from
Open
Changes from 4 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
71bd0bd
Fixed Bluetooth Call Bug!!
Trevelopment Sep 2, 2017
9eca5d1
Merge branch 'master' into 'master'
Trevelopment Sep 2, 2017
549a9d0
v1.06 build
Trevelopment Nov 17, 2017
04bcd0e
v1.06b
Trevelopment Nov 17, 2017
960426e
I'VE DONE IT!!
Trevelopment Nov 18, 2017
b4794a0
Merge branch 'gartnera' into Use_unused_MLENT_stream
Trevelopment Nov 19, 2017
93151b9
Use the unused MLENT stream for AA
Trevelopment Nov 19, 2017
a1e67e2
Merge remote-tracking branch 'origin/releases' into Use_unused_MLENT_…
Trevelopment Nov 19, 2017
d922d2b
v1.07
Trevelopment Nov 19, 2017
7fcc826
Merge branch 'Use_unused_MLENT_stream'
Trevelopment Nov 19, 2017
522e994
Merge branch 'releases' into gps_fix
Trevelopment Nov 25, 2017
18a5f93
Merge branch 'gps_fix' into releases
Trevelopment Nov 25, 2017
d7f981b
Modified GPS Routines to make it stable from a /dev/ttyxxx to a dbus
Trevelopment Nov 27, 2017
c849b72
Merge
Trevelopment Nov 30, 2017
47b7a3b
Merge branch 'releases' into 1.07-release
Trevelopment Dec 2, 2017
7b4856d
1.07-release
Trevelopment Dec 2, 2017
ee97363
Merge remote-tracking branch 'gartnera/master' into releases
Trevelopment Dec 11, 2017
8a2fc01
Merge branch 'master' into releases
Trevelopment Dec 11, 2017
cc28447
Update AndroidAutoTmplt.js
Trevelopment Dec 11, 2017
13e6ec7
Merge branch 'master' into 'master'
Trevelopment Dec 11, 2017
476ee64
Wi fi (#9)
Trevelopment Aug 4, 2018
041787a
🗞
0xe25 Aug 11, 2018
697449c
🗞
0xe25 Aug 11, 2018
8d4f813
🗞
0xe25 Aug 11, 2018
2516b91
🗞
0xe25 Aug 11, 2018
80cf47b
🗞
0xe25 Aug 11, 2018
c12d34a
Merge branch 'p1' of gitlab.com-khantaena:mzdonline/headunit into p1
0xe25 Aug 11, 2018
b619ab7
🗞
0xe25 Aug 11, 2018
a5b22ae
check-usb.sh for detect android phone
0xe25 Aug 13, 2018
598f8d1
Merge branch 'MZD_Online/p1'
Trevelopment Sep 21, 2018
01bc86e
MUSIC and FAV button functions reversed (#8)
VitaliyKurokhtin Dec 8, 2018
0e5fdf1
Wi fi (#10)
Trevelopment Dec 13, 2018
d8333ef
Button fix
Trevelopment Dec 14, 2018
831d74f
More Button Fixes
Trevelopment Dec 22, 2018
8283515
Fix black screen issues when reopening/out of reverse
Trevelopment Jan 14, 2019
61ee618
Merge pull request #134 from Trevelopment/master
Trevelopment Jan 14, 2019
d46c7eb
#138: Detect the phone IP address and write it to the config file, wh…
Jun 17, 2019
e35d3d6
Correct the default IP address.
Jun 17, 2019
d220224
Roundabout formula fixed
VitaliyKurokhtin Aug 6, 2019
d62b015
Long press to release audio/video focus
VitaliyKurokhtin Aug 10, 2019
5161c53
Merge pull request #156 from VitaliyKurokhtin/roundabout
Trevelopment Aug 10, 2019
49d4c67
Merge pull request #157 from VitaliyKurokhtin/vvk/focus
Trevelopment Aug 10, 2019
af446a0
Merge pull request #153 from johnnyleitrim/master
Trevelopment Aug 19, 2019
08d1dea
Wrapper Tweaks
Trevelopment Aug 22, 2019
4a869a5
Working Wifi for Android 9 (Pie)
Trevelopment Aug 26, 2019
3a6b453
Hud units (#162)
VitaliyKurokhtin Oct 1, 2019
3890967
Possible solution for left-hand roundabouts (#168)
VitaliyKurokhtin Oct 25, 2019
9e370fc
Change set_head_unit_name to mazda to get mazda icon for exit button …
morpheus133 Feb 20, 2020
0f916da
Support for interleaved channel data (#174)
VitaliyKurokhtin Feb 20, 2020
54b38d6
Another merge case, getting turn event 3 with direction 3 for lane me…
VitaliyKurokhtin Feb 20, 2020
1cfb398
fix hud display will be clear sometimes. (#185)
leonunix May 15, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion mazda/callbacks.cpp
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ MazdaEventCallbacks::MazdaEventCallbacks(DBus::Connection& serviceBus, DBus::Con
, audioFocus(AudioManagerClient::FocusType::NONE)
{
//no need to create/destroy this
audioOutput.reset(new AudioOutput("entertainmentUsb"));
audioOutput.reset(new AudioOutput("entertainmentMl"));
audioMgrClient.reset(new AudioManagerClient(*this, serviceBus));
videoMgrClient.reset(new VideoManagerClient(*this, hmiBus));
}
@@ -376,6 +376,14 @@ void AudioManagerClient::populateStreamTable()
{
aaSessionID = sessionId;
}
else if(streamName == "USB")
{
usbSessionID = sessionId;
}
else if(streamName == "FM")
{
fmSessionID = sessionId;
}
}
// Create and register stream (only if we need to)
if (aaSessionID < 0)
4 changes: 3 additions & 1 deletion mazda/callbacks.h
Original file line number Diff line number Diff line change
@@ -70,8 +70,10 @@ class AudioManagerClient : public com::xsembedded::ServiceProvider_proxy,
};
private:
std::map<std::string, int> streamToSessionIds;
std::string aaStreamName = "USB";
std::string aaStreamName = "MLENT";
int aaSessionID = -1;
int usbSessionID = -1;
int fmSessionID = -1;
int previousSessionID = -1;
bool aaStreamRegistered = false;
bool waitingForFocusLostEvent = false;
4 changes: 2 additions & 2 deletions mazda/main.cpp
Original file line number Diff line number Diff line change
@@ -178,7 +178,7 @@ int main (int argc, char *argv[])
/* Start gstreamer pipeline and main loop */

// GPS processing
//mzd_gps_start(&gps_location_handler);
mzd_gps_start(&gps_location_handler);

printf("Starting Android Auto...\n");

@@ -198,7 +198,7 @@ int main (int argc, char *argv[])
nm_thread.join();

printf("waiting for gps_thread\n");
//mzd_gps_stop();
mzd_gps_stop();

printf("shutting down\n");