DA14585

Read FIFO I2C

Mon, 2019-09-16 15:11--Roie DAHAN

Hi,

I'm trying to read a 32 Byte FIFO (using I2C)

The FIFO register address is constant (0x09) and require to re-read the same address while transmiting STOP at the end.

Please see what i'm missing here ?

Thanks

void user_i2c_multi_byte_read_FIFO(uint32_t reg_address, uint8_t *rd_data, uint32_t num_bytes)
{

int j=0;

GLOBAL_INT_DISABLE();

user_i2c_send_address(右eg_address);

Central with 8 connections to peripherals

Tue, 2019-09-10 13:22--ks@xtel.dk

Hi

I am developing software for a device that should connect to 8 peripherals. I have used the DSPS_HOST example as inspiration, but when I run into a assert in gapc_disconnect_ind_handler because the state is APP_CONNECTABLE instead of APP_CONNECTED. It happen when one connection is established, but run out of range and it is scanning for more devices at the same time.

When I at start scanning I set ke_state_set(TASK_APP, APP_CONNECTABLE)

When starting the the scan. I do it with:

Access to raw live data through the mobile app

Fri, 2019-09-06 11:47--Tuomas

Hey,

I'm trying to figure out how to access the raw data from the DA14585 through the mobile app. I can see the historical data and get it in JSON, but I need the raw live data, possibly without the usage of cloud. Being able to store and use it directly would help a lot. I'm trying to make it give live alerts and such, but not just by having it send something to my email. The raw data would help me program it for my own use better. Any ideas?

Switching the device role

Tue, 2019-08-06 16:20--moguilevski

Hello everyone,

I'm trying to switch the device role from GAP_ROLE_BROADCASTER/GAP_ROLE_ALL to GAP_ROLE_OBSERVER in order to interchange advertising and active scan periodically. Unfortunately, the code execution breaks with the error code 0x43 (GAP_ERR_COMMAND_DISALLOWED) after the code section presented below. Do you have an idea what could be wrong in the re-configuration command? Is there any crucial steps, that should be done before (like changing of the state of the application or of the any other task)?

Pages

订阅RSS - DA14585