Skip to content

Instantly share code, notes, and snippets.

View JelmerT's full-sized avatar

Jelmer Tiete JelmerT

View GitHub Profile
@JelmerT
JelmerT / uart-test.c
Last active May 8, 2017 16:38
Example to test both uart channels in Contiki on the CC2538 at the same time.
/*
* Copyright (c) 2014, Jelmer Tiete <[email protected]>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
var fs = require('fs'),
http = require('http'),
scraper = require('wsscraper'),
url = require('url'),
static = require('node-static');
//configuration
var amount = 4
var timeout = 60000
var detect_faces = 1
@JelmerT
JelmerT / strings_ipcamn
Created March 15, 2016 00:24
Strings inside ipcamn process of Logilink WC0030A - Apexis APM-JP8015-WS
$ strings ipcamn
/lib/ld-uClibc.so.0
p UR
_fini
__uClibc_main
__deregister_frame_info
__register_frame_info
_Jv_RegisterClasses
getpid
msntp_deal
@JelmerT
JelmerT / strings_videocatch
Created March 15, 2016 00:25
Strings inside videocatch process of Logilink WC0030A - Apexis APM-JP8015-WS
$ strings videocatch
/lib/ld-uClibc.so.0
pP0D
_init
_fini
__uClibc_main
__deregister_frame_info
__register_frame_info
_Jv_RegisterClasses
video_fd
@JelmerT
JelmerT / bootlog_WC0030A_APM-JP8015-WS
Created March 15, 2016 00:33
Serial bootlog of the Logilink WC0030A or Apexis APM-JP8015-WS
U-Boot 1.1.3 (Nov 18 2012 - 20:35:15)
Board: Ralink APSoC DRAM: 32 MB
relocate_code Pointer at: 81fb4000
***********************
Watchdog Reset Occurred
***********************
spi_wait_nsec: 42
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV