Other Parts Discussed in Thread: CC2642R, CC2652R
Tool/software: Code Composer Studio
Hi Forum-Members,
in my application I only wanna use observer and broadcaster functionality. Only advertising and scanning. The scanner looks on advertising packets, which will parse by my application and if necessary it switch to advertiser, so that another device scanns the transmitted packets. The main-application do many other things like adc-works, uart handling, in-out-handling.
For now (I think) my application will only use ble5 as transmitter / receiver and therefor the lower GAP functionlity, no gatt, no gapbond-manager and so on will be used. In other forum posts there is talk of combi-role and sample with "ble5 simple central" and extend it on TOOLS/buld_config.opt to combo role "-DHOST_CONFIG=CENTRAL_CFG+BROADCASTER_CFG".
I do so and import the ble5-simple-central-example modify the build_config.opt. After compile and link the demo-app size is 119k with best size compiler options (level 4, whole program optimizations). There will be 5k free space, if there is a last flash-last-page in use. Hint: with no optimizations (best for debugging) there is no linking possible, space-limit whith demo-app, without any free space for anything.
It is not possible to have only 5k for user-application. My questions are:
1) How can I get more free space for application?
2) Is there an example for ccs which only activate the necessary libs for broadcaster / observer and whithout all the needless rest?
3) Can I use BLE5 as receiver / transmitter scenario totaly whithout gap, gatt, bond. Are there lower functions that make the phy and transport (channel hopping and so on)? My interpretation of documentation is, that the gap handles the transport of data and is vital.
Very grateful about answers!
best regards,
Bjoern

