Bluetooth Module TDK / SESUB-PAN-DA14580
Bluetooth Module
The TDK SESEB-PAN-DA14580 module supports Bluetooth 4.1 standard. All protocol stacks required for Bluetooth low energy communication are built in, including various Bluetooth low energy profiles.
Features
Bluetooth® low energy module
Space saving ultra small package 3.5 x 3.5 x 1.0mm (TYP)
36 pin solder bumped BGA with 0.5mm pitch
ARM Cortex-M0 32bit high performance microcontroller, 32 kB OTP programmable memory, 84 kB ROM for Bluetooth stack, 42 kB system SRAM, 8 kB retention SRAM
Including IC (DA14580), crystal (16MHz), inductor, and capacitor in the module
Tx_Out 0 dBm (typ)
Rx_In -94 dBm (typ)
5.0 mA (Tx), 5.4 mA (Rx), 0.8 µA (deep sleep mode)
雷竞技安卓下载
Healthcare/sports & fitness equipment (for example activity mass meter, thermometer, sphygmomanometer, blood oximeter, blood glucose meter, heart rate meter, biometrics)
Wearable devices (for example wristband, watch, ring, glasses, shoes, hat, shirt)
Home entertainment equipment (for example emote control, sensor tag, toys, lighting products)
PC peripheral applications (for example: mouse, key board, stylus, presentation pointer)
Order information
3年前
Change advertisement interval of a BLE peripheral using SDK 5.0.4
Posted bydhrishi0 points 1 replyHi,
We are using DA14580 in peripheral mode.
We need to implement an use case, wherein an accessory first advertises with 20 msec interval for 10 sec and then restarts (stops and starts) advertisement with interval 1.25 sec.
With the current implementation of ble_app_peripheral, I see that the interval is to be given in user_config.h through intv_min and intv_max parameters as a part of static const struct and advertisement is started using user_app_adv_start. Does that mean that I cannot change these values (intv_min and intv_max) at any other time?
If no, what is the right way in which the above usecase can be implemented.
Thanks,
Hrishikesh
3年前
Hi,
In the first circle of advertising the interval is given by the standard values which you can change them in the value that you want. After that when the advertising stops and starts again, you simply can use the callback of the kind of advertising you want to use(undirected-non connectable etc.) and in this function give the values you want in the interval through the pointer that is returned by the app_easy_gap_undirected_advertise_get_active. In our case in user_app_adv_undirect_complete, the code is below:
void user_app_adv_undirect_complete(uint8_t status)
{
// If advertising was canceled then update advertising data and start advertising again
如果(status == GAP_ERR_CANCELED)
{
// Schedule the next advertising data update
struct gapm_start_advertise_cmd* cmd;
cmd = app_easy_gap_undirected_advertise_get_active();
cmd->intv_min = 2000 ;
cmd->intv_max = 2000;
app_easy_gap_undirected_advertise_start();
}
}
Thanks,
STS_Dialog.