Comments (6)
Hi chegewara,
the CTE Info field is reserved in AUX_ADV_IND:
you can see the CTE Info is present in AUX_SYNC_IND:
Here is an example of CTE configuration:
uint8_t cte_enable = TRUE;
uint8_t cte_type = GAP_CTE_TYPE_AOD_2US;
uint8_t cte_length = 10;
uint8_t switch_pattern = 4;
GAP_SetParamValue( TGAP_CTE_TYPE,cte_type );
GAP_SetParamValue( TGAP_CTE_LENGTH,cte_length );
GAP_SetParamValue( TGAP_LENGTH_OF_SWITCHING_PATTERN,switch_pattern );
GAPRole_SetParameter(GAPROLE_CTE_CONNECTIONLESS_ENABLED, sizeof(uint8_t), &cte_enable);
However, the current version of the CH582 chip has a problem with this function, and it will be solved in the next chip version.
from ch583.
In theory it is enabled, because i can see proper event:
CH58x_BLE_LIB_V1.80
Initialized..
Advertising..
periodic enable..
CTE: GAPROLE_CONNECTIONLESS_CTE_ENABLE
but in practice it seems to be disabled, or WCH ble analyzer pro cant detect it:
Flags is 0x69 and should be 0x6D to indicate CTEInfo data existing in payload.
from ch583.
I found the same information in bluetooth specs after doing more research.
In my code i am only missing this line
GAP_SetParamValue( TGAP_LENGTH_OF_SWITCHING_PATTERN,switch_pattern );
Now i am trying to figure out why i cant catch AUX_SYNC_IND
packets with ble analyzer pro.
I cant wait to get new ch582 or ch583 and to play a bit more with BLE5.x.
Thanks for help
from ch583.
Related Issues (16)
- Repository is named ch582 but files say CH583 HOT 1
- CAN you Add Rt-Thread Project? HOT 1
- R8_PLL_CONFIG and R8_FLASH_CFG are undocumented
- Temperature sensor documentation incomplete HOT 4
- BLE is undocumented HOT 1
- RTC wakeup example for PM demo HOT 2
- Connectecd ADV mode HOT 2
- Bricked the BLE functionality of my dev board HOT 2
- Bluetooth 5 Extended Advertisements HOT 4
- BLE and timer capture HOT 1
- cannot find -lCH58xBLE HOT 1
- Using with lora radio HOT 1
- Schematic for CH582F HOT 1
- CH582M won't work at system frequency 2 MHz and lower
- Information Request: BLE & USB certifications HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ch583.