fixing simulator

This commit is contained in:
Peli de Halleux 2016-11-30 04:27:08 -08:00
parent d873cbb6c3
commit 097564748c

View File

@ -166,11 +166,10 @@ namespace pxsim.bluetooth {
// TODO // TODO
} }
export function uartWrite(s: string): void { export function uartWrite(s: string): void {
// TODO serial.writeString(s)
} }
export function uartReadUntil(del: string): string { export function uartReadUntil(del: string): string {
// TODO return serial.readUntil(del);
return ""
} }
export function onBluetoothConnected(a: RefAction) { export function onBluetoothConnected(a: RefAction) {
// TODO // TODO
@ -178,5 +177,7 @@ namespace pxsim.bluetooth {
export function onBluetoothDisconnected(a: RefAction) { export function onBluetoothDisconnected(a: RefAction) {
// TODO // TODO
} }
export function advertiseUrl(url: string, power: number) { }
export function stopAdvertising() { }
} }