Skip to content

Instantly share code, notes, and snippets.

Avatar

Alexander Kutsan (GitHub) LuxoftAKutsan

  • Luxoft
  • Odessa
View GitHub Profile
View race2.puml
@startuml
!pragma teoz true
title Multiple apps on different devices, MOBILE is an access point
participant HMI
participant SDL
box "Device1"
participant APP1
end box
box "Device2"
View HMI_API.md
<struct name="HMIApplication">
    <description>Data type containing information about application needed by HMI.</description>
    <param name="appName" type="String" maxlength="100" mandatory="true">
      <description>The mobile application name, e.g. "Ford Drive Green".</description>
    </param>
    <param name="ngnMediaScreenAppName" type="String" maxlength="100" mandatory="false">
      <description>Provides an abbreviated version of the app name (if needed), that may be displayed on the NGN media screen.</description>
      <description>If not provided, the appName should be used instead (and may be truncated if too long)</description>
    </param>
View workstation
add ssh key
install docker
install make
mkdir sdl
View Adding Additional Implementation of Network Interface Listener.md

Preconditions

For adding custom implementation of Network Interface Listener should be changes CMakelists.txt and added additional implementation of platform_specific_network_interface_listener.cc

Example adding implementation for custom_os

  1. Crete folder src/components/transport_manager/include/transport_manager/tcp/platform_specific/custom_os
  2. Crete file src/components/transport_manager/include/transport_manager/tcp/platform_specific/custom_os/platform_specific_network_interface_listener_impl.h with class PlatformSpecificNetworkInterfaceListener:
    • PlatformSpecificNetworkInterfaceListener should be inherited from NetworkInterfaceListener.
    • PlatformSpecificNetworkInterfaceListener may contain os specific data types and privte functions, it won't affect other SDL classes
  3. Create folder src/components/transport_manager/src/tcp/platform_specific/custom_os :
@LuxoftAKutsan
LuxoftAKutsan / get_bt.py
Last active Sep 29, 2017
SDL log analyse
View get_bt.py
# coding: utf-8
# In[1]:
log_lines = open("/home/akutsan/Downloads/Mackinaw Ford Edge/25 Jul 2017/36.smartdevicelink.log").readlines()
# In[2]:
View install_distcc.sh
#!/usr/bin/env bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
apt-get install -y distcc distccmon-gnome
echo "distcc g++ \$@" > /usr/local/bin/distcxx
chmod +x /usr/local/bin/distcxx
View gist:c1c549b5d40f1203f55d22ec918e30f0
# Alienware 13 r2 linux usefull links
http://en.community.dell.com/owners-club/alienware/f/3746/t/19658690
https://wiki.archlinux.org/index.php/Alienware_13
http://askubuntu.com/questions/765838/cannot-enable-wifi-of-alienware-r2-on-ubuntu-16-04-lts
https://github.com/kvalo/ath10k-firmware
root@alex-Alienware-13-R2:/media/alex/C76B-8817/ath10k-firmware# cp -a QCA6174/ /lib/firmware/ath10k/QCA6174/
root@alex-Alienware-13-R2:/media/alex/C76B-8817/ath10k-firmware# echo "options ath10k_core skip_otp=y" | tee -a /etc/modprobe.d/ath10k.conf
View ATF_Stirinct_Mode.md

Currently there is issue on ATF with Times calls.

Problem illustration

Times(0) does not prolongues test execution for waiting not expected event. So not expected RPC comes in scope of next test case and ATF ignores it.

Illustration

View interest cources
https://www.class-central.com/mooc/1725/coursera-algorithmic-thinking-part-1
https://www.class-central.com/mooc/6040/coursera-a-developer-s-guide-to-the-internet-of-things-iot
https://www.class-central.com/mooc/7745/coursera-data-science-math-skills
https://www.class-central.com/mooc/7751/coursera-data-processing-using-python
https://www.class-central.com/mooc/339/coursera-algorithms-part-i
https://www.class-central.com/mooc/1701/openhpi-parallel-programming-concepts
https://www.class-central.com/mooc/1848/udacity-machine-learning-unsupervised-learning
https://www.class-central.com/mooc/2716/stanford-openedx-compilers
https://www.class-central.com/mooc/4013/udacity-intro-to-devops
View Script executor
@startuml
frame "Script Executor"{
[API Fasade] as FASADE
[Test cases executor] as RUNNER
}
[Test script] as SCRIPT
node "Test workstation"{
You can’t perform that action at this time.