|
PebbleOS v4.47.0-512-g5285d4236
|
Pebble Protocol endpoint that sends the system framebuffer to the phone. More...
Functions | |
| void | screenshot_protocol_msg_callback (struct pbl_pp_session *session, const uint8_t *data, size_t length) |
| Handle a screenshot request from the client. | |
Pebble Protocol endpoint that sends the system framebuffer to the phone.
| void screenshot_protocol_msg_callback | ( | struct pbl_pp_session * | session, |
| const uint8_t * | data, | ||
| size_t | length | ||
| ) |
Handle a screenshot request from the client.
Freezes the compositor and streams the framebuffer back in chunks. Requests received while a screenshot is in progress, or with an unknown command, are answered with an error.
| session | Session the request came from. |
| data | Message payload. |
| length | Length of data in bytes. |