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

Pebble protocol over serial console frames, for development tools. More...

Functions

void pbl_pp_console_receive (const void *data, size_t len)
 Handle a frame received on PBL_CONSOLE_CHANNEL_PP.
 
void pbl_pp_console_ack (uint8_t seq)
 Handle the host's acknowledgment of a frame.
 

Detailed Description

Pebble protocol over serial console frames, for development tools.

Function Documentation

◆ pbl_pp_console_ack()

void pbl_pp_console_ack ( uint8_t  seq)

Handle the host's acknowledgment of a frame.

Called by the console on the timer task: senders on KernelBG or KernelMain may be blocked waiting for what this frees.

Parameters
seqSequence number of the acknowledged frame.

◆ pbl_pp_console_receive()

void pbl_pp_console_receive ( const void *  data,
size_t  len 
)

Handle a frame received on PBL_CONSOLE_CHANNEL_PP.

Called by the console on KernelBG.

Parameters
dataFrame payload.
lenLength of data in bytes.