DA14580

why RX_CALLBACK_SIZE is defined as 8 in dsps-v_5.150.2 example?

Fri, 2017-10-06 09:19--RatheeshT

Hi Dialog support team,

In dsps-v_5.150.2 example, macro named as RX_CALLBACK_SIZE was defined as 8. It means after every 8 byte of data received from UART , UART RX ISR loop(void uart_sps_rcv_data_avail_isr(void)) is stopping to receive bytes and calling the callback function below.
My understanding is correct or not? If my understanding is correct, when more than 8bytes are going to be received at a time,then it will miss the remaining bytes or not. Please give some explanation for this?

セカンダリブートローダでのメモリマップについて

星期四,2017-10-05 09:23--sogabe

Hello, Dialog.

In the explanation of memory management explained in Tutorial 6, I do not know if there are places that users can freely use.
According to the previous question, 0x1E000 ~ 0x1EFFF is answered that there is no problem even if it is used, but in programs that can handle SUOTA and security like ble_app_all_in_one, it is used as 0x1E000 ~ saving area of bonding data I will.

app_bond_db.h
#define APP_BOND_DB_DATA_OFFSET (0x1E000)

DA1458X extended sleep mode

Wed, 2017-10-04 11:00--Rajapurerohit

Dear Dialog_Support,

I am working on extended sleep mode for my project.
1.我的要求是,我想让我的呼吸设备p mode( ble_radio_off) completely and device should woke up whenever Mobile App tries to connect.
Once the connection is done, device should do a necessary BLE task (means read,write and notify) and after completion of task device should again enter into sleep mode.

2.我的任务是基于Timer0。所以可以使用Timer0唤醒我的设备?如果是,那么我应该考虑一切事物。

How to clear the bonding data every time you make a connection

Wed, 2017-10-04 07:32--sogabe

Hello, Dialog.

This time, we are developing software based on ble_app_all_in_one.
When pairing, I think that saving the bonding data to FLASH and not sending the advertisement packet.
断开连接后,我想再次发送广告数据包。
Can you teach us an effective method of not saving bonding data or clearing bonding data?

How to add the current time service to my project

Tue, 2017-10-03 14:53--Ezza

Hi,
I'm trying to add the Current Time service (GATT), but it's not appearing under my services list (on the application).
I added ctss.c and ctss_task.c to the project (i.e. the BLE_CTS_SERVER flag is on). But, still the service was not added under my list. What steps shall I do in order to use exesting services?

How to always send advertise packets

Tue, 2017-10-03 09:02--sogabe

Hello, Dialog.

Based on ble_app_all_in_one, I created software that always sends advertise packets.
However, after pairing is completed, advertisement packets will not be sent.
Since we do not operate buttons in this program, we want to forcibly send advertisement packets after pairing is completed, but can we put such processing?
I would be pleased if you can teach me how to always send advertise packets.

obtaining the SDK

Mon, 2017-10-02 11:18--jonathan_austin

Hi there,

我如何获得SDK?从顶部栏中,我去了指导 - >软件 - >下载(5.0.4),但只有许可证文件和复选框才能订阅。

Also, is there any support for open-source tools e.g. openOCD? Additionally, as clarification, is the SDK/SmartSnippets only intended to work with your development boards?

New to this so thanks for the help in advance!

i2c example not working

Mon, 2017-10-02 00:39--Lora

Dear Dialog,

I am using the i2c_eeprom project from peripheral_examples and i want to read the values from tmp102 sensor, but my program it either blocked in WAIT_UNTIL_I2C_FIFO_IS_EMPTY() inside i2c_init() function
and if i comment the WAIT_UNTIL_I2C_FIFO_IS_EMPTY() , is blocked in WAIT_FOR_RECEIVED_BYTE() inside i2c_eeprom_read_byte() function.

休眠后io无法唤醒

Sat, 2017-09-30 05:00--mortimer

您好,如题,我现在设置了ARCH_EXT_SLEEP_ON,MCU启动后调用函数:
void app_button_enable(void)
{
app_easy_wakeup_set(app_wakeup_cb);
wkupct_register_callback(wake_task_cb);
wkupct_enable_irq(wkupct_pin_select(gpio_huoer_port,gpio_huoer_pin),
WKUPCT_PIN_POLARITY(GPIO_HUOER_PORT, GPIO_HUOER_PIN, WKUPCT_PIN_POLARITY_LOW), // polarity low
1, // 1 event
40); // debouncing time = 40
}

休眠时调用:
void set_sleep(void)
{
arch_ble_ext_wakeup_on();
arch_set_sleep_mode(ARCH_EXT_SLEEP_ON);
}

Pages

订阅RSS  -  DA14580