- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good morning,
I have a problem with my PRoC BLE. I would like tu change advertising channels during DTM mode but i don't know if it is possible. I have seen in the Bluetooth files automatically generated that all function about changing advertising channels are disabled.
I have follow this project to begin:
http://www.cypress.com/blog/100-projects-100-days/project-018-direct-test-mode-dtm
To you have any solution about this problem?
Thank you!
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please let us know which tester you are using for DTM mode testing?
For DTM testing, usually the DTM test code will contain the channel number one parameter. So there is no need for setting the adv channel initially itself.
Please clarify your query and requirement.
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your reply.
Actually i use a DTM tester like R&S®CBT/CBT32 Bluetooth® Tester.
Thet fast is i have download the code for HCI_DTM in the Cypress website, but there is no information about how to change advertising channels.
I would like to do a frequency scanning and see for each channels (3 different channels in advertising mode) a specific frequency which appear in the monitor.
So the tests are:
- Test 1: In HCI_DTM test, only advertise in the channel 37.
- Test 2: In HCI_DTM test, only advertise in the channel 38.
- Test 3: In HCI_DTM test, only advertise in the channel 39.
- Test 4: In HCI_DTM test, advertise in the channel 37, 38 and 39.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can issue the 'LE Set Advertising Parameters Command' HCI command with the 'Advertising_Channel_Map' parameter set to 1,2,4&7 respectively for your test cases 1,2,3 & 4 respectively.
Thanks,
Guha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, so if i understand: I have nothing to change in the DTM software flashed in the BLE? The soft is just:
#include <project.h>
void GenericEventHandler(uint32 event, void * eventparam);
int main()
{
/* Enable global interrupts. */
CyGlobalIntEnable;
/* Start BLE Component and register the event callback function */
CyBle_Start(GenericEventHandler);
for(;;)
{
/* Process BLE events continuously */
CyBle_ProcessEvents();
}
}
void GenericEventHandler(uint32 event, void * eventparam)
{
switch(event)
{
/* No application event is generated in HCI Mode. All commands
* are processed by BLE stack */
default:
/* To prevent compiler warning */
eventparam = eventparam;
break;
}
}
So where i can use the function: 'LE Set Advertising Parameters Command' to change his parameter?
Thank you.