Skip to content

Instantly share code, notes, and snippets.

View Tolsi's full-sized avatar
⌨️
I am jumping on the keyboard

Sergey Tolmachev Tolsi

⌨️
I am jumping on the keyboard
View GitHub Profile

Ledger Nano X : Bluetooth Low Energy Communication

1.0

  • Public release

About

@Tolsi
Tolsi / gist:d8b06b37350f203618a1a7b07f07ea42
Created February 4, 2018 10:21 — forked from sjp38/gist:6202539
Sample code for monkeyrunner's MOVE usage
#!/usr/bin/env monkeyrunner
import time
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
device = MonkeyRunner.waitForConnection()
# Touch down screen
device.touch(100, 500, MonkeyDevice.DOWN)
@Tolsi
Tolsi / bledemo.java
Created December 12, 2017 09:32 — forked from jmas/bledemo.java
package org.bluetooth.bledemo;
import java.util.HashMap;
import android.util.SparseArray;
public class BleNamesResolver {
private static HashMap<String, String> mServices = new HashMap<String, String>();
private static HashMap<String, String> mCharacteristics = new HashMap<String, String>();
private static SparseArray<String> mValueFormats = new SparseArray<String>();