|
PebbleOS
|
Pebble Protocol endpoint that sends the system framebuffer to the phone. More...
Functions | |
| void | screenshot_protocol_msg_callback (CommSession *session, const uint8_t *data, unsigned int length) |
| Handle a screenshot request from the client. | |
Pebble Protocol endpoint that sends the system framebuffer to the phone.
| void screenshot_protocol_msg_callback | ( | CommSession * | session, |
| const uint8_t * | data, | ||
| unsigned int | 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. |