toc Read configuration Pybytes > Pybytes library API > Read configuration

Read configuration

Reads the configuration from the given file.

Method

pybytes.read_config(file’, reconnect)

Parameters

name Description is Required Default value
file File Path No /flash/pybytes_config.json
reconnect Reconnect after changes No False

Example

pybytes.read_config()

Success Response

>> Pybytes configuration read from /flash/pybytes_config.json

 

Previous Next