@ -15,7 +15,7 @@ Note: Some future commands will include additional parameters, so we
@@ -15,7 +15,7 @@ Note: Some future commands will include additional parameters, so we
| `BT_CLR` | Alias for `BT_CLR_CMD 0` to clear the current profile's bond to the current host |
| `BT_NXT` | Alias for `BT_NXT_CMD 0` to select the next profile |
| `BT_PRV` | Alias for `BT_PRV_CMD 0` to select the previous profile |
| `BT_SEL` | Alias for `BT_SEL_CMD` to select the given profile, e.g. `&bt BT_SEL 1` |
## Bluetooth Behavior
@ -46,7 +46,7 @@ The bluetooth behavior completes an bluetooth action given on press.
@@ -46,7 +46,7 @@ The bluetooth behavior completes an bluetooth action given on press.
### Behavior Binding
- Reference: `&bt`
- Parameter #1: The bluetooth command define, e.g. `BT_CLEAR_BONDS_CMD`
- Parameter #1: The bluetooth command define, e.g. `BT_CLR_CMD`
- Parameter #2: (Reserved for future bluetooth command types)
### Examples
@ -54,23 +54,23 @@ The bluetooth behavior completes an bluetooth action given on press.
@@ -54,23 +54,23 @@ The bluetooth behavior completes an bluetooth action given on press.
1. Behavior binding to clear the paired host for the selected profile:
```
&bt BT_CLEAR_BONDS
&bt BT_CLR
```
1. Behavior binding to select the next profile:
```
&bt BT_PROF_NEXT
&bt BT_NXT
```
1. Behavior binding to select the previous profile:
```
&bt BT_PROF_NEXT
&bt BT_NXT
```
1. Behavior binding to select the 2nd profile (passed parameters are [zero based](https://en.wikipedia.org/wiki/Zero-based_numbering)):