[
https://issues.apache.org/jira/browse/MYNEWT-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15433967#comment-15433967
]
ASF subversion and git services commented on MYNEWT-354:
--------------------------------------------------------
Commit 6f3d956f863e03f52ef22513c4b8501a58d6843d in incubator-mynewt-core's
branch refs/heads/master from [~wes3]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=6f3d956
]
MYNEWT-354
This fixes the compilation error when BLE_LL_CFG_FEAT_LE_ENCRYPTION
was set to 0. The issue here was that BLE_LL_CFG_FEAT_LE_PING cannot
be set to 1 if encryption is not defined (set to 0). Note that
LE_PING can be either defined or undefined (1 or 0) if encryption
is defined.
> Compilation error with -DBLE_LL_CFG_FEAT_LE_ENCRYPTION=0
> --------------------------------------------------------
>
> Key: MYNEWT-354
> URL: https://issues.apache.org/jira/browse/MYNEWT-354
> Project: Mynewt
> Issue Type: Bug
> Components: Nimble
> Affects Versions: v0_9_0, v1_0_0_beta1
> Reporter: Simon Ratner
>
> {noformat}
> Compiling ble_ll_conn.c
> ble_ll_conn.c: In function 'ble_ll_conn_rx_data_pdu':
> ble_ll_conn.c:2508:24: error: 'struct ble_ll_conn_sm' has no member named
> 'enc_data'
> if ((connsm->enc_data.enc_state == CONN_ENC_S_ENCRYPTED) &&
> ^
> ble_ll_conn.c:2508:48: error: 'CONN_ENC_S_ENCRYPTED' undeclared (first use in
> this function)
> if ((connsm->enc_data.enc_state == CONN_ENC_S_ENCRYPTED) &&
> ^
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)