fixing simulator
This commit is contained in:
parent
d873cbb6c3
commit
097564748c
@ -134,7 +134,7 @@ namespace pxsim.devices {
|
|||||||
export function onSignalStrengthChanged(action: number) {
|
export function onSignalStrengthChanged(action: number) {
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
export function signalStrength() : number {
|
export function signalStrength(): number {
|
||||||
// TODO
|
// TODO
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -165,18 +165,19 @@ namespace pxsim.bluetooth {
|
|||||||
export function startUartService(): void {
|
export function startUartService(): void {
|
||||||
// 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
|
||||||
}
|
}
|
||||||
export function onBluetoothDisconnected(a : RefAction) {
|
export function onBluetoothDisconnected(a: RefAction) {
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
export function advertiseUrl(url: string, power: number) { }
|
||||||
|
export function stopAdvertising() { }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user