DA14580

sps_client_indicate_data_rx

Tue, 2016-12-27 13:00--prasanth.velliy...

In gattc_event_ind_handler ,
else (spsc_env->sps.chars[SPSC_SRV_TX_DATA_CHAR].val_hdl == param->handle) part ,
{
sps_client_indicate_data_rx(spsc_env, param->value, param->length);

}
is executing whenever DSPS_DEVICE's are transmitting data , at what condition's above else part will run and will not run ?? , also why SPSC_SRV_TX_DATA_CHAR this is mentioned in this handler ??

GAPM_USE_ENC_BLOCK_IND is not received after GAPM_USE_ENC_BLOCK_CMD is send.

Sat, 2016-12-24 16:59--Cheng Yang

Send command
{
printf_string("second encode");
struct gapm_use_enc_block_cmd* cmd = KE_MSG_ALLOC(GAPM_USE_ENC_BLOCK_CMD, TASK_GAPM, TASK_APP,
gapm_use_enc_block_cmd);
memcpy(cmd->operand_1, key, sizeof(key));
//memset(cmd->operand_2, 0, KEY_LEN);
memcpy (cmd - > operand_2 data, KEY_LEN);
cmd->operation = GAPM_USE_ENC_BLOCK_CMD;

Pages

Subscribe to RSS - DA14580