Skip to content

Instantly share code, notes, and snippets.

View grundyoso's full-sized avatar

Richard Grundy grundyoso

View GitHub Profile
- (void)playNotification {
// _reader.mute = YES; // Mute AudioJack library
[[AVAudioSession sharedInstance] overrideOutputAudioPort:AVAudioSessionPortOverrideSpeaker error:nil]; // Route audio to speakers
AudioServicesPlaySystemSound (1312); // Only device support. see codes: https://github.com/TUNER88/iOSSystemSoundsLibrary
[[AVAudioSession sharedInstance] overrideOutputAudioPort:AVAudioSessionPortOverrideNone error:nil]; // Route audio back to Headphones
// _reader.mute = NO; // Unmute the AudioJack library
}
2015-03-24 19:14:11.556 SDK[300:52058] Powered on the device
2015-03-24 19:14:12.061 SDK[300:52058] Powered on the device
2015-03-24 19:14:12.185 SDK[300:52058] Type:Mifare Ultralight
2015-03-24 19:14:12.187 SDK[300:51999] ::commandApdu = <ffb00004 10>
2015-03-24 19:14:12.342 SDK[300:52058] Type:Mifare Ultralight
2015-03-24 19:14:12.343 SDK[300:51999] ::commandApdu = <ffb00004 10>
2015-03-24 19:14:12.487 SDK[300:52058] Suspend scan timer 0x15e53050
SpeakerAndMicrophone
HeadsetInOut
2015-03-24 19:14:16.094 SDK[300:51999] Started scan loop with reader 0x15e4ad10
/** Answer-To-Reset (ATR) ****************************************************************
Init| T0| TD1| TD2| T1| Tk| Len | RID | Std | Card | RFU | TCK
Hdr | | | | | | | | | Name | |
3B | 8F| 80 | 01 | 80| 4F| 0C | A0 00 00 03 06| 03 | 00 03| 00 00 00 00| 68
<?php
require_once('easypost-php/lib/easypost.php');
add_action('woocommerce_product_options_shipping', 'add_pricing_input');
add_action('save_post', 'set_customs_value');
/**
* Add a customs value field in the WooCommerce Product form (for Admins)
* @see add_pricing_input()
*/
2015-09-08 08:23:34.226 SDK[1616:409755] FloBLE init
2015-09-08 08:23:34.227 SDK[1616:409755] bundle/private/var/mobile/Containers/Bundle/Application/BE59D86D-10BD-4351-8DE4-51AF0CA3FC0B/SDK.app/ScanSound.caf
2015-09-08 08:23:34.234 SDK[1616:409755] Protocol Type: 1
2015-09-08 08:23:34.268 SDK[1616:409755] ::centralManagerDidUpdateState supports 5
2015-09-08 08:23:34.268 SDK[1616:409755] 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",
2015-09-08 08:30:00.385 SDK[1626:411223] FloBLE init
2015-09-08 08:30:00.387 SDK[1626:411223] bundle/private/var/mobile/Containers/Bundle/Application/8368CC89-B4FA-4C83-AD05-ADD690C364B7/SDK.app/ScanSound.caf
2015-09-08 08:30:00.398 SDK[1626:411223] Protocol Type: 1
2015-09-08 08:30:00.450 SDK[1626:411223] ::centralManagerDidUpdateState supports 5
2015-09-08 08:30:00.451 SDK[1626:411223] 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",
2015-09-08 08:33:42.879 SDK[1637:412273] FloBLE init
2015-09-08 08:33:42.880 SDK[1637:412273] bundle/private/var/mobile/Containers/Bundle/Application/DC9FF267-8827-4AA2-98A5-544668F6593F/SDK.app/ScanSound.caf
2015-09-08 08:33:42.883 SDK[1637:412273] Protocol Type: 1
2015-09-08 08:33:42.905 SDK[1637:412273] ::centralManagerDidUpdateState supports 5
2015-09-08 08:33:42.906 SDK[1637:412273] 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",
2015-09-08 08:36:31.375 SDK[1647:412952] FloBLE init
2015-09-08 08:36:31.377 SDK[1647:412952] bundle/private/var/mobile/Containers/Bundle/Application/4F4ADE19-E2DA-4F8D-BD55-415ACB574418/SDK.app/ScanSound.caf
2015-09-08 08:36:31.379 SDK[1647:412952] Protocol Type: 1
2015-09-08 08:36:31.405 SDK[1647:412952] ::centralManagerDidUpdateState supports 5
2015-09-08 08:36:31.405 SDK[1647:412952] 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",
2015-09-08 08:55:02.335 SDK[1676:417348] FloBLE init
2015-09-08 08:55:02.337 SDK[1676:417348] bundle/private/var/mobile/Containers/Bundle/Application/E6C9B8B8-B03D-411D-B91F-FFC6D644238E/SDK.app/ScanSound.caf
2015-09-08 08:55:02.349 SDK[1676:417348] Protocol Type: 1
2015-09-08 08:55:02.392 SDK[1676:417348] ::centralManagerDidUpdateState supports 5
2015-09-08 08:55:02.394 SDK[1676:417348] 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",
2015-09-08 09:05:35.633 SDK[1698:420593] FloBLE init
2015-09-08 09:05:35.634 SDK[1698:420593] bundle/private/var/mobile/Containers/Bundle/Application/E6F10AC5-039B-4F27-AB89-B0ACD2B0C5A7/SDK.app/ScanSound.caf
2015-09-08 09:05:35.641 SDK[1698:420593] Protocol Type: 1
2015-09-08 09:05:35.679 SDK[1698:420593] ::centralManagerDidUpdateState supports 5
2015-09-08 09:05:40.684 SDK[1698:420593] 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",