Commit f9383ae
samples: bluetooth: direct_test_mode: fix CTE TX bug
1. Fixed a bug where DTM sample returns COMMAND DISALLOWED
error when CTE is used.
The Bluetooth Core Specification mandates returning
COMMAND DISALLOWED when:
`CTE_Length is not zero and PHY specifies
a PHY that does not allow Constant Tone Extensions`
In other words, the commands should be disallowed when
coded PHY is used, because Coded PHY doesn't allow CTE.
2. Fixed an invalid content of CTE PDU
3. Fixed a bug when dtm_setup_set_antenna_params() would
call when CTE TX is used
Signed-off-by: Ivan Iushkov <ivan.iushkov@nordicsemi.no>1 parent aaa53bf commit f9383ae
2 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2163 | 2163 | | |
2164 | 2164 | | |
2165 | 2165 | | |
| 2166 | + | |
2166 | 2167 | | |
2167 | 2168 | | |
2168 | 2169 | | |
2169 | 2170 | | |
2170 | 2171 | | |
| 2172 | + | |
2171 | 2173 | | |
2172 | 2174 | | |
2173 | 2175 | | |
2174 | 2176 | | |
2175 | 2177 | | |
| 2178 | + | |
2176 | 2179 | | |
2177 | 2180 | | |
2178 | 2181 | | |
2179 | 2182 | | |
2180 | 2183 | | |
2181 | 2184 | | |
2182 | | - | |
2183 | 2185 | | |
2184 | 2186 | | |
2185 | 2187 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
| 174 | + | |
176 | 175 | | |
177 | 176 | | |
178 | 177 | | |
| |||
624 | 623 | | |
625 | 624 | | |
626 | 625 | | |
627 | | - | |
| 626 | + | |
628 | 627 | | |
629 | 628 | | |
630 | 629 | | |
| |||
0 commit comments