|
PebbleOS
|
Pick the task that sends a comm session's pending data. More...
Functions | |
| bool | pbl_bt_comm_schedule_send_next_job (CommSession *session) |
| Schedule pbl_bt_run_send_next_job() for a session. | |
| bool | pbl_bt_comm_is_current_task_send_next_task (void) |
| Check whether the current task is the one pbl_bt_comm_schedule_send_next_job() schedules on. | |
| void | pbl_bt_run_send_next_job (CommSession *session, bool is_callback) |
| Send a session's pending data. | |
Pick the task that sends a comm session's pending data.
| bool pbl_bt_comm_is_current_task_send_next_task | ( | void | ) |
Check whether the current task is the one pbl_bt_comm_schedule_send_next_job() schedules on.
| bool pbl_bt_comm_schedule_send_next_job | ( | CommSession * | session | ) |
Schedule pbl_bt_run_send_next_job() for a session.
The NimBLE backend runs it on KernelMain.
| session | The session with pending data. |
|
extern |
Send a session's pending data.
Implemented by the firmware, invoked by the job scheduled with pbl_bt_comm_schedule_send_next_job().
| session | The session. |
| is_callback | true when invoked from the scheduled job. |