|
PebbleOS v4.47.0-1219-g7c542d7a9
|
#include <stddef.h>#include <stdint.h>#include <pbl/kernel/compiler.h>#include <pbl/kernel/section.h>#include <pbl/pp/protocol.h>Data Structures | |
| struct | pbl_pp_receiver_api |
| Buffers inbound payloads and hands complete messages over. More... | |
| struct | pbl_pp_endpoint |
| An endpoint. More... | |
Macros | |
| #define | PBL_PP_ENDPOINT_DEFINE(_id, _handler) PBL_PP__ENDPOINT_DEFINE(_id, _handler, NULL, PBL_PP_HANDLER_BG) |
| Define an endpoint whose handler runs on SysWorkq. | |
| #define | PBL_PP_ENDPOINT_DEFINE_MAIN(_id, _handler) PBL_PP__ENDPOINT_DEFINE(_id, _handler, NULL, PBL_PP_HANDLER_MAIN) |
| Define an endpoint whose handler runs on the main thread, see pbl_pp_main_call(). | |
| #define | PBL_PP_ENDPOINT_DEFINE_RECEIVER(_id, _receiver) PBL_PP__ENDPOINT_DEFINE(_id, NULL, &(_receiver), PBL_PP_HANDLER_BG) |
| Define an endpoint with its own receiver. | |
Typedefs | |
| typedef void(* | pbl_pp_endpoint_handler_t) (struct pbl_pp_session *session, const uint8_t *data, size_t length) |
| Endpoint handler. | |
Enumerations | |
| enum | pbl_pp_handler_task : uint8_t { PBL_PP_HANDLER_BG , PBL_PP_HANDLER_MAIN } |
| Task the default receiver runs an endpoint handler on. More... | |
Variables | |
| const struct pbl_pp_receiver_api | pbl_pp_kernel_receiver |
| The default receiver. | |