Pebble protocol over the emulator's serial link, emulating the phone connection.
More...
Pebble protocol over the emulator's serial link, emulating the phone connection.
◆ pbl_pp_qemu_is_connected()
| bool pbl_pp_qemu_is_connected |
( |
void |
| ) |
|
Check whether the emulated phone is connected.
- Returns
- true if a session is open and the emulated phone is connected.
◆ pbl_pp_qemu_notify_ready()
| void pbl_pp_qemu_notify_ready |
( |
void |
| ) |
|
Tell host tools the system is up, once the first app has had time to start.
◆ pbl_pp_qemu_receive()
| void pbl_pp_qemu_receive |
( |
const uint8_t * |
data, |
|
|
uint32_t |
length |
|
) |
| |
Feed Pebble protocol bytes received from the emulator.
- Parameters
-
| data | Received bytes. |
| length | Length of data in bytes. |
◆ pbl_pp_qemu_set_connected()
| void pbl_pp_qemu_set_connected |
( |
bool |
is_connected | ) |
|
Apply a phone connection change reported by the emulator.
- Parameters
-
| is_connected | Whether the phone is connected. |
◆ pbl_pp_qemu_start()
| void pbl_pp_qemu_start |
( |
void |
| ) |
|
Open the session if the emulator is configured to start connected.
◆ pbl_pp_qemu_stop()
| void pbl_pp_qemu_stop |
( |
void |
| ) |
|
Drop the emulated connection and close the session.