From b7da28285eb2e5aca6b56f33abb8505185790b97 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 15 Sep 2016 09:40:58 -0700 Subject: [PATCH] adding stubs for bluetooth functions --- sim/state/misc.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/sim/state/misc.ts b/sim/state/misc.ts index cbce22f8..5a271efe 100644 --- a/sim/state/misc.ts +++ b/sim/state/misc.ts @@ -135,5 +135,21 @@ namespace pxsim.bluetooth { export function startButtonService(): void { // TODO } + export function startUartService(): void { + // TODO + } + export function uartWrite(s : string): void { + // TODO + } + export function uartRead(): string { + // TODO + return "" + } + export function onBluetoothConnected(a : RefAction) { + // TODO + } + export function onBluetoothDisconnected(a : RefAction) { + // TODO + } }