- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have developed firmware in Cypress to get data from (Broadcaster/Observer) Eddystone TLM which I believe is 1-way communication and now I want to make some changes remotely (will not more frequently) in advertising data so I was seeking help to switch the same BLE (Broadcaster/Observer) Eddystone TLM programmatically into
normal iBeacon(Profile as per PSOC) so that I can write some data into its data characteristics and used it again for BLE (Broadcaster/Observer) Eddystone TLM and vise versa.
I am using the CYBLE-0220001-00 module. It has only one BLE. On every boot I want BLE to work as (Profile) iBeacon for 1st 1 minute or after any trigger and then that should automatically change to (Broadcaster/Observer) Eddystone beacon.
I have tried a lot but I am not understanding which function can help me to do the same. Please help I am a beginner in Cypress.
Thanks in advance.
Regards,
Neeraj
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
It is not possible to switch from profile to Broadcaster and vice versa in the program. But in the code, you can advertisement the device in Broadcasting mode by changing the advertisement parameters by modifying the CYBLE_GAPP_DISC_PARAM_T structure in the CYBLE_EVT_STACK_ON event.
The broadcaster mode uses the below parameters:
1. Discovery mode -> non-discoverable.
2. Advertising type -> non connectable undirected advertising/scannable undirected advertising.
3. Advertisement and scan response packets (Clear the service and connection related data).
Please let me know if this helps.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply.
Actually my question was, how can I switch from profile to Broadcaster and vice versa programmatically? as shown below.
Thanks and regards,
Neeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
It is not possible to switch from profile to Broadcaster and vice versa in the program. But in the code, you can advertisement the device in Broadcasting mode by changing the advertisement parameters by modifying the CYBLE_GAPP_DISC_PARAM_T structure in the CYBLE_EVT_STACK_ON event.
The broadcaster mode uses the below parameters:
1. Discovery mode -> non-discoverable.
2. Advertising type -> non connectable undirected advertising/scannable undirected advertising.
3. Advertisement and scan response packets (Clear the service and connection related data).
Please let me know if this helps.
Thanks,
P Yugandhar.