Skip to content

Instantly share code, notes, and snippets.

View Sushisugre's full-sized avatar

Ssugre Sushisugre

  • Pittsburgh, PA
View GitHub Profile

For packet structure, refer to: packet design

Command Code

  • 0 reset?
  • 1 report device status
    • i.e. "Super Bob Command"
    • device time, energy, mode, temperature,schedule
  • 2 change default setting
  • 3 set device schedule - no recurring
  • 4 set device schedule - recurring
@Sushisugre
Sushisugre / gist:989eff328ad5fa4841b7
Last active August 29, 2015 14:19
Works with child view inside of RecyclerView item using espresso, inspired by https://gist.github.com/tommyd3mdi/2622caecc1b2d498cd1a
public static Matcher<View> withRecyclerViewId(int recyclerViewId) {
return allOf(isAssignableFrom(RecyclerView.class), withId(recyclerViewId));
}
/**
* Returns a matcher for an item (cell) in recycler view.
*
* @param recyclerViewId
* @param childViewMatcher
<h3>KijijiCA</h3>
<a href='https://testflightapp.com/install/f0e8b5c6c5a325d061b21cccc33e821f-NzgwODYwOQ/'>KijijiCA-EnterpriseSwitchable</a><br>
<a href='https://testflightapp.com/install/c5f9d2f67f7cc4f50d40e08575c214f6-NzgwODYxOA/'>KijijiCA-ReleaseSwitchable</a><br>
<h3>GumtreeAU</h3>
<a href='https://testflightapp.com/install/b37720286d8ea4ab78f77c2eb105513d-NzgwODYzMA/'>GumtreeAU-EnterpriseSwitchable</a><br>
<a href='https://testflightapp.com/install/11ae4d1d1313d220a0d877431b474d80-NzgwODY0Mg/'>GumtreeAU-ReleaseSwitchable</a><br>
<h3>GumtreeUK</h3>
<a href='https://testflightapp.com/install/98cda268180cb7702be6c557d6f7268f-NzgwODY1NA/'>GumtreeUK-EnterpriseSwitchable</a><br>
<a href='https://testflightapp.com/install/f82a47d90c58f9614baf15ae8e6c205e-NzgwODY2NQ/'>GumtreeUK-ReleaseSwitchable</a><br>
<h3>GumtreeZA</h3>