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