Skip to content

Instantly share code, notes, and snippets.

@tcr3dr
tcr3dr / libptp_1.1.10.bb
Created August 20, 2015 20:39
libptp recipe
DESCRIPTION = "libptp"
HOMEPAGE = "http://sourceforge.net/projects/libptp/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
#SECTION = "custom"
S = "${WORKDIR}/libptp2-${PV}"
PR = "r0"
@tcr3dr
tcr3dr / info.md
Last active August 29, 2015 14:26
Tessel 2 FCC Approval

Tessel 2 is seeking FCC approval. Tessel 2 runs OpenWRT, a distribution of Linux designed as open firmware for routers with very granular control over wireless capabilities. Currently Tessel 2 is stuck in FCC approval pending its demonstration of being able to generate packets in the 802.11n range.

Testing instructions

Installation on a Tessel 2:

opkg update
opkg install tcpdump
wget https://kevinmehall.net/tmp/packetspammer -O /usr/bin/packetspammer
#!/bin/sh
echo "What should the Application be called (no spaces allowed e.g. GCal)?"
read inputline
name=$inputline
echo "What is the url (e.g. https://www.google.com/calendar/render)?"
read inputline
url=$inputline
@tcr3dr
tcr3dr / notes.md
Created July 25, 2015 23:14
well the fcc won't let me be and let me be me so let me see
@tcr3dr
tcr3dr / range.py
Created June 9, 2015 21:24
Reads rangefinder distance
#
# This example shows how to use DroneKit-Python to get and set vehicle state, parameter and channel-override information.
# It also demonstrates how to observe vehicle attribute (state) changes.
#
# Usage:
# * mavproxy.py
# * module load api
# * api start range.py
#
from droneapi.lib import VehicleMode