Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjc committed Jul 2, 2024
1 parent 930a2c5 commit 9748699
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/bootloader_serial.md
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,20 @@ machine that is also guaranteed to not have any special characters (like
slashes) that would interfere with using as a file name.


### \_get\_serial\_port\_hashed\_to\_ip\_port
```py

def _get_serial_port_hashed_to_ip_port(self)

```



This is a bit of a hack, but it's means to find a reasonably unlikely
to collide port number based on the serial port used to talk to the
board.


### \_issue\_command
```py

Expand Down
12 changes: 12 additions & 0 deletions docs/helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,18 @@ def menu_new_yes_no(prompt='')
Present an interactive yes/no prompt to the user.


### number\_or
```py

def number_or(value)

```



Try to format value as a number. If that fails, just leave it alone.


### plural
```py

Expand Down
64 changes: 64 additions & 0 deletions docs/tbfh.md
Original file line number Diff line number Diff line change
Expand Up @@ -1703,6 +1703,70 @@ Return str(self).



## Class TBFTLVShortId
None
### \_\_init\_\_
```py

def __init__(self, buffer, parameters=[])

```



Initialize self. See help(type(self)) for accurate signature.


### get\_size
```py

def get_size(self)

```



### get\_tlvid
```py

def get_tlvid(self)

```



### object
```py

def object(self)

```



### pack
```py

def pack(self)

```



### \_\_str\_\_
```py

def __str__(self)

```



Return str(self).




## Class TBFTLVUnknown
None
### \_\_init\_\_
Expand Down

0 comments on commit 9748699

Please sign in to comment.