The commands below are executed in order starting at the function: void start_gps2(uint32_t fd, uint8_t* result_buffer)
.
result_buffer
is a 14 byte buffer that's used to store command responses.
#POWER,0\r\n
#!/usr/bin/python3 | |
# -*- coding: UTF-8 -*- | |
__author__ = "Darrel Griët" | |
__maintainer__ = "Darrel Griët <[email protected]>" | |
__version__ = "1.0" | |
__appname__ = "nemo-code" | |
__app_disp_name__ = "Nemo Code" | |
__website__ = "http://github.com/linuxmint/nemo-extensions" |
#!/bin/bash | |
wf=`find . -maxdepth 1 -type d -not -name ".*" -exec echo {} \;` | |
for i in ${wf}; do | |
echo "require unofficial-watchface.inc" > "${i:2}_git.bb" | |
done | |
cat << EOF > unofficial-watchfaces_git.bb |
#!/bin/bash | |
SRC="$1" | |
DST="$2" | |
echo $PWD | |
if [ -d "meta-$DST-hybris/" ]; then | |
echo "Destination layer (meta-$DST-hybris) already exists!" | |
exit | |
fi |
#!/bin/bash | |
set -x | |
dump_file=$1 | |
if [[ -z "$dump_file" ]]; then | |
echo "No dump provided assuming \"mmcblk0\"" | |
dump_file="mmcblk0" | |
fi |
. /usr/local/oecore-x86_64/environment-setup-armv7vehf-neon-oe-linux-gnueabi | |
arm-oe-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard --sysroot=/usr/local/oecore-x86_64/sysroots/armv7vehf-neon-oe-linux-gnueabi -I<LOCATION TO ANDROID HEADERS> -o powerhal-test powerhal-test.c -lhardware |
HOOKS hooks.c:3182 (__hybris_linker_init) DEBUG: Linker initialization | |
HOOKS hooks.c:3085 (get_android_sdk_version) DEBUG: Using SDK API version 23 | |
HOOKS hooks.c:3228 (__hybris_linker_init) DEBUG: Loading linker from /usr/lib/libhybris/linker/mm.so.. | |
[ linking /usr/libexec/hal-droid/system/lib/libGLESv2.so ] | |
[ linking /usr/libexec/hal-droid/system/lib/libcutils.so ] | |
[ linking /usr/libexec/hal-droid/system/lib/libutils.so ] | |
[ linking /usr/libexec/hal-droid/system/lib/liblog.so ] | |
[ linking /usr/libexec/hal-droid/system/lib/libEGL.so ] | |
[ linking /usr/libexec/hal-droid/system/lib/libdsyscalls.so ] |