File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,17 @@ CircuitPython behavior
31
31
CircuitPython will also read the environment to configure its behavior. Other
32
32
keys are ignored by CircuitPython. Here are the keys it uses:
33
33
34
+ CIRCUITPY_BLE_NAME
35
+ ~~~~~~~~~~~~~~~~~~
36
+ Default BLE name the board advertises as, including for the BLE workflow.
37
+
38
+ CIRCUITPY_WEB_API_PASSWORD
39
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
40
+ Password required to make modifications to the board from the Web Workflow.
41
+
34
42
CIRCUITPY_WIFI_PASSWORD
35
43
~~~~~~~~~~~~~~~~~~~~~~~
36
- Wi-Fi password used to auto connect to CIRCUITPY_WIFI_SSID
44
+ Wi-Fi password used to auto connect to CIRCUITPY_WIFI_SSID.
37
45
38
46
CIRCUITPY_WIFI_SSID
39
47
~~~~~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ using a rotating key rather than a static one. Non-bonded devices won't be able
45
45
connection, the central device can discover two default services. One for file transfer and one for
46
46
CircuitPython specifically that includes serial characteristics.
47
47
48
+ To change the default BLE advertising name without (or before) running user code, the desired name
49
+ can be put in the ` /.env ` file. The key is ` CIRCUITPY_BLE_NAME ` . It's limited to approximately
50
+ 30 characters depending on the port's settings and will be truncated if longer.
51
+
48
52
### File Transfer API
49
53
50
54
CircuitPython uses [ an open File Transfer API] ( https://github.com/adafruit/Adafruit_CircuitPython_BLE_File_Transfer )
You can’t perform that action at this time.
0 commit comments