[ 
https://issues.apache.org/jira/browse/MYNEWT-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

William San Filippo resolved MYNEWT-354.
----------------------------------------
    Resolution: Fixed

This issue has been fixed. The issue was that BLE_LL_CFG_FEAT_LE_PING cannot be 
set to 1 if BLE_LL_CFG_FEAT_LE_ENCRYPTION is 0. We now make sure that LE_PING 
is not defined if LE_ENCRYPTION is not 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, v0_10_0
>            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)

Reply via email to