PebbleOS v4.45.0-179-g439c45a48
Loading...
Searching...
No Matches

Pebble protocol over the emulator's serial link, emulating the phone connection. More...

Functions

void pbl_pp_qemu_start (void)
 Open the session if the emulator is configured to start connected.
 
void pbl_pp_qemu_notify_ready (void)
 Tell host tools the system is up, once the first app has had time to start.
 
void pbl_pp_qemu_stop (void)
 Drop the emulated connection and close the session.
 
void pbl_pp_qemu_receive (const uint8_t *data, uint32_t length)
 Feed Pebble protocol bytes received from the emulator.
 
void pbl_pp_qemu_set_connected (bool is_connected)
 Apply a phone connection change reported by the emulator.
 
bool pbl_pp_qemu_is_connected (void)
 Check whether the emulated phone is connected.
 

Detailed Description

Pebble protocol over the emulator's serial link, emulating the phone connection.

Function Documentation

◆ 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
dataReceived bytes.
lengthLength 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_connectedWhether 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.