いま巷で話題の NFC で書き換えできる名札サイズの電子ペーパーのプロトコルを調べました。 @alt-coreさんの追加の調査も参考にしています。
- Swift EPaperNFCSwift (@niw)
- Python nfc-eink (@alt-core)
いま巷で話題の NFC で書き換えできる名札サイズの電子ペーパーのプロトコルを調べました。 @alt-coreさんの追加の調査も参考にしています。
| // | |
| // qiita_gyotaku.swift | |
| // QiitaGyotaku | |
| // | |
| // Created by Takuto Nakamura on 2020/03/26. | |
| // Copyright © 2020 Takuto Nakamura. All rights reserved. | |
| // | |
| // ★★★ How to Use? ★★★ | |
| // Open Terminal and run this script. |
| /// ================ Half.cs ==================== | |
| /// The code is free to use for any reason without any restrictions. | |
| /// Ladislav Lang (2009), Joannes Vermorel (2017) | |
| using System; | |
| using System.Diagnostics; | |
| using System.Globalization; | |
| namespace SystemHalf | |
| { |
| using UnityEngine; | |
| using UnityEditor; | |
| using UnityEditor.Callbacks; | |
| using UnityEditor.iOS.Xcode; | |
| using System.IO; | |
| public class PbxModifier | |
| { | |
| [PostProcessBuild] | |
| public static void OnPostprocessBuild(BuildTarget buildTarget, string path) |
| #!/usr/bin/python | |
| import sys, tempfile, hashlib, urllib, urllib2, StringIO, os, subprocess, ConfigParser | |
| TempPath = tempfile.mkdtemp() | |
| AppConfig = ConfigParser.ConfigParser() | |
| EUID = os.geteuid() | |
| def ConfigSectionMap(config, section): | |
| dict1 = {} | |
| options = config.options(section) |
| import UnityEngine | |
| import UnityEditor | |
| import System | |
| import System.IO | |
| import System.Text.RegularExpressions | |
| //--------------------------------------------------------------------------// | |
| class Mot: | |
| public name as string |
| using UnityEngine; | |
| using System.Collections; | |
| using UnityEditor; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| [InitializeOnLoad] | |
| public sealed class SwitchPlatformRemoveFile | |
| { | |
| static void SetupItems () |