experimental fork to solve timing issues

Dependents:   writable_gatt

Fork of TxIR by Ali Saidi

Fix issue in IR message parsing, code cleanup.

<->