Skip to content

Instantly share code, notes, and snippets.

View grundyoso's full-sized avatar

Richard Grundy grundyoso

View GitHub Profile
2015-09-08 09:25:56.971 SDK[1769:427924] FloBLE init
2015-09-08 09:25:56.973 SDK[1769:427924] bundle/private/var/mobile/Containers/Bundle/Application/9E3A790B-5FBB-4C5F-9286-4A9313146A3E/SDK.app/ScanSound.caf
2015-09-08 09:25:56.986 SDK[1769:427924] Protocol Type: 1
2015-09-08 09:25:57.018 SDK[1769:427924] ::centralManagerDidUpdateState supports 5
2015-09-08 09:26:02.021 SDK[1769:427924] starting scan (
"6E400002-B5A3-F393-E0A9-E50E24DCCA9E",
"6E400003-B5A3-F393-E0A9-E50E24DCCA9E",
"6E400001-B5A3-F393-E0A9-E50E24DCCA9E",
"6E400016-B5A3-F393-E0A9-E50E24DCCA9E",
"6E400018-B5A3-F393-E0A9-E50E24DCCA9E",
grundyoso@Grundy-VirtualBox:~/workspace$ gcc libusb_acr_scribble.c -lusb-1.0 -o libusb_acr && sudo ./libusb_acr
A successful init
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.000262] [000015e0] libusbx: debug [libusb_get_device_list]
[ 0.000435] [000015e0] libusbx: debug [sysfs_scan_device] scan usb1
[ 0.000567] [000015e0] libusbx: debug [sysfs_scan_device] bus=1 dev=1
[ 0.000663] [000015e0] libusbx: debug [enumerate_device] busnum 1 devaddr 1 session_id 257
[ 0.000762] [000015e0] libusbx: debug [enumerate_device] allocating new device for 1/1 (session 257)
[ 0.000892] [000015e0] libusbx: debug [sysfs_scan_device] scan 1-1
ffff8800035b3d40 2287611455 S Co:2:005:0 s 00 09 0001 0000 0000 0
ffff8800035b3d40 2287703644 C Co:2:005:0 0 0
ffff8800035b3d40 2287710601 S Co:2:003:0 s 23 03 0004 0002 0000 0
ffff8800035b3d40 2287885068 C Co:2:003:0 0 0
ffff8800035b3d40 2287901858 S Ci:2:003:0 s a3 00 0000 0002 0004 4 <
ffff8800035b3d40 2287903898 C Ci:2:003:0 0 4 = 03011000
ffff88003727e480 2287909913 C Ii:2:003:1 0:128 1 = 04
ffff88003727e480 2287909922 S Ii:2:003:1 -115:128 1 <
ffff88003727e480 2287911858 C Ii:2:003:1 0:128 1 = 04
ffff88003727e480 2287911861 S Ii:2:003:1 -115:128 1 <
2015-10-08 09:21:36.553 SDK[3625:1645147] Inited ACSBT Reader
2015-10-08 09:21:39.177 SDK[3625:1645147] -[ABTAcr1255uj1Reader checksumFromBuffer:length:]: unrecognized selector sent to instance 0x13f574d80
2015-10-08 09:21:39.183 SDK[3625:1645147] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ABTAcr1255uj1Reader checksumFromBuffer:length:]: unrecognized selector sent to instance 0x13f574d80'
*** First throw call stack:
(0x1823c4f5c 0x196ec7f80 0x1823cbc6c 0x1823c8c14 0x1822ccdcc 0x100106504 0x100104a88 0x100103ba0 0x1000ce104 0x100105e0c 0x182044f0c 0x1001f9d70 0x1001f9d30 0x1001ff780 0x18237c258 0x18237a0c0 0x1822a8dc0 0x18d3fc088 0x187982f60 0x1000ce550 0x1976f28b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
2015-11-09 19:22:06.857 SDK[635:257631] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<_UILayoutSupportConstraint:0x12cdaecd0 V:[_UILayoutGuide:0x12ce0d6e0(0)]>",
"<_UILayoutSupportConstraint:0x12cdb05d0 V:|-(0)-[_UILayoutGuide:0x12ce0d6e0] (Names: '|':UIView:0x12cd53b10 )>",
"<NSLayoutConstraint:0x12cdafae0 V:[UITableView:0x12d897000(150)]>",
"<NSLayoutConstraint:0x12ce1c580 V:[_UILayoutGuide:0x12ce0d6e0]-(8)-[UITableView:0x12d897000]>",
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
2015-12-09 11:27:42.255 SDK[620:244554] sendCommand:SEND_DATA:FFCA000000
2015-12-09 11:27:42.256 SDK[620:244554] -[ViewController didRespondToAPDUCommand:fromDevice:]: unrecognized selector sent to instance 0x14f551ee0
2015-12-09 11:27:42.258 SDK[620:244554] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ViewController didRespondToAPDUCommand:fromDevice:]: unrecognized selector sent to instance 0x14f551ee0'
*** First throw call stack:
(0x1840f1900 0x18375ff80 0x1840f861c 0x1840f53e8 0x183ff968c 0x10005436c 0x100075258 0x100074ae8 0x1000758a4 0x10016dbf0 0x10016dbb0 0x100173658 0x1840a8bb0 0x1840a6a18 0x183fd5680 0x1854e4088 0x188e4cd90 0x10004764c 0x183b768b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
@grundyoso
grundyoso / gist:8130626
Created December 26, 2013 06:49
After struggling with trying to get the CC2540-MINIDK to talk to another peripheral via the TEST header, I tried the x-ing out the POWERSAVING option in the defined symbols and it worked for me. I'm using USART0 on P1 with DMA for Rx. I was getting corrupted data similar to what's described in the posts here: http://e2e.ti.com/support/low_power_…
From fe276c1ef9560ce81319bc168c4d830de823268e Mon Sep 17 00:00:00 2001
From: Richard Grundy <richard@flomio.com>
Date: Wed, 25 Dec 2013 23:10:11 -0500
Subject: [PATCH] This is a working UART + DMA implementation for USART0 on P1
using the CC2540 Keyfob. The UART data however gets
corrupted during the copy over in the UART Callback. Will
be looking at fixing that in next commit.
---
.gitignore | 1 +
@grundyoso
grundyoso / readme.md
Created April 6, 2017 17:02
Flomio SDK 2.2 Readme for SWIFT

Flomio Software Development Kit

A turn-key middleware layer for Flomio's line of NFC, BLE, and UHF RFID readers.

Contributors: grundyoso, bpolania, jchuck627, jdisser, scottire Tags: FloJackBzr, FloJackMsr, FloBle, FloMat, NFC, BLE, RFID
Requires at least: iOS 9.0
Tested up to: iOS 9.0 Stable tag: 2.1 (1)

@grundyoso
grundyoso / gist:4e3ad4d284c48fd3394bb3bc2ee0f1a5
Created April 10, 2017 04:16
debug.log as a result of "loading..." freeze
[10-Apr-2017 04:14:07 UTC] PHP Strict Standards: Declaration of bbPMS_List_Table::get_sortable_colu
mns() should be compatible with WP_List_Table::get_sortable_columns() in /home/flomio/flomio_wordpre
ss/www/wp-content/plugins/bbp-manage-subscriptions/bbp-manage-subscriptions.php on line 180
[10-Apr-2017 04:14:07 UTC] PHP Notice: The called constructor method for WP_Widget in WooDojo_Widge
t_Tweets is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. i
n /home/flomio/flomio_wordpress/www/wp-includes/functions.php on line 3892
[10-Apr-2017 04:14:07 UTC] PHP Notice: The called constructor method for WP_Widget in WooDojo_Widge
t_TwitterProfile is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> in
stead. in /home/flomio/flomio_wordpress/www/wp-includes/functions.php on line 3892
[10-Apr-2017 04:14:07 UTC] PHP Notice: The called constructor method for WP_Widget in WooDojo_Widge