Skip to content

Instantly share code, notes, and snippets.

static inline void volk_arm_32f_x2_add_32f_a_inlineneon(float* cVector, const float* aVector, const float* bVector, unsigned int num_points) {
unsigned int number;
const unsigned int quarterPoints = num_points / 4;
float* cPtr = cVector;
const float* aPtr = aVector;
const float* bPtr= bVector;
for(number=0; number < quarterPoints; number++){
// construction
std::vector<int> get_in_size(void )
{
std::vector<int> input_sizes;
input_sizes.push_back(sizeof( gr_complex ));
input_sizes.push_back(sizeof( char ));
}
phase_watermark_cbc_impl::phase_watermark_cbc_impl(float angle)
: gr_sync_block("phase_watermark_cbc",
gr_make_io_signaturev(2, 2, get_in_size() ),
#ifndef INCLUDED_WATERMARKING_PHASEDITHER_CFC_H
#define INCLUDED_WATERMARKING_PHASEDITHER_CFC_H
#include <watermarking/api.h>
#include <gr_sync_block.h>
namespace gr {
namespace watermarking {
@n-west
n-west / ctest1.mak
Last active December 12, 2015 12:08
nathan@ginger:~/gnuradio/gr-howto/build$ ctest -V
UpdateCTestConfiguration from :/home/nathan/gnuradio/gr-howto/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/home/nathan/gnuradio/gr-howto/build/DartConfiguration.tcl
Test project /home/nathan/gnuradio/gr-howto/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: test_howto
$ pon
NO CARRIER
AT
OK
AT+CFUN=1
OK
AT+CGDCONT=1,"IP","internet"
OKScript /usr/sbin/chat -V -f /etc/ppp/beagle-chat finished (pid 431), status = 0x0
Serial connection established.
using channel 10
@n-west
n-west / angstromv2012.12
Last active December 12, 2015 02:09
Debugging the hso kernel module for use on Option GlobeTrotter Icon 322
$ modinfo hso
filename: /lib/modules/3.2.28/kernel/drivers/net/usb/hso.ko
license: GPL
description: USB High Speed Option driver
author: Option Wireless
alias: usb:v0AF0pC100d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0AF0pD058d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0AF0pD357d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0AF0pD257d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0AF0pD157d*dc*dsc*dp*ic*isc*ip*
Where to buy
Home > Support > FAQ > Article Detail
How to send an SMS with AT-commands?
4/02/2009
@n-west
n-west / ting-response
Last active December 11, 2015 12:48
Connecting Ting modem to beaglebone for the first time using insul-audit image.
[433173.772583] usb 1-1: new high-speed USB device number 4 using musb-hdrc
[433173.913726] usb 1-1: New USB device found, idVendor=0af0, idProduct=d033
[433173.920867] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[433173.928497] usb 1-1: Product: GlobeTrotter Icon322
[433173.933654] usb 1-1: Manufacturer: Option Wireless Technology
[433173.939788] usb 1-1: SerialNumber: Serial Number
[433173.951812] scsi0 : usb-storage 1-1:1.0
[433174.035797] hso: drivers/net/usb/hso.c: Option Wireless
[433174.041564] usbcore: registered new interface driver hso
[433174.799316] usb 1-1: USB disconnect, device number 4
totalDays = 0;
nTrials = 100000;
for null = 1 : nTrials
days = 0; % he starts in jail on day 0
free = 0; % he is not free
% inner loop is one prison term
while(~free)
@n-west
n-west / robot.js
Created December 5, 2012 05:40 — forked from wojtalke/robot.js
Testing_robot
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.turn(60);