ASACORE-1088: Adjust ACK timer logic

Also, fix range checking of sequence numbers of incoming data segments
and increase initial total data timeout.

Change-Id: I63829ab65621575b0134f1b6344cc0a1770ac801
Signed-off-by: Inga Stotland <ingas@qce.qualcomm.com>
ASACORE-1027 Fix crash in UpdateSerialNumber

Call LocalEndpoint::UpdateSerialNumber using origSender.
DaemonRouter::localEndpoint may be invalid due to being overwritten by DaemonRouter::UnregisterEndpoint.

Change-Id: I559d94616ad5b166586ecc61d9968416ccc666c3
Signed-off-by: Sheshambika Venkateshwaran <sheshamb@qce.qualcomm.com>
ASACORE-1181 cleaner implementation of the SessionTest unit test

This change does not alter the functionality of SessionTest in any way.
It merely cleans up the implementation of the complex checks done after
each session manipulation by making use of gtest's AssertionResult
feature instead of relying on an ugly hack with a global "print"
variable.

Change-Id: Ic90fbdf8f7ea3170a848773337bd47a46abbd8ca
Signed-off-by: Meggan Ehret <meggan@qeo.org>
ASACORE-1192 assert in _MDNSPacket::AddAnswer.

The crash was caused due to adding the same answer twice, leading to number of records exceeding the expected limits.

Change-Id: I21d5540b50c0f4d2dccaea911053be58daea3799
Signed-off-by: Sheshambika Venkateshwaran <sheshamb@qce.qualcomm.com>
Merge "ASACORE-1027 Fix crash in UpdateSerialNumber" into RB14.12
ASACORE-1188 Home directory should be application directory

Change Home directory to application directory for Windows.

Currently BusAttachment::EnablePeerSecurity isn't working for
store applications on Windows because the "home" directory
is inaccessible by them.

This fix changes the preferred home directory to the default
local app data (Windows only), which is defined by %LOCALAPPDATA%
and falls back to %USERPROFILE% for non-store apps.

Change-Id: I1e141772faac5195091419369b3dfa4f73614f94
Signed-off-by: Way Vadhanasin <wayvad@microsoft.com>
ASACORE-1184 : AllJoyn Protocol Version for named pipe is not correct

Named pipe clients/daemons do not go through version negotiations like TCP.
This is causing the protocol version information not being set correctly for
the named pipe. Without this correct version, at least 3 types of features
were broken:'SessionLostWithReasonAndDisposition' signal,
'MPSessionChangedWithReason' signal, and 'IsSelfJoinSupported()'.

Since named pipe clients/daemons do not go through version negotiations
and older clients/daemons won't connect over named pipe at all, the fix is
to give named pipe end points latest AllJoyn protocol version outside version
negotiation logic.

Change-Id: I7519e28390e60cbedac525c2c41379abd24015b8
Signed-off-by: Rajneesh <rajban@microsoft.com>
Merge "ASACORE-1184 : AllJoyn Protocol Version for named pipe is not correct" into RB14.12
Merge "ASACORE-1088: Adjust ACK timer logic" into RB14.12
Merge "ASACORE-1192 assert in _MDNSPacket::AddAnswer." into RB14.12
ASACORE-1210 All iOS and OS X samples should include About framework files

Even if a sample does not use About, the framework it uses should include all
about files since About is now a part of core

Change-Id: I5cc1cb2ae2e3c33f19b39223dbfa3c66c22b52a5
Signed-off-by: Nikhil Dabhade <ndabhade@qce.qualcomm.com>
ASACORE-1204: do not call listener if no change

Change-Id: I5e0b2c174be0cb8d77bcfe0d40231b5f06bb0994
Signed-off-by: Meggan Ehret <meggan@qeo.org>
ASACORE-917 better doxygen documentation

This change set does not change the code in any way, it just tweaks the
wording of the BusObject::Signal doxygen docs a bit for correctness and
to better advertise the use of SESSION_ID_ALL_HOSTED.

Change-Id: Id029f1636423ad17ac2acae28c620469cf23a756
Signed-off-by: Meggan Ehret <meggan@qeo.org>
Merge "ASACORE-1210 All iOS and OS X samples should include About framework files" into RB14.12
Merge "ASACORE-917 better doxygen documentation" into RB14.12
Merge "ASACORE-1204: do not call listener if no change" into RB14.12
Merge remote-tracking branch 'origin/RB14.12'

Change-Id: Id944cb2882146bc4a03c628eae1ec45fc3528a01
Signed-off-by: Ry Jones <c_lawren@qce.qualcomm.com>
Master uses 0.0.1 as a version number.

Change-Id: I1a3460e744de3b396d7cd182b8fc264cc0f211d6
Signed-off-by: Ry Jones <c_lawren@qce.qualcomm.com>
Merge "Merge remote-tracking branch 'origin/RB14.12'"
Merge "Master uses 0.0.1 as a version number."